Function at 0x1002c239
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002c275
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xb8]
mov dword [ecx], eax
jmp 0x1002d40b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], 0x2e91a049
mov dword [ebp - 0x25c], 0x3ac16b40
mov dword [ebp - 0x74], 0
jmp 0x1002c29c
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 3
jge 0x1002c2b2
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x184], 0x6b5b3847
jmp 0x1002c295
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1002c2cc
push 0
push 0x2105
call fcn.10029c84
pop ecx
pop ecx
mov dword [ebp - 0x20], 0x10
jmp 0x1002c2dc
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xfffffff1
jne 0x1002c5da
mov dword [ebp - 0xb4], 0xfffffffd
mov dword [ebp - 0x178], 5
mov dword [ebp - 0x120], 0
mov dword [ebp - 0xd0], 9
mov dword [ebp - 0xc], 0
jmp 0x1002c31e
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x1002c334
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x21c], 4
jmp 0x1002c317
mov dword [ebp - 0xc], 0
jmp 0x1002c344
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jge 0x1002c35a
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1fc], 0x237f4a7d
jmp 0x1002c33d
mov dword [ebp - 0xc], 0
jmp 0x1002c36a
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
jge 0x1002c380
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1e0], 0xffffffff
jmp 0x1002c363
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0xb4], 0
jne 0x1002c50f
or eax, 0xffffffff
je 0x1002c451
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1fc]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x1fc], eax
mov dword [ebp - 0x178], 0x243b
cmp dword [ebp - 0x178], 0x6194
je 0x1002c3dd
mov dword [ebp - 0x174], 1
jmp 0x1002c3e4
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
sub eax, dword [ebp - 0xd0]
je 0x1002c3f8
cmp dword [ebp - 0x20], 0
jne 0x1002c407
cmp dword [ebp - 0x20], 0
jne 0x1002c407
and dword [ebp - 0xc0], 0
jmp 0x1002c411
mov dword [ebp - 0xc0], 1
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xc8], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp + eax - 0x21c], ecx
cmp dword [ebp - 0xc8], 0
je 0x1002c451
mov dword [ebp - 0x150], 1
jmp 0x1002c458
and dword [ebp - 0x150], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x184]
add eax, dword [ebp - 0x150]
cmp eax, dword [ebp - 0xd0]
jle 0x1002c47e
mov dword [ebp - 0x128], 1
jmp 0x1002c485
and dword [ebp - 0x128], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x128]
mov dword [ebp + eax - 0x1e0], ecx
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x184]
cmp dword [ebp + eax - 0x1fc], ecx
jl 0x1002c4d0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1e0], 0
je 0x1002c4d0
mov dword [ebp - 0xd8], 1
jmp 0x1002c4d7
and dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0x3cfe
jg 0x1002c4ef
mov dword [ebp - 0x1c0], 1
jmp 0x1002c4f6
and dword [ebp - 0x1c0], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1e0], 0
jne 0x1002c50f
and dword [ebp - 0x168], 0
jmp 0x1002c519
mov dword [ebp - 0x168], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x184]
cmp dword [ebp - 0x168], eax
jl 0x1002c539
mov dword [ebp - 0xe0], 1
jmp 0x1002c540
and dword [ebp - 0xe0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x184]
add eax, dword [ebp - 0xe0]
je 0x1002c566
cmp dword [ebp - 0x20], 0
je 0x1002c566
mov dword [ebp - 0x130], 1
jmp 0x1002c56d
and dword [ebp - 0x130], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x184]
cmp dword [ebp - 0x130], eax
jl 0x1002c58d
mov dword [ebp - 0xe8], 1
jmp 0x1002c594
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xe8]
dec ecx
imul eax, ecx
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x184]
je 0x1002c5bc
mov dword [ebp - 0x158], 1
jmp 0x1002c5c3
and dword [ebp - 0x158], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x158]
mov dword [ebp + eax - 0x184], ecx
jmp 0x1002c2d5
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x1c4], 0x1f7d9671
mov dword [ebp - 0x3c], 0
jmp 0x1002c610
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xfffffff2
jge 0x1002c67c
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x194], 0xffffffff
mov dword [ebp - 0x40], 0
jmp 0x1002c637
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 8
jle 0x1002c67a
mov dword [ebp - 0x1d4], 0x65786371
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x35ac
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x51d
push 0
call fcn.1002c042
add esp, 0x20
jmp 0x1002c630
jmp 0x1002c609
and dword [ebp - 0x80], 0
jmp 0x1002c692
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x80], eax
jge 0x1002d40b
mov dword [ebp - 0x19c], 0xffffffff
mov dword [ebp - 0x8c], 0x4cf59275
mov dword [ebp - 0x1d0], 0xfffffff9
mov dword [ebp - 0x48], 0
jmp 0x1002c6d2
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x1002c6e5
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x24], 7
jmp 0x1002c6cb
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x24], 0
jmp 0x1002c70a
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x24], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x24], 0xd
jge 0x1002c908
mov dword [ebp - 0xf0], 0xda622a14
mov dword [ebp - 0xa4], 0x2ca3c0bf
mov dword [ebp - 0x30], 0xfffffffb
mov dword [ebp - 0x54], 0
jmp 0x1002c746
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x1002c75c
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x228], 0xb15b
jmp 0x1002c73f
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
mov dword [ebp - 0xf0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
cmp eax, dword [ebp - 0xf0]
jl 0x1002c78a
mov dword [ebp - 0x138], 1
jmp 0x1002c791
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x19c], 0xbc40
jg 0x1002c7a9
mov dword [ebp - 0xf8], 1
jmp 0x1002c7b0
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x138]
sub eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa4]
imul ecx, dword [ebp - 0xf8]
cmp eax, ecx
jle 0x1002c7e3
mov byte [ebp - 0x25], 0
push 0
lea eax, [ebp - 0x25]
push eax
call fcn.1002f8ac
pop ecx
pop ecx
jmp 0x1002c8dd
mov dword [ebp - 0x1c8], 0xc877
mov dword [ebp - 0x1ac], 0xffffffff
cmp dword [ebp - 0xa4], 0
je 0x1002c8ca
mov dword [ebp - 0x8c], 0xcfbc
cmp dword [ebp - 0x8c], 0
je 0x1002c8ca
cmp dword [ebp - 0x1d0], 0
jne 0x1002c836
mov eax, 0x64f6cbcb
test eax, eax
jne 0x1002c836
and dword [ebp - 0x100], 0
jmp 0x1002c840
mov dword [ebp - 0x100], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
mov dword [ebp - 0x24c], eax
mov eax, 0x733147f5
cmp eax, 0xfffffffe
je 0x1002c866
mov dword [ebp - 0x170], 1
jmp 0x1002c86d
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x170], eax
jg 0x1002c887
mov dword [ebp - 0x1a4], 1
jmp 0x1002c88e
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x254], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x24]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [ebp - 0x100]
lea eax, [ecx + eax - 0x6a243d5c]
test eax, eax
je 0x1002c8ca
mov dword [ebp - 0x140], 1
jmp 0x1002c8d1
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x30], 0
jmp 0x1002c8ed
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1002c903
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x228], 0xefc1
jmp 0x1002c8e6
jmp 0x1002c6f5
mov dword [ebp - 0x94], 0x5c380a38
mov dword [ebp - 0x148], 0xffffffff
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x34], 8
mov dword [ebp - 0x18], 0
jmp 0x1002c93d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1002c950
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 4], 0xfffffffa
jmp 0x1002c936
mov dword [ebp - 0x18], 0
jmp 0x1002c960
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1002c976
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x208], 0x1d89e177
jmp 0x1002c959
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 4]
jne 0x1002cb7d
xor eax, eax
jne 0x1002c9aa
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 4], 0
jne 0x1002c9aa
and dword [ebp - 0x108], 0
jmp 0x1002c9b4
mov dword [ebp - 0x108], 1
cmp dword [ebp - 0x108], 0xf68e
jge 0x1002c9cc
mov dword [ebp - 0x160], 1
jmp 0x1002c9d3
and dword [ebp - 0x160], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp dword [ebp - 0x160], eax
jle 0x1002c9f1
mov dword [ebp - 0x110], 1
jmp 0x1002c9f8
and dword [ebp - 0x110], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
imul eax, dword [ebp - 0x110]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x148], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x208]
cmp dword [ebp - 0x148], eax
jne 0x1002ca47
mov dword [ebp - 0x1d8], 1
jmp 0x1002ca4e
and dword [ebp - 0x1d8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x208]
mov dword [ebp - 0x240], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 4], 0x43d9c8c7
jge 0x1002ca7d
mov dword [ebp - 0x9c], 1
jmp 0x1002ca84
and dword [ebp - 0x9c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x9c]
mov dword [ebp + eax - 0x208], ecx
cmp dword [ebp - 0x9c], 0xe522
je 0x1002caaf
mov dword [ebp - 0x118], 1
jmp 0x1002cab6
and dword [ebp - 0x118], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x118]
sub ecx, dword [ebp + eax - 4]
je 0x1002cadd
cmp dword [ebp - 0x94], 0
je 0x1002cadd
mov dword [ebp - 0xac], 1
jmp 0x1002cae4
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
jb 0x1002cb05
mov dword [ebp - 0xbc], 1
jmp 0x1002cb0c
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0xbc]
test eax, eax
jne 0x1002cb26
mov dword [ebp - 0x1b4], 1
jmp 0x1002cb2d
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x214], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
mov dword [ebp - 0x264], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
mov dword [ebp - 0x220], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
mov dword [ebp - 0x250], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x84], 0
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 4]
cmp dword [ebp + eax - 4], ecx
je 0x1002cb9f
mov dword [ebp - 0xc4], 1
jmp 0x1002cba6
and dword [ebp - 0xc4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp eax, dword [ebp - 0xc4]
jle 0x1002cbc4
mov dword [ebp - 0xcc], 1
jmp 0x1002cbcb
and dword [ebp - 0xcc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp dword [ebp - 0xcc], eax
je 0x1002cbe9
mov dword [ebp - 0xd4], 1
jmp 0x1002cbf0
and dword [ebp - 0xd4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 4]
cmp dword [ebp - 0xd4], eax
jl 0x1002cc0e
mov dword [ebp - 0x88], 1
jmp 0x1002cc15
and dword [ebp - 0x88], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x88]
mov dword [ebp + eax - 4], ecx
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x88], eax
jle 0x1002cc3c
mov dword [ebp - 0xdc], 1
jmp 0x1002cc43
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0xdc]
test eax, eax
jl 0x1002cc5d
mov dword [ebp - 0xe4], 1
jmp 0x1002cc64
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xe4], eax
jle 0x1002cc7b
mov dword [ebp - 0xec], 1
jmp 0x1002cc82
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x1002cca4
mov dword [ebp - 0xf4], 1
jmp 0x1002ccab
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x78], 9
mov dword [ebp - 0x7c], 0
jmp 0x1002ccce
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 2
jge 0x1002cce4
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x284], 0xffffffff
jmp 0x1002ccc7
mov dword [ebp - 0x78], 1
jmp 0x1002ccf4
mov eax, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jl 0x1002cd15
push 0
push 0x4e8f
push 0x48cd
push 0x2863
call fcn.1002a1cc
add esp, 0x10
jmp 0x1002cced
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x1002cd2e
mov dword [ebp - 0xfc], 1
jmp 0x1002cd35
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x10], 0xd4e06482
mov dword [ebp - 0x10], 0xffffffeb
jmp 0x1002cd58
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffff9
jl 0x1002cdb6
mov dword [ebp - 0x70], 0xd45db34e
mov dword [ebp - 0x60], 0
jmp 0x1002cd75
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x1002cd8b
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x260], 0x25b0
jmp 0x1002cd6e
mov dword [ebp - 0x70], 0
jmp 0x1002cd9b
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jl 0x1002cdb4
mov byte [ebp - 0x29], 0
push 1
lea eax, [ebp - 0x29]
push eax
call fcn.10029c84
pop ecx
pop ecx
jmp 0x1002cd94
jmp 0x1002cd51
cmp dword [ebp - 0x10], 0
je 0x1002ce1c
mov dword [ebp - 0x68], 0
jmp 0x1002cdcc
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 2
jge 0x1002cde2
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x234], 0xfffffffa
jmp 0x1002cdc5
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x234]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x1002ce17
push 0x221c
push 0
push 0x3ba1
push 0xe13
call fcn.10029d5d
add esp, 0x10
jmp 0x1002cf44
mov dword [ebp - 0x38], 0xfffffff9
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x58], 0
jmp 0x1002ce3d
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x1002ce53
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x270], 0xffffffff
jmp 0x1002ce36
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x38], eax
jl 0x1002ce76
cmp dword [ebp - 0x38], 0
je 0x1002ce76
mov dword [ebp - 0x104], 1
jmp 0x1002ce7d
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x1002ce95
cmp dword [ebp - 0x10], 0
je 0x1002ceaa
cmp dword [ebp - 0x90], 0
je 0x1002ceaa
mov dword [ebp - 0x1bc], 1
jmp 0x1002ceb1
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x10], 0
je 0x1002cedc
push 2
pop eax
test eax, eax
je 0x1002cedc
mov dword [ebp - 0x10c], 1
jmp 0x1002cee3
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x104]
add eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0x10]
jne 0x1002cf00
mov dword [ebp - 0x114], 1
jmp 0x1002cf07
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x114]
cmp eax, 0xfffffffb
jle 0x1002cf21
mov dword [ebp - 0x98], 1
jmp 0x1002cf28
and dword [ebp - 0x98], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0x270], ecx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1002cf5d
mov dword [ebp - 0x11c], 1
jmp 0x1002cf64
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0xa8], 0x6eb6
mov dword [ebp - 0x154], 0xad901516
mov dword [ebp - 8], 0
jmp 0x1002cf94
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x1002cfaa
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x1f0], 0x841b3c69
jmp 0x1002cf8d
mov dword [ebp - 8], 0
jmp 0x1002cfba
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x1002cfd0
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x12c], 0xe96f8f9e
jmp 0x1002cfb3
mov dword [ebp - 8], 0
jmp 0x1002cfe0
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x1002cff6
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x27c], 0xd3cd3624
jmp 0x1002cfd9
mov byte [ebp - 0x2a], 0
push 0x3df7
push 0x539e
lea eax, [ebp - 0x2a]
push eax
push 1
call fcn.10029cc1
add esp, 0x10
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x1f0], 0xfffffff4
jmp 0x1002d03d
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1f0]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x1f0], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1f0], 0xfffffff5
je 0x1002d1f2
mov dword [ebp - 0xa0], 0xffffffff
mov dword [ebp - 0x5c], 0x881826fb
mov eax, 0x9c1464f1
test eax, eax
je 0x1002d196
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1f0], 0xfffb
jbe 0x1002d08d
mov dword [ebp - 0x124], 1
jmp 0x1002d094
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 0xffffffff
jg 0x1002d0a9
mov dword [ebp - 0x18c], 1
jmp 0x1002d0b0
and dword [ebp - 0x18c], 0
cmp dword [ebp - 0xa0], 0
jne 0x1002d0d2
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x12c], 0
jne 0x1002d0d2
and dword [ebp - 0x134], 0
jmp 0x1002d0dc
mov dword [ebp - 0x134], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x12c]
cmp dword [ebp - 0x134], eax
jg 0x1002d103
cmp dword [ebp - 0xa0], 0
jne 0x1002d103
and dword [ebp - 0x13c], 0
jmp 0x1002d10d
mov dword [ebp - 0x13c], 1
cmp dword [ebp - 0x13c], 8
jg 0x1002d122
mov dword [ebp - 0x144], 1
jmp 0x1002d129
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x1002d144
mov dword [ebp - 0x14c], 1
jmp 0x1002d14b
and dword [ebp - 0x14c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1f0]
add eax, dword [ebp - 0x14c]
mov dword [ebp - 0x154], eax
je 0x1002d177
cmp dword [ebp - 0x5c], 0
je 0x1002d177
mov dword [ebp - 0x15c], 1
jmp 0x1002d17e
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x5c], 0
je 0x1002d196
mov dword [ebp - 0x164], 1
jmp 0x1002d19d
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0xa8]
inc edx
mov dword [ebp - 0xa8], edx
cmp eax, ecx
jne 0x1002d1cf
mov eax, 0xff06
test eax, eax
je 0x1002d1cf
mov dword [ebp - 0x16c], 1
jmp 0x1002d1d6
and dword [ebp - 0x16c], 0
imul eax, dword [ebp - 0x16c], 0x2b35
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x27c], eax
jmp 0x1002d024
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1002d228
push 0x4000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push 0x508
push 0x676
call fcn.10024d3d
pop ecx
pop ecx
call eax
jmp 0x1002c682
mov dword [ebp - 0x44], 0xfffffffa
mov dword [ebp - 0x1a0], 1
mov dword [ebp - 0x190], 3
mov dword [ebp - 0x198], 0x4ab462a7
mov dword [ebp - 0x44], 0
jmp 0x1002d25d
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x1a
jle 0x1002d2ca
mov dword [ebp - 0x6c], 0x29bf3901
mov dword [ebp - 0x64], 0
jmp 0x1002d27a
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 2
jge 0x1002d290
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x28c], 0x57ad
jmp 0x1002d273
mov dword [ebp - 0x6c], 1
jmp 0x1002d2a0
mov eax, dword [ebp - 0x6c]
dec eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jl 0x1002d2c8
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x1002d2c6
push 0x23e4
push 0x4563
push 1
call fcn.10029d1b
add esp, 0xc
jmp 0x1002d299
jmp 0x1002d256
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x1a0]
push eax
push 0x56bb
push 0
push 0x2d5f
call fcn.10029dfa
add esp, 0x1c
lea eax, [ebp - 0x1a8]
push eax
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1b0]
push eax
push 0
lea eax, [ebp - 0x1b8]
push eax
call fcn.10029f84
add esp, 0x18
mov dword [ebp - 0x1c], 0
jmp 0x1002d331
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1002d347
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x258], 0x5b57fd54
jmp 0x1002d32a
mov dword [ebp - 0x1c], 0
jmp 0x1002d357
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1002d36a
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x4c], 6
jmp 0x1002d350
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x4c], 0
jmp 0x1002d38f
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x4c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x4c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x4c], 0
jg 0x1002d3b8
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x1002d3b6
push 0x6f45
push 0
call fcn.1002fd63
pop ecx
pop ecx
jmp 0x1002d37a
lea eax, [ebp - 0xb0]
push eax
push 1
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10029d5d
add esp, 0x10
cmp dword [ebp - 0xb0], 0
jbe 0x1002d406
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x1cc]
push dword [ebp - 0xb0]
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push 0x508
push 0x7e4
call fcn.10024d3d
pop ecx
pop ecx
call eax
jmp 0x1002c682
mov esp, ebp
pop ebp
ret