Function at 0x4032f0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e4
push str.ICMP.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x403313
or eax, 0xffffffff
jmp 0x4034e0
push str.IcmpCreateFile
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
push str.IcmpCloseHandle
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x48], eax
push str.IcmpSendEcho
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x40335e
mov eax, dword [ebp - 0x48]
or eax, eax
je 0x40335e
mov eax, dword [ebp - 0x30]
or eax, eax
jne 0x403370
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
jmp 0x4034e0
lea eax, [ebp - 0x1e0]
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x40339f
call sub.WS2_32.dll_WSACleanup
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
jmp 0x4034e0
cmp word [ebp - 0x1e0], 0x101
je 0x4033c1
call sub.WS2_32.dll_WSACleanup
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
jmp 0x4034e0
mov eax, dword [ebp + 8]
push eax
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
jne 0x4033e2
mov eax, dword [ebp + 8]
push eax
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 0x50], eax
jmp 0x4033f2
push 2
push 4
lea eax, [ebp - 0x2c]
push eax
call sub.WS2_32.dll_gethostbyaddr
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x403410
call sub.WS2_32.dll_WSACleanup
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or eax, 0xffffffff
jmp 0x4034e0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
call dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x24], 0xff
push 0x1388
push 0x1c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x34]
push eax
call dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x18], 0
jne 0x4034a3
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x38], eax
inc dword [ebp - 0x28]
cmp dword [ebp - 0x1e4], 2
jge 0x403494
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x1e4]
cmp dword [ebp - 0x1e4], 3
jl 0x403439
mov eax, dword [ebp - 0x34]
push eax
call dword [ebp - 0x48]
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call sub.WS2_32.dll_WSACleanup
cmp dword [ebp - 0x28], 0
je 0x4034d0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
cdq
idiv ecx
mov dword [ebp - 0x1e4], eax
jmp 0x4034d7
or dword [ebp - 0x1e4], 0xffffffff
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x4c], eax
mov esp, ebp
pop ebp
ret