Function at 0x422b10
Capabilities:
Create raw socket
Create tcp socket
Create udp socket
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
push edi
mov dword [ebp - 0x444], ecx
mov eax, dword [ebp - 0x444]
mov byte [eax + 0x1008], 0
mov ecx, dword [ebp - 0x444]
mov byte [ecx + 8], 0
mov dl, byte [0x4af990]
mov byte [ebp - 0x408], dl
mov ecx, 0x100
xor eax, eax
lea edi, [ebp - 0x407]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
push 1
push 3
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xffffffff
jne 0x422b8d
push str.socket__
mov ecx, dword [ebp - 0x444]
call fcn.00422ff3
jmp 0x422e53
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
jne 0x422c04
mov eax, dword [ebp + 0xc]
push eax
push str.Host_not_found:__s_r_n
lea ecx, [ebp - 0x408]
push ecx
call fcn.004650e4
add esp, 0xc
lea edx, [ebp - 0x408]
push edx
mov eax, dword [ebp - 0x444]
add eax, 8
push eax
call fcn.00465360
add esp, 8
push 0
lea ecx, [ebp - 0x408]
push ecx
call fcn.00465470
add esp, 4
push eax
lea edx, [ebp - 0x408]
push edx
mov eax, dword [ebp - 0x444]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_send]
jmp 0x422e53
mov edx, dword [ebp - 0x440]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x418], edx
mov word [ebp - 0x41c], 2
mov word [ebp - 0x41a], 0
push 0x20
mov eax, dword [ebp - 0x418]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.Pinging__s___s__with__d_bytes_of_data:_r_n
lea edx, [ebp - 0x408]
push edx
call fcn.004650e4
add esp, 0x14
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 0x444]
add ecx, 8
push ecx
call fcn.00465360
add esp, 8
push 0
lea edx, [ebp - 0x408]
push edx
call fcn.00465470
add esp, 4
push eax
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 0x444]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x420], 0
jmp 0x422cad
mov eax, dword [ebp - 0x420]
add eax, 1
mov dword [ebp - 0x420], eax
mov ecx, dword [ebp - 0x420]
cmp ecx, dword [ebp + 8]
jae 0x422e27
lea edx, [ebp - 0x41c]
push edx
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x444]
call fcn.00422e5a
mov ecx, dword [ebp - 0x424]
push ecx
mov ecx, dword [ebp - 0x444]
call fcn.00422f9d
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0xffffffff
jne 0x422d0b
push str.select__
mov ecx, dword [ebp - 0x444]
call fcn.00422ff3
jmp 0x422e27
cmp dword [ebp - 0x428], 0
jne 0x422d6e
push str.Request_Timed_Out_r_n
lea edx, [ebp - 0x408]
push edx
call fcn.004650e4
add esp, 8
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 0x444]
add ecx, 8
push ecx
call fcn.00465360
add esp, 8
push 0
lea edx, [ebp - 0x408]
push edx
call fcn.00465470
add esp, 4
push eax
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [ebp - 0x444]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_send]
jmp 0x422e22
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp - 0x424]
push edx
mov ecx, dword [ebp - 0x444]
call fcn.00422f31
mov dword [ebp - 0x43c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x43c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x40c]
and eax, 0xff
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0x20
mov edx, dword [ebp - 0x434]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov eax, dword [ebp - 0x420]
add eax, 1
push eax
push str.Reply__d__from:__s:_bytes_d_time_ldms_TTL_d_r_n
lea ecx, [ebp - 0x408]
push ecx
call fcn.004650e4
add esp, 0x1c
lea edx, [ebp - 0x408]
push edx
mov eax, dword [ebp - 0x444]
add eax, 8
push eax
call fcn.00465360
add esp, 8
push 0
lea ecx, [ebp - 0x408]
push ecx
call fcn.00465470
add esp, 4
push eax
lea edx, [ebp - 0x408]
push edx
mov eax, dword [ebp - 0x444]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_send]
jmp 0x422c9e
mov edx, dword [ebp - 0x424]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0xffffffff
jne 0x422e53
push str.closesocket__
mov ecx, dword [ebp - 0x444]
call fcn.00422ff3
pop edi
mov esp, ebp
pop ebp
ret 0xc