Function at 0x44ac00
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Get socket status
Set socket configuration

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce058
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x268
mov eax, dword [0x4f600c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x274], ecx
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.0044aeb0
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
test al, al
je 0x44ae39
mov ecx, esi
mov eax, 0xea0ea0eb
sub ecx, edi
imul ecx
push 0
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
push 1
add eax, edx
push 2
mov dword [ebp - 0x278], eax
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, eax
mov dword [ebp - 0x26c], ecx
test ecx, ecx
je 0x44ae39
xor al, al
mov dword [ebp - 0x24], 1
mov byte [ebp - 0x261], al
lea eax, [ebp - 0x24]
push eax
push 0x8004667e
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
js 0x44adc5
push dword [ebp - 0x270]
xorps xmm0, xmm0
mov eax, 2
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x40], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x3e], ax
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push 0x10
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.WS2_32.dll_connect]
mov eax, dword [ebp - 0x26c]
lea ecx, [ebp - 0x30]
push ecx
push 0
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x30], 1
push ecx
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x2c], 0
push ecx
push eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], 1
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x44adc5
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x10
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.WS2_32.dll_getsockname]
mov edx, dword [ebp - 0x4c]
test eax, eax
je 0x44adab
test edx, edx
je 0x44adc5
mov eax, edi
cmp edi, esi
je 0x44adc5
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x44adbc
cmp ecx, edx
je 0x44ae13
add eax, 0x8c
cmp eax, esi
jne 0x44adb1
mov esi, dword [ebp - 0x268]
push dword [ebp - 0x26c]
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, byte [ebp - 0x261]
test al, al
jne 0x44ae41
mov edx, dword [ebp - 0x278]
xor ecx, ecx
test edx, edx
je 0x44ae41
xor eax, eax
nop
cmp dword [edi + eax + 0x7c], 0
je 0x44ae01
cmp dword [edi + eax + 0x80], 0
jne 0x44ae2b
inc ecx
add eax, 0x8c
cmp ecx, edx
jb 0x44adf0
mov al, byte [ebp - 0x261]
jmp 0x44ae41
mov esi, dword [ebp - 0x268]
mov ecx, esi
push eax
call fcn.00402c80
mov al, 1
mov byte [ebp - 0x261], al
jmp 0x44adcb
add eax, edi
mov ecx, esi
push eax
call fcn.00402c80
mov al, 1
jmp 0x44ae3b
xor al, al
mov byte [ebp - 0x261], al
test edi, edi
je 0x44ae87
mov esi, edi
cmp edi, dword [ebp - 0x1c]
je 0x44ae62
nop dword [eax]
mov ecx, esi
call fcn.004021e0
add esi, 0x8c
cmp esi, dword [ebp - 0x1c]
jne 0x44ae50
mov ecx, dword [ebp - 0x18]
mov eax, 0xea0ea0eb
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push edi
call fcn.004218e0
mov al, byte [ebp - 0x261]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00467552
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret