Function at 0x528150
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a6e2
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5ea6f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
push 0xb4
call fcn.0054e14d
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x5281a5
mov ecx, dword [ebp - 0x20]
call fcn.00544610
mov dword [ebp - 0x24], eax
jmp 0x5281ac
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.00550c40
add esp, 0xc
push str.socketerror
mov ecx, dword [ebp - 0x10]
call fcn.004e90a0
mov eax, dword [ebp - 0x14]
add eax, 0x2d4
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.004e9080
mov ecx, dword [ebp - 0x14]
add ecx, 0x2bc
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004e9080
mov edx, dword [ebp - 0x14]
add edx, 0x2ec
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.004e9080
lea eax, [ebp - 0x94]
push eax
call fcn.004e54b0
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.004e9c20
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.004e1980
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.004e9010
lea ecx, [ebp - 0x64]
call fcn.004e9050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004e9960
mov ecx, dword [ebp - 0x14]
add ecx, 0x204
call fcn.004e9c20
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.004e1980
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.004e9d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004e9050
mov ecx, dword [ebp - 0x14]
add ecx, 0x310
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
call fcn.004e9080
mov dword [ebp - 0x18], 0
jmp 0x5282f3
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 0x528388
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, 0x204
call fcn.004e9ce0
test eax, eax
je 0x528383
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.004ea110
mov ecx, eax
call fcn.004e9c20
push eax
lea edx, [ebp - 0xac]
push edx
call fcn.004e1980
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.004e9d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.004e9050
jmp 0x5282ea
push 8
call fcn.0054e14d
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.00550c40
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 0x541570
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