Function at 0x1002b86a
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a0f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x304
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002b8f0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x208]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x22c]
mov dword [eax], ecx
jmp 0x1002ccf3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x27c], 0x49fe387
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x284], 0xfffffffd
push 2
lea ecx, [ebp - 0x2bc]
call fcn.100159d0
and dword [ebp - 4], 0
mov dword [ebp - 0x28c], 1
push 2
lea ecx, [ebp - 0x270]
call fcn.100159d0
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x2bc]
push eax
push 0x51c1
call fcn.10025fe2
add esp, 0x10
push 0
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.100259be
add esp, 0xc
push 0x1a0f
lea eax, [ebp - 0x270]
push eax
push 0x2651
push 1
call fcn.100252a7
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call fcn.10015a52
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2bc]
call fcn.10015a52
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], 8
mov byte [ebp - 0x36], 0
lea eax, [ebp - 0x36]
push eax
push 0x2e3e
push 1
push 0x6d51
call fcn.1002532a
add esp, 0x10
mov dword [ebp - 0x44], 0
jmp 0x1002b9f6
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
jle 0x1002ba5f
mov dword [ebp - 0x234], 0x22124f84
mov dword [ebp - 0x1b4], 0x9ac54c97
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1fc], 0xffffffff
lea eax, [ebp - 0x1fc]
push eax
push 0x7f06
lea eax, [ebp - 0x1b4]
push eax
push 0x6911
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x3343
push 0
call fcn.1002896f
add esp, 0x24
jmp 0x1002b9ef
and dword [ebp - 0xa8], 0
jmp 0x1002ba7e
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x18]
add eax, 0x28
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xa8], eax
jge 0x1002ccf3
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc4], 0xffffffff
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x84], 0
jmp 0x1002bad1
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
jge 0x1002baea
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x3c], 0xfffffff8
jmp 0x1002bac4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x10], 0x795010f7
jle 0x1002bb11
mov dword [ebp - 0x120], 1
jmp 0x1002bb18
and dword [ebp - 0x120], 0
cmp dword [ebp - 0x120], 0xfffffffd
jg 0x1002bb2d
mov dword [ebp - 0x17c], 1
jmp 0x1002bb34
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x17c]
je 0x1002bc42
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x174], 0x498d20b5
mov dword [ebp - 0x10], 0
jmp 0x1002bb64
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x1002bba2
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x3c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x30], 0
jmp 0x1002bb84
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jg 0x1002bba0
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x1002bb9e
push 1
call fcn.100253a6
pop ecx
jmp 0x1002bb7d
jmp 0x1002bb5d
mov dword [ebp - 0x10], 0
jmp 0x1002bbb2
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x38
jne 0x1002bc3d
mov dword [ebp - 0x1c4], 0xd8ff8cd3
mov dword [ebp - 0x228], 0x177c
mov dword [ebp - 0x204], 0xa1ee3199
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x1c4]
push eax
push 0
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x228]
push eax
push 0x7ea6
call fcn.10025c79
add esp, 0x24
lea eax, [ebp - 0x30]
push eax
push 0x662b
push 0x42eb
push 0x4b81
push 0
lea eax, [ebp - 0x174]
push eax
call fcn.1002d2b7
add esp, 0x18
jmp 0x1002bbab
jmp 0x1002bef3
mov dword [ebp - 0xb0], 0xd7d5
mov dword [ebp - 0xdc], 0x59a67e99
mov dword [ebp - 0xb8], 0xf6bb026e
mov dword [ebp - 0x2a4], 0xfffffff6
mov dword [ebp - 0x1dc], 0xc5df97f
mov dword [ebp - 0x2ac], 0xffea059e
mov dword [ebp - 0xc0], 0xaa6f69a7
mov dword [ebp - 0x20c], 2
mov dword [ebp - 0x5c], 0
jmp 0x1002bca2
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 4
jge 0x1002bcb8
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x310], 0xfffffffc
jmp 0x1002bc9b
mov dword [ebp - 0x10], 0x10
jmp 0x1002bcc8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3b
jle 0x1002bd78
mov dword [ebp - 0x54], 2
cmp dword [ebp - 0x54], 0x5f9b
jg 0x1002bd07
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3c], 0
je 0x1002bd07
cmp dword [ebp - 0xc4], 0x9656
jne 0x1002bd07
mov dword [ebp - 0xd4], 1
jmp 0x1002bd0e
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0xd4], eax
je 0x1002bd25
mov dword [ebp - 0x1cc], 1
jmp 0x1002bd2c
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 0xb0], 0x46c64e71
mov eax, dword [ebp - 0xdc]
add eax, dword [ebp - 0x54]
cmp dword [ebp - 0xb0], eax
jg 0x1002bd5c
mov dword [ebp - 0x124], 1
jmp 0x1002bd63
and dword [ebp - 0x124], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x124]
mov dword [ebp + eax - 0x3c], ecx
jmp 0x1002bcc1
cmp dword [ebp - 0x10], 0
je 0x1002be8e
cmp dword [ebp - 0xdc], 0
jne 0x1002be82
cmp dword [ebp - 0xfc], 0x89c297e1
jae 0x1002bda7
mov dword [ebp - 0x158], 1
jmp 0x1002bdae
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x158], eax
jl 0x1002bdc8
mov dword [ebp - 0xe4], 1
jmp 0x1002bdcf
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x20c]
cmp dword [ebp - 0xe4], eax
je 0x1002bde9
mov dword [ebp - 0x1d4], 1
jmp 0x1002bdf0
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jne 0x1002be10
mov dword [ebp - 0x138], 1
jmp 0x1002be17
and dword [ebp - 0x138], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3c]
cmp dword [ebp - 0x138], eax
jg 0x1002be35
mov dword [ebp - 0xec], 1
jmp 0x1002be3c
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0xec], eax
jge 0x1002be56
mov dword [ebp - 0x178], 1
jmp 0x1002be5d
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xc0]
sub ecx, dword [ebp - 0x178]
neg ecx
mov edx, dword [ebp - 0xc0]
inc edx
mov dword [ebp - 0xc0], edx
cmp ecx, eax
jg 0x1002be8e
mov dword [ebp - 0x190], 1
jmp 0x1002be95
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1dc], eax
jg 0x1002beac
mov dword [ebp - 0x214], 1
jmp 0x1002beb3
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0xb8]
imul eax, dword [ebp - 0xb8]
sub eax, 0x4ef5d9ce
je 0x1002bed9
cmp dword [ebp - 0xf4], 0
jne 0x1002bed9
and dword [ebp - 0x140], 0
jmp 0x1002bee3
mov dword [ebp - 0x140], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x140]
mov dword [ebp + eax - 0x3c], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xfc]
mov dword [ebp + eax - 0x3c], ecx
mov dword [ebp - 0x64], 0x4e2db58
mov dword [ebp - 0x64], 0xfffffff2
jmp 0x1002bf1a
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xfffffff0
je 0x1002bff0
mov dword [ebp - 0x6c], 0x7ca0029b
push 1
lea ecx, [ebp - 0x258]
call fcn.100159d0
mov dword [ebp - 4], 2
mov dword [ebp - 0x80], 0
jmp 0x1002bf4f
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 1
jge 0x1002bf6b
push dword [ebp - 0x80]
lea ecx, [ebp - 0x258]
call fcn.10015a6e
mov dword [eax], 0x5a9576c3
jmp 0x1002bf48
mov dword [ebp - 0x6c], 0xffffffed
jmp 0x1002bf7b
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xffffffff
jge 0x1002bfbc
mov dword [ebp - 0x4c], 0x41b66baf
mov dword [ebp - 0x4c], 0
jmp 0x1002bf98
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x1002bfba
push 0x7aac
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
call fcn.1002cff4
add esp, 0x10
jmp 0x1002bf91
jmp 0x1002bf74
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x1002bfdc
push 0x47ec
push 0x4977
push 1
call fcn.100253c9
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.10015a52
jmp 0x1002bf13
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x1002c009
mov dword [ebp - 0x160], 1
jmp 0x1002c010
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x18c], 0xa0e60f95
mov dword [ebp - 0x188], 0xa0e60f95
mov dword [ebp - 0x184], 0xa0e60f95
mov dword [ebp - 0x180], 0xa0e60f95
push 1
lea ecx, [ebp - 0x240]
call fcn.100159d0
mov dword [ebp - 4], 3
mov dword [ebp - 0xb4], 0xf14186e1
mov dword [ebp - 0x88], 0
jmp 0x1002c082
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 1
jge 0x1002c0a4
push dword [ebp - 0x88]
lea ecx, [ebp - 0x240]
call fcn.10015a6e
mov dword [eax], 2
jmp 0x1002c075
mov dword [ebp - 0x40], 0xfffffffa
jmp 0x1002c0b4
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffe4
jge 0x1002c431
mov dword [ebp - 0x28], 0x48708ef6
mov dword [ebp - 0xac], 0xffff
mov dword [ebp - 0x10c], 0xdfbc43cc
mov dword [ebp - 0x2b0], 0x9339b884
mov dword [ebp - 0x280], 0xc23782e
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x74], 0
jmp 0x1002c107
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x1002c11d
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x21c], 1
jmp 0x1002c100
mov dword [ebp - 0x28], 3
jmp 0x1002c12d
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x1002c42c
mov dword [ebp - 0x1ec], 4
mov dword [ebp - 0x90], 0
jmp 0x1002c15a
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 2
jge 0x1002c176
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0xa0], 0x4c90d297
jmp 0x1002c14d
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0xa0], 0
jmp 0x1002c1a4
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xa0]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0xa0], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xa0], 3
jg 0x1002c3af
mov dword [ebp - 0x7c], 0
jmp 0x1002c1c8
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 1
jge 0x1002c1de
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x224], 0xe469209a
jmp 0x1002c1c1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xa0]
mov eax, dword [ebp + eax*4 - 0x18c]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0xac]
dec eax
mov dword [ebp - 0xac], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xa0]
mov eax, dword [ebp + eax*4 - 0x18c]
mov dword [ebp - 0x104], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x104]
mov dword [ebp + eax - 0x18c], ecx
cmp dword [ebp - 0x104], 0
jne 0x1002c263
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xa0], 0xd2668451
ja 0x1002c263
and dword [ebp - 0x148], 0
jmp 0x1002c26d
mov dword [ebp - 0x148], 1
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x96e6
jl 0x1002c291
mov dword [ebp - 0x170], 1
jmp 0x1002c298
and dword [ebp - 0x170], 0
push 0
lea ecx, [ebp - 0x240]
call fcn.10015a6e
mov eax, dword [eax]
cmp eax, dword [ebp - 0x170]
jg 0x1002c2bb
mov dword [ebp - 0x114], 1
jmp 0x1002c2c2
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x114]
jne 0x1002c2e6
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xa0], 0
jne 0x1002c2e6
and dword [ebp - 0x1e4], 0
jmp 0x1002c2f0
mov dword [ebp - 0x1e4], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c0], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xa0], 0
je 0x1002c325
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x18c], 0
je 0x1002c325
mov dword [ebp - 0x150], 1
jmp 0x1002c32c
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x150], eax
je 0x1002c343
mov dword [ebp - 0x11c], 1
jmp 0x1002c34a
and dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 4
ja 0x1002c35f
mov dword [ebp - 0x168], 1
jmp 0x1002c366
and dword [ebp - 0x168], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x224]
cmp dword [ebp - 0x168], eax
jge 0x1002c387
mov dword [ebp - 0xcc], 1
jmp 0x1002c38e
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xb4], eax
push 0
lea eax, [ebp - 0x1ec]
push eax
call fcn.10025987
pop ecx
pop ecx
jmp 0x1002c189
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x18c]
mov dword [ebp - 0x290], eax
push 4
pop eax
imul eax, eax, 0
imul eax, dword [ebp + eax - 0x21c], 0xf5ee
cmp eax, 0xfffffff6
jl 0x1002c3e1
mov dword [ebp - 0xd0], 1
jmp 0x1002c3e8
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0x9807
jne 0x1002c400
mov dword [ebp - 0x1f4], 1
jmp 0x1002c407
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp + eax*4 - 0x18c]
mov dword [ebp - 0x2ec], eax
imul eax, dword [ebp - 0xb4], 0x975
mov dword [ebp - 0x194], eax
jmp 0x1002c126
jmp 0x1002c0ad
push 0
lea ecx, [ebp - 0x240]
call fcn.10015a6e
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.10015a52
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x1002c46e
mov dword [ebp - 0xd8], 1
jmp 0x1002c475
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1c], 0x6fe7d8a8
mov dword [ebp - 0xe0], 0xc3f4f880
mov dword [ebp - 0x98], 0
jmp 0x1002c4ab
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 4
jge 0x1002c4c7
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x1a4], 0x540d
jmp 0x1002c49e
mov dword [ebp - 0x1c], 0
jmp 0x1002c4d7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jg 0x1002c6c9
push 1
lea ecx, [ebp - 0x264]
call fcn.100159d0
mov dword [ebp - 4], 4
mov dword [ebp - 0xa4], 0
jmp 0x1002c50e
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 1
jge 0x1002c530
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x264]
call fcn.10015a6e
mov dword [eax], 0xfffffff8
jmp 0x1002c501
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1002c55a
push 0x5dc3
push 1
push 0x366e
push 0x5cc
push 0x5108
call fcn.10025411
add esp, 0x14
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x1a4]
mov dword [ebp - 0x298], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1a4], 0
je 0x1002c598
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
je 0x1002c598
mov dword [ebp - 0xe8], 1
jmp 0x1002c59f
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x1a4]
cmp dword [ebp - 0xe8], eax
jne 0x1002c5bd
mov dword [ebp - 0xf0], 1
jmp 0x1002c5c4
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 3
jae 0x1002c5d9
mov dword [ebp - 0x1a8], 1
jmp 0x1002c5e0
and dword [ebp - 0x1a8], 0
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x1a4], 0x81eca6c8
jae 0x1002c5ff
mov dword [ebp - 0xf8], 1
jmp 0x1002c606
and dword [ebp - 0xf8], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x1a4]
cmp dword [ebp - 0xf8], eax
jle 0x1002c634
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + eax*4 - 0x1a4], 0
je 0x1002c634
mov dword [ebp - 0x100], 1
jmp 0x1002c63b
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x100]
cmp dword [ebp - 0x1c], eax
jge 0x1002c655
mov dword [ebp - 0x108], 1
jmp 0x1002c65c
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0xb2c593c8
jne 0x1002c674
mov dword [ebp - 0x110], 1
jmp 0x1002c67b
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x1a4]
cmp dword [ebp - 0x110], eax
jge 0x1002c699
mov dword [ebp - 0x118], 1
jmp 0x1002c6a0
and dword [ebp - 0x118], 0
push 0
lea ecx, [ebp - 0x264]
call fcn.10015a6e
mov ecx, dword [ebp - 0x118]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.10015a52
jmp 0x1002c4d0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1002c6e2
mov dword [ebp - 0xc8], 1
jmp 0x1002c6e9
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x8c], 0x42c70bb7
mov dword [ebp - 0x94], 0
jmp 0x1002c718
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 3
jge 0x1002c734
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0x2cc], 0xfffffffa
jmp 0x1002c70b
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1002c754
push 0x3fe8
push 0x24c1
push 1
call fcn.100258e7
add esp, 0xc
mov dword [ebp - 0x8c], 2
jmp 0x1002c76d
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x1002c7ae
mov dword [ebp - 0x48], 0xfffffff9
mov dword [ebp - 0x48], 2
jmp 0x1002c78d
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1002c7ac
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp + eax - 0x2cc]
mov dword [ebp + ecx*4 - 0x2cc], eax
jmp 0x1002c786
jmp 0x1002c760
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1002c7e4
push 0x4000
mov eax, dword [ebp - 0x18]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
push 0x343
push 0x396
call fcn.1002395a
pop ecx
pop ecx
call eax
jmp 0x1002ba68
mov dword [ebp - 0x1b0], 0x2a17d0b0
mov dword [ebp - 0x2d0], 0xfffffffd
mov dword [ebp - 0x58], 0
jmp 0x1002c808
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jge 0x1002c81e
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x24c], 0
jmp 0x1002c801
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x24c], 0
jmp 0x1002c849
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x24c]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x24c], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x24c], 0xffffffee
jg 0x1002c86b
mov byte [ebp - 0x29], 0
lea eax, [ebp - 0x29]
push eax
push 0
call fcn.100284b9
pop ecx
pop ecx
jmp 0x1002c830
push 1
lea eax, [ebp - 0x1b0]
push eax
call fcn.10025955
pop ecx
pop ecx
push 0x5422
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x200]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c8]
push eax
push 0
call fcn.1002d05d
add esp, 0x1c
push 2
lea ecx, [ebp - 0x2dc]
call fcn.100159d0
mov dword [ebp - 4], 5
mov dword [ebp - 0x68], 0x18d4081c
mov dword [ebp - 0x2a0], 0x51c76d7b
mov dword [ebp - 0x60], 0
jmp 0x1002c8df
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jge 0x1002c8f8
push dword [ebp - 0x60]
lea ecx, [ebp - 0x2dc]
call fcn.10015a6e
or dword [eax], 0xffffffff
jmp 0x1002c8d8
mov dword [ebp - 0x68], 1
jmp 0x1002c908
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x1002c944
mov dword [ebp - 0x1d0], 0xffff
push 0
push 0x207c
push 0x7d5e
push 0x29d1
push 0x317f
push 0x10b9
lea eax, [ebp - 0x1d0]
push eax
call fcn.1002b6cf
add esp, 0x1c
jmp 0x1002c901
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2dc]
call fcn.10015a52
push 0x6918
push 0x1e2f
push dword [ebp - 0x18]
push dword [ebp - 0x70]
push 0
lea eax, [ebp - 0x16c]
push eax
call fcn.1002aac8
add esp, 0x18
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x154], 0x213a
mov dword [ebp - 0x14], 0x94d2b5f7
mov dword [ebp - 0x24], 0
jmp 0x1002c99c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jne 0x1002cc87
mov dword [ebp - 0xbc], 0x3707822e
mov dword [ebp - 0x78], 0xfffffffa
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0xbc], 8
jbe 0x1002c9d8
mov dword [ebp - 0x1d8], 1
jmp 0x1002c9df
and dword [ebp - 0x1d8], 0
cmp dword [ebp - 0x24], 0
jne 0x1002c9ee
mov eax, 0x391cb4e7
test eax, eax
je 0x1002c9f4
cmp dword [ebp - 0x24], 0
jne 0x1002ca06
mov eax, 0x864ba8b3
test eax, eax
jne 0x1002ca06
and dword [ebp - 0x134], 0
jmp 0x1002ca10
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x1002ca2e
cmp dword [ebp - 0x24], 0
jne 0x1002ca2e
and dword [ebp - 0x13c], 0
jmp 0x1002ca38
mov dword [ebp - 0x13c], 1
mov eax, dword [ebp - 0x154]
cmp dword [ebp - 0x13c], eax
jge 0x1002ca52
mov dword [ebp - 0x144], 1
jmp 0x1002ca59
and dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 0x2b57
jge 0x1002ca71
mov dword [ebp - 0x14c], 1
jmp 0x1002ca78
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x78], 0
je 0x1002caa6
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x1002caa1
push 1
push 0x7fec
call fcn.10025987
pop ecx
pop ecx
jmp 0x1002cc82
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1e8], 0x5fc1c575
push 2
lea ecx, [ebp - 0x130]
call fcn.100159d0
mov dword [ebp - 4], 6
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x1f0], 0x7a32
mov dword [ebp - 0x20], 0
jmp 0x1002caef
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1002cb08
push dword [ebp - 0x20]
lea ecx, [ebp - 0x130]
call fcn.10015a6e
or dword [eax], 0xffffffff
jmp 0x1002cae8
mov dword [ebp - 0x20], 0
jmp 0x1002cb18
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1002cb2e
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x300], 0xffffffff
jmp 0x1002cb11
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1e8]
push eax
push 0
call fcn.10025afc
add esp, 0x24
mov dword [ebp - 0x50], 9
jmp 0x1002cb74
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffe7
jle 0x1002cc73
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x14], 0
jmp 0x1002cb97
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x1002cc6e
mov dword [ebp - 0x2a8], 0x4a04c7c9
push dword [ebp - 0x14]
lea ecx, [ebp - 0x130]
call fcn.10015a6e
mov esi, eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x130]
call fcn.10015a6e
mov ecx, dword [esi]
imul ecx, dword [eax]
cmp ecx, 0xffff
ja 0x1002cbe2
mov dword [ebp - 0x15c], 1
jmp 0x1002cbe9
and dword [ebp - 0x15c], 0
cmp dword [ebp - 0x24], 1
jge 0x1002cbfb
mov dword [ebp - 0x1f8], 1
jmp 0x1002cc02
and dword [ebp - 0x1f8], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x130]
call fcn.10015a6e
mov ecx, dword [ebp - 0x15c]
mov dword [eax], ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x130]
call fcn.10015a6e
mov ecx, dword [ebp - 0xbc]
cmp dword [eax], ecx
je 0x1002cc3c
mov dword [ebp - 0x164], 1
jmp 0x1002cc43
and dword [ebp - 0x164], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x164]
mov dword [ebp + eax - 0x300], ecx
push 0
lea ecx, [ebp - 0x130]
call fcn.10015a6e
mov dword [eax], 1
jmp 0x1002cb90
jmp 0x1002cb6d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.10015a52
jmp 0x1002c995
cmp dword [ebp - 0x16c], 0
jbe 0x1002ccee
mov dword [ebp - 0x2e0], 0xe0cf5720
push 1
push 0x2685
push 0x7c42
call fcn.100259be
add esp, 0xc
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1002ccc2
push 0
call fcn.100279dc
pop ecx
lea eax, [ebp - 0x278]
push eax
push dword [ebp - 0x200]
push dword [ebp - 0x16c]
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
push 0x343
push 0x43c
call fcn.1002395a
pop ecx
pop ecx
call eax
jmp 0x1002ba68
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret