>>46
I'm guessing >>44's linux example was an entrypoint decompile of the loader.
Windows' WinMain function isn't exactly an entrypoint, and DLL loading isn't even performed by the application (it can be, but by default the OS loads the imported libraries in a well documented way).