Function at 0x4252c0
Capabilities:
Create raw socket
Create tcp socket
Create udp socket
Get socket status
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x48e38b
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x4afa68]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afa68]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004384a4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x425317
push 0x80004005
call fcn.00405cc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov ebp, 1
push ebp
push 3
push 2
mov dword [esp + 0x164], 0
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x425384
push str.socket__
call fcn.004256c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x158], edi
lea ecx, [eax + 0xc]
or edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42537d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x425530
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x4253cb
push esi
lea ecx, [esp + 0x1c]
push str.Host_not_found:__s
push ecx
call fcn.0040bc00
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 0x158], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x425371
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push 0x20
mov ecx, 2
mov edx, 0x50
push eax
mov dword [esp + 0x138], eax
mov word [esp + 0x134], cx
mov word [esp + 0x136], dx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push esi
lea eax, [esp + 0x24]
push str.Pinging__s___s__with__d_bytes_of_data:
push eax
call fcn.0040bc00
add esp, 0x14
xor ebx, ebx
jmp 0x425425
mov ebp, 1
lea ecx, [esp + 0x12c]
push ecx
push edi
add ebx, ebp
call fcn.00425560
lea edx, [esp + 0x1c]
push edx
push 0
push 0
lea eax, [esp + 0x30]
push eax
push ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, ebp
jge 0x42548c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4254e3
test ebp, ebp
je 0x42548e
lea ecx, [esp + 0x18]
push str.Request_Timed_Out
push ecx
mov ebp, 0x1006
call fcn.0040bc00
add esp, 8
jmp 0x4254d8
xor ebp, ebp
lea edx, [esp + 0x13c]
push edx
push edi
lea esi, [esp + 0x1f]
call fcn.00425640
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [esp + 0x17]
mov edx, dword [esp + 0x140]
push ecx
sub eax, esi
push eax
push 0x20
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebx + 1]
push eax
lea ecx, [esp + 0x2c]
push str.Reply__d__from:__s:_bytes_d_time_ldms_TTL_d
push ecx
call fcn.0040bc00
add esp, 0x1c
cmp ebx, 1
jb 0x425420
jmp 0x4254ed
push str.select__
call fcn.004256c0
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x425503
push str.closesocket__
call fcn.004256c0
mov dword [esp + 0x158], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42552e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.004512da
add esp, 0x148
ret