Function at 0x43eef0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5290f4]
movzx ecx, byte [eax + 0x400]
mov edx, dword [0x5290f4]
mov dword [edx + ecx*4], 0x6db20000
mov eax, dword [0x5290f4]
mov cl, byte [eax + 0x400]
add cl, 1
mov edx, dword [0x5290f4]
mov byte [edx + 0x400], cl
call fcn.00401bd0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [ebp - 8], eax
push 0x10
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.004bf170
add esp, 0xc
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00402c90
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x43ef82
call fcn.00484790
push eax
mov edx, dword [ebp + 8]
push edx
push 0x4d7d94
call fcn.0040cc80
add esp, 0xc
add eax, 9
jmp 0x43f1a0
mov eax, dword [ebp - 0x1c]
movsx ecx, word [eax + 0xa]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.004bed60
add esp, 0xc
mov word [ebp - 0x18], 2
mov ax, word [ebp + 0xc]
push eax
call sub.WS2_32.dll_htons
mov word [ebp - 0x16], ax
push 0x10
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x43eff1
push 0xffffffffffffffff
call fcn.004847a0
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x4d7db0
call fcn.0040cc80
add esp, 0x10
mov eax, 9
jmp 0x43f1a0
push 0
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.WS2_32.dll_send
mov dword [ebp - 4], eax
movzx edx, byte [0x56b057]
test edx, edx
jne 0x43f03c
cmp dword [0x56b184], 0
jne 0x43f03c
push 0xffffffffffffffff
call fcn.004847a0
add esp, 4
push eax
mov eax, dword [ebp - 4]
push eax
push str._sent__d_bytes___s__n
push 0x568e88
call fcn.0040f0d0
add esp, 0x10
cmp dword [0x56b184], 0
jne 0x43f057
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
push 0
call fcn.004344d0
add esp, 0xc
mov eax, 1
test eax, eax
je 0x43f18e
push 0
push 0x186fa
push 0x534818
mov ecx, dword [ebp - 8]
push ecx
call sub.WS2_32.dll_recv
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x43f087
jmp 0x43f18e
cmp dword [0x56705c], 4
jne 0x43f151
mov edx, dword [ebp - 0x20]
push edx
push 0
push 0x534818
call fcn.004c00a0
add esp, 0xc
test eax, eax
je 0x43f151
mov dword [ebp - 0x24], 0x3e8
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jle 0x43f117
movzx ecx, byte [0x56b057]
test ecx, ecx
jne 0x43f0e7
cmp dword [0x56b184], 0
jne 0x43f0e7
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x20]
push eax
push str._received_reply_with_binary___d_bytes._dumping_first__d:__n
call fcn.0044d350
add esp, 0xc
mov ecx, dword [0x56705c]
mov dword [ebp - 0x28], ecx
mov dword [0x56705c], 0
mov edx, dword [ebp - 0x24]
push edx
push 0x534818
push 0
call fcn.004344d0
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov dword [0x56705c], eax
jmp 0x43f14f
movzx ecx, byte [0x56b057]
test ecx, ecx
jne 0x43f13c
cmp dword [0x56b184], 0
jne 0x43f13c
mov edx, dword [ebp - 0x20]
push edx
push str._received_reply_with_binary___d_bytes:__n
call fcn.0044d350
add esp, 8
mov eax, dword [ebp - 0x20]
push eax
push 0x534818
push 0
call fcn.004344d0
add esp, 0xc
jmp 0x43f189
movzx ecx, byte [0x56b057]
test ecx, ecx
jne 0x43f176
cmp dword [0x56b184], 0
jne 0x43f176
mov edx, dword [ebp - 0x20]
push edx
push str._received_reply___d_bytes:__n
call fcn.0044d350
add esp, 8
mov eax, dword [ebp - 0x20]
push eax
push 0x534818
push 0
call fcn.004344d0
add esp, 0xc
jmp 0x43f057
push 1
push 1
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401c30
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret