Function at 0x452ac0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create thread
Create udp socket
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x5c2f80
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x617560]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push 6
push 1
mov ebx, 2
push ebx
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
or ebp, 0xffffffff
cmp eax, ebp
mov dword [esi + 0x920], eax
jne 0x452bbb
call fcn.004c5ee1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x452b2f
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x572
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x48], 0
call fcn.0041d1c0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 1
call fcn.00404e20
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov ecx, ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x452b89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push 0
push 0
push esi
call fcn.004c72d6
lea eax, [esi - 0x10]
mov dword [esp + 0x40], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x452bb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x452d6f
movzx ecx, word [esi + 0x158]
push ecx
mov word [esp + 0x28], bx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 0x920]
mov edx, dword [esi + 0x154]
push 1
mov word [esp + 0x2a], ax
lea eax, [esp + 0x24]
push eax
push 1
push 6
push ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [esi + 0x920]
push 0x10
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, ebp
jne 0x452c7d
mov ecx, dword [esi + 0x920]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x920], ebp
call fcn.004c5ee1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x452c42
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x573
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x48], ebx
call fcn.0041d1c0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 3
call fcn.00404e20
mov byte [esp + 0x40], bl
jmp 0x452b6a
push esi
call fcn.00452d90
test eax, eax
jne 0x452d34
call fcn.004c5ee1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x452ca5
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x5e3
lea ecx, [esp + 0x20]
mov ebx, 4
push ecx
mov dword [esp + 0x48], ebx
call fcn.0041d1c0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 5
call fcn.00404e20
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x452cff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
push 0
push 0
push edi
call fcn.004c72d6
mov ecx, dword [esi + 0x920]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea eax, [edi - 0x10]
mov dword [esi + 0x920], ebp
mov dword [esp + 0x40], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
jmp 0x452ba6
push 0
push 0
push esi
push 0x453070
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x452d63
mov ecx, dword [esi + 0x920]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x920], ebp
xor eax, eax
jmp 0x452d6f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004e3dc3
add esp, 0x30
ret