Function at 0x4187eb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push dword [ebp + 0x14]
call fcn.004185f5
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x10], 1
jge 0x418852
mov dword [ebp + 0x10], 0
mov eax, 0
jmp 0x418dec
cmp dword [ebp + 0x18], 1
jge 0x418863
mov dword [ebp + 0x18], 0x2800
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
call fcn.00418df2
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x418de2
push dword [ebp + 0x18]
push dword [ebp - 4]
call fcn.004192d6
call fcn.0041936f
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x418db6
push 0x42724d
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040331e
add esp, 8
cmp eax, 0
jne 0x4188f1
push 1
push dword [ebp + 0xc]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call fcn.004193be
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4188e6
push ebx
call fcn.0041fefe
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
jmp 0x418906
push 1
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.004193be
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x418d8a
push 1
push 0xffff0007
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00419650
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x418d8a
mov dword [ebp - 0x24], esp
push 0
push 0
push 4
call dword [sym.imp.KERNEL32.dll_HeapCreate]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x418967
push 0x330
push 0x4088e31
push 6
call fcn.0041ff04
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x418d8a
fild dword [ebp + 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x42e4d6]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x42f3c0]
fstp qword [ebp - 0x38]
mov dword [ebp - 0x3c], esp
fld qword [ebp - 0x38]
call fcn.00401164
push eax
push 8
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0x3c], esp
je 0x4189cc
push 0x3e7
push 0x4088e31
push 6
call fcn.0041ff04
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x418d5e
mov dword [ebp - 0x24], esp
push 4
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x418a0e
push 0x443
push 0x4088e31
push 6
call fcn.0041ff04
add esp, 0xc
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x42e4d6]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp - 8]
push eax
fld qword [ebp - 0x30]
call fcn.00401164
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x418a5b
push 0x47f
push 0x4088e31
push 6
call fcn.0041ff04
add esp, 0xc
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x42e53b]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp - 4]
push eax
fld qword [ebp - 0x30]
call fcn.00401164
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x418aa8
push 0x4c5
push 0x4088e31
push 6
call fcn.0041ff04
add esp, 0xc
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x42e4de]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp + 0x10]
push eax
fld qword [ebp - 0x30]
call fcn.00401164
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x418af5
push 0x50b
push 0x4088e31
push 6
call fcn.0041ff04
add esp, 0xc
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x42f24a]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp + 0x18]
push eax
fld qword [ebp - 0x30]
call fcn.00401164
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x418b42
push 0x551
push 0x4088e31
push 6
call fcn.0041ff04
add esp, 0xc
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x42f25a]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp + 0x1c]
push eax
fld qword [ebp - 0x30]
call fcn.00401164
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x418b8f
push 0x5f7
push 0x4088e31
push 6
call fcn.0041ff04
add esp, 0xc
mov eax, dword [ebp + 0x14]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x418cc2
push dword [ebp + 0x18]
push dword [ebp - 0x10]
call fcn.004196ba
mov dword [ebp - 0x18], eax
push dword [ebp - 4]
push dword [ebp - 0x18]
call fcn.00419b59
mov dword [ebp - 0x24], esp
mov eax, 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 0
push dword [ebp - 0x14]
push 0x41a439
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x418c04
push 0x6ce
push 0x4088e31
push 6
call fcn.0041ff04
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x418caf
mov dword [ebp - 0x24], esp
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x418c3d
push 0x748
push 0x4088e31
push 6
call fcn.0041ff04
add esp, 0xc
fild dword [ebp - 0x20]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x42e4d6]
fstp qword [ebp - 0x30]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [ebp - 0x30]
fadd qword [0x42f3c0]
fstp qword [ebp - 0x40]
mov dword [ebp - 0x44], esp
push 4
lea eax, [ebp - 0x1c]
push eax
fld qword [ebp - 0x40]
call fcn.00401164
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x418c9f
push 0x79a
push 0x4088e31
push 6
call fcn.0041ff04
add esp, 0xc
push dword [ebp - 0x18]
call fcn.00419bb5
inc dword [ebp - 0x20]
jmp 0x418cbb
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
call fcn.00419d82
pop eax
pop ecx
jmp 0x418b94
add esp, 8
cmp dword [ebp - 0x20], 0
jle 0x418d22
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x42f252]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp + 0x14]
push eax
fld qword [ebp - 0x30]
call fcn.00401164
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x418d22
push 0x8da
push 0x4088e31
push 6
call fcn.0041ff04
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x418dec
mov dword [ebp - 0x24], esp
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x418d8a
push 0x956
push 0x4088e31
push 6
call fcn.0041ff04
add esp, 0xc
mov dword [ebp - 0x24], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x418db6
push 0x99c
push 0x4088e31
push 6
call fcn.0041ff04
add esp, 0xc
mov dword [ebp - 0x24], esp
push dword [ebp - 4]
call dword [sym.imp.WSOCK32.dll_closesocket]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x418de2
push 0x9b8
push 0x4088e31
push 6
call fcn.0041ff04
add esp, 0xc
mov eax, 0
jmp 0x418dec
mov esp, ebp
pop ebp
ret 0x18