Function at 0x52e6f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59df96
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x615720]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
push 0xb4
call fcn.0055bcff
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x52e745
mov ecx, dword [ebp - 0x20]
call fcn.0054efa0
mov dword [ebp - 0x24], eax
jmp 0x52e74c
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x10], ecx
push 0xb4
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.0055ea20
add esp, 0xc
push str.socketerror
mov ecx, dword [ebp - 0x10]
call fcn.004e9110
mov eax, dword [ebp - 0x14]
add eax, 0x2f4
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.004e90f0
mov ecx, dword [ebp - 0x14]
add ecx, 0x2dc
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004e90f0
mov edx, dword [ebp - 0x14]
add edx, 0x30c
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.004e90f0
lea eax, [ebp - 0x94]
push eax
call fcn.004e5790
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
call fcn.004e9c70
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.004e1d70
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.004e9080
lea ecx, [ebp - 0x64]
call fcn.004e90c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004e99d0
mov ecx, dword [ebp - 0x14]
add ecx, 0x228
call fcn.004e9c70
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.004e1d70
add esp, 8
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x90
call fcn.004e9e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004e90c0
mov ecx, dword [ebp - 0x14]
add ecx, 0x330
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
call fcn.004e90f0
mov dword [ebp - 0x18], 0
jmp 0x52e893
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.004ea0f0
cmp dword [ebp - 0x18], eax
jae 0x52e928
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.004ea110
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x228
call fcn.004e9d10
test eax, eax
je 0x52e923
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.004ea110
mov ecx, eax
call fcn.004e9c70
push eax
lea edx, [ebp - 0xac]
push edx
call fcn.004e1d70
add esp, 8
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x90
call fcn.004e9e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.004e90c0
jmp 0x52e88a
push 8
call fcn.0055bcff
add esp, 4
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
push 8
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0055ea20
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 5
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
push 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x54b3a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10