Function at 0x40fde9
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x328
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0x54], 1
jmp 0x40fe0e
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 5
jg 0x40fe26
mov eax, dword [ebp - 0xc8]
imul eax, dword [ebp - 0x54]
mov dword [ebp - 0xc8], eax
jmp 0x40fe07
and dword [ebp - 0xcc], 0
mov dword [ebp - 0x24], 1
jmp 0x40fe3d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xa
jg 0x40fe58
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xcc]
mov dword [ebp - 0xcc], eax
jmp 0x40fe36
and dword [ebp - 0xd0], 0
mov dword [ebp - 0xbc], 1
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0x3e8
jg 0x40fea8
mov eax, dword [ebp - 0xd0]
add eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
jmp 0x40fe70
xorps xmm0, xmm0
movsd qword [ebp - 0xd8], xmm0
mov dword [ebp - 0x28], 1
jmp 0x40fec3
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x64
jg 0x40fee6
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x28]
cvtsi2sd xmm0, eax
addsd xmm0, qword [ebp - 0xd8]
movsd qword [ebp - 0xd8], xmm0
jmp 0x40febc
push ecx
push ecx
movsd xmm0, qword [ebp - 0xd8]
movsd qword [esp], xmm0
call fcn.00429550
pop ecx
pop ecx
fstp qword [ebp - 0xd8]
and dword [ebp + 0x74], 0
mov dword [ebp + 0x38], 2
jmp 0x40ff16
mov eax, dword [ebp + 0x38]
inc eax
mov dword [ebp + 0x38], eax
cmp dword [ebp + 0x38], 0x3e8
jg 0x40ff8b
mov byte [ebp + 0x73], 1
mov dword [ebp - 0x58], 2
jmp 0x40ff33
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cvtsi2sd xmm0, dword [ebp - 0x58]
push dword [ebp + 0x38]
movsd qword [ebp - 0xf0], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0xe8]
movsd xmm0, qword [ebp - 0xe8]
movsd xmm1, qword [ebp - 0xf0]
comisd xmm0, xmm1
jb 0x40ff78
mov eax, dword [ebp + 0x38]
cdq
idiv dword [ebp - 0x58]
test edx, edx
jne 0x40ff76
mov byte [ebp + 0x73], 0
jmp 0x40ff78
jmp 0x40ff2c
movzx eax, byte [ebp + 0x73]
test eax, eax
je 0x40ff89
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x38]
mov dword [ebp + 0x74], eax
jmp 0x40ff0f
cmp dword [0x48d8d8], 0
jne 0x41103f
mov dword [ebp + 0x34], 2
jmp 0x40ffa8
mov eax, dword [ebp + 0x34]
inc eax
mov dword [ebp + 0x34], eax
cmp dword [ebp + 0x34], 0x3e8
jg 0x41001d
mov byte [ebp + 0x72], 1
mov dword [ebp - 0x5c], 2
jmp 0x40ffc5
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cvtsi2sd xmm0, dword [ebp - 0x5c]
push dword [ebp + 0x34]
movsd qword [ebp - 0x100], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0xf8]
movsd xmm0, qword [ebp - 0xf8]
movsd xmm1, qword [ebp - 0x100]
comisd xmm0, xmm1
jb 0x41000a
mov eax, dword [ebp + 0x34]
cdq
idiv dword [ebp - 0x5c]
test edx, edx
jne 0x410008
mov byte [ebp + 0x72], 0
jmp 0x41000a
jmp 0x40ffbe
movzx eax, byte [ebp + 0x72]
test eax, eax
je 0x41001b
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x34]
mov dword [ebp + 0x74], eax
jmp 0x40ffa1
mov dword [ebp + 0x30], 2
jmp 0x41002d
mov eax, dword [ebp + 0x30]
inc eax
mov dword [ebp + 0x30], eax
cmp dword [ebp + 0x30], 0x3e8
jg 0x4100a2
mov byte [ebp + 0x71], 1
mov dword [ebp - 0x60], 2
jmp 0x41004a
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cvtsi2sd xmm0, dword [ebp - 0x60]
push dword [ebp + 0x30]
movsd qword [ebp - 0x110], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x108]
movsd xmm0, qword [ebp - 0x108]
movsd xmm1, qword [ebp - 0x110]
comisd xmm0, xmm1
jb 0x41008f
mov eax, dword [ebp + 0x30]
cdq
idiv dword [ebp - 0x60]
test edx, edx
jne 0x41008d
mov byte [ebp + 0x71], 0
jmp 0x41008f
jmp 0x410043
movzx eax, byte [ebp + 0x71]
test eax, eax
je 0x4100a0
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x30]
mov dword [ebp + 0x74], eax
jmp 0x410026
mov dword [ebp + 0x2c], 2
jmp 0x4100b2
mov eax, dword [ebp + 0x2c]
inc eax
mov dword [ebp + 0x2c], eax
cmp dword [ebp + 0x2c], 0x3e8
jg 0x410127
mov byte [ebp + 0x70], 1
mov dword [ebp - 0x64], 2
jmp 0x4100cf
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cvtsi2sd xmm0, dword [ebp - 0x64]
push dword [ebp + 0x2c]
movsd qword [ebp - 0x120], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x118]
movsd xmm0, qword [ebp - 0x118]
movsd xmm1, qword [ebp - 0x120]
comisd xmm0, xmm1
jb 0x410114
mov eax, dword [ebp + 0x2c]
cdq
idiv dword [ebp - 0x64]
test edx, edx
jne 0x410112
mov byte [ebp + 0x70], 0
jmp 0x410114
jmp 0x4100c8
movzx eax, byte [ebp + 0x70]
test eax, eax
je 0x410125
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x2c]
mov dword [ebp + 0x74], eax
jmp 0x4100ab
mov dword [ebp + 0x28], 2
jmp 0x410137
mov eax, dword [ebp + 0x28]
inc eax
mov dword [ebp + 0x28], eax
cmp dword [ebp + 0x28], 0x3e8
jg 0x4101ac
mov byte [ebp + 0x6f], 1
mov dword [ebp - 0x68], 2
jmp 0x410154
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cvtsi2sd xmm0, dword [ebp - 0x68]
push dword [ebp + 0x28]
movsd qword [ebp - 0x130], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x128]
movsd xmm0, qword [ebp - 0x128]
movsd xmm1, qword [ebp - 0x130]
comisd xmm0, xmm1
jb 0x410199
mov eax, dword [ebp + 0x28]
cdq
idiv dword [ebp - 0x68]
test edx, edx
jne 0x410197
mov byte [ebp + 0x6f], 0
jmp 0x410199
jmp 0x41014d
movzx eax, byte [ebp + 0x6f]
test eax, eax
je 0x4101aa
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x28]
mov dword [ebp + 0x74], eax
jmp 0x410130
mov dword [ebp + 0x24], 2
jmp 0x4101bc
mov eax, dword [ebp + 0x24]
inc eax
mov dword [ebp + 0x24], eax
cmp dword [ebp + 0x24], 0x3e8
jg 0x410231
mov byte [ebp + 0x6e], 1
mov dword [ebp - 0x6c], 2
jmp 0x4101d9
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cvtsi2sd xmm0, dword [ebp - 0x6c]
push dword [ebp + 0x24]
movsd qword [ebp - 0x140], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x138]
movsd xmm0, qword [ebp - 0x138]
movsd xmm1, qword [ebp - 0x140]
comisd xmm0, xmm1
jb 0x41021e
mov eax, dword [ebp + 0x24]
cdq
idiv dword [ebp - 0x6c]
test edx, edx
jne 0x41021c
mov byte [ebp + 0x6e], 0
jmp 0x41021e
jmp 0x4101d2
movzx eax, byte [ebp + 0x6e]
test eax, eax
je 0x41022f
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x24]
mov dword [ebp + 0x74], eax
jmp 0x4101b5
lea ecx, [ebp - 0xad]
call fcn.0040557c
mov ecx, eax
call fcn.00404f92
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xae]
call fcn.004053f2
mov ecx, eax
call fcn.00404f5f
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0xe0], eax
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0xaf]
call fcn.00405706
mov ecx, eax
call fcn.00404ff8
mov byte [ebp - 0x30], al
lea ecx, [ebp - 0xb0]
call fcn.0040588e
mov ecx, eax
call fcn.00405013
mov byte [ebp - 0x2f], al
lea ecx, [ebp - 0xb1]
call fcn.00405a16
mov ecx, eax
call fcn.00405013
mov byte [ebp - 0x2e], al
lea ecx, [ebp - 0xb2]
call fcn.00405b9e
mov ecx, eax
call fcn.0040502e
mov byte [ebp - 0x2d], al
lea ecx, [ebp - 0xb3]
call fcn.00405d26
mov ecx, eax
call fcn.0040502e
mov byte [ebp - 0x2c], al
lea ecx, [ebp - 0xb4]
call fcn.00405de9
mov ecx, eax
call fcn.0040502e
mov byte [ebp - 0x2b], al
lea ecx, [ebp - 0xc1]
call fcn.00405eac
mov ecx, eax
call fcn.00405049
mov byte [ebp - 0x2a], al
mov dword [ebp + 0x20], 2
jmp 0x410320
mov eax, dword [ebp + 0x20]
inc eax
mov dword [ebp + 0x20], eax
cmp dword [ebp + 0x20], 0x3e8
jg 0x410395
mov byte [ebp + 0x6d], 1
mov dword [ebp - 0x70], 2
jmp 0x41033d
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cvtsi2sd xmm0, dword [ebp - 0x70]
push dword [ebp + 0x20]
movsd qword [ebp - 0x150], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x148]
movsd xmm0, qword [ebp - 0x148]
movsd xmm1, qword [ebp - 0x150]
comisd xmm0, xmm1
jb 0x410382
mov eax, dword [ebp + 0x20]
cdq
idiv dword [ebp - 0x70]
test edx, edx
jne 0x410380
mov byte [ebp + 0x6d], 0
jmp 0x410382
jmp 0x410336
movzx eax, byte [ebp + 0x6d]
test eax, eax
je 0x410393
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x20]
mov dword [ebp + 0x74], eax
jmp 0x410319
mov dword [ebp + 0x1c], 2
jmp 0x4103a5
mov eax, dword [ebp + 0x1c]
inc eax
mov dword [ebp + 0x1c], eax
cmp dword [ebp + 0x1c], 0x3e8
jg 0x41041a
mov byte [ebp + 0x6c], 1
mov dword [ebp - 0x74], 2
jmp 0x4103c2
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cvtsi2sd xmm0, dword [ebp - 0x74]
push dword [ebp + 0x1c]
movsd qword [ebp - 0x160], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x158]
movsd xmm0, qword [ebp - 0x158]
movsd xmm1, qword [ebp - 0x160]
comisd xmm0, xmm1
jb 0x410407
mov eax, dword [ebp + 0x1c]
cdq
idiv dword [ebp - 0x74]
test edx, edx
jne 0x410405
mov byte [ebp + 0x6c], 0
jmp 0x410407
jmp 0x4103bb
movzx eax, byte [ebp + 0x6c]
test eax, eax
je 0x410418
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x1c]
mov dword [ebp + 0x74], eax
jmp 0x41039e
mov dword [ebp + 0x18], 2
jmp 0x41042a
mov eax, dword [ebp + 0x18]
inc eax
mov dword [ebp + 0x18], eax
cmp dword [ebp + 0x18], 0x3e8
jg 0x41049f
mov byte [ebp + 0x6b], 1
mov dword [ebp - 0x78], 2
jmp 0x410447
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cvtsi2sd xmm0, dword [ebp - 0x78]
push dword [ebp + 0x18]
movsd qword [ebp - 0x170], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x168]
movsd xmm0, qword [ebp - 0x168]
movsd xmm1, qword [ebp - 0x170]
comisd xmm0, xmm1
jb 0x41048c
mov eax, dword [ebp + 0x18]
cdq
idiv dword [ebp - 0x78]
test edx, edx
jne 0x41048a
mov byte [ebp + 0x6b], 0
jmp 0x41048c
jmp 0x410440
movzx eax, byte [ebp + 0x6b]
test eax, eax
je 0x41049d
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x18]
mov dword [ebp + 0x74], eax
jmp 0x410423
mov dword [ebp + 0x14], 2
jmp 0x4104af
mov eax, dword [ebp + 0x14]
inc eax
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], 0x3e8
jg 0x410524
mov byte [ebp + 0x6a], 1
mov dword [ebp - 0x7c], 2
jmp 0x4104cc
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cvtsi2sd xmm0, dword [ebp - 0x7c]
push dword [ebp + 0x14]
movsd qword [ebp - 0x180], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x178]
movsd xmm0, qword [ebp - 0x178]
movsd xmm1, qword [ebp - 0x180]
comisd xmm0, xmm1
jb 0x410511
mov eax, dword [ebp + 0x14]
cdq
idiv dword [ebp - 0x7c]
test edx, edx
jne 0x41050f
mov byte [ebp + 0x6a], 0
jmp 0x410511
jmp 0x4104c5
movzx eax, byte [ebp + 0x6a]
test eax, eax
je 0x410522
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x14]
mov dword [ebp + 0x74], eax
jmp 0x4104a8
mov dword [ebp + 0x10], 2
jmp 0x410534
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0x3e8
jg 0x4105a9
mov byte [ebp + 0x69], 1
mov dword [ebp - 0x80], 2
jmp 0x410551
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cvtsi2sd xmm0, dword [ebp - 0x80]
push dword [ebp + 0x10]
movsd qword [ebp - 0x190], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x188]
movsd xmm0, qword [ebp - 0x188]
movsd xmm1, qword [ebp - 0x190]
comisd xmm0, xmm1
jb 0x410596
mov eax, dword [ebp + 0x10]
cdq
idiv dword [ebp - 0x80]
test edx, edx
jne 0x410594
mov byte [ebp + 0x69], 0
jmp 0x410596
jmp 0x41054a
movzx eax, byte [ebp + 0x69]
test eax, eax
je 0x4105a7
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x10]
mov dword [ebp + 0x74], eax
jmp 0x41052d
mov dword [ebp + 0xc], 2
jmp 0x4105b9
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0x3e8
jg 0x410640
mov byte [ebp + 0x68], 1
mov dword [ebp - 0x84], 2
jmp 0x4105df
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cvtsi2sd xmm0, dword [ebp - 0x84]
push dword [ebp + 0xc]
movsd qword [ebp - 0x1a0], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x198]
movsd xmm0, qword [ebp - 0x198]
movsd xmm1, qword [ebp - 0x1a0]
comisd xmm0, xmm1
jb 0x41062a
mov eax, dword [ebp + 0xc]
cdq
idiv dword [ebp - 0x84]
test edx, edx
jne 0x410628
mov byte [ebp + 0x68], 0
jmp 0x41062a
jmp 0x4105d2
movzx eax, byte [ebp + 0x68]
test eax, eax
je 0x41063b
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0xc]
mov dword [ebp + 0x74], eax
jmp 0x4105b2
mov dword [ebp + 8], 2
jmp 0x410650
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0x3e8
jg 0x4106d7
mov byte [ebp + 0x67], 1
mov dword [ebp - 0x88], 2
jmp 0x410676
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cvtsi2sd xmm0, dword [ebp - 0x88]
push dword [ebp + 8]
movsd qword [ebp - 0x1b0], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x1a8]
movsd xmm0, qword [ebp - 0x1a8]
movsd xmm1, qword [ebp - 0x1b0]
comisd xmm0, xmm1
jb 0x4106c1
mov eax, dword [ebp + 8]
cdq
idiv dword [ebp - 0x88]
test edx, edx
jne 0x4106bf
mov byte [ebp + 0x67], 0
jmp 0x4106c1
jmp 0x410669
movzx eax, byte [ebp + 0x67]
test eax, eax
je 0x4106d2
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 8]
mov dword [ebp + 0x74], eax
jmp 0x410649
mov dword [ebp + 4], 2
jmp 0x4106e7
mov eax, dword [ebp + 4]
inc eax
mov dword [ebp + 4], eax
cmp dword [ebp + 4], 0x3e8
jg 0x41076e
mov byte [ebp + 0x66], 1
mov dword [ebp - 0x8c], 2
jmp 0x41070d
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cvtsi2sd xmm0, dword [ebp - 0x8c]
push dword [ebp + 4]
movsd qword [ebp - 0x1c0], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x1b8]
movsd xmm0, qword [ebp - 0x1b8]
movsd xmm1, qword [ebp - 0x1c0]
comisd xmm0, xmm1
jb 0x410758
mov eax, dword [ebp + 4]
cdq
idiv dword [ebp - 0x8c]
test edx, edx
jne 0x410756
mov byte [ebp + 0x66], 0
jmp 0x410758
jmp 0x410700
movzx eax, byte [ebp + 0x66]
test eax, eax
je 0x410769
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 4]
mov dword [ebp + 0x74], eax
jmp 0x4106e0
mov dword [ebp], 2
jmp 0x41077e
mov eax, dword [ebp]
inc eax
mov dword [ebp], eax
cmp dword [ebp], 0x3e8
jg 0x410805
mov byte [ebp + 0x65], 1
mov dword [ebp - 0x90], 2
jmp 0x4107a4
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cvtsi2sd xmm0, dword [ebp - 0x90]
push dword [ebp]
movsd qword [ebp - 0x1d0], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x1c8]
movsd xmm0, qword [ebp - 0x1c8]
movsd xmm1, qword [ebp - 0x1d0]
comisd xmm0, xmm1
jb 0x4107ef
mov eax, dword [ebp]
cdq
idiv dword [ebp - 0x90]
test edx, edx
jne 0x4107ed
mov byte [ebp + 0x65], 0
jmp 0x4107ef
jmp 0x410797
movzx eax, byte [ebp + 0x65]
test eax, eax
je 0x410800
mov eax, dword [ebp + 0x74]
add eax, dword [ebp]
mov dword [ebp + 0x74], eax
jmp 0x410777
mov dword [ebp - 4], 2
jmp 0x410815
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3e8
jg 0x41089c
mov byte [ebp + 0x64], 1
mov dword [ebp - 0x94], 2
jmp 0x41083b
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cvtsi2sd xmm0, dword [ebp - 0x94]
push dword [ebp - 4]
movsd qword [ebp - 0x1e0], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x1d8]
movsd xmm0, qword [ebp - 0x1d8]
movsd xmm1, qword [ebp - 0x1e0]
comisd xmm0, xmm1
jb 0x410886
mov eax, dword [ebp - 4]
cdq
idiv dword [ebp - 0x94]
test edx, edx
jne 0x410884
mov byte [ebp + 0x64], 0
jmp 0x410886
jmp 0x41082e
movzx eax, byte [ebp + 0x64]
test eax, eax
je 0x410897
mov eax, dword [ebp + 0x74]
add eax, dword [ebp - 4]
mov dword [ebp + 0x74], eax
jmp 0x41080e
mov dword [ebp - 8], 2
jmp 0x4108ac
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x3e8
jg 0x410933
mov byte [ebp + 0x63], 1
mov dword [ebp - 0x98], 2
jmp 0x4108d2
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cvtsi2sd xmm0, dword [ebp - 0x98]
push dword [ebp - 8]
movsd qword [ebp - 0x1f0], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x1e8]
movsd xmm0, qword [ebp - 0x1e8]
movsd xmm1, qword [ebp - 0x1f0]
comisd xmm0, xmm1
jb 0x41091d
mov eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0x98]
test edx, edx
jne 0x41091b
mov byte [ebp + 0x63], 0
jmp 0x41091d
jmp 0x4108c5
movzx eax, byte [ebp + 0x63]
test eax, eax
je 0x41092e
mov eax, dword [ebp + 0x74]
add eax, dword [ebp - 8]
mov dword [ebp + 0x74], eax
jmp 0x4108a5
mov dword [ebp - 0xc], 2
jmp 0x410943
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3e8
jg 0x4109ca
mov byte [ebp + 0x62], 1
mov dword [ebp - 0x9c], 2
jmp 0x410969
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cvtsi2sd xmm0, dword [ebp - 0x9c]
push dword [ebp - 0xc]
movsd qword [ebp - 0x200], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x1f8]
movsd xmm0, qword [ebp - 0x1f8]
movsd xmm1, qword [ebp - 0x200]
comisd xmm0, xmm1
jb 0x4109b4
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x9c]
test edx, edx
jne 0x4109b2
mov byte [ebp + 0x62], 0
jmp 0x4109b4
jmp 0x41095c
movzx eax, byte [ebp + 0x62]
test eax, eax
je 0x4109c5
mov eax, dword [ebp + 0x74]
add eax, dword [ebp - 0xc]
mov dword [ebp + 0x74], eax
jmp 0x41093c
push 0x20
push dword [ebp - 0x50]
push 0x48d8b8
call fcn.00423a10
add esp, 0xc
mov dword [ebp - 0x10], 2
jmp 0x4109ec
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3e8
jg 0x410a73
mov byte [ebp + 0x61], 1
mov dword [ebp - 0xa0], 2
jmp 0x410a12
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cvtsi2sd xmm0, dword [ebp - 0xa0]
push dword [ebp - 0x10]
movsd qword [ebp - 0x210], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x208]
movsd xmm0, qword [ebp - 0x208]
movsd xmm1, qword [ebp - 0x210]
comisd xmm0, xmm1
jb 0x410a5d
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0xa0]
test edx, edx
jne 0x410a5b
mov byte [ebp + 0x61], 0
jmp 0x410a5d
jmp 0x410a05
movzx eax, byte [ebp + 0x61]
test eax, eax
je 0x410a6e
mov eax, dword [ebp + 0x74]
add eax, dword [ebp - 0x10]
mov dword [ebp + 0x74], eax
jmp 0x4109e5
mov dword [ebp - 0x14], 2
jmp 0x410a83
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3e8
jg 0x410b0a
mov byte [ebp + 0x60], 1
mov dword [ebp - 0xa4], 2
jmp 0x410aa9
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cvtsi2sd xmm0, dword [ebp - 0xa4]
push dword [ebp - 0x14]
movsd qword [ebp - 0x220], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x218]
movsd xmm0, qword [ebp - 0x218]
movsd xmm1, qword [ebp - 0x220]
comisd xmm0, xmm1
jb 0x410af4
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0xa4]
test edx, edx
jne 0x410af2
mov byte [ebp + 0x60], 0
jmp 0x410af4
jmp 0x410a9c
movzx eax, byte [ebp + 0x60]
test eax, eax
je 0x410b05
mov eax, dword [ebp + 0x74]
add eax, dword [ebp - 0x14]
mov dword [ebp + 0x74], eax
jmp 0x410a7c
mov dword [ebp - 0x18], 2
jmp 0x410b1a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3e8
jg 0x410ba1
mov byte [ebp + 0x5f], 1
mov dword [ebp - 0xa8], 2
jmp 0x410b40
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cvtsi2sd xmm0, dword [ebp - 0xa8]
push dword [ebp - 0x18]
movsd qword [ebp - 0x230], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x228]
movsd xmm0, qword [ebp - 0x228]
movsd xmm1, qword [ebp - 0x230]
comisd xmm0, xmm1
jb 0x410b8b
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0xa8]
test edx, edx
jne 0x410b89
mov byte [ebp + 0x5f], 0
jmp 0x410b8b
jmp 0x410b33
movzx eax, byte [ebp + 0x5f]
test eax, eax
je 0x410b9c
mov eax, dword [ebp + 0x74]
add eax, dword [ebp - 0x18]
mov dword [ebp + 0x74], eax
jmp 0x410b13
mov dword [ebp - 0x1c], 2
jmp 0x410bb1
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3e8
jg 0x410c38
mov byte [ebp + 0x5e], 1
mov dword [ebp - 0xac], 2
jmp 0x410bd7
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cvtsi2sd xmm0, dword [ebp - 0xac]
push dword [ebp - 0x1c]
movsd qword [ebp - 0x240], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x238]
movsd xmm0, qword [ebp - 0x238]
movsd xmm1, qword [ebp - 0x240]
comisd xmm0, xmm1
jb 0x410c22
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0xac]
test edx, edx
jne 0x410c20
mov byte [ebp + 0x5e], 0
jmp 0x410c22
jmp 0x410bca
movzx eax, byte [ebp + 0x5e]
test eax, eax
je 0x410c33
mov eax, dword [ebp + 0x74]
add eax, dword [ebp - 0x1c]
mov dword [ebp + 0x74], eax
jmp 0x410baa
mov dword [ebp - 0x20], 2
jmp 0x410c48
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3e8
jg 0x410cbd
mov byte [ebp + 0x5d], 1
mov dword [ebp - 0x34], 2
jmp 0x410c65
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cvtsi2sd xmm0, dword [ebp - 0x34]
push dword [ebp - 0x20]
movsd qword [ebp - 0x250], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x248]
movsd xmm0, qword [ebp - 0x248]
movsd xmm1, qword [ebp - 0x250]
comisd xmm0, xmm1
jb 0x410caa
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x34]
test edx, edx
jne 0x410ca8
mov byte [ebp + 0x5d], 0
jmp 0x410caa
jmp 0x410c5e
movzx eax, byte [ebp + 0x5d]
test eax, eax
je 0x410cbb
mov eax, dword [ebp + 0x74]
add eax, dword [ebp - 0x20]
mov dword [ebp + 0x74], eax
jmp 0x410c41
lea eax, [ebp - 0xc0]
push eax
push 0x40
push 0x20
push 0x48d8b8
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp + 0x50], 2
jmp 0x410ce3
mov eax, dword [ebp + 0x50]
inc eax
mov dword [ebp + 0x50], eax
cmp dword [ebp + 0x50], 0x3e8
jg 0x410d58
mov byte [ebp + 0x5c], 1
mov dword [ebp - 0x38], 2
jmp 0x410d00
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cvtsi2sd xmm0, dword [ebp - 0x38]
push dword [ebp + 0x50]
movsd qword [ebp - 0x260], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x258]
movsd xmm0, qword [ebp - 0x258]
movsd xmm1, qword [ebp - 0x260]
comisd xmm0, xmm1
jb 0x410d45
mov eax, dword [ebp + 0x50]
cdq
idiv dword [ebp - 0x38]
test edx, edx
jne 0x410d43
mov byte [ebp + 0x5c], 0
jmp 0x410d45
jmp 0x410cf9
movzx eax, byte [ebp + 0x5c]
test eax, eax
je 0x410d56
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x50]
mov dword [ebp + 0x74], eax
jmp 0x410cdc
mov dword [ebp + 0x4c], 2
jmp 0x410d68
mov eax, dword [ebp + 0x4c]
inc eax
mov dword [ebp + 0x4c], eax
cmp dword [ebp + 0x4c], 0x3e8
jg 0x410ddd
mov byte [ebp + 0x57], 1
mov dword [ebp - 0x3c], 2
jmp 0x410d85
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cvtsi2sd xmm0, dword [ebp - 0x3c]
push dword [ebp + 0x4c]
movsd qword [ebp - 0x270], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x268]
movsd xmm0, qword [ebp - 0x268]
movsd xmm1, qword [ebp - 0x270]
comisd xmm0, xmm1
jb 0x410dca
mov eax, dword [ebp + 0x4c]
cdq
idiv dword [ebp - 0x3c]
test edx, edx
jne 0x410dc8
mov byte [ebp + 0x57], 0
jmp 0x410dca
jmp 0x410d7e
movzx eax, byte [ebp + 0x57]
test eax, eax
je 0x410ddb
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x4c]
mov dword [ebp + 0x74], eax
jmp 0x410d61
mov dword [ebp - 0x2f], 0x412786
mov dword [ebp + 0x3c], 2
jmp 0x410df4
mov eax, dword [ebp + 0x3c]
inc eax
mov dword [ebp + 0x3c], eax
cmp dword [ebp + 0x3c], 0x3e8
jg 0x410e69
mov byte [ebp + 0x5b], 1
mov dword [ebp - 0x40], 2
jmp 0x410e11
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cvtsi2sd xmm0, dword [ebp - 0x40]
push dword [ebp + 0x3c]
movsd qword [ebp - 0x280], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x278]
movsd xmm0, qword [ebp - 0x278]
movsd xmm1, qword [ebp - 0x280]
comisd xmm0, xmm1
jb 0x410e56
mov eax, dword [ebp + 0x3c]
cdq
idiv dword [ebp - 0x40]
test edx, edx
jne 0x410e54
mov byte [ebp + 0x5b], 0
jmp 0x410e56
jmp 0x410e0a
movzx eax, byte [ebp + 0x5b]
test eax, eax
je 0x410e67
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x3c]
mov dword [ebp + 0x74], eax
jmp 0x410ded
mov dword [ebp + 0x48], 2
jmp 0x410e79
mov eax, dword [ebp + 0x48]
inc eax
mov dword [ebp + 0x48], eax
cmp dword [ebp + 0x48], 0x3e8
jg 0x410eee
mov byte [ebp + 0x5a], 1
mov dword [ebp - 0x44], 2
jmp 0x410e96
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cvtsi2sd xmm0, dword [ebp - 0x44]
push dword [ebp + 0x48]
movsd qword [ebp - 0x290], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x288]
movsd xmm0, qword [ebp - 0x288]
movsd xmm1, qword [ebp - 0x290]
comisd xmm0, xmm1
jb 0x410edb
mov eax, dword [ebp + 0x48]
cdq
idiv dword [ebp - 0x44]
test edx, edx
jne 0x410ed9
mov byte [ebp + 0x5a], 0
jmp 0x410edb
jmp 0x410e8f
movzx eax, byte [ebp + 0x5a]
test eax, eax
je 0x410eec
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x48]
mov dword [ebp + 0x74], eax
jmp 0x410e72
mov dword [ebp + 0x44], 2
jmp 0x410efe
mov eax, dword [ebp + 0x44]
inc eax
mov dword [ebp + 0x44], eax
cmp dword [ebp + 0x44], 0x3e8
jg 0x410f73
mov byte [ebp + 0x59], 1
mov dword [ebp - 0x48], 2
jmp 0x410f1b
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cvtsi2sd xmm0, dword [ebp - 0x48]
push dword [ebp + 0x44]
movsd qword [ebp - 0x2a0], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x298]
movsd xmm0, qword [ebp - 0x298]
movsd xmm1, qword [ebp - 0x2a0]
comisd xmm0, xmm1
jb 0x410f60
mov eax, dword [ebp + 0x44]
cdq
idiv dword [ebp - 0x48]
test edx, edx
jne 0x410f5e
mov byte [ebp + 0x59], 0
jmp 0x410f60
jmp 0x410f14
movzx eax, byte [ebp + 0x59]
test eax, eax
je 0x410f71
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x44]
mov dword [ebp + 0x74], eax
jmp 0x410ef7
mov dword [ebp + 0x40], 2
jmp 0x410f83
mov eax, dword [ebp + 0x40]
inc eax
mov dword [ebp + 0x40], eax
cmp dword [ebp + 0x40], 0x3e8
jg 0x410ff8
mov byte [ebp + 0x58], 1
mov dword [ebp - 0x4c], 2
jmp 0x410fa0
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cvtsi2sd xmm0, dword [ebp - 0x4c]
push dword [ebp + 0x40]
movsd qword [ebp - 0x2b0], xmm0
call fcn.00402f39
pop ecx
fstp qword [ebp - 0x2a8]
movsd xmm0, qword [ebp - 0x2a8]
movsd xmm1, qword [ebp - 0x2b0]
comisd xmm0, xmm1
jb 0x410fe5
mov eax, dword [ebp + 0x40]
cdq
idiv dword [ebp - 0x4c]
test edx, edx
jne 0x410fe3
mov byte [ebp + 0x58], 0
jmp 0x410fe5
jmp 0x410f99
movzx eax, byte [ebp + 0x58]
test eax, eax
je 0x410ff6
mov eax, dword [ebp + 0x74]
add eax, dword [ebp + 0x40]
mov dword [ebp + 0x74], eax
jmp 0x410f7c
lea eax, [ebp - 0xc0]
push eax
push 0x40
push 7
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 7
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x50]
call fcn.00423a10
add esp, 0xc
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0xc0]
push 7
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x48d8d8], 0x48d8b8
add ebp, 0x78
leave
ret