Function at 0x403570
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e57b
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x4c9890]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push eax
mov dword [ebp - 0x330], ebx
xor edi, edi
call fcn.004866f0
add esp, 0xc
push ebx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x32c], eax
cmp eax, 0xffffffff
je 0x403611
call sub.IPHLPAPI.DLL_IcmpCreateFile
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40361b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ERROR_Ping____IcmpCreatefile_returned_error:__u_n
lea eax, [ebp - 0x224]
push 0x103
push eax
call fcn.00401690
lea eax, [ebp - 0x224]
push eax
call fcn.004010d0
add esp, 0x14
mov eax, 0x80004005
jmp 0x4037b6
movq xmm0, qword [str.Data_Buffer]
mov eax, dword [0x4a2c24]
push 0x30
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], eax
call fcn.0048614e
mov esi, eax
add esp, 4
test esi, esi
jne 0x40366f
push str._ERROR_Ping____Out_of_memory_n
lea eax, [ebp - 0x224]
push 0x103
push eax
call fcn.00401690
lea eax, [ebp - 0x224]
push eax
call fcn.004010d0
add esp, 0x10
mov eax, 0x80004005
jmp 0x4037b6
push 0x3e8
push 0x30
push esi
push 0
push 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x32c]
push 0
push 0
push 0
push ebx
call sub.IPHLPAPI.DLL_IcmpSendEcho2
test eax, eax
je 0x403756
mov eax, dword [esi + 4]
sub eax, 0x2afa
je 0x403747
dec eax
je 0x403738
sub eax, 7
je 0x403729
push 3
push dword [ebp - 0x330]
lea eax, [ebp - 0x324]
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x328], eax
call fcn.00402a30
push dword [esi + 8]
lea eax, [ebp - 0x224]
push dword [ebp - 0x328]
mov dword [ebp - 4], 0
push str._SUCCESS_Ping__s__Roundtrip_time___u_ms_n
push 0x103
push eax
call fcn.00401690
lea eax, [ebp - 0x224]
push eax
call fcn.004010d0
mov eax, dword [ebp - 0x328]
lea ecx, [ebp - 0x324]
add esp, 0x18
cmp eax, ecx
je 0x4037ab
push eax
call fcn.004871da
add esp, 4
jmp 0x4037ab
push str._ERROR_Ping____IP_REQ_TIMED_OUT__Request_timed_out_
call fcn.004010d0
add esp, 4
jmp 0x4037ab
push str._ERROR_Ping____IP_DEST_HOST_UNREACHABLE__Destination_host_was_unreachable_
call fcn.004010d0
add esp, 4
jmp 0x4037ab
push str._ERROR_Ping____IP_DEST_NET_UNREACHABLE__Destination_Network_was_unreachable_
call fcn.004010d0
add esp, 4
jmp 0x4037ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
sub eax, 0x2af9
je 0x403799
sub eax, 9
je 0x403792
push ecx
push str._ERROR_Ping____GetLastError___:__u_n
lea eax, [ebp - 0x224]
push 0x103
push eax
call fcn.00401690
lea eax, [ebp - 0x224]
push eax
call fcn.004010d0
add esp, 0x14
jmp 0x4037a6
push str._ERROR_Ping____IP_REQ_TIMED_OUT__Request_timed_out
jmp 0x40379e
push str._ERROR_Ping____IP_BUF_TOO_SMALL__ReplyBufferSize_to_small
call fcn.004010d0
add esp, 4
mov edi, 0x80004005
push esi
call fcn.004866e2
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487c50
mov esp, ebp
pop ebp
ret 4