Function at 0x1004e32d
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c30b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1004e39a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x220]
call fcn.10019e9a
mov dword [eax], esi
jmp 0x1004f853
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x1c], 0x184dcc8
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x74], 0xef9f3b06
mov dword [ebp - 0xa0], 0
jmp 0x1004e3d5
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 2
jge 0x1004e3f1
mov eax, dword [ebp - 0xa0]
mov dword [ebp + eax*4 - 0x1b8], 0x6335c0de
jmp 0x1004e3c8
mov eax, 0x3d6c
test eax, eax
je 0x1004e40c
cmp dword [ebp - 0x1c], 0
je 0x1004e40c
mov dword [ebp - 0x140], 1
jmp 0x1004e413
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x140]
neg eax
cmp eax, 0xb2c41ac3
jbe 0x1004e432
mov dword [ebp - 0x1c0], 1
jmp 0x1004e439
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x1c0]
imul eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c8], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp + eax - 0x1b8], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c8], eax
jne 0x1004e473
mov dword [ebp - 0xc8], 1
jmp 0x1004e47a
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xac3a6081
jne 0x1004e498
mov dword [ebp - 0x164], 1
jmp 0x1004e49f
and dword [ebp - 0x164], 0
cmp dword [ebp - 0x164], 0xffffffff
jne 0x1004e4b4
mov dword [ebp - 0xd0], 1
jmp 0x1004e4bb
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xd0], eax
jge 0x1004e4d2
mov dword [ebp - 0x16c], 1
jmp 0x1004e4d9
and dword [ebp - 0x16c], 0
cmp dword [ebp - 0x16c], 0xfbfc
jg 0x1004e4f1
mov dword [ebp - 0x228], 1
jmp 0x1004e4f8
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x1c]
jle 0x1004e519
mov dword [ebp - 0xd8], 1
jmp 0x1004e520
and dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0
je 0x1004e535
mov dword [ebp - 0x174], 1
jmp 0x1004e53c
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x174], eax
jg 0x1004e553
mov dword [ebp - 0xe0], 1
jmp 0x1004e55a
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0
ja 0x1004e572
cmp dword [ebp - 0x28], 0
jne 0x1004e572
and dword [ebp - 0x17c], 0
jmp 0x1004e57c
mov dword [ebp - 0x17c], 1
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x17c], eax
jle 0x1004e593
mov dword [ebp - 0xe8], 1
jmp 0x1004e59a
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x28], 3
jmp 0x1004e5b3
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x10
je 0x1004e73c
mov dword [ebp - 0x9c], 0
jmp 0x1004e5d6
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 3
jge 0x1004e5f2
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x29c], 0xfffc
jmp 0x1004e5c9
mov dword [ebp - 0x74], 0
jmp 0x1004e602
mov eax, dword [ebp - 0x74]
dec eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xffffffec
jle 0x1004e737
mov dword [ebp - 0x38], 1
push 3
lea ecx, [ebp - 0x258]
call fcn.10019e2d
and dword [ebp - 4], 0
mov dword [ebp - 0x80], 0
jmp 0x1004e634
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 3
jge 0x1004e650
push dword [ebp - 0x80]
lea ecx, [ebp - 0x258]
call fcn.10019e9a
mov dword [eax], 9
jmp 0x1004e62d
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x38], 1
jmp 0x1004e666
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x1004e723
mov dword [ebp - 0x2c], 0
jmp 0x1004e680
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jg 0x1004e71e
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x1b8], 0
mov dword [ebp - 0x1c], 0
jmp 0x1004e6a8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x1004e719
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp + eax*4 - 0x1b8]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp + eax*4 - 0x1b8]
mov ecx, dword [ebp - 0x1c]
add eax, dword [ebp + ecx*4 - 0x1b8]
cmp eax, 1
je 0x1004e6f0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x29c], 0
jne 0x1004e6f0
and dword [ebp - 0x184], 0
jmp 0x1004e6fa
mov dword [ebp - 0x184], 1
push 2
lea ecx, [ebp - 0x258]
call fcn.10019e9a
mov ecx, dword [ebp - 0x184]
mov dword [eax], ecx
cmp dword [ebp - 0x38], 0
je 0x1004e717
jmp 0x1004e6a1
jmp 0x1004e6a1
jmp 0x1004e679
jmp 0x1004e65f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.10019e95
jmp 0x1004e5fb
jmp 0x1004e5ac
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x7c]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x24], eax
push 2
lea ecx, [ebp - 0xb4]
call fcn.10019e2d
mov dword [ebp - 4], 1
mov dword [ebp - 0x194], 0xbe135e1f
mov dword [ebp - 0x60], 0x84e5a945
push 3
lea ecx, [ebp - 0x288]
call fcn.10019e2d
mov byte [ebp - 4], 2
mov dword [ebp - 0x26c], 0xc866
mov dword [ebp - 0x200], 0x6f9a4d91
mov dword [ebp - 0x18], 0
jmp 0x1004e7ab
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1004e7c1
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1d8], 0xd7f825e
jmp 0x1004e7a4
mov dword [ebp - 0x18], 0
jmp 0x1004e7d1
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1004e7ed
push dword [ebp - 0x18]
lea ecx, [ebp - 0xb4]
call fcn.10019e9a
mov dword [eax], 9
jmp 0x1004e7ca
mov dword [ebp - 0x18], 0
jmp 0x1004e7fd
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1004e819
push dword [ebp - 0x18]
lea ecx, [ebp - 0x288]
call fcn.10019e9a
mov dword [eax], 1
jmp 0x1004e7f6
push 0
lea ecx, [ebp - 0xb4]
call fcn.10019e9a
and dword [eax], 0
jmp 0x1004e84f
push 0
lea ecx, [ebp - 0xb4]
call fcn.10019e9a
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xf0]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xb4]
call fcn.10019e9a
cmp dword [eax], 2
jg 0x1004ea44
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x230], 0xc62bb2c5
mov dword [ebp - 0x20], 0
jmp 0x1004e886
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jg 0x1004e9cf
push 0
lea ecx, [ebp - 0xb4]
call fcn.10019e9a
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x1d8], 0
je 0x1004e8ae
jmp 0x1004e9cf
push 0
lea ecx, [ebp - 0xb4]
call fcn.10019e9a
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x1d8], 0
je 0x1004e901
push 0
lea ecx, [ebp - 0xb4]
call fcn.10019e9a
mov esi, dword [eax]
push 0
lea ecx, [ebp - 0xb4]
call fcn.10019e9a
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x1d8]
cmp dword [ebp + esi*4 - 0x1d8], eax
jg 0x1004e901
mov dword [ebp - 0x18c], 1
jmp 0x1004e908
and dword [ebp - 0x18c], 0
push 0
lea ecx, [ebp - 0xb4]
call fcn.10019e9a
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x1d8]
cmp dword [ebp - 0x18c], eax
jne 0x1004e932
mov dword [ebp - 0xf8], 1
jmp 0x1004e939
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x20]
push 4
pop ecx
shl ecx, 1
imul eax, dword [ebp + ecx - 0x1d8]
cmp eax, 0xf0f5
jge 0x1004e96e
mov dword [ebp - 0x100], 1
jmp 0x1004e975
and dword [ebp - 0x100], 0
mov dword [ebp - 0x194], 0x4f3d4e6
mov eax, dword [ebp - 0x194]
cmp eax, dword [ebp - 0x100]
jl 0x1004e999
mov dword [ebp - 0x19c], 1
jmp 0x1004e9a0
and dword [ebp - 0x19c], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x19c]
je 0x1004e9b7
mov dword [ebp - 0x108], 1
jmp 0x1004e9be
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x230], eax
jmp 0x1004e87f
mov dword [ebp - 0x20], 2
jmp 0x1004e9df
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1004ea3f
mov dword [ebp - 0x60], 2
jmp 0x1004e9f5
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jl 0x1004ea22
lea eax, [ebp - 0x200]
push eax
push 0x723
push 0
call fcn.10051894
add esp, 0xc
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x1d8], 0
je 0x1004ea20
jmp 0x1004e9ee
jmp 0x1004e9ee
push 0
lea ecx, [ebp - 0xb4]
call fcn.10019e9a
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x1d8], 0
je 0x1004ea3d
jmp 0x1004ea3f
jmp 0x1004e9d8
jmp 0x1004e82b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x288]
call fcn.10019e95
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.10019e95
and dword [ebp - 0xa4], 0
jmp 0x1004ea81
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x24]
add eax, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xa4], eax
jge 0x1004f853
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x1004eaaf
mov dword [ebp - 0x1a4], 1
jmp 0x1004eab6
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x1004eadb
mov dword [ebp - 0x1ac], 1
jmp 0x1004eae2
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1004eb07
mov dword [ebp - 0x1a0], 1
jmp 0x1004eb0e
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1fc], eax
push 2
lea ecx, [ebp - 0x240]
call fcn.10019e2d
mov dword [ebp - 4], 3
mov dword [ebp - 0x90], 0
jmp 0x1004eb47
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 2
jge 0x1004eb69
push dword [ebp - 0x90]
lea ecx, [ebp - 0x240]
call fcn.10019e9a
mov dword [eax], 0x9b55bb2c
jmp 0x1004eb3a
push 1
lea ecx, [ebp - 0x240]
call fcn.10019e9a
and dword [eax], 0
jmp 0x1004eb9f
push 1
lea ecx, [ebp - 0x240]
call fcn.10019e9a
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x120]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x240]
call fcn.10019e9a
cmp dword [eax], 1
jge 0x1004ebdb
mov byte [ebp - 0x5a], 0
lea eax, [ebp - 0x5a]
push eax
push 1
call fcn.1004c868
pop ecx
pop ecx
mov byte [ebp - 0x51], 0
push 0x613d
push 0
lea eax, [ebp - 0x51]
push eax
call fcn.1004fd35
add esp, 0xc
jmp 0x1004eb7b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.10019e95
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1004ed10
push 0x4000
mov eax, dword [ebp - 0x24]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x24]
push dword [eax + 8]
push 0x4fff
push 0x693d
call fcn.1002a8d8
pop ecx
pop ecx
call eax
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x34], 7
jmp 0x1004ec36
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jl 0x1004ed0b
mov dword [ebp - 0x88], 0x394a
mov dword [ebp - 0x1e8], 0xff8ee1d1
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x88], eax
jl 0x1004ec77
mov dword [ebp - 0x178], 1
jmp 0x1004ec7e
and dword [ebp - 0x178], 0
xor eax, eax
inc eax
sub eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x178]
sub eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x88]
jne 0x1004eca4
mov dword [ebp - 0x128], 1
jmp 0x1004ecab
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x128]
jle 0x1004ecc2
mov dword [ebp - 0x1bc], 1
jmp 0x1004ecc9
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1bc]
neg eax
je 0x1004ecef
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1e8], eax
mov byte [ebp - 0x49], 0
push 0
lea eax, [ebp - 0x49]
push eax
call fcn.1004e120
pop ecx
pop ecx
jmp 0x1004ed06
mov byte [ebp - 0x48], 0
lea eax, [ebp - 0x48]
push eax
push 0x3f9e
push 1
call fcn.1004c8c0
add esp, 0xc
jmp 0x1004ec2f
jmp 0x1004ea6b
mov dword [ebp - 0x14], 0x96dd1e1e
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x98], 0
jmp 0x1004ed3a
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 1
jge 0x1004ed53
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x50], 0xfffd
jmp 0x1004ed2d
mov dword [ebp - 0x14], 0
jmp 0x1004ed63
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1004ed90
mov dword [ebp - 0x1ec], 0x56a9ef72
lea eax, [ebp - 0x1ec]
push eax
push 0x2bf3
push 0x5bc2
push 0
call fcn.1004fe21
add esp, 0x10
jmp 0x1004ed5c
mov dword [ebp - 0x14], 0
jmp 0x1004eda0
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1004ef3d
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0xbc], 0x22803359
mov dword [ebp - 0x78], 0
jmp 0x1004edce
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 3
jge 0x1004ede4
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x2a8], 0
jmp 0x1004edc7
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp + eax*4 - 0x50], 0x96b7
cmp eax, 0x6ec1
je 0x1004ef1f
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x50], 0xffffffff
jl 0x1004ee10
mov dword [ebp - 0x130], 1
jmp 0x1004ee17
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x130], eax
je 0x1004ee2e
mov dword [ebp - 0x234], 1
jmp 0x1004ee35
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp + ecx*4 - 0x50]
cmp dword [ebp + eax*4 - 0x50], ecx
jne 0x1004ee5a
mov eax, 0x24b2
test eax, eax
je 0x1004ee5a
mov dword [ebp - 0x180], 1
jmp 0x1004ee61
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x50]
cmp dword [ebp - 0x94], eax
jne 0x1004ee88
mov dword [ebp - 0x138], 1
jmp 0x1004ee8f
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x50]
cmp dword [ebp - 0xbc], eax
jg 0x1004eeb1
cmp dword [ebp - 0x94], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x50]
cmp dword [ebp - 0xbc], eax
jg 0x1004eecf
mov dword [ebp - 0x1a8], 1
jmp 0x1004eed6
and dword [ebp - 0x1a8], 0
cmp dword [ebp - 0x1a8], 0x54dbbe5
jl 0x1004eeee
mov dword [ebp - 0xc0], 1
jmp 0x1004eef5
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x1004ef1f
cmp dword [ebp - 0x94], 0
je 0x1004ef1f
mov dword [ebp - 0x148], 1
jmp 0x1004ef26
and dword [ebp - 0x148], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x148]
mov dword [ebp + eax - 0x2a8], ecx
jmp 0x1004ed99
lea eax, [ebp - 0x1f8]
push eax
push dword [ebp - 0x1f4]
push dword [ebp - 0x24]
push 0x6479
push 0x18c7
push 1
push dword [ebp - 0x21c]
push dword [ebp - 0x1fc]
call fcn.1004b6d0
add esp, 0x20
push 1
lea ecx, [ebp - 0x118]
call fcn.10019e2d
mov dword [ebp - 4], 4
mov dword [ebp - 0x22c], 1
push 0x1f24
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x118]
push eax
push 0x2d9a
push 0
call fcn.1004fc8b
add esp, 0x14
push 0
lea ecx, [ebp - 0x118]
call fcn.10019e9a
mov dword [eax], 0xffffffe6
jmp 0x1004efe6
push 0
lea ecx, [ebp - 0x118]
call fcn.10019e9a
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1cc]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x118]
call fcn.10019e9a
cmp dword [eax], 0xfffffff7
jge 0x1004f12b
mov dword [ebp - 0x8c], 0
jmp 0x1004f015
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 3
jge 0x1004f031
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0x214], 1
jmp 0x1004f008
mov byte [ebp - 0x46], 0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x1004f056
push 0x5541
push 0x6330
push 0x74d2
push 1
call fcn.1004c90e
add esp, 0x10
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x214]
mov dword [ebp - 0x260], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x214], 0
je 0x1004f085
mov dword [ebp - 0x150], 1
jmp 0x1004f08c
and dword [ebp - 0x150], 0
push 0
lea ecx, [ebp - 0x118]
call fcn.10019e9a
mov ecx, dword [ebp - 0x150]
sub ecx, dword [eax]
jne 0x1004f0be
push 0
lea ecx, [ebp - 0x118]
call fcn.10019e9a
cmp dword [eax], 0
jne 0x1004f0be
and dword [ebp - 0x190], 0
jmp 0x1004f0c8
mov dword [ebp - 0x190], 1
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x214]
push 0
lea ecx, [ebp - 0x118]
call fcn.10019e9a
imul esi, dword [eax]
cmp esi, dword [ebp - 0x190]
jg 0x1004f0f9
mov dword [ebp - 0x158], 1
jmp 0x1004f100
and dword [ebp - 0x158], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x158]
sub ecx, dword [ebp + eax - 0x214]
push 4
pop eax
shl eax, 0
add ecx, dword [ebp + eax - 0x214]
mov dword [ebp - 0x22c], ecx
jmp 0x1004efc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.10019e95
lea eax, [ebp - 0x104]
push eax
push 0
lea eax, [ebp - 0x7c]
push eax
push 0x68b2
push 0x6d7a
push 0x26ab
push 0x5906
push 0x578e
lea eax, [ebp - 0x24]
push eax
push 0x2e41
call fcn.1004dfa8
add esp, 0x28
mov dword [ebp - 0x68], 0xe1d925b0
mov dword [ebp - 0x204], 0xfffffff9
push 1
lea ecx, [ebp - 0x24c]
call fcn.10019e2d
mov dword [ebp - 4], 5
lea eax, [ebp - 0x268]
push eax
push 0
lea eax, [ebp - 0x24c]
push eax
call fcn.1004fa3a
add esp, 0xc
push 1
lea eax, [ebp - 0x68]
push eax
push 0x6816
lea eax, [ebp - 0x204]
push eax
push 0x5bc1
call fcn.1004dc14
add esp, 0x14
mov dword [ebp - 0x68], 0
jmp 0x1004f1dd
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jge 0x1004f204
lea eax, [ebp - 0x24c]
push eax
push 0x3746
lea eax, [ebp - 0x68]
push eax
push 0x212c
push 0
call fcn.1004df1e
add esp, 0x14
jmp 0x1004f1d6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.10019e95
cmp dword [ebp - 0x104], 0
jbe 0x1004f84e
push 4
lea ecx, [ebp - 0x44]
call fcn.10019e2d
mov dword [ebp - 4], 6
mov dword [ebp - 0x64], 1
mov dword [ebp - 0xa8], 0xf12a83a0
mov dword [ebp - 0x10], 0xbb2c593c
push 1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x35e3
call fcn.1004dca8
add esp, 0x10
mov dword [ebp - 0x6c], 0
jmp 0x1004f270
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
jge 0x1004f283
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x58], 0
jmp 0x1004f269
push 2
lea ecx, [ebp - 0x44]
call fcn.10019e9a
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x64], 0xea0d018d
ja 0x1004f2b0
mov dword [ebp - 0x1b0], 1
jmp 0x1004f2b7
and dword [ebp - 0x1b0], 0
push 2
lea ecx, [ebp - 0x44]
call fcn.10019e9a
mov ecx, dword [ebp - 0x1b0]
cmp ecx, dword [eax]
je 0x1004f2d7
mov dword [ebp - 0x160], 1
jmp 0x1004f2de
and dword [ebp - 0x160], 0
push 2
lea ecx, [ebp - 0x44]
call fcn.10019e9a
mov esi, dword [eax]
add esi, dword [ebp - 0x160]
push 0
lea ecx, [ebp - 0x44]
call fcn.10019e9a
imul esi, dword [eax]
cmp esi, 1
ja 0x1004f30e
mov dword [ebp - 0x198], 1
jmp 0x1004f315
and dword [ebp - 0x198], 0
push 2
lea ecx, [ebp - 0x44]
call fcn.10019e9a
mov ecx, dword [ebp - 0x198]
cmp ecx, dword [eax]
jl 0x1004f335
mov dword [ebp - 0x168], 1
jmp 0x1004f33c
and dword [ebp - 0x168], 0
push 3
lea ecx, [ebp - 0x44]
call fcn.10019e9a
mov ecx, dword [ebp - 0x168]
cmp ecx, dword [eax]
jg 0x1004f362
mov eax, 0xeca6c849
test eax, eax
jne 0x1004f362
and dword [ebp - 0x1c4], 0
jmp 0x1004f36c
mov dword [ebp - 0x1c4], 1
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0xa8], eax
mov esi, dword [ebp - 0xa8]
push 0
lea ecx, [ebp - 0x44]
call fcn.10019e9a
cmp esi, dword [eax]
jle 0x1004f398
mov dword [ebp - 0x170], 1
jmp 0x1004f39f
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
push 2
lea ecx, [ebp - 0x44]
call fcn.10019e9a
cmp esi, dword [eax]
jge 0x1004f3c5
mov dword [ebp - 0x10c], 1
jmp 0x1004f3cc
and dword [ebp - 0x10c], 0
push 2
lea ecx, [ebp - 0x44]
call fcn.10019e9a
mov ecx, dword [ebp - 0x10c]
cmp ecx, dword [eax]
jne 0x1004f3ec
mov dword [ebp - 0x11c], 1
jmp 0x1004f3f3
and dword [ebp - 0x11c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x11c]
mov dword [ebp + eax - 0x58], ecx
mov dword [ebp - 0x10], 3
jmp 0x1004f413
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1004f816
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x1e0], 1
mov dword [ebp - 0x30], 0xc86e89be
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.10019e9a
mov esi, eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.10019e9a
mov ecx, dword [esi]
mov dword [eax], ecx
cmp dword [ebp - 0x70], 0
jne 0x1004f466
cmp dword [ebp - 0x70], 0
jne 0x1004f466
and dword [ebp - 0x124], 0
jmp 0x1004f470
mov dword [ebp - 0x124], 1
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x1004f491
cmp dword [ebp - 0x70], 0
je 0x1004f491
mov dword [ebp - 0x12c], 1
jmp 0x1004f498
and dword [ebp - 0x12c], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.10019e9a
mov esi, eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.10019e9a
mov ecx, dword [esi]
add ecx, dword [eax]
neg ecx
cmp ecx, dword [ebp - 0x12c]
jle 0x1004f4df
mov byte [ebp - 0x45], 0
push 0x1802
lea eax, [ebp - 0x45]
push eax
push 1
push 0x107c
call fcn.1004dd3d
add esp, 0x10
jmp 0x1004f606
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x144], 0xc42fa43d
mov dword [ebp - 0x84], 0
jmp 0x1004f50c
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
jge 0x1004f528
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x1e4], 0x6e9f81a7
jmp 0x1004f4ff
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x278], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.10019e9a
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.10019e9a
mov ecx, dword [ebp - 0x134]
inc ecx
cmp dword [eax], ecx
jg 0x1004f561
mov dword [ebp - 0x13c], 1
jmp 0x1004f568
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x144], eax
mov esi, dword [ebp - 0x144]
push 2
lea ecx, [ebp - 0x44]
call fcn.10019e9a
add esi, dword [eax]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.10019e9a
cmp esi, dword [eax]
jle 0x1004f5a1
mov dword [ebp - 0x14c], 1
jmp 0x1004f5a8
and dword [ebp - 0x14c], 0
push 1
lea ecx, [ebp - 0x44]
call fcn.10019e9a
mov ecx, dword [ebp - 0x14c]
cmp ecx, dword [eax]
jge 0x1004f5d2
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x58], 0
jne 0x1004f5d2
and dword [ebp - 0x224], 0
jmp 0x1004f5dc
mov dword [ebp - 0x224], 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.10019e9a
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.10019e9a
mov eax, dword [eax]
add eax, 0x56a96dad
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x1e4], eax
cmp dword [ebp - 0x64], 1
jge 0x1004f618
mov dword [ebp - 0x154], 1
jmp 0x1004f61f
and dword [ebp - 0x154], 0
push 2
lea ecx, [ebp - 0x44]
call fcn.10019e9a
mov ecx, dword [ebp - 0x154]
cmp ecx, dword [eax]
jge 0x1004f63f
mov dword [ebp - 0x15c], 1
jmp 0x1004f646
and dword [ebp - 0x15c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x15c]
mov dword [ebp + eax - 0x58], ecx
cmp dword [ebp - 0x1e0], 0xcb93
jge 0x1004f7a3
mov dword [ebp - 0xc4], 0x80cd
mov dword [ebp - 0x1f0], 1
cmp dword [ebp - 0x70], 0
je 0x1004f791
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xc4], eax
jg 0x1004f6ab
mov dword [ebp - 0xb8], 1
jmp 0x1004f6b2
and dword [ebp - 0xb8], 0
mov esi, dword [ebp - 0x10]
sub esi, dword [ebp - 0x1f0]
sub esi, dword [ebp - 0x10]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.10019e9a
cmp esi, dword [eax]
jne 0x1004f6d9
mov dword [ebp - 0xcc], 1
jmp 0x1004f6e0
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0x66ca
je 0x1004f6f8
mov dword [ebp - 0xd4], 1
jmp 0x1004f6ff
and dword [ebp - 0xd4], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xb8]
mov dword [ebp + eax - 0x58], ecx
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0xd4]
jne 0x1004f729
mov dword [ebp - 0xdc], 1
jmp 0x1004f730
and dword [ebp - 0xdc], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
call fcn.10019e9a
mov ecx, dword [ebp - 0xdc]
cmp ecx, dword [eax]
jle 0x1004f751
mov dword [ebp - 0xe4], 1
jmp 0x1004f758
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0xcae3
jl 0x1004f770
mov dword [ebp - 0xec], 1
jmp 0x1004f777
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0xec]
test eax, eax
je 0x1004f791
mov dword [ebp - 0xf4], 1
jmp 0x1004f798
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x70], eax
jmp 0x1004f7b7
mov byte [ebp - 0x47], 0
movzx eax, byte [ebp - 0x47]
test eax, eax
je 0x1004f7b7
push 0
call fcn.1004e1be
pop ecx
mov dword [ebp - 0x30], 0
jmp 0x1004f7c7
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jg 0x1004f811
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp + eax*4 - 0x58]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xfc]
mov dword [ebp + eax*4 - 0x58], ecx
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0x59], 0
lea eax, [ebp - 0x59]
push eax
push 0x2ea1
push 1
push 0x1f3b
call fcn.1004ddbd
add esp, 0x10
jmp 0x1004f7c0
jmp 0x1004f40c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10019e95
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x1f8]
push dword [ebp - 0x104]
mov eax, dword [ebp - 0x24]
push dword [eax + 8]
push 0x4fff
push 0x5c9e
call fcn.1002a8d8
pop ecx
pop ecx
call eax
jmp 0x1004ea6b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret