Function at 0x412e70
Capabilities:
Create raw socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483478
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4ecd5c]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
call fcn.004053a0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
lea ecx, [ebp - 0x60]
call fcn.00404950
mov dword [ebp - 4], 0
push 1
push 3
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
jne 0x412ef3
push str.socket__
mov ecx, dword [ebp - 0x74]
call fcn.00413400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00404a10
jmp 0x41319d
mov edx, dword [ebp + 0xc]
push edx
call fcn.00410e10
add esp, 4
push eax
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x412f81
mov eax, dword [ebp + 0xc]
push eax
push 0x488f44
lea ecx, [ebp - 0x60]
push ecx
call fcn.004055a0
add esp, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
lea edx, [ebp - 0x60]
push edx
call fcn.00404970
mov dword [ebp - 0x78], eax
call fcn.004131c0
add esp, 4
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
push eax
push 0
push 0x500
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push 0x501
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00404a10
jmp 0x41319d
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x34], edx
mov eax, 2
mov word [ebp - 0x38], ax
xor ecx, ecx
mov word [ebp - 0x36], cx
push 0x20
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
call fcn.00410e10
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
push str.Pinging__s___s__with__d_bytes_of_data:
lea ecx, [ebp - 0x60]
push ecx
call fcn.004055a0
add esp, 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp - 0x60]
push edx
call fcn.00404970
mov dword [ebp - 0x80], eax
call fcn.004131c0
add esp, 4
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
push eax
push 1
push 0x500
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [ebp - 0x14], 0
jmp 0x413014
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + 8]
jae 0x413159
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.00413250
mov ecx, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x74]
call fcn.004133b0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x413057
push str.select__
mov ecx, dword [ebp - 0x74]
call fcn.00413400
jmp 0x413159
cmp dword [ebp - 0x1c], 0
jne 0x4130b0
push str.Request_Timed_Out
lea edx, [ebp - 0x60]
push edx
call fcn.004055a0
add esp, 8
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea eax, [ebp - 0x60]
push eax
call fcn.00404970
mov dword [ebp - 0x88], eax
call fcn.004131c0
add esp, 4
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
push ecx
push 3
push 0x500
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x413154
lea ecx, [ebp - 0xd]
push ecx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.00413330
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
jns 0x4130dc
mov dword [ebp - 0x20], 0
movzx ecx, byte [ebp - 0xd]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 0x20
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
push eax
call fcn.00410e10
add esp, 4
push eax
push str.Reply_from:__s:_bytes_d_time_ldms_TTL_d
lea ecx, [ebp - 0x60]
push ecx
call fcn.004055a0
add esp, 0x18
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
lea edx, [ebp - 0x60]
push edx
call fcn.00404970
mov dword [ebp - 0x90], eax
call fcn.004131c0
add esp, 4
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
push eax
push 2
push 0x500
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41300b
push 1
push 0
push 0x501
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.WSOCK32.dll_closesocket]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x41318e
push str.closesocket__
mov ecx, dword [ebp - 0x74]
call fcn.00413400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00404a10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.00440a5c
mov esp, ebp
pop ebp
ret 0xc