Function at 0x10029908
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073845
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x448
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002b5d1
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2cc], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x280]
movzx eax, byte [eax]
test eax, eax
je 0x100299d2
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x6c]
mov dword [eax], 0
jmp 0x100299ad
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x6c]
cmp dword [eax], 2
jge 0x100299cd
mov eax, dword [ebp - 0x6c]
push dword [eax]
mov ecx, dword [ebp - 0x2e4]
call fcn.10020420
mov dword [eax], 0xfffffffb
jmp 0x100299a2
jmp 0x1002b5cf
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0xc0]
mov ecx, dword [ecx]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0xee76f502
mov dword [ebp - 0x3f4], 0x3c3d2146
cmp dword [ebp - 0x18], 0
je 0x10029b1c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x384], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18]
jne 0x10029a31
mov dword [ebp - 0x194], 1
jmp 0x10029a38
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
sub eax, dword [ebp - 0x18]
cmp eax, 0x3e86
jle 0x10029a5a
mov eax, 0xe9e84363
test eax, eax
jne 0x10029a5a
and dword [ebp - 0x25c], 0
jmp 0x10029a64
mov dword [ebp - 0x25c], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x18]
jl 0x10029b1c
push 1
lea ecx, [ebp - 0x410]
call fcn.10020382
and dword [ebp - 4], 0
lea eax, [ebp - 0x3b0]
push eax
push 0
push 0
lea eax, [ebp - 0x410]
push eax
call fcn.100335e5
add esp, 0x10
mov dword [ebp - 0x18], 0
jmp 0x10029ab4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x10029ad3
mov byte [ebp - 0x35], 0
lea eax, [ebp - 0x35]
push eax
push 0x1f0b
push 0
call fcn.1002de23
add esp, 0xc
jmp 0x10029aad
mov dword [ebp - 0x18], 0
jmp 0x10029ae3
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x10029b08
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x10029b06
push 0x2773
push 0
push 1
call fcn.10029724
add esp, 0xc
jmp 0x10029adc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x410]
call fcn.10020404
jmp 0x10029ccd
push 3
lea ecx, [ebp - 0x340]
call fcn.10020382
mov dword [ebp - 4], 1
push 0x6005
push 0
lea eax, [ebp - 0x3b8]
push eax
push 0x2806
lea eax, [ebp - 0x340]
push eax
call fcn.1002cf6f
add esp, 0x14
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x340]
push eax
push 0
call fcn.1003665e
add esp, 0xc
mov dword [ebp - 0x220], 0x28c
mov dword [ebp - 0x2a4], 0x10007f40
cmp dword [ebp - 0x220], 0x3f4
jle 0x10029c76
and dword [ebp - 0xac], 0
jmp 0x10029ba1
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x354f
jge 0x10029c76
and dword [ebp - 0x74], 0
jmp 0x10029bbe
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x41c9
jge 0x10029c71
and dword [ebp - 0x7c], 0
jmp 0x10029bd8
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x35b9
jge 0x10029c6c
and dword [ebp - 0x88], 0
jmp 0x10029bfb
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x4c42
jge 0x10029c67
mov eax, dword [ebp - 0x74]
cdq
idiv dword [ebp - 0x7c]
mov eax, dword [ebp - 0xac]
sub eax, edx
or eax, dword [ebp - 0x88]
cdq
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x2ac], edx
push dword [ebp - 0x2ac]
push dword [ebp - 0x2b0]
lea ecx, [ebp - 0x458]
call fcn.1000a91f
pop ecx
pop ecx
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x258]
call fcn.10020122
push eax
call fcn.1005a68f
pop ecx
lea ecx, [ebp - 0x458]
call fcn.10020118
jmp 0x10029bee
jmp 0x10029bd1
jmp 0x10029bb7
jmp 0x10029b94
mov byte [ebp - 4], 2
cmp dword [ebp - 0x220], 0x22c
jge 0x10029c92
push dword [ebp - 0x2a4]
call fcn.1005a68f
pop ecx
jmp 0x10029cae
mov dword [ebp - 4], 1
jmp 0x10029cbe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x340]
call fcn.10020404
and dword [ebp - 0xd8], 0
jmp 0x10029cec
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x20]
add eax, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xd8], eax
jge 0x1002b5cf
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x44], 0x76eea530
mov dword [ebp - 0x48], 0x445acee6
mov dword [ebp - 0x1a0], 0xfffffff7
mov dword [ebp - 0x90], 0xc1b6eab3
mov dword [ebp - 0x1a8], 1
mov dword [ebp - 0xa8], 0
jmp 0x10029d50
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 1
jge 0x10029d69
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x64], 0xffffffff
jmp 0x10029d43
mov dword [ebp - 0x2c], 0
jmp 0x10029d79
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jg 0x10029e5b
mov dword [ebp - 0xf8], 0x57bf
cmp dword [ebp - 0xf8], 0
je 0x10029d9b
jmp 0x10029e5b
cmp dword [ebp - 0x2c], 0
jne 0x10029df2
mov dword [ebp - 0x44], 0x1d1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
add eax, dword [ebp - 0x44]
je 0x10029de9
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
cmp eax, dword [ebp - 0xf8]
jle 0x10029dd5
mov dword [ebp - 0x1e4], 1
jmp 0x10029ddc
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x1e4]
add eax, 0xd7d3
jne 0x10029df2
and dword [ebp - 0x260], 0
jmp 0x10029dfc
mov dword [ebp - 0x260], 1
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0xf8]
jl 0x10029e13
mov dword [ebp - 0x218], 1
jmp 0x10029e1a
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x48]
jge 0x10029e37
mov dword [ebp - 0x118], 1
jmp 0x10029e3e
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x90], eax
jmp 0x10029d72
cmp dword [ebp - 0x48], 0
je 0x10029ed4
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x90]
jg 0x10029e78
mov dword [ebp - 0x120], 1
jmp 0x10029e7f
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x120]
jne 0x10029ea9
mov dword [ebp - 0x1a8], 0xffffffff
cmp dword [ebp - 0x1a8], 0
jne 0x10029ea9
and dword [ebp - 0x128], 0
jmp 0x10029eb3
mov dword [ebp - 0x128], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x128]
sub ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp + eax - 0x64]
jne 0x10029ed4
mov dword [ebp - 0x1ac], 1
jmp 0x10029edb
and dword [ebp - 0x1ac], 0
cmp dword [ebp - 0x1ac], 8
jle 0x10029ef0
mov dword [ebp - 0x130], 1
jmp 0x10029ef7
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
sub eax, dword [ebp - 0x90]
je 0x10029f17
cmp dword [ebp - 0x44], 0
je 0x10029f17
mov dword [ebp - 0x204], 1
jmp 0x10029f1e
and dword [ebp - 0x204], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0x204], eax
jge 0x10029f3c
mov dword [ebp - 0x138], 1
jmp 0x10029f43
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x2c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp + eax - 0x64]
je 0x10029f67
mov dword [ebp - 0x1b4], 1
jmp 0x10029f6e
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x1b4], eax
jge 0x10029f85
mov dword [ebp - 0x140], 1
jmp 0x10029f8c
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x140], eax
jg 0x10029fa5
xor eax, eax
inc eax
jne 0x10029fa5
and dword [ebp - 0x1ec], 0
jmp 0x10029faf
mov dword [ebp - 0x1ec], 1
mov eax, dword [ebp - 0x1ec]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x24], 0xfffa
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x158], 0
push 2
lea ecx, [ebp - 0x334]
call fcn.10020382
mov dword [ebp - 4], 4
mov dword [ebp - 0xb8], 0
jmp 0x1002a000
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 2
jge 0x1002a022
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x334]
call fcn.10020420
mov dword [eax], 0x40c3f30
jmp 0x10029ff3
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c0], eax
imul eax, dword [ebp - 0x24], 0xfaa3
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c8], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x3d0], eax
mov eax, 0xf839
imul eax, eax, 0xffffffff
test eax, eax
je 0x1002a06b
cmp dword [ebp - 0x24], 0
je 0x1002a06b
mov dword [ebp - 0x2a8], 1
jmp 0x1002a072
and dword [ebp - 0x2a8], 0
xor eax, eax
add eax, 9
cmp eax, dword [ebp - 0x24]
jle 0x1002a088
mov dword [ebp - 0x1bc], 1
jmp 0x1002a08f
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x1bc]
sub eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x24]
jle 0x1002a0ac
mov dword [ebp - 0x150], 1
jmp 0x1002a0b3
and dword [ebp - 0x150], 0
imul eax, dword [ebp - 0x150], 0xfa81
sub eax, 6
imul eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x24]
jg 0x1002a0d5
mov dword [ebp - 0x214], 1
jmp 0x1002a0dc
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0x185299da
jne 0x1002a100
mov dword [ebp - 0x1c4], 1
jmp 0x1002a107
and dword [ebp - 0x1c4], 0
push 0
lea ecx, [ebp - 0x334]
call fcn.10020420
mov ecx, dword [ebp - 0x1c4]
mov dword [eax], ecx
mov byte [ebp - 0x38], 0
movzx eax, byte [ebp - 0x38]
test eax, eax
je 0x1002a13c
push 0
push 0x344f
push 0x71c4
call fcn.100310fb
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x334]
call fcn.10020404
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x1002a164
mov dword [ebp - 0x160], 1
jmp 0x1002a16b
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x5c], 0x8ecf
mov dword [ebp - 0x268], 0x251d
cmp dword [ebp - 0x268], 0x761
jge 0x1002a4c1
lea eax, [ebp - 0xe0]
push eax
push 0x10007734
call fcn.1005a45b
pop ecx
pop ecx
push dword [ebp - 0xe0]
lea ecx, [ebp - 0x22c]
call fcn.1002053c
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0xe0]
dec eax
push eax
lea ecx, [ebp - 0x108]
call fcn.1002053c
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xe0]
dec eax
dec eax
push eax
lea ecx, [ebp - 0x238]
call fcn.1002053c
mov byte [ebp - 4], 7
push 1
lea ecx, [ebp - 0x2fc]
call fcn.1002053c
mov byte [ebp - 4], 8
and dword [ebp - 0x98], 0
jmp 0x1002a219
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0x22c]
call fcn.100205a9
cmp dword [ebp - 0x98], eax
jae 0x1002a24c
push dword [ebp - 0x98]
lea ecx, [ebp - 0x22c]
call fcn.10020420
push eax
push 0x10007734
call fcn.1005a45b
pop ecx
pop ecx
jmp 0x1002a20c
and dword [ebp - 0xb0], 0
jmp 0x1002a262
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0x108]
call fcn.100205a9
cmp dword [ebp - 0xb0], eax
jae 0x1002a295
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x108]
call fcn.10020420
push eax
push 0x10007734
call fcn.1005a45b
pop ecx
pop ecx
jmp 0x1002a255
and dword [ebp - 0xa0], 0
jmp 0x1002a2ab
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x238]
call fcn.100205a9
cmp dword [ebp - 0xa0], eax
jae 0x1002a2de
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x238]
call fcn.10020420
push eax
push 0x10007734
call fcn.1005a45b
pop ecx
pop ecx
jmp 0x1002a29e
lea eax, [ebp - 0x3d8]
push eax
lea ecx, [ebp - 0x22c]
call fcn.1002059a
push dword [eax]
lea eax, [ebp - 0x3e0]
push eax
lea ecx, [ebp - 0x22c]
call fcn.100204fd
push dword [eax]
call fcn.100232c9
pop ecx
pop ecx
lea eax, [ebp - 0x3e8]
push eax
lea ecx, [ebp - 0x108]
call fcn.1002059a
push dword [eax]
lea eax, [ebp - 0x3f0]
push eax
lea ecx, [ebp - 0x108]
call fcn.100204fd
push dword [eax]
call fcn.100232c9
pop ecx
pop ecx
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x238]
call fcn.1002059a
push dword [eax]
lea eax, [ebp - 0x400]
push eax
lea ecx, [ebp - 0x238]
call fcn.100204fd
push dword [eax]
call fcn.100232c9
pop ecx
pop ecx
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.100204fd
push dword [eax]
lea eax, [ebp - 0x3a4]
push eax
lea ecx, [ebp - 0x108]
call fcn.1002059a
push dword [eax]
lea eax, [ebp - 0x3c4]
push eax
lea ecx, [ebp - 0x108]
call fcn.100204fd
push dword [eax]
lea eax, [ebp - 0x360]
push eax
lea ecx, [ebp - 0x22c]
call fcn.1002059a
push dword [eax]
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x22c]
call fcn.100204fd
push dword [eax]
lea ecx, [ebp - 0x368]
call fcn.1003f661
add esp, 0x14
push 0
lea ecx, [ebp - 0x2fc]
call fcn.10020420
push dword [eax]
push 0x10007c54
call fcn.1005a68f
pop ecx
pop ecx
lea eax, [ebp - 0x3cc]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.100204fd
push dword [eax]
lea eax, [ebp - 0x370]
push eax
lea ecx, [ebp - 0x238]
call fcn.1002059a
push dword [eax]
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x238]
call fcn.100204fd
push dword [eax]
lea eax, [ebp - 0x378]
push eax
lea ecx, [ebp - 0x108]
call fcn.1002059a
push dword [eax]
lea eax, [ebp - 0x3d4]
push eax
lea ecx, [ebp - 0x108]
call fcn.100204fd
push dword [eax]
lea ecx, [ebp - 0x380]
call fcn.1003f661
add esp, 0x14
push 0
lea ecx, [ebp - 0x2fc]
call fcn.10020420
push dword [eax]
push 0x10007c54
call fcn.1005a68f
pop ecx
pop ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2fc]
call fcn.10020404
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x238]
call fcn.10020404
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x108]
call fcn.10020404
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10020404
mov dword [ebp - 0x80], 0
jmp 0x1002a4d1
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 2
jge 0x1002a4e7
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x398], 0
jmp 0x1002a4ca
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x3fc], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x388], eax
cmp dword [ebp - 0x5c], 0x1a9565e0
jl 0x1002a50e
mov dword [ebp - 0x1f4], 1
jmp 0x1002a515
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x1f4]
mov ecx, dword [ebp - 0x5c]
sub ecx, eax
je 0x1002a536
or eax, 0xffffffff
je 0x1002a536
mov dword [ebp - 0x168], 1
jmp 0x1002a53d
and dword [ebp - 0x168], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x168]
mov dword [ebp + eax - 0x398], ecx
push 0
call fcn.10030c82
pop ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x1002a571
mov dword [ebp - 0x1cc], 1
jmp 0x1002a578
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0xfffffffd
mov dword [ebp - 0x1c], 0
jmp 0x1002a5a2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1002a5b8
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0xd0], 0
jmp 0x1002a59b
mov dword [ebp - 0x1c], 0
jmp 0x1002a5c8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1002a5db
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x3c], 0x4055
jmp 0x1002a5c1
mov dword [ebp - 0x1c], 0
jmp 0x1002a5eb
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1002a601
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x314], 0x583e3585
jmp 0x1002a5e4
mov dword [ebp - 0x14], 0
jmp 0x1002a611
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x1002a62d
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x1002a62b
push 0
call fcn.1002ea61
pop ecx
jmp 0x1002a60a
mov dword [ebp - 0x14], 0
jmp 0x1002a63d
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x1002ac7f
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x2c0], 0x29c84d8b
mov eax, 0x4c20
test eax, eax
je 0x1002a6bc
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0xd0]
mov dword [ebp - 0x3dc], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0xd0]
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp + ecx*4 - 0xd0]
add ecx, dword [ebp + eax*4 - 0xd0]
je 0x1002a6bc
mov dword [ebp - 0x170], 1
jmp 0x1002a6c3
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0xd0]
cmp dword [ebp - 0x170], eax
jne 0x1002a6e1
mov dword [ebp - 0x20c], 1
jmp 0x1002a6e8
and dword [ebp - 0x20c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xd0]
imul eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0xd0], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xd0], 3
jg 0x1002a721
mov dword [ebp - 0x178], 1
jmp 0x1002a728
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x178], eax
jl 0x1002a74c
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3c], 0
je 0x1002a74c
mov dword [ebp - 0x1d4], 1
jmp 0x1002a753
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x30], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp + eax - 0x3c]
jle 0x1002a777
mov dword [ebp - 0x180], 1
jmp 0x1002a77e
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x1fc], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp + eax - 0x314], ecx
cmp dword [ebp - 0x1fc], 0
jne 0x1002a7bf
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0xd0], 0
jne 0x1002a7bf
and dword [ebp - 0x188], 0
jmp 0x1002a7c9
mov dword [ebp - 0x188], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x188], eax
jne 0x1002a7e0
mov dword [ebp - 0x1dc], 1
jmp 0x1002a7e7
and dword [ebp - 0x1dc], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x1dc]
cmp ecx, dword [ebp + eax - 0x3c]
jne 0x1002a808
mov dword [ebp - 0x190], 1
jmp 0x1002a80f
and dword [ebp - 0x190], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
imul eax, dword [ebp - 0x190]
cmp eax, dword [ebp - 0x28]
jle 0x1002a831
mov dword [ebp - 0x21c], 1
jmp 0x1002a838
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x21c]
add eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x28]
jne 0x1002ac04
mov dword [ebp - 0xa4], 0xffffffff
mov dword [ebp - 0x110], 0x6afe
mov dword [ebp - 0x2d0], 0x1a11
cmp dword [ebp - 0x2d0], 0xdec
jge 0x1002a94a
lea eax, [ebp - 0xf0]
push eax
push 0x10007734
call fcn.1005a45b
pop ecx
pop ecx
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0xf0]
dec eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0x270], 0
je 0x1002a94a
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0x10007fc8
call fcn.1005a45b
add esp, 0x10
mov eax, dword [ebp - 0xe8]
cdq
idiv dword [ebp - 0x1a4]
mov eax, dword [ebp - 0xe8]
sub eax, edx
add eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0xe8]
jle 0x1002a911
mov dword [ebp - 0x198], 1
jmp 0x1002a918
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
imul eax, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x84]
sub ecx, eax
mov dword [ebp - 0x84], ecx
push dword [ebp - 0x84]
push 0x10007c54
call fcn.1005a68f
pop ecx
pop ecx
jmp 0x1002a88e
mov dword [ebp - 0x278], 0x10007fd8
cmp dword [ebp - 0x110], 0x6dd8
jle 0x1002a9ed
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
and dword [ebp - 0x8c], 0
jmp 0x1002a982
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x7318
jge 0x1002a9e3
and dword [ebp - 0x94], 0
jmp 0x1002a9a4
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x4d97
jge 0x1002a9e1
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x94]
cdq
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 0x2b8], edx
push dword [ebp - 0x2b8]
push dword [ebp - 0x2bc]
mov ecx, 0x1061b298
call fcn.10020142
jmp 0x1002a997
jmp 0x1002a975
push 0
push 0
call dword [sym.imp.GDI32.dll_GetNearestPaletteIndex]
mov dword [ebp - 0x9c], 0
jmp 0x1002aa06
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 3
jge 0x1002aa22
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x420], 0xd142575e
jmp 0x1002a9f9
mov dword [ebp - 4], 9
cmp dword [ebp - 0x110], 0x6ad1
jge 0x1002aa45
mov edx, dword [ebp - 0x278]
mov ecx, 0x1061b298
call fcn.10022fc2
jmp 0x1002aa61
or dword [ebp - 4], 0xffffffff
jmp 0x1002aa6b
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0xa4], 0
jne 0x1002aa93
push 0xfffffffffffffffd
pop eax
test eax, eax
je 0x1002aa93
mov dword [ebp - 0x114], 1
jmp 0x1002aa9a
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 7
jl 0x1002aaaf
mov dword [ebp - 0x11c], 1
jmp 0x1002aab6
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x11c], eax
jne 0x1002aacd
mov dword [ebp - 0x2e0], 1
jmp 0x1002aad4
and dword [ebp - 0x2e0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xd0]
mov dword [ebp - 0x3a8], eax
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0xa4]
jne 0x1002ab00
mov dword [ebp - 0x124], 1
jmp 0x1002ab07
and dword [ebp - 0x124], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp dword [ebp - 0x124], eax
jg 0x1002ab32
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x314], 0
jne 0x1002ab32
and dword [ebp - 0x12c], 0
jmp 0x1002ab3c
mov dword [ebp - 0x12c], 1
cmp dword [ebp - 0x12c], 1
je 0x1002ab51
mov dword [ebp - 0x134], 1
jmp 0x1002ab58
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x134]
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x420], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x14]
neg ecx
cmp ecx, dword [ebp + eax - 0x3c]
jge 0x1002ab8a
mov dword [ebp - 0x248], 1
jmp 0x1002ab91
and dword [ebp - 0x248], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x314]
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax - 0x5726]
cmp dword [ebp - 0x28], eax
jne 0x1002abc8
mov dword [ebp - 0x13c], 1
jmp 0x1002abcf
and dword [ebp - 0x13c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x13c]
mov dword [ebp + eax - 0x314], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0xd0]
mov dword [ebp - 0x404], eax
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x420], 0x6833
jmp 0x1002ac61
mov dword [ebp - 0x288], 0x1fbecdb
mov dword [ebp - 0x30], 0x12
jmp 0x1002ac1e
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffe6
je 0x1002ac4d
push 0x128d
lea eax, [ebp - 0x2c0]
push eax
push 0
lea eax, [ebp - 0x288]
push eax
push 0x2827
push 0x3686
call fcn.100339f8
add esp, 0x18
jmp 0x1002ac17
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1002ac61
push 0
call fcn.1003b672
pop ecx
mov byte [ebp - 0x33], 0
push 0x5fcb
push 0
push 0
lea eax, [ebp - 0x33]
push eax
call fcn.1002dd9b
add esp, 0x10
jmp 0x1002a636
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1002ac98
mov dword [ebp - 0x144], 1
jmp 0x1002ac9f
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x14c], 0xfffffffc
mov byte [ebp - 0x3e], 0
movzx eax, byte [ebp - 0x3e]
test eax, eax
je 0x1002acd5
push 0
push 0x7c55
push 0x125b
call fcn.1002fe4d
add esp, 0xc
mov dword [ebp - 0x14c], 0
cmp dword [ebp - 0x14c], 0
je 0x1002acf2
push 0
call fcn.10033a58
pop ecx
jmp 0x1002ad29
mov byte [ebp - 0x37], 0
push 0x5d4c
push 0x306b
push 0x6234
push 0x600b
lea eax, [ebp - 0x37]
push eax
push 0x247f
push 0x6aa
push 0x79a9
push 1
push 1
call fcn.10024e6b
add esp, 0x28
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1002b2c7
push 0x4000
mov eax, dword [ebp - 0x20]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x20]
push dword [eax + 8]
push 0x5d91
push 0x5439
call fcn.1001f31f
pop ecx
pop ecx
call eax
mov dword [ebp - 0xec], 0x8d963785
mov dword [ebp - 0x328], 0xcb972524
mov dword [ebp - 0x324], 0xcb972524
mov dword [ebp - 0x320], 0xcb972524
mov dword [ebp - 0x31c], 0xcb972524
lea ecx, [ebp - 0xf9]
call fcn.1002042f
push eax
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x440]
call fcn.10020432
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x244]
call fcn.100203de
mov dword [ebp - 4], 0xb
mov dword [ebp - 0xdc], 0xca27289f
mov dword [ebp - 0xe4], 2
mov dword [ebp - 0x4c], 0xfffffffe
mov dword [ebp - 0xb4], 8
mov dword [ebp - 0x54], 0x9f9034e1
mov dword [ebp - 0x290], 0xfff9
mov dword [ebp - 0xbc], 0x5379
mov dword [ebp - 0x78], 0
jmp 0x1002ae1c
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 3
jge 0x1002ae32
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x430], 0x9f01
jmp 0x1002ae15
cmp dword [ebp - 0xec], 0xe662
jg 0x1002ae4a
mov dword [ebp - 0xd4], 1
jmp 0x1002ae51
and dword [ebp - 0xd4], 0
push 3
lea ecx, [ebp - 0x244]
call fcn.10020420
mov ecx, dword [ebp - 0xd4]
mov dword [eax], ecx
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0xdc]
jg 0x1002ae8c
mov dword [ebp - 0x154], 1
jmp 0x1002ae93
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x154]
lea eax, [ecx + eax - 8]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xec]
jne 0x1002aed5
push 0
lea ecx, [ebp - 0x244]
call fcn.10020420
cmp dword [eax], 0
je 0x1002aed5
mov dword [ebp - 0x15c], 1
jmp 0x1002aedc
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
sub eax, dword [ebp - 0xec]
add eax, 0xe13
je 0x1002aef8
mov eax, 0x3d1aa12a
test eax, eax
jne 0x1002af07
cmp dword [ebp - 0x4c], 0
jne 0x1002af07
and dword [ebp - 0x164], 0
jmp 0x1002af11
mov dword [ebp - 0x164], 1
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x164], eax
jg 0x1002af28
mov dword [ebp - 0x16c], 1
jmp 0x1002af2f
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x16c]
cmp eax, dword [ebp - 0x4c]
je 0x1002af4a
mov dword [ebp - 0x174], 1
jmp 0x1002af51
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x4e6d
jne 0x1002af75
mov dword [ebp - 0x17c], 1
jmp 0x1002af7c
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
dec eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x4c]
jne 0x1002af9a
mov dword [ebp - 0x184], 1
jmp 0x1002afa1
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x184], eax
jle 0x1002afb9
cmp dword [ebp - 0xb4], 0
je 0x1002b083
mov dword [ebp - 0x50], 6
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x50], 1
jae 0x1002b003
mov dword [ebp - 0x2d8], 1
jmp 0x1002b00a
and dword [ebp - 0x2d8], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x290]
cmp eax, dword [ebp - 0x54]
jge 0x1002b030
mov dword [ebp - 0x18c], 1
jmp 0x1002b037
and dword [ebp - 0x18c], 0
mov esi, dword [ebp - 0x50]
imul edi, dword [ebp - 0x18c], 0xe5c7
push 3
lea ecx, [ebp - 0x244]
call fcn.10020420
mov eax, dword [eax]
sub eax, edi
cmp eax, esi
jl 0x1002b065
mov dword [ebp - 0x10c], 1
jmp 0x1002b06c
and dword [ebp - 0x10c], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x10c]
mov dword [ebp + eax - 0x350], ecx
jmp 0x1002b2b3
mov dword [ebp - 0xc4], 0xffffffff
mov dword [ebp - 0xf4], 2
push 3
lea ecx, [ebp - 0x2f0]
call fcn.10020382
mov byte [ebp - 4], 0xc
push 0x2e08
lea eax, [ebp - 0x2f0]
push eax
push 1
lea eax, [ebp - 0x3bc]
push eax
push 0
push 0xa76
call fcn.10024a48
add esp, 0x18
push 0x3b31
push 1
push 0x3527
push 0
push 0x2486
push 0x1f2c
push 0x6ca7
lea eax, [ebp - 0xbc]
push eax
call fcn.10024fd4
add esp, 0x20
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0xe1734826
jbe 0x1002b11c
mov dword [ebp - 0x2c8], 1
jmp 0x1002b123
and dword [ebp - 0x2c8], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x430], 0x376a9523
jle 0x1002b142
mov dword [ebp - 0x19c], 1
jmp 0x1002b149
and dword [ebp - 0x19c], 0
push 1
lea ecx, [ebp - 0x2f0]
call fcn.10020420
mov ecx, dword [ebp - 0x19c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x424], eax
mov eax, 0x81b93497
test eax, eax
jne 0x1002b185
push 2
lea ecx, [ebp - 0x244]
call fcn.10020420
cmp dword [eax], 0
je 0x1002b198
push 0xfffffffffffffffc
pop eax
test eax, eax
je 0x1002b198
mov dword [ebp - 0x1b0], 1
jmp 0x1002b19f
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x1b0], eax
jl 0x1002b1b4
cmp dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x358], eax
cmp dword [ebp - 0xf4], 1
je 0x1002b1d5
mov dword [ebp - 0x298], 1
jmp 0x1002b1dc
and dword [ebp - 0x298], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x35c], eax
push 1
lea ecx, [ebp - 0x2f0]
call fcn.10020420
push 0
lea ecx, [ebp - 0x2f0]
call fcn.10020420
cmp dword [eax], 0
je 0x1002b220
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x430], 0
je 0x1002b220
mov dword [ebp - 0x1b8], 1
jmp 0x1002b227
and dword [ebp - 0x1b8], 0
cmp dword [ebp - 0x1b8], 0xe2fc23fa
jbe 0x1002b23f
mov dword [ebp - 0x2a0], 1
jmp 0x1002b246
and dword [ebp - 0x2a0], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x364], eax
cmp dword [ebp - 0xc4], 0xfffffffa
jle 0x1002b267
mov dword [ebp - 0x1c0], 1
jmp 0x1002b26e
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x1c0], eax
jle 0x1002b288
mov dword [ebp - 0x1c8], 1
jmp 0x1002b28f
and dword [ebp - 0x1c8], 0
push 3
lea ecx, [ebp - 0x244]
call fcn.10020420
mov ecx, dword [ebp - 0x1c8]
mov dword [eax], ecx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2f0]
call fcn.10020404
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.10020404
jmp 0x10029cd6
mov dword [ebp - 0x36c], 0xfffffffe
mov byte [ebp - 0x32], 0
lea eax, [ebp - 0x32]
push eax
push 0
call fcn.1002d364
pop ecx
pop ecx
push 0xa76
push 1
push 0
push 0x5f99
call fcn.100335e5
add esp, 0x10
mov dword [ebp - 0x250], 0x26ef
cmp dword [ebp - 0x250], 0x407
jge 0x1002b3d9
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x254]
push eax
push 0x10008080
call fcn.1005a45b
add esp, 0x14
push dword [ebp - 0x58]
push dword [ebp - 0x60]
call fcn.100298da
pop ecx
pop ecx
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x60]
cdq
idiv dword [ebp - 0x1d0]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
cdq
idiv dword [ebp - 0x1d0]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x254]
cdq
idiv dword [ebp - 0x60]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x24c]
cdq
idiv dword [ebp - 0x58]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1d8]
cmp eax, dword [ebp - 0x1e0]
jge 0x1002b39e
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1e8], eax
jmp 0x1002b3aa
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1f0]
imul eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x1f0]
imul eax, dword [ebp - 0x60]
push eax
push 0x10007c38
call fcn.1005a68f
add esp, 0xc
push 0x720
push 0x2b89
push 0x4f0b
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x284]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.10026584
add esp, 0x28
push 0
lea eax, [ebp - 0xc0]
push eax
push 0x5ed1
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x1757
call fcn.10031041
add esp, 0x1c
push 1
lea ecx, [ebp - 0x308]
call fcn.10020382
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x68], 0x453606de
mov dword [ebp - 0x208], 0x9ce45625
push 0x1148
lea eax, [ebp - 0x308]
push eax
push 0x4607
push 0x21da
push 0x218b
push 1
push 0x48e5
push 0x68d7
lea eax, [ebp - 0x374]
push eax
push 0
call fcn.1002cd61
add esp, 0x28
mov dword [ebp - 0x68], 0
jmp 0x1002b4a9
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x1002b56a
mov dword [ebp - 0x27c], 0xd6dbc1c2
mov dword [ebp - 0x200], 0xfffffffe
mov dword [ebp - 0x1f8], 1
mov dword [ebp - 0x70], 0xd6446bd2
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x200]
push eax
push 0
lea eax, [ebp - 0x70]
push eax
push 0x649d
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x68]
push eax
push 1
call fcn.10027ab9
add esp, 0x28
mov dword [ebp - 0x70], 0
jmp 0x1002b524
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jg 0x1002b565
push 1
lea eax, [ebp - 0x308]
push eax
push 0x4e70
push 0x4131
push 0
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x200]
push eax
push 0x7496
lea eax, [ebp - 0x208]
push eax
push 0
call fcn.1002793d
add esp, 0x28
jmp 0x1002b51d
jmp 0x1002b4a2
mov byte [ebp - 0x3d], 0
push 0x6f1c
push 0x630e
push 0
lea eax, [ebp - 0x3d]
push eax
call fcn.1003a87c
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x308]
call fcn.10020404
cmp dword [ebp - 0x210], 0
jbe 0x1002b5ca
lea eax, [ebp - 0x37c]
push eax
push dword [ebp - 0x284]
push dword [ebp - 0x210]
mov eax, dword [ebp - 0x20]
push dword [eax + 8]
push 0x5d91
push 0x623d
call fcn.1001f31f
pop ecx
pop ecx
call eax
jmp 0x10029cd6
jmp 0x1002b5f9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x294], eax
push 1
push dword [ebp - 0x28c]
push dword [ebp - 0x294]
call fcn.1002737b
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret