Function at 0x43c670
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 [0x493b50]
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 0x43c6d7
push str.socket__
mov ecx, ebp
call fcn.0043ca80
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 0x43c74f
push esi
lea edx, [esp + 0x40]
push str.Host_not_found:__s_r_n
push edx
call fcn.00457c43
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.00457c43
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 0x43c8c8
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push esi
mov ecx, ebp
call fcn.0043c900
push esi
mov ecx, ebp
call fcn.0043ca30
cmp eax, 0xffffffff
je 0x43c8f1
test eax, eax
jne 0x43c81c
lea eax, [esp + 0x3c]
push str.Request_Timed_Out_r_n
push eax
call fcn.00457c43
add esp, 8
jmp 0x43c86a
lea edx, [esp + 0x18]
lea eax, [esp + 0x2c]
push edx
push eax
push esi
mov ecx, ebp
call fcn.0043c9b0
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.00457c43
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 0x43c7e2
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x43c8e4
push str.closesocket__
mov ecx, ebp
call fcn.0043ca80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x430
ret 0xc
push str.select__
mov ecx, ebp
call fcn.0043ca80
jmp 0x43c8cc