Function at 0x40cb50
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xf4
mov dword [ebp + 0x10], 1
mov dword [ebp + 0x3c], 1
jmp 0x40cb72
mov eax, dword [ebp + 0x3c]
inc eax
mov dword [ebp + 0x3c], eax
cmp dword [ebp + 0x3c], 5
jg 0x40cb84
mov eax, dword [ebp + 0x10]
imul eax, dword [ebp + 0x3c]
mov dword [ebp + 0x10], eax
jmp 0x40cb6b
and dword [ebp + 0xc], 0
mov dword [ebp + 0x44], 1
jmp 0x40cb98
mov eax, dword [ebp + 0x44]
inc eax
mov dword [ebp + 0x44], eax
cmp dword [ebp + 0x44], 0xa
jg 0x40cbad
mov eax, dword [ebp + 0x44]
imul eax, dword [ebp + 0x44]
add eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
jmp 0x40cb91
and dword [ebp + 8], 0
mov dword [ebp + 0x14], 1
and dword [ebp + 0x18], 0
cmp dword [ebp + 0x18], 0x3e8
jg 0x40cbdc
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0x14]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x14], eax
jmp 0x40cbbc
xorps xmm0, xmm0
movsd qword [ebp - 4], xmm0
mov dword [ebp + 0x48], 1
jmp 0x40cbf4
mov eax, dword [ebp + 0x48]
inc eax
mov dword [ebp + 0x48], eax
cmp dword [ebp + 0x48], 0x64
jg 0x40cc11
mov eax, dword [ebp + 0x48]
imul eax, dword [ebp + 0x48]
cvtsi2sd xmm0, eax
addsd xmm0, qword [ebp - 4]
movsd qword [ebp - 4], xmm0
jmp 0x40cbed
push ecx
push ecx
movsd xmm0, qword [ebp - 4]
movsd qword [esp], xmm0
call fcn.00429550
pop ecx
pop ecx
fstp qword [ebp - 4]
and dword [ebp + 0x70], 0
mov dword [ebp + 0x64], 2
jmp 0x40cc3b
mov eax, dword [ebp + 0x64]
inc eax
mov dword [ebp + 0x64], eax
cmp dword [ebp + 0x64], 0x3e8
jg 0x40cca4
mov byte [ebp + 0x6f], 1
mov dword [ebp + 0x38], 2
jmp 0x40cc58
mov eax, dword [ebp + 0x38]
inc eax
mov dword [ebp + 0x38], eax
cvtsi2sd xmm0, dword [ebp + 0x38]
push dword [ebp + 0x64]
movsd qword [ebp - 0x20], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
movsd xmm1, qword [ebp - 0x20]
comisd xmm0, xmm1
jb 0x40cc91
mov eax, dword [ebp + 0x64]
cdq
idiv dword [ebp + 0x38]
test edx, edx
jne 0x40cc8f
mov byte [ebp + 0x6f], 0
jmp 0x40cc91
jmp 0x40cc51
movzx eax, byte [ebp + 0x6f]
test eax, eax
je 0x40cca2
mov eax, dword [ebp + 0x70]
add eax, dword [ebp + 0x64]
mov dword [ebp + 0x70], eax
jmp 0x40cc34
call fcn.0040fde9
mov dword [ebp + 0x60], 2
jmp 0x40ccb9
mov eax, dword [ebp + 0x60]
inc eax
mov dword [ebp + 0x60], eax
cmp dword [ebp + 0x60], 0x3e8
jg 0x40cd22
mov byte [ebp + 0x6e], 1
mov dword [ebp + 0x34], 2
jmp 0x40ccd6
mov eax, dword [ebp + 0x34]
inc eax
mov dword [ebp + 0x34], eax
cvtsi2sd xmm0, dword [ebp + 0x34]
push dword [ebp + 0x60]
movsd qword [ebp - 0x30], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x28]
movsd xmm1, qword [ebp - 0x30]
comisd xmm0, xmm1
jb 0x40cd0f
mov eax, dword [ebp + 0x60]
cdq
idiv dword [ebp + 0x34]
test edx, edx
jne 0x40cd0d
mov byte [ebp + 0x6e], 0
jmp 0x40cd0f
jmp 0x40cccf
movzx eax, byte [ebp + 0x6e]
test eax, eax
je 0x40cd20
mov eax, dword [ebp + 0x70]
add eax, dword [ebp + 0x60]
mov dword [ebp + 0x70], eax
jmp 0x40ccb2
mov dword [ebp + 0x5c], 2
jmp 0x40cd32
mov eax, dword [ebp + 0x5c]
inc eax
mov dword [ebp + 0x5c], eax
cmp dword [ebp + 0x5c], 0x3e8
jg 0x40cd9b
mov byte [ebp + 0x6d], 1
mov dword [ebp + 0x30], 2
jmp 0x40cd4f
mov eax, dword [ebp + 0x30]
inc eax
mov dword [ebp + 0x30], eax
cvtsi2sd xmm0, dword [ebp + 0x30]
push dword [ebp + 0x5c]
movsd qword [ebp - 0x40], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x38]
movsd xmm0, qword [ebp - 0x38]
movsd xmm1, qword [ebp - 0x40]
comisd xmm0, xmm1
jb 0x40cd88
mov eax, dword [ebp + 0x5c]
cdq
idiv dword [ebp + 0x30]
test edx, edx
jne 0x40cd86
mov byte [ebp + 0x6d], 0
jmp 0x40cd88
jmp 0x40cd48
movzx eax, byte [ebp + 0x6d]
test eax, eax
je 0x40cd99
mov eax, dword [ebp + 0x70]
add eax, dword [ebp + 0x5c]
mov dword [ebp + 0x70], eax
jmp 0x40cd2b
mov eax, dword [ebp + 0x7c]
mov dword [0x48d8b0], eax
mov dword [ebp + 0x58], 2
jmp 0x40cdb3
mov eax, dword [ebp + 0x58]
inc eax
mov dword [ebp + 0x58], eax
cmp dword [ebp + 0x58], 0x3e8
jg 0x40ce1c
mov byte [ebp + 0x6c], 1
mov dword [ebp + 0x2c], 2
jmp 0x40cdd0
mov eax, dword [ebp + 0x2c]
inc eax
mov dword [ebp + 0x2c], eax
cvtsi2sd xmm0, dword [ebp + 0x2c]
push dword [ebp + 0x58]
movsd qword [ebp - 0x50], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x48]
movsd xmm1, qword [ebp - 0x50]
comisd xmm0, xmm1
jb 0x40ce09
mov eax, dword [ebp + 0x58]
cdq
idiv dword [ebp + 0x2c]
test edx, edx
jne 0x40ce07
mov byte [ebp + 0x6c], 0
jmp 0x40ce09
jmp 0x40cdc9
movzx eax, byte [ebp + 0x6c]
test eax, eax
je 0x40ce1a
mov eax, dword [ebp + 0x70]
add eax, dword [ebp + 0x58]
mov dword [ebp + 0x70], eax
jmp 0x40cdac
lea ecx, [ebp + 0x1f]
call fcn.00405180
mov ecx, eax
call fcn.00404f4e
mov dword [ebp - 8], eax
mov dword [ebp + 0x54], 2
jmp 0x40ce3e
mov eax, dword [ebp + 0x54]
inc eax
mov dword [ebp + 0x54], eax
cmp dword [ebp + 0x54], 0x3e8
jg 0x40cea7
mov byte [ebp + 0x6b], 1
mov dword [ebp + 0x28], 2
jmp 0x40ce5b
mov eax, dword [ebp + 0x28]
inc eax
mov dword [ebp + 0x28], eax
cvtsi2sd xmm0, dword [ebp + 0x28]
push dword [ebp + 0x54]
movsd qword [ebp - 0x60], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
movsd xmm1, qword [ebp - 0x60]
comisd xmm0, xmm1
jb 0x40ce94
mov eax, dword [ebp + 0x54]
cdq
idiv dword [ebp + 0x28]
test edx, edx
jne 0x40ce92
mov byte [ebp + 0x6b], 0
jmp 0x40ce94
jmp 0x40ce54
movzx eax, byte [ebp + 0x6b]
test eax, eax
je 0x40cea5
mov eax, dword [ebp + 0x70]
add eax, dword [ebp + 0x54]
mov dword [ebp + 0x70], eax
jmp 0x40ce37
and dword [ebp - 0x10], 0
mov dword [ebp + 0x50], 2
jmp 0x40cebb
mov eax, dword [ebp + 0x50]
inc eax
mov dword [ebp + 0x50], eax
cmp dword [ebp + 0x50], 0x3e8
jg 0x40cf24
mov byte [ebp + 0x6a], 1
mov dword [ebp + 0x24], 2
jmp 0x40ced8
mov eax, dword [ebp + 0x24]
inc eax
mov dword [ebp + 0x24], eax
cvtsi2sd xmm0, dword [ebp + 0x24]
push dword [ebp + 0x50]
movsd qword [ebp - 0x70], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x68]
movsd xmm0, qword [ebp - 0x68]
movsd xmm1, qword [ebp - 0x70]
comisd xmm0, xmm1
jb 0x40cf11
mov eax, dword [ebp + 0x50]
cdq
idiv dword [ebp + 0x24]
test edx, edx
jne 0x40cf0f
mov byte [ebp + 0x6a], 0
jmp 0x40cf11
jmp 0x40ced1
movzx eax, byte [ebp + 0x6a]
test eax, eax
je 0x40cf22
mov eax, dword [ebp + 0x70]
add eax, dword [ebp + 0x50]
mov dword [ebp + 0x70], eax
jmp 0x40ceb4
mov dword [ebp + 0x4c], 2
jmp 0x40cf34
mov eax, dword [ebp + 0x4c]
inc eax
mov dword [ebp + 0x4c], eax
cmp dword [ebp + 0x4c], 0x3e8
jg 0x40cf9d
mov byte [ebp + 0x69], 1
mov dword [ebp + 0x20], 2
jmp 0x40cf51
mov eax, dword [ebp + 0x20]
inc eax
mov dword [ebp + 0x20], eax
cvtsi2sd xmm0, dword [ebp + 0x20]
push dword [ebp + 0x4c]
movsd qword [ebp - 0x80], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x78]
movsd xmm0, qword [ebp - 0x78]
movsd xmm1, qword [ebp - 0x80]
comisd xmm0, xmm1
jb 0x40cf8a
mov eax, dword [ebp + 0x4c]
cdq
idiv dword [ebp + 0x20]
test edx, edx
jne 0x40cf88
mov byte [ebp + 0x69], 0
jmp 0x40cf8a
jmp 0x40cf4a
movzx eax, byte [ebp + 0x69]
test eax, eax
je 0x40cf9b
mov eax, dword [ebp + 0x70]
add eax, dword [ebp + 0x4c]
mov dword [ebp + 0x70], eax
jmp 0x40cf2d
and dword [ebp + 0x40], 0
jmp 0x40cfaa
cmp dword [ebp + 0x40], 1
jae 0x40cffc
mov byte [0x48d8dc], 1
mov eax, dword [ebp + 0x40]
push dword [ebp + eax*4 - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp + 4], eax
push 0
push 0
push 0
mov eax, dword [ebp + 4]
add eax, dword [0x48d8b4]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xc], eax
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40cffc
add ebp, 0x74
leave
ret