Function at 0x43eab0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b13ba
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4d516c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x1f8]
call fcn.00430fc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
call fcn.00430fc0
mov byte [ebp - 4], 1
mov byte [ebp - 0x219], 0
lea eax, [ebp - 0x1dc]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x1fc], eax
cmp dword [ebp - 0x1fc], 0
jne 0x43ecf1
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x258], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x250], 0
push 0x4bc104
lea ecx, [ebp - 0x24c]
call fcn.00431030
mov byte [ebp - 4], 2
cmp dword [ebp - 0x258], 0
je 0x43ecd5
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403340
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.00446e00
add esp, 8
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x1f8]
call fcn.004310b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.004081d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004033c0
push 0x10
push 0
lea edx, [ebp - 0x230]
push edx
call fcn.00481a70
add esp, 0xc
mov eax, 2
mov word [ebp - 0x230], ax
movzx ecx, word [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22e], ax
mov edx, dword [ebp - 0x258]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x22c], edx
push 0x10
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 0
cmp dword [ebp - 0x260], 0xffffffff
jne 0x43ecb6
cmp dword [ebp - 0x25c], 4
jge 0x43ecb6
mov edx, dword [ebp - 0x25c]
add edx, 1
mov dword [ebp - 0x25c], edx
push 0x10
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x260], eax
mov byte [ebp - 0x219], 0
jmp 0x43ec70
cmp dword [ebp - 0x260], 0xffffffff
je 0x43ecc6
mov byte [ebp - 0x219], 1
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x43ecdc
mov byte [ebp - 0x219], 0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.004081d0
movzx eax, byte [ebp - 0x219]
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x218]
call fcn.004081d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.004081d0
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480a0c
mov esp, ebp
pop ebp
ret