Function at 0x452a90
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Create thread
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c49ce
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x40084
call fcn.004eb090
mov eax, dword [0x617560]
xor eax, esp
mov dword [esp + 0x40080], eax
push ebx
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x40098]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
call fcn.00452240
test eax, eax
je 0x453151
mov esi, edi
mov dword [edi + 0x2ac], 1
call fcn.00447520
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x4c], ebx
call fcn.0046d490
push edi
lea esi, [edi + 0xa8]
push esi
push ebx
push ebx
mov ebx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], esi
call fcn.0046e000
push 6
push 1
mov ebx, 2
push ebx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [edi + 0x924], eax
jne 0x452c07
call fcn.004c5661
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x452b6c
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 + 0x14], eax
push 0x572
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x400a8], ebx
call fcn.0041c990
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x400a4], 1
call fcn.00404e30
mov byte [esp + 0x400a0], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x452bcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push ebx
push ebx
push esi
call fcn.004c6a56
lea eax, [esi - 0x10]
mov dword [esp + 0x400a0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453153
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x453153
movzx ecx, word [edi + 0x158]
push ecx
mov word [esp + 0x80], bx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [edi + 0x924]
mov edx, dword [edi + 0x154]
mov word [esp + 0x7e], ax
push 0x10
lea eax, [esp + 0x80]
push eax
push ecx
mov dword [esp + 0x8c], edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
mov edx, dword [edi + 0x924]
push edx
jne 0x452d1d
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 0x924], 0xffffffff
call fcn.004c5661
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x452c80
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 + 0x14], eax
push 0x573
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x400a8], ebx
call fcn.0041c990
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x400a4], 3
call fcn.00404e30
mov byte [esp + 0x400a0], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x452cdf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push 0
push 0
push esi
call fcn.004c6a56
lea eax, [esi - 0x10]
mov dword [esp + 0x400a0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453151
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x453151
mov cl, byte [edi + 0x928]
lea ebx, [esp + 0x90]
mov dword [esp + 0x90], 9
mov byte [esp + 0x94], 5
mov byte [esp + 0x97], 0
mov byte [esp + 0x96], 0xff
mov byte [esp + 0x95], cl
call fcn.00453460
add esp, 4
test eax, eax
je 0x453151
mov eax, dword [edi + 0x924]
push eax
call fcn.004534b0
add esp, 4
test eax, eax
je 0x453151
mov al, byte [esp + 0x90]
cmp al, 7
je 0x452ed2
lea ecx, [esp + 0x14]
movzx esi, al
call fcn.00476b40
cmp esi, 0xc
mov ebx, 4
mov dword [esp + 0x400a0], ebx
jne 0x452eb9
movzx eax, byte [esp + 0x94]
test eax, eax
jne 0x452df6
push 0x62e
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041c990
mov byte [esp + 0x400a0], 5
push eax
lea ecx, [esp + 0x18]
call fcn.00404e30
lea ecx, [esp + 0x18]
mov byte [esp + 0x400a0], bl
call fcn.00476b70
mov edx, dword [esp + 0x14]
push 0
push 0
push edx
jmp 0x452eb4
cmp eax, 1
jne 0x452e14
push 0x62f
lea eax, [esp + 0x1c]
push eax
call fcn.0041c990
mov byte [esp + 0x400a0], 6
jmp 0x452e91
cmp eax, 2
jne 0x452e55
push 0x630
lea edx, [esp + 0x1c]
push edx
call fcn.0041c990
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x400a4], 7
call fcn.00404e30
lea ecx, [esp + 0x18]
mov byte [esp + 0x400a0], bl
call fcn.00476b70
mov eax, dword [esp + 0x14]
push 0
push 0
push eax
jmp 0x452eb4
cmp eax, 3
jne 0x452e76
push 0x64e
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041c990
mov byte [esp + 0x400a0], 8
jmp 0x452dce
cmp eax, ebx
jne 0x452eb9
push 0x631
lea eax, [esp + 0x1c]
push eax
call fcn.0041c990
mov byte [esp + 0x400a0], 9
push eax
lea ecx, [esp + 0x18]
call fcn.00404e30
lea ecx, [esp + 0x18]
mov byte [esp + 0x400a0], bl
call fcn.00476b70
mov ecx, dword [esp + 0x14]
push 0
push 0
push ecx
call fcn.004c6a56
lea ecx, [esp + 0x14]
mov dword [esp + 0x400a0], 0xffffffff
call fcn.00476b70
jmp 0x453151
test byte [esp + 0x92], 1
je 0x452f08
mov edx, dword [esp + 0x95]
mov eax, dword [esp + 0x99]
mov ecx, dword [esp + 0x9d]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0xa1]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov eax, dword [edi + 0x924]
push eax
lea ebx, [esp + 0x90]
mov dword [esp + 0x90], 9
mov byte [esp + 0x94], 5
mov byte [esp + 0x97], 0
mov byte [esp + 0x96], 2
call fcn.00453460
add esp, 4
test eax, eax
je 0x453151
push 0x148
call fcn.004c495b
mov edx, eax
add esp, 4
test edx, edx
je 0x452f75
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov esi, edx
call fcn.0047c770
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jmp 0x452f81
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x28], eax
je 0x453151
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
push ecx
mov eax, esi
call fcn.0046e350
mov esi, dword [esp + 0x1c]
xor edi, edi
lea ebx, [esi + 0x8fc]
push 0x100000
mov dword [esp + 0x4c], ebx
mov dword [ebx], edi
mov dword [esi + 0x8f4], edi
mov dword [esi + 0x8f8], edi
call fcn.004c498b
add esp, 4
push edi
push edi
push esi
push 0x452880
push edi
push edi
mov dword [esi + 0x8f0], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x45314d
mov edx, esi
cmp dword [edx + 0x924], 0xffffffff
je 0x45314d
lea ecx, [ecx]
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x920], 0xffffffff
mov edi, eax
je 0x453151
test byte [edi + 0x2b0], 2
jne 0x4532c1
cmp dword [ebx], 0
jle 0x453138
mov ecx, dword [edi + 0x8f8]
mov eax, 0x100000
sub eax, ecx
cmp eax, 4
jge 0x453054
neg eax
push eax
push ebx
mov dword [edi + 0x8f8], 0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
jmp 0x453140
lea ecx, [ecx + ecx*8]
add ecx, dword [edi + 0x8f0]
mov esi, dword [ecx]
cmp esi, 0xffffffff
jne 0x45307d
neg eax
push eax
push ebx
mov dword [edi + 0x8f8], 0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
jmp 0x453140
cmp byte [ecx + 4], 6
jne 0x45310e
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea edi, [esi - 9]
add ecx, 9
push edi
push ecx
mov ecx, eax
mov eax, dword [edx + 4]
call eax
test eax, eax
je 0x45314d
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], edx
mov eax, dword [eax + 8]
mov edx, dword [ecx + 0x88]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x84]
mov dword [esp + 0x74], eax
mov dword [esp + 0x60], eax
shr eax, 1
cmp dword [ecx + 0x194], 0
mov dword [esp + 0x78], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], 1
je 0x45310c
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.0046e3d0
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
jmp 0x45310e
mov edi, ecx
mov edx, dword [edi + 0x8f8]
add edx, esi
and edx, 0x800fffff
jns 0x453126
dec edx
or edx, 0xfff00000
inc edx
neg esi
push esi
push ebx
mov dword [edi + 0x8f8], edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
jmp 0x453140
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x924], 0xffffffff
jne 0x453000
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov eax, dword [edi + 0x924]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, dword [esp + 0x30]
cmp esi, ebx
mov dword [edi + 0x924], 0xffffffff
je 0x453182
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x2c]
cmp esi, ebx
mov byte [edi + 0x2a8], bl
je 0x4531a7
call fcn.0047c4d0
mov ecx, esi
push ecx
call fcn.004c4986
add esp, 4
mov esi, edi
call fcn.00446090
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x4531b7
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
je 0x4531c7
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4531dc
lea ecx, [edi + 0xa8]
push ecx
push eax
call fcn.0046e120
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4531fa
mov edi, eax
call fcn.0047b460
mov edx, edi
push edx
call fcn.004c4986
mov edi, dword [esp + 0x20]
add esp, 4
mov esi, dword [esp + 0x4c]
cmp esi, ebx
je 0x453220
mov eax, dword [esi + 0x24]
push eax
call fcn.004fed70
add esp, 4
push esi
call fcn.004fef90
add esp, 4
push esi
call fcn.004c4986
add esp, 4
mov eax, dword [edi + 0x8f0]
cmp eax, ebx
mov dword [edi + 0x2b0], ebx
mov dword [edi + 0x88], ebx
mov dword [edi + 0x84], ebx
mov dword [edi + 0x8fc], ebx
mov dword [edi + 0x8f8], ebx
mov dword [edi + 0x8f4], ebx
je 0x45325d
push eax
call fcn.004c4986
add esp, 4
mov dword [edi + 0x8f0], ebx
mov eax, dword [edi + 0x920]
or esi, 0xffffffff
cmp eax, esi
mov dword [edi + 0x2ac], ebx
mov byte [edi + 0x81e], bl
je 0x453289
push eax
mov dword [edi + 0x928], esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 0x920], esi
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, edi
call fcn.00447520
mov eax, 1
mov ecx, dword [esp + 0x40098]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40080]
xor ecx, esp
call fcn.004e3543
mov esp, ebp
pop ebp
ret
and dword [edi + 0x2b0], 0xfffffffd
mov edi, eax
jmp 0x453151