Function at 0x43398c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
push 0x10
call fcn.00437959
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
add ebx, 0xc
push ebx
push 0x10
call fcn.00437959
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x13dbe71
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, dword [0x13dcb2f]
and eax, 1
xor eax, 1
test eax, eax
je 0x433a17
mov eax, 0
jmp 0x433ccb
mov dword [ebp - 0x14], esp
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x433a54
push 6
call fcn.00437971
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x433a6b
mov eax, 0
jmp 0x433ccb
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov word [ebx], 2
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call dword [sym.imp.WS2_32.dll_inet_addr]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x433aa6
push 6
call fcn.00437971
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esp
push dword [ebp + 0x10]
call dword [sym.imp.WS2_32.dll_htons]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x433ad6
push 6
call fcn.00437971
add esp, 4
mov ebx, dword [ebp - 0x14]
mov word [ebx], ax
mov dword [ebp - 0x14], esp
push 0x10
mov eax, dword [ebp - 8]
push eax
push 0x10
call fcn.00437959
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_connect]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x433b54
push 6
call fcn.00437971
add esp, 4
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov edi, dword [ebp - 0x1c]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00438820
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x433bab
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x433ba9
imul eax, dword [edi]
jmp 0x433b9e
mov ecx, eax
cmp ecx, 8
jle 0x433bb5
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.0043795f
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x433c76
call fcn.00433cef
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x433c76
mov dword [ebp - 0x14], esp
push 0
push dword [ebp - 4]
push dword [0x13dcb33]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x433c19
push 6
call fcn.00437971
add esp, 4
push dword [ebp + 8]
push dword [ebp + 0x14]
push 1
push dword [ebp - 0x10]
call fcn.00433e5a
push dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.00433678
mov eax, dword [ebp + 0x14]
mov dword [0x13dcb37], eax
mov eax, dword [ebp - 4]
mov dword [0x13dcb3b], eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push 1
push dword [ebp + 8]
push 0x434017
call fcn.00433f32
mov dword [0x13dcb3f], eax
mov eax, dword [ebp - 4]
jmp 0x433ccb
mov eax, dword [ebp + 0x14]
mov dword [0x13dcb37], eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
push 1
push dword [ebp + 8]
push 0x434085
call fcn.00433f32
mov dword [0x13dcb43], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_closesocket]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x433cc1
push 6
call fcn.00437971
add esp, 4
mov eax, 0
jmp 0x433ccb
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0043795f
add esp, 4
pop ebx
call fcn.0043795f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10