Function at 0x418af8
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.00418902
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x10], 1
jge 0x418b5f
mov dword [ebp + 0x10], 0
mov eax, 0
jmp 0x4190f9
cmp dword [ebp + 0x18], 1
jge 0x418b70
mov dword [ebp + 0x18], 0x2800
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
call fcn.004190ff
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4190ef
push dword [ebp + 0x18]
push dword [ebp - 4]
call fcn.004195e3
call fcn.0041967c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4190c3
push 0x42e36b
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.0040412f
add esp, 8
cmp eax, 0
jne 0x418bfe
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.004196cb
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x418bf3
push ebx
call fcn.0041bc29
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
jmp 0x418c13
push 1
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.004196cb
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x419097
push 1
push 0xffff0007
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0041995d
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x419097
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 0x418c74
push 0x330
push 0x409c9aa
push 6
call fcn.0041bc17
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x419097
fild dword [ebp + 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x42e485]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x42e65b]
fstp qword [ebp - 0x38]
mov dword [ebp - 0x3c], esp
fld qword [ebp - 0x38]
call fcn.00404958
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 0x418cd9
push 0x3e7
push 0x409c9aa
push 6
call fcn.0041bc17
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41906b
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 0x418d1b
push 0x443
push 0x409c9aa
push 6
call fcn.0041bc17
add esp, 0xc
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x42e485]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp - 8]
push eax
fld qword [ebp - 0x30]
call fcn.00404958
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x418d68
push 0x47f
push 0x409c9aa
push 6
call fcn.0041bc17
add esp, 0xc
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x42e623]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp - 4]
push eax
fld qword [ebp - 0x30]
call fcn.00404958
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x418db5
push 0x4c5
push 0x409c9aa
push 6
call fcn.0041bc17
add esp, 0xc
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x42f475]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp + 0x10]
push eax
fld qword [ebp - 0x30]
call fcn.00404958
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x418e02
push 0x50b
push 0x409c9aa
push 6
call fcn.0041bc17
add esp, 0xc
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x42e5f3]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp + 0x18]
push eax
fld qword [ebp - 0x30]
call fcn.00404958
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x418e4f
push 0x551
push 0x409c9aa
push 6
call fcn.0041bc17
add esp, 0xc
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x42e5fb]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp + 0x1c]
push eax
fld qword [ebp - 0x30]
call fcn.00404958
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x418e9c
push 0x5f7
push 0x409c9aa
push 6
call fcn.0041bc17
add esp, 0xc
mov eax, dword [ebp + 0x14]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x418fcf
push dword [ebp + 0x18]
push dword [ebp - 0x10]
call fcn.004199c7
mov dword [ebp - 0x18], eax
push dword [ebp - 4]
push dword [ebp - 0x18]
call fcn.00419e66
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 0x41a67d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x418f11
push 0x6ce
push 0x409c9aa
push 6
call fcn.0041bc17
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x418fbc
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 0x418f4a
push 0x748
push 0x409c9aa
push 6
call fcn.0041bc17
add esp, 0xc
fild dword [ebp - 0x20]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x42e485]
fstp qword [ebp - 0x30]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [ebp - 0x30]
fadd qword [0x42e65b]
fstp qword [ebp - 0x40]
mov dword [ebp - 0x44], esp
push 4
lea eax, [ebp - 0x1c]
push eax
fld qword [ebp - 0x40]
call fcn.00404958
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x44], esp
je 0x418fac
push 0x79a
push 0x409c9aa
push 6
call fcn.0041bc17
add esp, 0xc
push dword [ebp - 0x18]
call fcn.00419ec2
inc dword [ebp - 0x20]
jmp 0x418fc8
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
call fcn.0041a08f
pop eax
pop ecx
jmp 0x418ea1
add esp, 8
cmp dword [ebp - 0x20], 0
jle 0x41902f
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0x14], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [0x42e643]
fstp qword [ebp - 0x30]
mov dword [ebp - 0x34], esp
push 4
lea eax, [ebp + 0x14]
push eax
fld qword [ebp - 0x30]
call fcn.00404958
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41902f
push 0x8da
push 0x409c9aa
push 6
call fcn.0041bc17
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x4190f9
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 0x419097
push 0x956
push 0x409c9aa
push 6
call fcn.0041bc17
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 0x4190c3
push 0x99c
push 0x409c9aa
push 6
call fcn.0041bc17
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 0x4190ef
push 0x9b8
push 0x409c9aa
push 6
call fcn.0041bc17
add esp, 0xc
mov eax, 0
jmp 0x4190f9
mov esp, ebp
pop ebp
ret 0x18