Masato is definitely an example of a morally ambiguous character (and that's putting it kindly).
Like, I had a hard time getting past the fact that he burned her house down the first time, but putting the events of him burning her house down to claim a kind of twisted ownership of her, her taking a sword to the gut for him, and him kicking her out all beside each other like that is really brutal.