Funnily enough if Crawford had allowed a goal he'd have gotten the win tonight, but because he didn't Kane's goal is the game winner and the win goes to the goalie on the ice at the time: Ray Emery.
This is the dumbest rule in hockey. In baseball the discretion is left to the official scorekeeper in similar situations. Most of the time it doesn't take rocket science to figure out who deserves the win. Tonight it should have been Crawford's.