Function at 0x403770
Capabilities:
Initialize winsock library
Resolve dns
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e356
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4276b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0x202
mov word [ebp - 0x1c0], ax
lea ecx, [ebp - 0x1a4]
push ecx
movzx edx, word [ebp - 0x1c0]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x1ec], eax
cmp dword [ebp + 8], 0
jne 0x4037cf
xor eax, eax
jmp 0x403b22
push 0x421817
lea ecx, [ebp - 0x1dc]
call fcn.004027b0
mov dword [ebp - 4], 0
push 0x42181b
lea ecx, [ebp - 0x20c]
call fcn.004027b0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00404fe0
lea ecx, [ebp - 0x1dc]
call fcn.004018c0
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0
je 0x4038a4
mov dword [ebp - 0x220], 0
jmp 0x403845
mov ecx, dword [ebp - 0x220]
add ecx, 1
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x1b8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x220]
cmp dword [eax + ecx*4], 0
je 0x4038a2
mov edx, dword [ebp - 0x1b8]
movsx eax, word [edx + 0xa]
push eax
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x220]
mov ecx, dword [edx + eax*4]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.0040f050
add esp, 0xc
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x20c]
call fcn.00404fe0
jmp 0x403836
jmp 0x4038da
mov dword [ebp - 0x230], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1dc]
call fcn.004018a0
mov eax, dword [ebp - 0x230]
jmp 0x403b22
mov dword [ebp - 0x1b4], 0xffffffff
mov dword [ebp - 0x1e8], 0
mov ecx, dword [str.Data_Buffer]
mov dword [ebp - 0x1b0], ecx
mov edx, dword [0x422be0]
mov dword [ebp - 0x1ac], edx
mov eax, dword [0x422be4]
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1e0], 0
lea ecx, [ebp - 0x20c]
call fcn.004018c0
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0xffffffff
jne 0x40397c
mov dword [ebp - 0x234], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1dc]
call fcn.004018a0
mov eax, dword [ebp - 0x234]
jmp 0x403b22
call sub.IPHLPAPI.DLL_IcmpCreateFile
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 0xffffffff
jne 0x4039c6
mov dword [ebp - 0x238], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1dc]
call fcn.004018a0
mov eax, dword [ebp - 0x238]
jmp 0x403b22
mov dword [ebp - 0x1e0], 0x28
mov ecx, dword [ebp - 0x1e0]
push ecx
call fcn.00409f8d
add esp, 4
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0
jne 0x403a24
mov dword [ebp - 0x23c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1dc]
call fcn.004018a0
mov eax, dword [ebp - 0x23c]
jmp 0x403b22
push 0x3e8
mov edx, dword [ebp - 0x1e0]
push edx
mov eax, dword [ebp - 0x1f0]
push eax
push 0
push 0xc
lea ecx, [ebp - 0x1b0]
push ecx
mov edx, dword [ebp - 0x1b4]
push edx
mov eax, dword [ebp - 0x1e4]
push eax
call sub.IPHLPAPI.DLL_IcmpSendEcho
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1bc], ecx
cmp dword [ebp - 0x1e8], 0
je 0x403ace
mov edx, dword [ebp - 0x1f0]
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x240], 0xc8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1dc]
call fcn.004018a0
mov eax, dword [ebp - 0x240]
jmp 0x403b22
mov dword [ebp - 0x244], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1dc]
call fcn.004018a0
mov eax, dword [ebp - 0x244]
jmp 0x403b22
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004098d7
mov esp, ebp
pop ebp
ret