You are warned about the file being potentially harmful simply because it's an executable file (that is, a program) not because of any kind of analysis of what the program is going to do (install an MMO that will take a lot of your free time away).