Function at 0x1002aebe
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008887d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3d8
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002af24
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [ebp - 0x2dc]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1002cab3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x4c], 0x7d8e
mov dword [ebp - 0x44], 0xe8f21009
mov dword [ebp - 0x18], 0xfffffff7
mov dword [ebp - 0x2d8], 0x13db
cmp dword [ebp - 0x4c], 0
jne 0x1002afa3
cmp dword [ebp - 0x4c], 0x44b0bf2
jl 0x1002af67
mov dword [ebp - 0x154], 1
jmp 0x1002af6e
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
sub eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x4c]
jg 0x1002af88
mov dword [ebp - 0x23c], 1
jmp 0x1002af8f
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x23c]
jne 0x1002afa3
and dword [ebp - 0x2e4], 0
jmp 0x1002afad
mov dword [ebp - 0x2e4], 1
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38c], eax
xor eax, eax
cmp eax, 0xf4d3
jne 0x1002afcb
mov dword [ebp - 0x2ec], 1
jmp 0x1002afd2
and dword [ebp - 0x2ec], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x44], 0xf8651162
je 0x1002aff0
mov dword [ebp - 0x2c4], 1
jmp 0x1002aff7
and dword [ebp - 0x2c4], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x18], 0xffffffff
cmp dword [ebp - 0x18], 0
je 0x1002b059
mov dword [ebp - 0x264], 0x5c22c920
mov dword [ebp - 0x18], 0
jmp 0x1002b027
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffffe
je 0x1002b054
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x1002b047
push 0x68c2
push 0
call fcn.1003136f
pop ecx
pop ecx
cmp dword [ebp - 0x264], 0
je 0x1002b052
jmp 0x1002b054
jmp 0x1002b020
jmp 0x1002b372
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x10], 0xbdf9020c
mov dword [ebp - 0x5c], 0x34572090
mov dword [ebp - 0x288], 0xba006696
mov dword [ebp - 0x7c], 0
jmp 0x1002b088
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 1
jge 0x1002b09e
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0xac], 0xeba4
jmp 0x1002b081
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp + eax - 0xac], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xac]
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x18]
cmp eax, 0xfffffffa
ja 0x1002b0d8
mov dword [ebp - 0x244], 1
jmp 0x1002b0df
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, 0x6e90
sub eax, dword [ebp - 0x10]
jne 0x1002b104
cmp dword [ebp - 0x18], 0
jne 0x1002b104
and dword [ebp - 0x24c], 0
jmp 0x1002b10e
mov dword [ebp - 0x24c], 1
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x24c]
imul eax, eax, 0xf002
cmp eax, dword [ebp - 0x10]
jle 0x1002b12f
mov dword [ebp - 0x284], 1
jmp 0x1002b136
and dword [ebp - 0x284], 0
push 0xfffffffffffffffc
pop eax
imul eax, eax, 0x1915
test eax, eax
jne 0x1002b152
cmp dword [ebp - 0x18], 0
jne 0x1002b152
and dword [ebp - 0x120], 0
jmp 0x1002b15c
mov dword [ebp - 0x120], 1
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x120], eax
jl 0x1002b173
mov dword [ebp - 0x234], 1
jmp 0x1002b17a
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x234]
sub eax, dword [ebp - 0x10]
cmp eax, 0xffff
jb 0x1002b196
mov dword [ebp - 0x2b8], 1
jmp 0x1002b19d
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x374], eax
mov eax, 0x4768
sub eax, dword [ebp - 0x10]
cmp dword [ebp - 0x18], eax
jg 0x1002b1bf
mov dword [ebp - 0x11c], 1
jmp 0x1002b1c6
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x11c], eax
jl 0x1002b1dd
mov dword [ebp - 0x1b8], 1
jmp 0x1002b1e4
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1b8], eax
jge 0x1002b1fb
mov dword [ebp - 0x128], 1
jmp 0x1002b202
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x128]
shl eax, 3
test eax, eax
jne 0x1002b21e
mov dword [ebp - 0x228], 1
jmp 0x1002b225
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x228], eax
je 0x1002b23c
mov dword [ebp - 0x130], 1
jmp 0x1002b243
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x4c], eax
jle 0x1002b260
mov dword [ebp - 0x1c0], 1
jmp 0x1002b267
and dword [ebp - 0x1c0], 0
cmp dword [ebp - 0x1c0], 0x9123ebaa
jb 0x1002b27f
mov dword [ebp - 0x138], 1
jmp 0x1002b286
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
sub eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x18]
jne 0x1002b35d
mov dword [ebp - 0x84], 0
jmp 0x1002b2b1
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
jge 0x1002b2cd
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x280], 0x865d4863
jmp 0x1002b2a4
mov dword [ebp - 0x30], 0
jmp 0x1002b2dd
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x1002b329
mov dword [ebp - 0x10], 0
jmp 0x1002b2f3
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1002b327
mov dword [ebp - 0x5c], 0
jmp 0x1002b309
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x1002b325
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0xac]
mov dword [ebp + ecx*4 - 0xac], eax
jmp 0x1002b302
jmp 0x1002b2ec
jmp 0x1002b2d6
push 4
pop eax
imul eax, eax, 0
imul eax, dword [ebp + eax - 0x280], 0
cmp dword [ebp - 0x2d8], eax
jge 0x1002b34b
mov dword [ebp - 0x208], 1
jmp 0x1002b352
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x18], eax
jmp 0x1002b372
push 1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.1002a812
add esp, 0xc
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xa4]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x20], eax
push 3
lea ecx, [ebp - 0x258]
call fcn.10017bbe
and dword [ebp - 4], 0
mov dword [ebp - 0x140], 0x99333c7d
mov dword [ebp - 0x8c], 6
mov dword [ebp - 0x298], 0xf0ef
lea eax, [ebp - 0x258]
push eax
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.100306e5
add esp, 0xc
mov dword [ebp - 0x68], 0
jmp 0x1002b3e1
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x1002b3f7
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0xd0], 0
jmp 0x1002b3da
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0xd0], 2
jmp 0x1002b422
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xd0]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0xd0], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xd0], 0
jl 0x1002b68d
mov dword [ebp - 0x168], 6
mov dword [ebp - 0x37c], 0xffffffff
mov dword [ebp - 0xf4], 0xffffffff
mov dword [ebp - 0x384], 0
mov dword [ebp - 0x358], 0x495761be
mov dword [ebp - 0x2e8], 6
mov dword [ebp - 0x290], 1
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0xd0]
lea ecx, [ebp - 0x258]
call fcn.10017c2b
mov esi, eax
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0xd0]
lea ecx, [ebp - 0x258]
call fcn.10017c2b
mov ecx, dword [esi]
mov dword [eax], ecx
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0xd0]
lea ecx, [ebp - 0x258]
call fcn.10017c2b
mov dword [eax], 0xfffffffc
push 4
pop eax
shl eax, 1
push dword [ebp + eax - 0xd0]
lea ecx, [ebp - 0x258]
call fcn.10017c2b
mov ecx, dword [ebp - 0x168]
cmp dword [eax], ecx
jl 0x1002b4f9
mov dword [ebp - 0x158], 1
jmp 0x1002b500
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xd0]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0xd0]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
cmp dword [ebp - 0x8c], eax
jle 0x1002b546
mov dword [ebp - 0x1c8], 1
jmp 0x1002b54d
and dword [ebp - 0x1c8], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xd0]
cmp dword [ebp - 0x1c8], eax
jle 0x1002b56d
mov dword [ebp - 0x148], 1
jmp 0x1002b574
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 1
jbe 0x1002b589
mov dword [ebp - 0x248], 1
jmp 0x1002b590
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0x248], eax
jge 0x1002b5aa
mov dword [ebp - 0x2c0], 1
jmp 0x1002b5b1
and dword [ebp - 0x2c0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xd0]
mov dword [ebp - 0x394], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x39c], eax
cmp dword [ebp - 0x8c], 0
jne 0x1002b5ea
cmp dword [ebp - 0x2e8], 0
jne 0x1002b5ea
and dword [ebp - 0x150], 0
jmp 0x1002b5f4
mov dword [ebp - 0x150], 1
mov eax, dword [ebp - 0x298]
cmp dword [ebp - 0x150], eax
jle 0x1002b60e
mov dword [ebp - 0x1d0], 1
jmp 0x1002b615
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0x1d0], eax
jge 0x1002b62f
mov dword [ebp - 0x210], 1
jmp 0x1002b636
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x158]
sub eax, dword [ebp - 0x210]
je 0x1002b654
xor eax, eax
je 0x1002b654
mov dword [ebp - 0x160], 1
jmp 0x1002b65b
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0x160], eax
jl 0x1002b675
mov dword [ebp - 0x1d8], 1
jmp 0x1002b67c
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x168], eax
jmp 0x1002b409
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.10017c26
and dword [ebp - 0xf0], 0
jmp 0x1002b6bb
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x20]
add eax, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xf0], eax
jge 0x1002cab3
push 2
lea ecx, [ebp - 0x104]
call fcn.10017bbe
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 0xa66fe7d8
mov dword [ebp - 0x178], 0xf5ebec5
mov dword [ebp - 0x60], 0xfffffffe
mov dword [ebp - 0x2a0], 0xffff
mov dword [ebp - 0x3c0], 0x216d7279
mov dword [ebp - 0xb8], 0
jmp 0x1002b72c
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 2
jge 0x1002b74e
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x104]
call fcn.10017c2b
mov dword [eax], 6
jmp 0x1002b71f
mov dword [ebp - 0x14], 0
jmp 0x1002b75e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x1002bb96
mov dword [ebp - 0xf8], 0xfffc
mov dword [ebp - 0x54], 0xfffffff6
push dword [ebp - 0x14]
lea ecx, [ebp - 0x104]
call fcn.10017c2b
cmp dword [eax], 0xfffffffc
jae 0x1002b798
mov dword [ebp - 0x230], 1
jmp 0x1002b79f
and dword [ebp - 0x230], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x104]
call fcn.10017c2b
mov ecx, dword [ebp - 0x230]
cmp ecx, dword [eax]
je 0x1002b7c3
mov dword [ebp - 0x170], 1
jmp 0x1002b7ca
and dword [ebp - 0x170], 0
cmp dword [ebp - 0x170], 0xfffc
je 0x1002b7e2
mov dword [ebp - 0x1e0], 1
jmp 0x1002b7e9
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x178], eax
mov esi, dword [ebp - 0x178]
push 0
lea ecx, [ebp - 0x104]
call fcn.10017c2b
imul esi, dword [eax]
mov dword [ebp - 0x60], esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x104]
call fcn.10017c2b
cmp dword [eax], 0xfffc
jne 0x1002b830
mov dword [ebp - 0x218], 1
jmp 0x1002b837
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x218]
jne 0x1002b850
xor eax, eax
inc eax
jne 0x1002b850
and dword [ebp - 0x180], 0
jmp 0x1002b85a
mov dword [ebp - 0x180], 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x104]
call fcn.10017c2b
mov eax, dword [eax]
cmp eax, dword [ebp - 0x180]
jne 0x1002b887
cmp dword [ebp - 0xf8], 0
je 0x1002b887
mov dword [ebp - 0x1e8], 1
jmp 0x1002b88e
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1e8]
jne 0x1002b8a9
mov dword [ebp - 0x188], 1
jmp 0x1002b8b0
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x54], eax
mov esi, dword [ebp - 0x54]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x104]
call fcn.10017c2b
cmp dword [eax], esi
je 0x1002b8da
mov dword [ebp - 0x2c8], 1
jmp 0x1002b8e1
and dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c8], eax
push 0xfffffffffffffffb
pop eax
neg eax
cmp eax, 0x6f9a4d91
jne 0x1002b902
mov dword [ebp - 0xe8], 1
jmp 0x1002b909
and dword [ebp - 0xe8], 0
push 0
lea ecx, [ebp - 0x104]
call fcn.10017c2b
mov ecx, dword [ebp - 0xe8]
mov dword [eax], ecx
cmp dword [ebp - 0xe8], 0
je 0x1002bb64
mov dword [ebp - 0x98], 0xbe67e784
mov dword [ebp - 0x2d0], 0xfffffff6
mov dword [ebp - 0x1a0], 2
mov dword [ebp - 0x60], 0
jmp 0x1002b959
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x18
jge 0x1002bb62
mov dword [ebp - 0x64], 0xfffffffe
lea eax, [ebp - 0x64]
push eax
push 0x4665
push 0
lea eax, [ebp - 0xf8]
push eax
push 0x5b17
call fcn.10031422
add esp, 0x14
mov dword [ebp - 0x64], 0x16
jmp 0x1002b999
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x19
je 0x1002bb5d
mov dword [ebp - 0x2e0], 5
mov dword [ebp - 0x54], 0
jmp 0x1002b9bd
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xfffffff3
jge 0x1002bb58
mov dword [ebp - 0x310], 0xdee6ee3e
mov dword [ebp - 0x30c], 0xdee6ee3e
mov dword [ebp - 0x308], 0xdee6ee3e
mov dword [ebp - 0x304], 0xdee6ee3e
mov dword [ebp - 0x98], 0xffffffed
jmp 0x1002ba08
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xfffffffd
je 0x1002bb53
mov dword [ebp - 0xe0], 0x27ab8100
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x310]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x310], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x2a0], 0
jne 0x1002ba5f
mov dword [ebp - 0x240], 1
jmp 0x1002ba66
and dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x2e0]
cmp dword [ebp - 0x240], eax
jge 0x1002ba80
mov dword [ebp - 0x190], 1
jmp 0x1002ba87
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0x190], eax
jle 0x1002baa1
mov dword [ebp - 0x1f0], 1
jmp 0x1002baa8
and dword [ebp - 0x1f0], 0
cmp dword [ebp - 0x1f0], 0xfffffffb
jne 0x1002bad6
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x310], 0
je 0x1002bad6
cmp dword [ebp - 0x1a0], 0
je 0x1002bad6
mov dword [ebp - 0x198], 1
jmp 0x1002badd
and dword [ebp - 0x198], 0
push 1
lea ecx, [ebp - 0x104]
call fcn.10017c2b
mov ecx, dword [ebp - 0x198]
add ecx, dword [eax]
jns 0x1002bb06
cmp dword [ebp - 0xe0], 0
jne 0x1002bb06
and dword [ebp - 0x220], 0
jmp 0x1002bb10
mov dword [ebp - 0x220], 1
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x220], eax
jne 0x1002bb2a
mov dword [ebp - 0x2a8], 1
jmp 0x1002bb31
and dword [ebp - 0x2a8], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x1a0]
add eax, 0x308ddd80
mov dword [ebp - 0x2d0], eax
jmp 0x1002b9fb
jmp 0x1002b9b6
jmp 0x1002b992
jmp 0x1002b952
jmp 0x1002bb7c
push 0
push 0x39d9
push 0x3702
lea eax, [ebp - 0x60]
push eax
call fcn.1003357c
add esp, 0x10
push dword [ebp - 0x14]
lea ecx, [ebp - 0x104]
call fcn.10017c2b
cmp dword [eax], 0
je 0x1002bb91
jmp 0x1002bb96
jmp 0x1002b757
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x104]
call fcn.10017c26
push 2
lea ecx, [ebp - 0x340]
call fcn.10017bbe
mov dword [ebp - 4], 2
mov dword [ebp - 0x300], 0xcccddd1d
mov dword [ebp - 0x2fc], 0xcccddd1d
mov dword [ebp - 0x2f8], 0xcccddd1d
mov dword [ebp - 0x2f4], 0xcccddd1d
push 1
lea ecx, [ebp - 0x328]
call fcn.10017bbe
mov byte [ebp - 4], 3
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x200], 0xfffffff7
mov dword [ebp - 0x398], 0xb9628eaf
mov dword [ebp - 0x74], 0
jmp 0x1002bc1d
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 2
jge 0x1002bc39
push dword [ebp - 0x74]
lea ecx, [ebp - 0x340]
call fcn.10017c2b
mov dword [eax], 0x2eac
jmp 0x1002bc16
push 0x1969
push 1
lea eax, [ebp - 0x74]
push eax
push 0x1853
push 0x67a7
lea eax, [ebp - 0x328]
push eax
push 0x408
push 0x3f7
call fcn.1002a88a
add esp, 0x20
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x300], 0xffffffff
xor esi, esi
dec esi
push 1
lea ecx, [ebp - 0x340]
call fcn.10017c2b
cmp dword [eax], esi
jge 0x1002bd05
push 1
lea ecx, [ebp - 0x340]
call fcn.10017c2b
push 0
lea ecx, [ebp - 0x328]
call fcn.10017c2b
mov eax, 0x5589
sub eax, 0xfffffff9
mov dword [ebp - 0x58], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x58]
imul ecx, dword [ebp + eax - 0x300]
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x300], ecx
jg 0x1002bcdd
mov dword [ebp - 0x1f8], 1
jmp 0x1002bce4
and dword [ebp - 0x1f8], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1f8]
sub ecx, dword [ebp + eax - 0x300]
je 0x1002bd05
mov dword [ebp - 0x1a8], 1
jmp 0x1002bd0c
and dword [ebp - 0x1a8], 0
push 0
lea ecx, [ebp - 0x328]
call fcn.10017c2b
mov ecx, dword [ebp - 0x1a8]
cmp ecx, dword [eax]
jne 0x1002bd2f
mov dword [ebp - 0x238], 1
jmp 0x1002bd36
and dword [ebp - 0x238], 0
cmp dword [ebp - 0x238], 0xfffffffd
jg 0x1002bd4b
mov dword [ebp - 0x1b0], 1
jmp 0x1002bd52
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x58], 0
jmp 0x1002bd6e
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x10
je 0x1002bda2
mov dword [ebp - 0x2b0], 0xffffffff
push 0x70aa
lea eax, [ebp - 0x2b0]
push eax
push 0x221a
lea eax, [ebp - 0x200]
push eax
push 0
call fcn.1002e216
add esp, 0x14
jmp 0x1002bd67
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x328]
call fcn.10017c26
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x340]
call fcn.10017c26
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x1002bdd9
mov dword [ebp - 0x118], 1
jmp 0x1002bde0
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x1c], 0x8b13
push 1
lea ecx, [ebp - 0x110]
call fcn.10017bbe
mov dword [ebp - 4], 4
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0x40], 0xfffffff7
lea eax, [ebp - 0x368]
push eax
push 0x260
push 0
lea eax, [ebp - 0x110]
push eax
push 0x23dd
call fcn.1002ab53
add esp, 0x14
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], 0
jmp 0x1002be51
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jg 0x1002c1e1
mov dword [ebp - 0x38], 1
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0x13c], 0x283d1f0d
mov dword [ebp - 0x38], 0
jmp 0x1002be86
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x1002c095
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xb0], 0
jmp 0x1002beb7
mov eax, dword [ebp - 0xb0]
dec eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jl 0x1002c090
mov dword [ebp - 0xa0], 0
jmp 0x1002bedd
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 1
jge 0x1002bef9
mov eax, dword [ebp - 0xa0]
mov dword [ebp + eax*4 - 0x2f0], 0
jmp 0x1002bed0
mov dword [ebp - 0x24], 0
jmp 0x1002bf09
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jg 0x1002c053
mov dword [ebp - 0xc0], 0xfffffff6
mov dword [ebp - 0xc0], 0
jmp 0x1002bf36
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jg 0x1002c032
mov dword [ebp - 0xa8], 1
mov dword [ebp - 0x268], 0x8ecb302a
mov dword [ebp - 0xa8], 0
jmp 0x1002bf70
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jg 0x1002c00e
push dword [ebp - 0x24]
lea ecx, [ebp - 0x110]
call fcn.10017c2b
mov esi, eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x110]
call fcn.10017c2b
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x1002bfad
mov dword [ebp - 0x124], 1
jmp 0x1002bfb4
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x12c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x12c]
mov dword [ebp + eax - 0x2f0], ecx
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x12c]
jl 0x1002bff6
mov dword [ebp - 0x134], 1
jmp 0x1002bffd
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x268], eax
jmp 0x1002bf63
push 0
push 0x7023
push 0x3d0f
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.10033ad9
add esp, 0x14
jmp 0x1002bf29
push 0
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002aada
add esp, 0x10
jmp 0x1002bf02
mov dword [ebp - 0x40], 0
jmp 0x1002c063
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jg 0x1002c08b
push 0x5bc
lea eax, [ebp - 0x13c]
push eax
push 0x4da9
push 0x652e
push 0
call fcn.100313c2
add esp, 0x14
jmp 0x1002c05c
jmp 0x1002beaa
jmp 0x1002be7f
push 0
lea ecx, [ebp - 0x110]
call fcn.10017c2b
cmp dword [eax], 0xa1dd
je 0x1002c0b6
mov dword [ebp - 0x114], 1
jmp 0x1002c0bd
and dword [ebp - 0x114], 0
push 0
lea ecx, [ebp - 0x110]
call fcn.10017c2b
cmp dword [eax], 0
jne 0x1002c0de
cmp dword [ebp - 0x1c], 0
jne 0x1002c0de
and dword [ebp - 0x144], 0
jmp 0x1002c0e8
mov dword [ebp - 0x144], 1
cmp dword [ebp - 0x144], 0
ja 0x1002c0fd
mov dword [ebp - 0x14c], 1
jmp 0x1002c104
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x40]
cmp eax, 0x505bc980
jl 0x1002c127
mov dword [ebp - 0x15c], 1
jmp 0x1002c12e
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0x15c]
jle 0x1002c148
mov dword [ebp - 0x164], 1
jmp 0x1002c14f
and dword [ebp - 0x164], 0
cmp dword [ebp - 0x164], 0x2599
jle 0x1002c167
mov dword [ebp - 0x16c], 1
jmp 0x1002c16e
and dword [ebp - 0x16c], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x110]
call fcn.10017c2b
mov ecx, dword [ebp - 0x16c]
cmp ecx, dword [eax]
jg 0x1002c192
mov dword [ebp - 0x27c], 1
jmp 0x1002c199
and dword [ebp - 0x27c], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x110]
call fcn.10017c2b
xor eax, eax
cmp eax, 0xbf5e
jne 0x1002c1bc
mov dword [ebp - 0x174], 1
jmp 0x1002c1c3
and dword [ebp - 0x174], 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x110]
call fcn.10017c2b
mov eax, dword [eax]
sub eax, dword [ebp - 0x174]
mov dword [ebp - 0x40], eax
jmp 0x1002be4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.10017c26
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x1002c209
mov dword [ebp - 0x17c], 1
jmp 0x1002c210
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x28], 0xd16df251
mov dword [ebp - 0x88], 0
jmp 0x1002c23c
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jge 0x1002c258
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0x3dc], 0xc6a5
jmp 0x1002c22f
mov dword [ebp - 0x28], 1
jmp 0x1002c268
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x1002c28a
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1002c288
push 0x1a3a
push 0
call fcn.1002e1db
pop ecx
pop ecx
jmp 0x1002c261
mov dword [ebp - 0x28], 0x10
jmp 0x1002c29a
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffff0
jg 0x1002c2d1
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1002c2cf
push 0
push 0x6aa6
push 0x39ce
push 0x6437
push 0x6bbd
push 0x58e1
call fcn.100339eb
add esp, 0x18
jmp 0x1002c293
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1002c2ea
mov dword [ebp - 0x184], 1
jmp 0x1002c2f1
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x94], 0x90ac204e
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x94], 0
jmp 0x1002c327
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xf
je 0x1002c48f
push 3
lea ecx, [ebp - 0x3ac]
call fcn.10017bbe
mov dword [ebp - 4], 5
mov dword [ebp - 0x6c], 0x197f0a29
mov dword [ebp - 0x3b8], 0xa0b8ee41
mov dword [ebp - 0x370], 0xcb143e95
mov dword [ebp - 0x354], 1
mov dword [ebp - 0x350], 1
mov dword [ebp - 0x34c], 1
mov dword [ebp - 0x348], 1
lea ecx, [ebp - 0xe9]
call fcn.100095d3
push eax
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x3e4]
call fcn.10017c3a
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x3d4]
call fcn.10017c00
mov byte [ebp - 4], 6
mov dword [ebp - 0x260], 0xfffffff7
mov dword [ebp - 0x9c], 0
jmp 0x1002c3e7
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 3
jge 0x1002c409
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x3ac]
call fcn.10017c2b
mov dword [eax], 0x95e17ca0
jmp 0x1002c3da
lea eax, [ebp - 0x260]
push eax
push 0
push 0x1f1d
lea eax, [ebp - 0x6c]
push eax
call fcn.1003252f
add esp, 0x10
mov dword [ebp - 0x6c], 0
jmp 0x1002c433
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 5
je 0x1002c46c
mov dword [ebp - 0x48], 0xfffffffb
jmp 0x1002c449
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x17
jge 0x1002c46a
push 1
push 0x5c39
push 0x61ad
push 0x643f
call fcn.1002aada
add esp, 0x10
jmp 0x1002c442
jmp 0x1002c42c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3d4]
call fcn.10017c26
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3ac]
call fcn.10017c26
jmp 0x1002c31a
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1002c4cb
push 0x4000
mov eax, dword [ebp - 0x20]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x20]
push dword [eax + 8]
push 0x531
push 0x765
call fcn.10026718
pop ecx
pop ecx
call eax
jmp 0x1002b6a5
push 2
lea ecx, [ebp - 0x31c]
call fcn.10017bbe
mov dword [ebp - 4], 7
mov dword [ebp - 0x278], 0xcccddd1d
mov dword [ebp - 0x274], 0xcccddd1d
mov dword [ebp - 0x270], 0xcccddd1d
mov dword [ebp - 0x26c], 0xcccddd1d
push 1
lea ecx, [ebp - 0x334]
call fcn.10017bbe
mov byte [ebp - 4], 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x78], 0xfffffff7
mov dword [ebp - 0x3a0], 0xb9628eaf
push 0x2b53
lea eax, [ebp - 0x70]
push eax
push 1
push 0x72ca
lea eax, [ebp - 0x31c]
push eax
call fcn.1002ab53
add esp, 0x14
mov dword [ebp - 0x70], 0
jmp 0x1002c55f
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x1002c57b
push dword [ebp - 0x70]
lea ecx, [ebp - 0x334]
call fcn.10017c2b
mov dword [eax], 0x22ba7b7e
jmp 0x1002c558
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x278], 0xffffffff
xor esi, esi
dec esi
push 1
lea ecx, [ebp - 0x31c]
call fcn.10017c2b
cmp dword [eax], esi
jge 0x1002c619
push 1
lea ecx, [ebp - 0x31c]
call fcn.10017c2b
push 0
lea ecx, [ebp - 0x334]
call fcn.10017c2b
mov eax, 0x5589
sub eax, 0xfffffff9
mov dword [ebp - 0x50], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x50]
imul ecx, dword [ebp + eax - 0x278]
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x278], ecx
jg 0x1002c5f1
mov dword [ebp - 0x18c], 1
jmp 0x1002c5f8
and dword [ebp - 0x18c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x18c]
sub ecx, dword [ebp + eax - 0x278]
je 0x1002c619
mov dword [ebp - 0x194], 1
jmp 0x1002c620
and dword [ebp - 0x194], 0
push 0
lea ecx, [ebp - 0x334]
call fcn.10017c2b
mov ecx, dword [ebp - 0x194]
cmp ecx, dword [eax]
jne 0x1002c643
mov dword [ebp - 0x19c], 1
jmp 0x1002c64a
and dword [ebp - 0x19c], 0
cmp dword [ebp - 0x19c], 0xfffffffd
jg 0x1002c65f
mov dword [ebp - 0x1a4], 1
jmp 0x1002c666
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x50], 0
jmp 0x1002c67f
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x10
je 0x1002c6d4
mov dword [ebp - 0x1ac], 0xffffffff
mov dword [ebp - 0x78], 3
jmp 0x1002c69f
mov eax, dword [ebp - 0x78]
dec eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jl 0x1002c6d2
mov dword [ebp - 0x378], 0xf118c84b
mov dword [ebp - 0x3bc], 0x6c4779d4
mov dword [ebp - 0x380], 1
mov eax, dword [ebp - 0x1ac]
dec eax
mov dword [ebp - 0x1ac], eax
jmp 0x1002c698
jmp 0x1002c678
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x334]
call fcn.10017c26
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x31c]
call fcn.10017c26
lea eax, [ebp - 0x20]
push eax
push 0
lea eax, [ebp - 0x28c]
push eax
push 0x14fe
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x2bc]
push eax
push 0x2028
lea eax, [ebp - 0x29c]
push eax
call fcn.1003048c
add esp, 0x20
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x20]
push 0
push dword [ebp - 0xa4]
push 0xad3
call fcn.1002cac2
add esp, 0x14
mov dword [ebp - 0x1f4], 0xf33880e0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x90], 0xd562b994
mov dword [ebp - 0xb4], 0xbb75da2c
mov dword [ebp - 0x1dc], 1
push 2
lea ecx, [ebp - 0xdc]
call fcn.10017bbe
mov dword [ebp - 4], 9
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x2b4], 7
mov dword [ebp - 0x80], 0
jmp 0x1002c7b9
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 2
jge 0x1002c7d2
push dword [ebp - 0x80]
lea ecx, [ebp - 0xdc]
call fcn.10017c2b
or dword [eax], 0xffffffff
jmp 0x1002c7b2
cmp dword [ebp - 0xb4], 0x4cd021a
je 0x1002c7ea
mov dword [ebp - 0x1b4], 1
jmp 0x1002c7f1
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x2a4]
cmp eax, dword [ebp - 0x2ac]
jne 0x1002c830
mov dword [ebp - 0x1bc], 1
jmp 0x1002c837
and dword [ebp - 0x1bc], 0
push 1
lea ecx, [ebp - 0xdc]
call fcn.10017c2b
mov ecx, dword [ebp - 0x1bc]
cmp ecx, dword [eax]
jne 0x1002c85a
mov dword [ebp - 0x1c4], 1
jmp 0x1002c861
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0x1c4]
jne 0x1002c87b
mov dword [ebp - 0x1cc], 1
jmp 0x1002c882
and dword [ebp - 0x1cc], 0
push 0
lea ecx, [ebp - 0xdc]
call fcn.10017c2b
mov ecx, dword [ebp - 0x1cc]
cmp ecx, dword [eax]
je 0x1002c8a5
mov dword [ebp - 0x1d4], 1
jmp 0x1002c8ac
and dword [ebp - 0x1d4], 0
xor eax, eax
sub eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x3b0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x388], eax
push 1
lea ecx, [ebp - 0xdc]
call fcn.10017c2b
mov esi, eax
push 0
lea ecx, [ebp - 0xdc]
call fcn.10017c2b
mov ecx, dword [esi]
add ecx, dword [eax]
mov dword [ebp - 0xbc], ecx
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0xbc], eax
jl 0x1002c912
mov dword [ebp - 0x1e4], 1
jmp 0x1002c919
and dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1f4], 0x8b6b0e1b
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ec]
cmp dword [ebp - 0x1f4], eax
jge 0x1002c949
mov dword [ebp - 0x1fc], 1
jmp 0x1002c950
and dword [ebp - 0x1fc], 0
push 1
lea ecx, [ebp - 0xdc]
call fcn.10017c2b
mov ecx, dword [ebp - 0x1fc]
cmp ecx, dword [eax]
jg 0x1002c978
or eax, 0xffffffff
je 0x1002c978
mov dword [ebp - 0x204], 1
jmp 0x1002c97f
and dword [ebp - 0x204], 0
push 0
lea ecx, [ebp - 0xdc]
call fcn.10017c2b
mov ecx, dword [ebp - 0x204]
cmp ecx, dword [eax]
jge 0x1002c9a2
mov dword [ebp - 0x20c], 1
jmp 0x1002c9a9
and dword [ebp - 0x20c], 0
push 1
lea ecx, [ebp - 0xdc]
call fcn.10017c2b
mov ecx, dword [ebp - 0x20c]
sub ecx, dword [eax]
mov dword [ebp - 0xb4], ecx
mov esi, dword [ebp - 0xb4]
push 0
lea ecx, [ebp - 0xdc]
call fcn.10017c2b
sub esi, dword [eax]
je 0x1002c9f0
cmp dword [ebp - 0xbc], 0
je 0x1002c9f0
mov dword [ebp - 0x214], 1
jmp 0x1002c9f7
and dword [ebp - 0x214], 0
cmp dword [ebp - 0x214], 0x51c76d7b
je 0x1002ca0f
mov dword [ebp - 0x21c], 1
jmp 0x1002ca16
and dword [ebp - 0x21c], 0
push 0
lea ecx, [ebp - 0xdc]
call fcn.10017c2b
mov ecx, dword [ebp - 0x21c]
mov dword [eax], ecx
cmp dword [ebp - 0xc4], 0
jne 0x1002ca41
xor eax, eax
jne 0x1002ca41
and dword [ebp - 0x224], 0
jmp 0x1002ca4b
mov dword [ebp - 0x224], 1
mov eax, dword [ebp - 0x90]
imul eax, dword [ebp - 0x224]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x2b4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.10017c26
cmp dword [ebp - 0x22c], 0
jbe 0x1002caae
lea eax, [ebp - 0x390]
push eax
push dword [ebp - 0x2bc]
push dword [ebp - 0x22c]
mov eax, dword [ebp - 0x20]
push dword [eax + 8]
push 0x531
push 0x821
call fcn.10026718
pop ecx
pop ecx
call eax
jmp 0x1002b6a5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret