So you're suggesting that the FlightSim EULA laid out
exactly what the installer was doing, and asked permission to exfiltrate your passwords if the registration key didn't match? I very much doubt that, and I'm skeptical it would be legal even if so.
It's unquestionably illegal to do it on the down-low, like FlightSim has done. It's malware, nothing less, nothing more.