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

Disassembly:
push 0xffffffffffffffff
push 0x5d4c98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x628560]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x54]
call fcn.004d8fd9
mov ecx, dword [eax + 4]
call fcn.004d436d
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x4c], eax
cmp dword [ebp + 0x60], edi
jne 0x4556cb
cmp dword [ebp + 0x84], eax
je 0x45549b
mov ebx, dword [0x647fdc]
mov ecx, dword [ebx + 0x70]
cmp dword [ecx - 0xc], eax
lea esi, [ebx + 0x70]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
je 0x45547a
mov eax, ecx
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x455440
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00405490
mov edi, dword [esi]
lea esi, [esp + 0x20]
call fcn.00487b60
cmp eax, 1
je 0x455468
lea ecx, [esp + 0x1b]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00405e40
xor eax, eax
jmp 0x4556dd
mov eax, dword [ebp + 0x38]
push eax
lea eax, [esp + 0x24]
call fcn.00487d90
or edi, 0xffffffff
xor eax, eax
mov ecx, dword [ebx + 0xcc]
mov dword [ebp + 0x70], ecx
mov dx, word [ebx + 0xd0]
mov word [ebp + 0x74], dx
mov dword [ebx + 0xcc], eax
mov word [ebx + 0xd0], ax
push 6
push 1
mov ebx, 2
push ebx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, edi
mov dword [ebp + 0x60], eax
jne 0x455568
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4554d0
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 + 0x1c], eax
push 0x572
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x54], 1
call fcn.00422da0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], bl
call fcn.00404ec0
mov byte [esp + 0x4c], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x455526
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
push 0
push 0
push esi
call fcn.004d60f9
lea eax, [esi - 0x10]
mov edx, edi
lea ecx, [eax + 0xc]
mov byte [esp + 0x4c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455554
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1b]
mov dword [esp + 0x4c], edi
call fcn.00405e40
xor eax, eax
jmp 0x4556dd
movzx ecx, word [ebp + 0x74]
push ecx
mov word [esp + 0x30], bx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp + 0x60]
mov edx, dword [ebp + 0x70]
push 1
mov word [esp + 0x32], ax
lea eax, [esp + 0x2c]
push eax
push 1
push 6
push ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp + 0x60]
push 0x10
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, edi
jne 0x45560c
mov ecx, dword [ebp + 0x60]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x1c]
mov dword [ebp + 0x60], edi
call fcn.00404bf0
push 0x573
lea edx, [esp + 0x24]
mov bl, 3
push edx
mov byte [esp + 0x54], bl
call fcn.00422da0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 4
call fcn.00404ec0
mov byte [esp + 0x4c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x45551a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
mov dword [ebp + 0x6c], eax
call fcn.004559f0
test eax, eax
jne 0x45568e
lea ecx, [esp + 0x1c]
call fcn.00404bf0
push 0x5e3
lea ecx, [esp + 0x24]
mov bl, 5
push ecx
mov byte [esp + 0x54], bl
call fcn.00422da0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 6
call fcn.00404ec0
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], bl
call fcn.00404ea0
mov edx, dword [esp + 0x1c]
push 0
push 0
push edx
call fcn.004d60f9
mov eax, dword [ebp + 0x60]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x1c]
mov dword [ebp + 0x60], edi
call fcn.00404ea0
lea ecx, [esp + 0x1b]
mov dword [esp + 0x4c], edi
call fcn.00405e40
xor eax, eax
jmp 0x4556dd
push 0
push 0
push ebp
push 0x455740
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x4556c4
mov ecx, dword [ebp + 0x60]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [esp + 0x1b]
mov dword [ebp + 0x60], edi
mov dword [esp + 0x4c], edi
call fcn.00405e40
xor eax, eax
jmp 0x4556dd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1b]
mov dword [esp + 0x4c], edi
call fcn.00405e40
mov eax, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004f2a78
add esp, 0x3c
ret 4