> What they are doing is blindly labeling anything reslembling a keygen as malware
First of all, that's not true. You can test it: create an empty file and name it keygen.exe. It won't get deleted.
The code inside the file has some similarly to one of the hundreds of thousands of malware used to train Defender, and there's a false positive.
None of that matters, though, because you can just not use it if it causes problems for you.