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

Disassembly:
sub esp, 0x430
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov ecx, 0x100
lea ebx, [ebp + 8]
mov byte [ebp + 0x1008], 0
lea edi, [esp + 0x3d]
push 1
mov byte [ebx], 0
mov al, byte [0x494b70]
mov byte [esp + 0x40], al
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x450]
push 3
push 2
mov dword [ebp], ecx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x43d027
push str.socket__
mov ecx, ebp
call fcn.0043d3d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x430
ret 0xc
mov esi, dword [esp + 0x448]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x43d09f
push esi
lea edx, [esp + 0x40]
push str.Host_not_found:__s_r_n
push edx
call fcn.004585a3
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x40]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x40]
push ecx
mov ecx, dword [ebp]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x430
ret 0xc
mov edx, dword [eax + 0xc]
push 0x20
mov eax, dword [edx]
mov eax, dword [eax]
mov word [esp + 0x20], 2
push eax
mov dword [esp + 0x28], eax
mov word [esp + 0x26], 0
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push esi
lea ecx, [esp + 0x48]
push str.Pinging__s___s__with__d_bytes_of_data:_r_n
push ecx
call fcn.004585a3
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x40]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x40]
push ecx
mov ecx, dword [ebp]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov eax, dword [esp + 0x444]
mov dword [esp + 0x10], 0
test eax, eax
jbe 0x43d218
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push esi
mov ecx, ebp
call fcn.0043d250
push esi
mov ecx, ebp
call fcn.0043d380
cmp eax, 0xffffffff
je 0x43d241
test eax, eax
jne 0x43d16c
lea eax, [esp + 0x3c]
push str.Request_Timed_Out_r_n
push eax
call fcn.004585a3
add esp, 8
jmp 0x43d1ba
lea edx, [esp + 0x18]
lea eax, [esp + 0x2c]
push edx
push eax
push esi
mov ecx, ebp
call fcn.0043d300
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
and ecx, 0xff
sub eax, esi
push ecx
push eax
push 0x20
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov eax, dword [esp + 0x20]
inc eax
lea ecx, [esp + 0x4c]
push eax
push str.Reply__d__from:__s:_bytes_d_time_ldms_TTL_d_r_n
push ecx
call fcn.004585a3
add esp, 0x1c
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x40]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x40]
push ecx
mov ecx, dword [ebp]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x444]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x43d132
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x43d234
push str.closesocket__
mov ecx, ebp
call fcn.0043d3d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x430
ret 0xc
push str.select__
mov ecx, ebp
call fcn.0043d3d0
jmp 0x43d21c