I agree with you up until the point where the person owning the product of your hack is Microsoft. If the result was FOSS, that would be different.
Edit: And the license is not exclusive either. This will in a way give validation to your algorithm opening more doors (if you really want to make money).