Function at 0x597e10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f500
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x697bc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
push 0xb4
call fcn.005c442b
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0
je 0x597e65
mov ecx, dword [ebp - 0x20]
call fcn.005b5a50
mov dword [ebp - 0x24], eax
jmp 0x597e6c
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.005c63d0
add esp, 0xc
push str.socketerror
mov ecx, dword [ebp - 0x10]
call fcn.004eebb0
mov eax, dword [ebp - 0x14]
add eax, 0x2f0
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.004eeb90
mov ecx, dword [ebp - 0x14]
add ecx, 0x2d8
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004eeb90
mov edx, dword [ebp - 0x14]
add edx, 0x308
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.004eeb90
lea eax, [ebp - 0x94]
push eax
call fcn.004e72e0
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.004ef850
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.004e2fe0
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.004eeb20
lea ecx, [ebp - 0x64]
call fcn.004eeb60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004ef480
mov ecx, dword [ebp - 0x14]
add ecx, 0x224
call fcn.004ef850
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.004e2fe0
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.004efa70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004eeb60
mov ecx, dword [ebp - 0x14]
add ecx, 0x32c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
call fcn.004eeb90
mov dword [ebp - 0x18], 0
jmp 0x597fb3
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.004efde0
cmp dword [ebp - 0x18], eax
jae 0x598048
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.004efe00
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x224
call fcn.004ef910
test eax, eax
je 0x598043
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.004efe00
mov ecx, eax
call fcn.004ef850
push eax
lea edx, [ebp - 0xac]
push edx
call fcn.004e2fe0
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.004efa70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.004eeb60
jmp 0x597faa
push 8
call fcn.005c442b
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.005c63d0
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 0x5b3040
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