[Bits 32] section .data remote_file db 'http://www.crackberrista.com/wp-content/uploads/2012/01/hacker.gif',0 local_file db 'hacker.gif',0 url db 'urlmon.dll' ,0 ldlib dd '0xFFFFFFFF' URDo db 'URLDownloadToFileA' ,0 urd dd '0xFFFFFFFF' section .text extern _LoadLibraryA@4 extern _GetProcAddress@8 extern _FreeLibrary@4 extern _ExitProcess@4 global _WinMain@16 _WinMain@16: push url call _LoadLibraryA@4 mov [ldlib], eax push URDo push dword [ldlib] call _GetProcAddress@8 mov [urd], eax push 0 push 0 push local_file push remote_file push 0 call [urd] call _FreeLibrary@4 push 0 call _ExitProcess@4 ret 16