Function at 0x453310
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 0x5c526e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x40084
call fcn.004eb910
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.00452ac0
test eax, eax
je 0x4539d1
mov esi, edi
mov dword [edi + 0x2ac], 1
call fcn.00447d90
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.0046dcf0
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.0046e860
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 0x453487
call fcn.004c5ee1
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4533ec
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.0041d1c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x400a4], 1
call fcn.00404e20
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 0x45344b
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.004c72d6
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 0x4539d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4539d3
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 0x45359d
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 0x924], 0xffffffff
call fcn.004c5ee1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x453500
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.0041d1c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x400a4], 3
call fcn.00404e20
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 0x45355f
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.004c72d6
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 0x4539d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4539d1
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.00453d30
add esp, 4
test eax, eax
je 0x4539d1
mov eax, dword [edi + 0x924]
push eax
call fcn.00453d80
add esp, 4
test eax, eax
je 0x4539d1
mov al, byte [esp + 0x90]
cmp al, 7
je 0x453752
lea ecx, [esp + 0x14]
movzx esi, al
call fcn.004773a0
cmp esi, 0xc
mov ebx, 4
mov dword [esp + 0x400a0], ebx
jne 0x453739
movzx eax, byte [esp + 0x94]
test eax, eax
jne 0x453676
push 0x62e
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041d1c0
mov byte [esp + 0x400a0], 5
push eax
lea ecx, [esp + 0x18]
call fcn.00404e20
lea ecx, [esp + 0x18]
mov byte [esp + 0x400a0], bl
call fcn.004773d0
mov edx, dword [esp + 0x14]
push 0
push 0
push edx
jmp 0x453734
cmp eax, 1
jne 0x453694
push 0x62f
lea eax, [esp + 0x1c]
push eax
call fcn.0041d1c0
mov byte [esp + 0x400a0], 6
jmp 0x453711
cmp eax, 2
jne 0x4536d5
push 0x630
lea edx, [esp + 0x1c]
push edx
call fcn.0041d1c0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x400a4], 7
call fcn.00404e20
lea ecx, [esp + 0x18]
mov byte [esp + 0x400a0], bl
call fcn.004773d0
mov eax, dword [esp + 0x14]
push 0
push 0
push eax
jmp 0x453734
cmp eax, 3
jne 0x4536f6
push 0x64e
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041d1c0
mov byte [esp + 0x400a0], 8
jmp 0x45364e
cmp eax, ebx
jne 0x453739
push 0x631
lea eax, [esp + 0x1c]
push eax
call fcn.0041d1c0
mov byte [esp + 0x400a0], 9
push eax
lea ecx, [esp + 0x18]
call fcn.00404e20
lea ecx, [esp + 0x18]
mov byte [esp + 0x400a0], bl
call fcn.004773d0
mov ecx, dword [esp + 0x14]
push 0
push 0
push ecx
call fcn.004c72d6
lea ecx, [esp + 0x14]
mov dword [esp + 0x400a0], 0xffffffff
call fcn.004773d0
jmp 0x4539d1
test byte [esp + 0x92], 1
je 0x453788
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.00453d30
add esp, 4
test eax, eax
je 0x4539d1
push 0x148
call fcn.004c51db
mov edx, eax
add esp, 4
test edx, edx
je 0x4537f5
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov esi, edx
call fcn.0047cfd0
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jmp 0x453801
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x28], eax
je 0x4539d1
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
push ecx
mov eax, esi
call fcn.0046ebb0
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.004c520b
add esp, 4
push edi
push edi
push esi
push 0x453100
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 0x4539cd
mov edx, esi
cmp dword [edx + 0x924], 0xffffffff
je 0x4539cd
lea ecx, [ecx]
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x920], 0xffffffff
mov edi, eax
je 0x4539d1
test byte [edi + 0x2b0], 2
jne 0x453b41
cmp dword [ebx], 0
jle 0x4539b8
mov ecx, dword [edi + 0x8f8]
mov eax, 0x100000
sub eax, ecx
cmp eax, 4
jge 0x4538d4
neg eax
push eax
push ebx
mov dword [edi + 0x8f8], 0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
jmp 0x4539c0
lea ecx, [ecx + ecx*8]
add ecx, dword [edi + 0x8f0]
mov esi, dword [ecx]
cmp esi, 0xffffffff
jne 0x4538fd
neg eax
push eax
push ebx
mov dword [edi + 0x8f8], 0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
jmp 0x4539c0
cmp byte [ecx + 4], 6
jne 0x45398e
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 0x4539cd
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 0x45398c
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.0046ec30
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x48]
jmp 0x45398e
mov edi, ecx
mov edx, dword [edi + 0x8f8]
add edx, esi
and edx, 0x800fffff
jns 0x4539a6
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 0x4539c0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x924], 0xffffffff
jne 0x453880
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 0x453a02
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 0x453a27
call fcn.0047cd30
mov ecx, esi
push ecx
call fcn.004c5206
add esp, 4
mov esi, edi
call fcn.00446900
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x453a37
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
je 0x453a47
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x453a5c
lea ecx, [edi + 0xa8]
push ecx
push eax
call fcn.0046e980
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x453a7a
mov edi, eax
call fcn.0047bcc0
mov edx, edi
push edx
call fcn.004c5206
mov edi, dword [esp + 0x20]
add esp, 4
mov esi, dword [esp + 0x4c]
cmp esi, ebx
je 0x453aa0
mov eax, dword [esi + 0x24]
push eax
call fcn.004ff5f0
add esp, 4
push esi
call fcn.004ff810
add esp, 4
push esi
call fcn.004c5206
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 0x453add
push eax
call fcn.004c5206
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 0x453b09
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.00447d90
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.004e3dc3
mov esp, ebp
pop ebp
ret
and dword [edi + 0x2b0], 0xfffffffd
mov edi, eax
jmp 0x4539d1