Function at 0x40d001
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x328
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0x3c], 1
jmp 0x40d026
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 5
jg 0x40d03e
mov eax, dword [ebp - 0xc4]
imul eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc4], eax
jmp 0x40d01f
and dword [ebp - 0xc8], 0
mov dword [ebp - 0x30], 1
jmp 0x40d055
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xa
jg 0x40d070
mov eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0x30]
add eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc8], eax
jmp 0x40d04e
and dword [ebp - 0xcc], 0
mov dword [ebp - 0xc0], 1
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0x3e8
jg 0x40d0c0
mov eax, dword [ebp - 0xcc]
add eax, dword [ebp - 0xc0]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
jmp 0x40d088
xorps xmm0, xmm0
movsd qword [ebp - 0xd4], xmm0
mov dword [ebp - 0x34], 1
jmp 0x40d0db
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x64
jg 0x40d0fe
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x34]
cvtsi2sd xmm0, eax
addsd xmm0, qword [ebp - 0xd4]
movsd qword [ebp - 0xd4], xmm0
jmp 0x40d0d4
push ecx
push ecx
movsd xmm0, qword [ebp - 0xd4]
movsd qword [esp], xmm0
call fcn.00429550
pop ecx
pop ecx
fstp qword [ebp - 0xd4]
and dword [ebp + 0x6c], 0
mov dword [ebp + 0x48], 2
jmp 0x40d12e
mov eax, dword [ebp + 0x48]
inc eax
mov dword [ebp + 0x48], eax
cmp dword [ebp + 0x48], 0x3e8
jg 0x40d1a3
mov byte [ebp + 0x6b], 1
mov dword [ebp - 0x40], 2
jmp 0x40d14b
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cvtsi2sd xmm0, dword [ebp - 0x40]
push dword [ebp + 0x48]
movsd qword [ebp - 0xe8], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0xe0]
movsd xmm0, qword [ebp - 0xe0]
movsd xmm1, qword [ebp - 0xe8]
comisd xmm0, xmm1
jb 0x40d190
mov eax, dword [ebp + 0x48]
cdq
idiv dword [ebp - 0x40]
test edx, edx
jne 0x40d18e
mov byte [ebp + 0x6b], 0
jmp 0x40d190
jmp 0x40d144
movzx eax, byte [ebp + 0x6b]
test eax, eax
je 0x40d1a1
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x48]
mov dword [ebp + 0x6c], eax
jmp 0x40d127
mov dword [ebp + 0x44], 2
jmp 0x40d1b3
mov eax, dword [ebp + 0x44]
inc eax
mov dword [ebp + 0x44], eax
cmp dword [ebp + 0x44], 0x3e8
jg 0x40d228
mov byte [ebp + 0x6a], 1
mov dword [ebp - 0x44], 2
jmp 0x40d1d0
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cvtsi2sd xmm0, dword [ebp - 0x44]
push dword [ebp + 0x44]
movsd qword [ebp - 0xf8], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0xf0]
movsd xmm0, qword [ebp - 0xf0]
movsd xmm1, qword [ebp - 0xf8]
comisd xmm0, xmm1
jb 0x40d215
mov eax, dword [ebp + 0x44]
cdq
idiv dword [ebp - 0x44]
test edx, edx
jne 0x40d213
mov byte [ebp + 0x6a], 0
jmp 0x40d215
jmp 0x40d1c9
movzx eax, byte [ebp + 0x6a]
test eax, eax
je 0x40d226
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x44]
mov dword [ebp + 0x6c], eax
jmp 0x40d1ac
mov dword [ebp + 0x40], 2
jmp 0x40d238
mov eax, dword [ebp + 0x40]
inc eax
mov dword [ebp + 0x40], eax
cmp dword [ebp + 0x40], 0x3e8
jg 0x40d2ad
mov byte [ebp + 0x69], 1
mov dword [ebp - 0x48], 2
jmp 0x40d255
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cvtsi2sd xmm0, dword [ebp - 0x48]
push dword [ebp + 0x40]
movsd qword [ebp - 0x108], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x100]
movsd xmm0, qword [ebp - 0x100]
movsd xmm1, qword [ebp - 0x108]
comisd xmm0, xmm1
jb 0x40d29a
mov eax, dword [ebp + 0x40]
cdq
idiv dword [ebp - 0x48]
test edx, edx
jne 0x40d298
mov byte [ebp + 0x69], 0
jmp 0x40d29a
jmp 0x40d24e
movzx eax, byte [ebp + 0x69]
test eax, eax
je 0x40d2ab
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x40]
mov dword [ebp + 0x6c], eax
jmp 0x40d231
mov dword [ebp + 0x3c], 2
jmp 0x40d2bd
mov eax, dword [ebp + 0x3c]
inc eax
mov dword [ebp + 0x3c], eax
cmp dword [ebp + 0x3c], 0x3e8
jg 0x40d332
mov byte [ebp + 0x68], 1
mov dword [ebp - 0x4c], 2
jmp 0x40d2da
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cvtsi2sd xmm0, dword [ebp - 0x4c]
push dword [ebp + 0x3c]
movsd qword [ebp - 0x118], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x110]
movsd xmm0, qword [ebp - 0x110]
movsd xmm1, qword [ebp - 0x118]
comisd xmm0, xmm1
jb 0x40d31f
mov eax, dword [ebp + 0x3c]
cdq
idiv dword [ebp - 0x4c]
test edx, edx
jne 0x40d31d
mov byte [ebp + 0x68], 0
jmp 0x40d31f
jmp 0x40d2d3
movzx eax, byte [ebp + 0x68]
test eax, eax
je 0x40d330
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x3c]
mov dword [ebp + 0x6c], eax
jmp 0x40d2b6
mov dword [ebp + 0x38], 2
jmp 0x40d342
mov eax, dword [ebp + 0x38]
inc eax
mov dword [ebp + 0x38], eax
cmp dword [ebp + 0x38], 0x3e8
jg 0x40d3b7
mov byte [ebp + 0x67], 1
mov dword [ebp - 0x50], 2
jmp 0x40d35f
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cvtsi2sd xmm0, dword [ebp - 0x50]
push dword [ebp + 0x38]
movsd qword [ebp - 0x128], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x120]
movsd xmm0, qword [ebp - 0x120]
movsd xmm1, qword [ebp - 0x128]
comisd xmm0, xmm1
jb 0x40d3a4
mov eax, dword [ebp + 0x38]
cdq
idiv dword [ebp - 0x50]
test edx, edx
jne 0x40d3a2
mov byte [ebp + 0x67], 0
jmp 0x40d3a4
jmp 0x40d358
movzx eax, byte [ebp + 0x67]
test eax, eax
je 0x40d3b5
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x38]
mov dword [ebp + 0x6c], eax
jmp 0x40d33b
mov dword [ebp + 0x34], 2
jmp 0x40d3c7
mov eax, dword [ebp + 0x34]
inc eax
mov dword [ebp + 0x34], eax
cmp dword [ebp + 0x34], 0x3e8
jg 0x40d43c
mov byte [ebp + 0x66], 1
mov dword [ebp - 0x54], 2
jmp 0x40d3e4
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cvtsi2sd xmm0, dword [ebp - 0x54]
push dword [ebp + 0x34]
movsd qword [ebp - 0x138], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x130]
movsd xmm0, qword [ebp - 0x130]
movsd xmm1, qword [ebp - 0x138]
comisd xmm0, xmm1
jb 0x40d429
mov eax, dword [ebp + 0x34]
cdq
idiv dword [ebp - 0x54]
test edx, edx
jne 0x40d427
mov byte [ebp + 0x66], 0
jmp 0x40d429
jmp 0x40d3dd
movzx eax, byte [ebp + 0x66]
test eax, eax
je 0x40d43a
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x34]
mov dword [ebp + 0x6c], eax
jmp 0x40d3c0
mov dword [ebp + 0x30], 2
jmp 0x40d44c
mov eax, dword [ebp + 0x30]
inc eax
mov dword [ebp + 0x30], eax
cmp dword [ebp + 0x30], 0x3e8
jg 0x40d4c1
mov byte [ebp + 0x65], 1
mov dword [ebp - 0x58], 2
jmp 0x40d469
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cvtsi2sd xmm0, dword [ebp - 0x58]
push dword [ebp + 0x30]
movsd qword [ebp - 0x148], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x140]
movsd xmm0, qword [ebp - 0x140]
movsd xmm1, qword [ebp - 0x148]
comisd xmm0, xmm1
jb 0x40d4ae
mov eax, dword [ebp + 0x30]
cdq
idiv dword [ebp - 0x58]
test edx, edx
jne 0x40d4ac
mov byte [ebp + 0x65], 0
jmp 0x40d4ae
jmp 0x40d462
movzx eax, byte [ebp + 0x65]
test eax, eax
je 0x40d4bf
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x30]
mov dword [ebp + 0x6c], eax
jmp 0x40d445
mov dword [ebp + 0x2c], 2
jmp 0x40d4d1
mov eax, dword [ebp + 0x2c]
inc eax
mov dword [ebp + 0x2c], eax
cmp dword [ebp + 0x2c], 0x3e8
jg 0x40d546
mov byte [ebp + 0x64], 1
mov dword [ebp - 0x5c], 2
jmp 0x40d4ee
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cvtsi2sd xmm0, dword [ebp - 0x5c]
push dword [ebp + 0x2c]
movsd qword [ebp - 0x158], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x150]
movsd xmm0, qword [ebp - 0x150]
movsd xmm1, qword [ebp - 0x158]
comisd xmm0, xmm1
jb 0x40d533
mov eax, dword [ebp + 0x2c]
cdq
idiv dword [ebp - 0x5c]
test edx, edx
jne 0x40d531
mov byte [ebp + 0x64], 0
jmp 0x40d533
jmp 0x40d4e7
movzx eax, byte [ebp + 0x64]
test eax, eax
je 0x40d544
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x2c]
mov dword [ebp + 0x6c], eax
jmp 0x40d4ca
mov dword [ebp + 0x28], 2
jmp 0x40d556
mov eax, dword [ebp + 0x28]
inc eax
mov dword [ebp + 0x28], eax
cmp dword [ebp + 0x28], 0x3e8
jg 0x40d5cb
mov byte [ebp + 0x63], 1
mov dword [ebp - 0x60], 2
jmp 0x40d573
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cvtsi2sd xmm0, dword [ebp - 0x60]
push dword [ebp + 0x28]
movsd qword [ebp - 0x168], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x160]
movsd xmm0, qword [ebp - 0x160]
movsd xmm1, qword [ebp - 0x168]
comisd xmm0, xmm1
jb 0x40d5b8
mov eax, dword [ebp + 0x28]
cdq
idiv dword [ebp - 0x60]
test edx, edx
jne 0x40d5b6
mov byte [ebp + 0x63], 0
jmp 0x40d5b8
jmp 0x40d56c
movzx eax, byte [ebp + 0x63]
test eax, eax
je 0x40d5c9
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x28]
mov dword [ebp + 0x6c], eax
jmp 0x40d54f
mov dword [ebp + 0x24], 2
jmp 0x40d5db
mov eax, dword [ebp + 0x24]
inc eax
mov dword [ebp + 0x24], eax
cmp dword [ebp + 0x24], 0x3e8
jg 0x40d650
mov byte [ebp + 0x62], 1
mov dword [ebp - 0x64], 2
jmp 0x40d5f8
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cvtsi2sd xmm0, dword [ebp - 0x64]
push dword [ebp + 0x24]
movsd qword [ebp - 0x178], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x170]
movsd xmm0, qword [ebp - 0x170]
movsd xmm1, qword [ebp - 0x178]
comisd xmm0, xmm1
jb 0x40d63d
mov eax, dword [ebp + 0x24]
cdq
idiv dword [ebp - 0x64]
test edx, edx
jne 0x40d63b
mov byte [ebp + 0x62], 0
jmp 0x40d63d
jmp 0x40d5f1
movzx eax, byte [ebp + 0x62]
test eax, eax
je 0x40d64e
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x24]
mov dword [ebp + 0x6c], eax
jmp 0x40d5d4
mov dword [ebp + 0x20], 2
jmp 0x40d660
mov eax, dword [ebp + 0x20]
inc eax
mov dword [ebp + 0x20], eax
cmp dword [ebp + 0x20], 0x3e8
jg 0x40d6d5
mov byte [ebp + 0x61], 1
mov dword [ebp - 0x68], 2
jmp 0x40d67d
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cvtsi2sd xmm0, dword [ebp - 0x68]
push dword [ebp + 0x20]
movsd qword [ebp - 0x188], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x180]
movsd xmm0, qword [ebp - 0x180]
movsd xmm1, qword [ebp - 0x188]
comisd xmm0, xmm1
jb 0x40d6c2
mov eax, dword [ebp + 0x20]
cdq
idiv dword [ebp - 0x68]
test edx, edx
jne 0x40d6c0
mov byte [ebp + 0x61], 0
jmp 0x40d6c2
jmp 0x40d676
movzx eax, byte [ebp + 0x61]
test eax, eax
je 0x40d6d3
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x20]
mov dword [ebp + 0x6c], eax
jmp 0x40d659
mov dword [ebp + 0x1c], 2
jmp 0x40d6e5
mov eax, dword [ebp + 0x1c]
inc eax
mov dword [ebp + 0x1c], eax
cmp dword [ebp + 0x1c], 0x3e8
jg 0x40d75a
mov byte [ebp + 0x60], 1
mov dword [ebp - 0x6c], 2
jmp 0x40d702
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cvtsi2sd xmm0, dword [ebp - 0x6c]
push dword [ebp + 0x1c]
movsd qword [ebp - 0x198], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x190]
movsd xmm0, qword [ebp - 0x190]
movsd xmm1, qword [ebp - 0x198]
comisd xmm0, xmm1
jb 0x40d747
mov eax, dword [ebp + 0x1c]
cdq
idiv dword [ebp - 0x6c]
test edx, edx
jne 0x40d745
mov byte [ebp + 0x60], 0
jmp 0x40d747
jmp 0x40d6fb
movzx eax, byte [ebp + 0x60]
test eax, eax
je 0x40d758
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x1c]
mov dword [ebp + 0x6c], eax
jmp 0x40d6de
mov dword [ebp + 0x18], 2
jmp 0x40d76a
mov eax, dword [ebp + 0x18]
inc eax
mov dword [ebp + 0x18], eax
cmp dword [ebp + 0x18], 0x3e8
jg 0x40d7df
mov byte [ebp + 0x5f], 1
mov dword [ebp - 0x70], 2
jmp 0x40d787
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cvtsi2sd xmm0, dword [ebp - 0x70]
push dword [ebp + 0x18]
movsd qword [ebp - 0x1a8], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x1a0]
movsd xmm0, qword [ebp - 0x1a0]
movsd xmm1, qword [ebp - 0x1a8]
comisd xmm0, xmm1
jb 0x40d7cc
mov eax, dword [ebp + 0x18]
cdq
idiv dword [ebp - 0x70]
test edx, edx
jne 0x40d7ca
mov byte [ebp + 0x5f], 0
jmp 0x40d7cc
jmp 0x40d780
movzx eax, byte [ebp + 0x5f]
test eax, eax
je 0x40d7dd
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x18]
mov dword [ebp + 0x6c], eax
jmp 0x40d763
mov eax, dword [ebp + 0x78]
movzx eax, word [eax + 6]
mov dword [ebp - 0xd8], eax
mov dword [ebp + 0x14], 2
jmp 0x40d7fc
mov eax, dword [ebp + 0x14]
inc eax
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], 0x3e8
jg 0x40d871
mov byte [ebp + 0x5e], 1
mov dword [ebp - 0x74], 2
jmp 0x40d819
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cvtsi2sd xmm0, dword [ebp - 0x74]
push dword [ebp + 0x14]
movsd qword [ebp - 0x1b8], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x1b0]
movsd xmm0, qword [ebp - 0x1b0]
movsd xmm1, qword [ebp - 0x1b8]
comisd xmm0, xmm1
jb 0x40d85e
mov eax, dword [ebp + 0x14]
cdq
idiv dword [ebp - 0x74]
test edx, edx
jne 0x40d85c
mov byte [ebp + 0x5e], 0
jmp 0x40d85e
jmp 0x40d812
movzx eax, byte [ebp + 0x5e]
test eax, eax
je 0x40d86f
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x14]
mov dword [ebp + 0x6c], eax
jmp 0x40d7f5
mov dword [ebp + 0x10], 2
jmp 0x40d881
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0x3e8
jg 0x40d8f6
mov byte [ebp + 0x5d], 1
mov dword [ebp - 0x78], 2
jmp 0x40d89e
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cvtsi2sd xmm0, dword [ebp - 0x78]
push dword [ebp + 0x10]
movsd qword [ebp - 0x1c8], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x1c0]
movsd xmm0, qword [ebp - 0x1c0]
movsd xmm1, qword [ebp - 0x1c8]
comisd xmm0, xmm1
jb 0x40d8e3
mov eax, dword [ebp + 0x10]
cdq
idiv dword [ebp - 0x78]
test edx, edx
jne 0x40d8e1
mov byte [ebp + 0x5d], 0
jmp 0x40d8e3
jmp 0x40d897
movzx eax, byte [ebp + 0x5d]
test eax, eax
je 0x40d8f4
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0x10]
mov dword [ebp + 0x6c], eax
jmp 0x40d87a
mov dword [ebp + 0xc], 2
jmp 0x40d906
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0x3e8
jg 0x40d97b
mov byte [ebp + 0x5c], 1
mov dword [ebp - 0x7c], 2
jmp 0x40d923
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cvtsi2sd xmm0, dword [ebp - 0x7c]
push dword [ebp + 0xc]
movsd qword [ebp - 0x1d8], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x1d0]
movsd xmm0, qword [ebp - 0x1d0]
movsd xmm1, qword [ebp - 0x1d8]
comisd xmm0, xmm1
jb 0x40d968
mov eax, dword [ebp + 0xc]
cdq
idiv dword [ebp - 0x7c]
test edx, edx
jne 0x40d966
mov byte [ebp + 0x5c], 0
jmp 0x40d968
jmp 0x40d91c
movzx eax, byte [ebp + 0x5c]
test eax, eax
je 0x40d979
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 0xc]
mov dword [ebp + 0x6c], eax
jmp 0x40d8ff
mov dword [ebp + 8], 2
jmp 0x40d98b
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0x3e8
jg 0x40da00
mov byte [ebp + 0x5b], 1
mov dword [ebp - 0x80], 2
jmp 0x40d9a8
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cvtsi2sd xmm0, dword [ebp - 0x80]
push dword [ebp + 8]
movsd qword [ebp - 0x1e8], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x1e0]
movsd xmm0, qword [ebp - 0x1e0]
movsd xmm1, qword [ebp - 0x1e8]
comisd xmm0, xmm1
jb 0x40d9ed
mov eax, dword [ebp + 8]
cdq
idiv dword [ebp - 0x80]
test edx, edx
jne 0x40d9eb
mov byte [ebp + 0x5b], 0
jmp 0x40d9ed
jmp 0x40d9a1
movzx eax, byte [ebp + 0x5b]
test eax, eax
je 0x40d9fe
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 8]
mov dword [ebp + 0x6c], eax
jmp 0x40d984
mov dword [ebp + 4], 2
jmp 0x40da10
mov eax, dword [ebp + 4]
inc eax
mov dword [ebp + 4], eax
cmp dword [ebp + 4], 0x3e8
jg 0x40da97
mov byte [ebp + 0x5a], 1
mov dword [ebp - 0x84], 2
jmp 0x40da36
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cvtsi2sd xmm0, dword [ebp - 0x84]
push dword [ebp + 4]
movsd qword [ebp - 0x1f8], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x1f0]
movsd xmm0, qword [ebp - 0x1f0]
movsd xmm1, qword [ebp - 0x1f8]
comisd xmm0, xmm1
jb 0x40da81
mov eax, dword [ebp + 4]
cdq
idiv dword [ebp - 0x84]
test edx, edx
jne 0x40da7f
mov byte [ebp + 0x5a], 0
jmp 0x40da81
jmp 0x40da29
movzx eax, byte [ebp + 0x5a]
test eax, eax
je 0x40da92
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp + 4]
mov dword [ebp + 0x6c], eax
jmp 0x40da09
mov dword [ebp], 2
jmp 0x40daa7
mov eax, dword [ebp]
inc eax
mov dword [ebp], eax
cmp dword [ebp], 0x3e8
jg 0x40db2e
mov byte [ebp + 0x59], 1
mov dword [ebp - 0x88], 2
jmp 0x40dacd
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cvtsi2sd xmm0, dword [ebp - 0x88]
push dword [ebp]
movsd qword [ebp - 0x208], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x200]
movsd xmm0, qword [ebp - 0x200]
movsd xmm1, qword [ebp - 0x208]
comisd xmm0, xmm1
jb 0x40db18
mov eax, dword [ebp]
cdq
idiv dword [ebp - 0x88]
test edx, edx
jne 0x40db16
mov byte [ebp + 0x59], 0
jmp 0x40db18
jmp 0x40dac0
movzx eax, byte [ebp + 0x59]
test eax, eax
je 0x40db29
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp]
mov dword [ebp + 0x6c], eax
jmp 0x40daa0
mov dword [ebp - 4], 2
jmp 0x40db3e
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3e8
jg 0x40dbc5
mov byte [ebp + 0x58], 1
mov dword [ebp - 0x8c], 2
jmp 0x40db64
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cvtsi2sd xmm0, dword [ebp - 0x8c]
push dword [ebp - 4]
movsd qword [ebp - 0x218], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x210]
movsd xmm0, qword [ebp - 0x210]
movsd xmm1, qword [ebp - 0x218]
comisd xmm0, xmm1
jb 0x40dbaf
mov eax, dword [ebp - 4]
cdq
idiv dword [ebp - 0x8c]
test edx, edx
jne 0x40dbad
mov byte [ebp + 0x58], 0
jmp 0x40dbaf
jmp 0x40db57
movzx eax, byte [ebp + 0x58]
test eax, eax
je 0x40dbc0
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp - 4]
mov dword [ebp + 0x6c], eax
jmp 0x40db37
mov dword [ebp - 8], 2
jmp 0x40dbd5
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3e8
jg 0x40dc5c
mov byte [ebp + 0x57], 1
mov dword [ebp - 0x90], 2
jmp 0x40dbfb
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cvtsi2sd xmm0, dword [ebp - 0x90]
push dword [ebp - 8]
movsd qword [ebp - 0x228], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x220]
movsd xmm0, qword [ebp - 0x220]
movsd xmm1, qword [ebp - 0x228]
comisd xmm0, xmm1
jb 0x40dc46
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0x90]
test edx, edx
jne 0x40dc44
mov byte [ebp + 0x57], 0
jmp 0x40dc46
jmp 0x40dbee
movzx eax, byte [ebp + 0x57]
test eax, eax
je 0x40dc57
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp - 8]
mov dword [ebp + 0x6c], eax
jmp 0x40dbce
mov dword [ebp - 0xc], 2
jmp 0x40dc6c
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3e8
jg 0x40dcf3
mov byte [ebp + 0x56], 1
mov dword [ebp - 0x94], 2
jmp 0x40dc92
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cvtsi2sd xmm0, dword [ebp - 0x94]
push dword [ebp - 0xc]
movsd qword [ebp - 0x238], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x230]
movsd xmm0, qword [ebp - 0x230]
movsd xmm1, qword [ebp - 0x238]
comisd xmm0, xmm1
jb 0x40dcdd
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x94]
test edx, edx
jne 0x40dcdb
mov byte [ebp + 0x56], 0
jmp 0x40dcdd
jmp 0x40dc85
movzx eax, byte [ebp + 0x56]
test eax, eax
je 0x40dcee
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp - 0xc]
mov dword [ebp + 0x6c], eax
jmp 0x40dc65
mov dword [ebp - 0x10], 2
jmp 0x40dd03
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3e8
jg 0x40dd8a
mov byte [ebp + 0x55], 1
mov dword [ebp - 0x98], 2
jmp 0x40dd29
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cvtsi2sd xmm0, dword [ebp - 0x98]
push dword [ebp - 0x10]
movsd qword [ebp - 0x248], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x240]
movsd xmm0, qword [ebp - 0x240]
movsd xmm1, qword [ebp - 0x248]
comisd xmm0, xmm1
jb 0x40dd74
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0x98]
test edx, edx
jne 0x40dd72
mov byte [ebp + 0x55], 0
jmp 0x40dd74
jmp 0x40dd1c
movzx eax, byte [ebp + 0x55]
test eax, eax
je 0x40dd85
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp - 0x10]
mov dword [ebp + 0x6c], eax
jmp 0x40dcfc
and dword [ebp - 0xb8], 0
jmp 0x40dda0
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0xd8]
jge 0x40e21f
mov dword [ebp - 0x14], 2
jmp 0x40ddc2
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3e8
jg 0x40de49
mov byte [ebp + 0x54], 1
mov dword [ebp - 0x9c], 2
jmp 0x40dde8
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cvtsi2sd xmm0, dword [ebp - 0x9c]
push dword [ebp - 0x14]
movsd qword [ebp - 0x258], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x250]
movsd xmm0, qword [ebp - 0x250]
movsd xmm1, qword [ebp - 0x258]
comisd xmm0, xmm1
jb 0x40de33
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x9c]
test edx, edx
jne 0x40de31
mov byte [ebp + 0x54], 0
jmp 0x40de33
jmp 0x40dddb
movzx eax, byte [ebp + 0x54]
test eax, eax
je 0x40de44
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp - 0x14]
mov dword [ebp + 0x6c], eax
jmp 0x40ddbb
mov dword [ebp - 0x18], 2
jmp 0x40de59
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3e8
jg 0x40dee0
mov byte [ebp + 0x53], 1
mov dword [ebp - 0xa0], 2
jmp 0x40de7f
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cvtsi2sd xmm0, dword [ebp - 0xa0]
push dword [ebp - 0x18]
movsd qword [ebp - 0x268], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x260]
movsd xmm0, qword [ebp - 0x260]
movsd xmm1, qword [ebp - 0x268]
comisd xmm0, xmm1
jb 0x40deca
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0xa0]
test edx, edx
jne 0x40dec8
mov byte [ebp + 0x53], 0
jmp 0x40deca
jmp 0x40de72
movzx eax, byte [ebp + 0x53]
test eax, eax
je 0x40dedb
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp - 0x18]
mov dword [ebp + 0x6c], eax
jmp 0x40de52
mov dword [ebp - 0x1c], 2
jmp 0x40def0
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3e8
jg 0x40df77
mov byte [ebp + 0x52], 1
mov dword [ebp - 0xa4], 2
jmp 0x40df16
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cvtsi2sd xmm0, dword [ebp - 0xa4]
push dword [ebp - 0x1c]
movsd qword [ebp - 0x278], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x270]
movsd xmm0, qword [ebp - 0x270]
movsd xmm1, qword [ebp - 0x278]
comisd xmm0, xmm1
jb 0x40df61
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0xa4]
test edx, edx
jne 0x40df5f
mov byte [ebp + 0x52], 0
jmp 0x40df61
jmp 0x40df09
movzx eax, byte [ebp + 0x52]
test eax, eax
je 0x40df72
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp - 0x1c]
mov dword [ebp + 0x6c], eax
jmp 0x40dee9
mov dword [ebp - 0x20], 2
jmp 0x40df87
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3e8
jg 0x40e00e
mov byte [ebp + 0x51], 1
mov dword [ebp - 0xa8], 2
jmp 0x40dfad
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cvtsi2sd xmm0, dword [ebp - 0xa8]
push dword [ebp - 0x20]
movsd qword [ebp - 0x288], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x280]
movsd xmm0, qword [ebp - 0x280]
movsd xmm1, qword [ebp - 0x288]
comisd xmm0, xmm1
jb 0x40dff8
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0xa8]
test edx, edx
jne 0x40dff6
mov byte [ebp + 0x51], 0
jmp 0x40dff8
jmp 0x40dfa0
movzx eax, byte [ebp + 0x51]
test eax, eax
je 0x40e009
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp - 0x20]
mov dword [ebp + 0x6c], eax
jmp 0x40df80
mov dword [ebp - 0x24], 2
jmp 0x40e01e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3e8
jg 0x40e0a5
mov byte [ebp + 0x50], 1
mov dword [ebp - 0xac], 2
jmp 0x40e044
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cvtsi2sd xmm0, dword [ebp - 0xac]
push dword [ebp - 0x24]
movsd qword [ebp - 0x298], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x290]
movsd xmm0, qword [ebp - 0x290]
movsd xmm1, qword [ebp - 0x298]
comisd xmm0, xmm1
jb 0x40e08f
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0xac]
test edx, edx
jne 0x40e08d
mov byte [ebp + 0x50], 0
jmp 0x40e08f
jmp 0x40e037
movzx eax, byte [ebp + 0x50]
test eax, eax
je 0x40e0a0
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp - 0x24]
mov dword [ebp + 0x6c], eax
jmp 0x40e017
mov dword [ebp - 0x28], 2
jmp 0x40e0b5
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x3e8
jg 0x40e13c
mov byte [ebp + 0x4f], 1
mov dword [ebp - 0xb0], 2
jmp 0x40e0db
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cvtsi2sd xmm0, dword [ebp - 0xb0]
push dword [ebp - 0x28]
movsd qword [ebp - 0x2a8], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x2a0]
movsd xmm0, qword [ebp - 0x2a0]
movsd xmm1, qword [ebp - 0x2a8]
comisd xmm0, xmm1
jb 0x40e126
mov eax, dword [ebp - 0x28]
cdq
idiv dword [ebp - 0xb0]
test edx, edx
jne 0x40e124
mov byte [ebp + 0x4f], 0
jmp 0x40e126
jmp 0x40e0ce
movzx eax, byte [ebp + 0x4f]
test eax, eax
je 0x40e137
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp - 0x28]
mov dword [ebp + 0x6c], eax
jmp 0x40e0ae
mov dword [ebp - 0x2c], 2
jmp 0x40e14c
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x3e8
jg 0x40e1d3
mov byte [ebp + 0x4e], 1
mov dword [ebp - 0xb4], 2
jmp 0x40e172
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cvtsi2sd xmm0, dword [ebp - 0xb4]
push dword [ebp - 0x2c]
movsd qword [ebp - 0x2b8], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x2b0]
movsd xmm0, qword [ebp - 0x2b0]
movsd xmm1, qword [ebp - 0x2b8]
comisd xmm0, xmm1
jb 0x40e1bd
mov eax, dword [ebp - 0x2c]
cdq
idiv dword [ebp - 0xb4]
test edx, edx
jne 0x40e1bb
mov byte [ebp + 0x4e], 0
jmp 0x40e1bd
jmp 0x40e165
movzx eax, byte [ebp + 0x4e]
test eax, eax
je 0x40e1ce
mov eax, dword [ebp + 0x6c]
add eax, dword [ebp - 0x2c]
mov dword [ebp + 0x6c], eax
jmp 0x40e145
imul eax, dword [ebp - 0xb8], 0x28
mov ecx, dword [ebp + 0x78]
lea eax, [ecx + eax + 0xf8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
cmp eax, dword [ebp + 0x7c]
ja 0x40e21a
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x38]
add eax, dword [ecx + 8]
cmp eax, dword [ebp + 0x7c]
jb 0x40e21a
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x7c]
sub ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x38]
add ecx, dword [eax + 0x14]
mov dword [ebp + 0x7c], ecx
mov eax, dword [ebp + 0x7c]
jmp 0x40e222
jmp 0x40dd93
or eax, 0xffffffff
add ebp, 0x70
leave
ret