If the software is for Mac then it will work on Mac.
Downloading a file on a PC works the same as it does on a Mac, and will not change the type of file downloaded.
Windows probably won't recognize a .dmg file and it might give it a weird icon, the same way that OS X won't recognize a .exe file.