Function at 0x1003588c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100679cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x778
push esi
and dword [ebp - 0x34], 0
mov dword [ebp - 0x3b0], 0xffffffff
mov dword [ebp - 0x44c], 0xffffffff
mov dword [ebp - 0x444], 0xfffffff7
mov dword [ebp - 0x454], 0x6f084217
push 3
lea ecx, [ebp - 0x558]
call fcn.100165ef
and dword [ebp - 4], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x43c], 0xffffffff
lea eax, [ebp - 0x5b8]
push eax
push 1
push 0
push 0x7127
lea eax, [ebp - 0x558]
push eax
push 0x727c
call fcn.10031781
add esp, 0x18
push 0x15d0
push 1
lea eax, [ebp - 0x3b0]
push eax
push 1
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x558]
push eax
push 0x4879
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x444]
push eax
push 1
lea eax, [ebp - 0x44c]
push eax
push 0x3fc1
lea eax, [ebp - 0x454]
push eax
call fcn.100307f9
add esp, 0x34
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x558]
call fcn.10016651
call fcn.10035148
mov dword [ebp - 0x5a8], 0xd5e48d32
push 0
push 0x344
push 1
call fcn.10031d06
add esp, 0xc
mov byte [ebp - 0x5c], 0
lea eax, [ebp - 0x5c]
push eax
call fcn.100352bb
pop ecx
mov dword [ebp - 0x64], 0x3921ded6
or dword [ebp - 0x514], 0xffffffff
or dword [ebp - 0x510], 0xffffffff
or dword [ebp - 0x50c], 0xffffffff
or dword [ebp - 0x508], 0xffffffff
lea ecx, [ebp - 0x161]
call fcn.10016739
push eax
lea eax, [ebp - 0x504]
push eax
lea eax, [ebp - 0x514]
push eax
lea ecx, [ebp - 0x6ac]
call fcn.1001673c
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x5c4]
call fcn.1001662b
mov dword [ebp - 4], 1
mov dword [ebp - 0x140], 0x94d0
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x120], 0xf30b91ee
mov dword [ebp - 0x4cc], 3
mov dword [ebp - 0x4c8], 3
mov dword [ebp - 0x4c4], 3
mov dword [ebp - 0x4c0], 3
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x64], eax
jg 0x10035a64
mov dword [ebp - 0x198], 1
jmp 0x10035a6b
and dword [ebp - 0x198], 0
cmp dword [ebp - 0x90], 0x11f3
je 0x10035a8c
cmp dword [ebp - 0x90], 0
je 0x10035a8c
mov dword [ebp - 0x23c], 1
jmp 0x10035a93
and dword [ebp - 0x23c], 0
push 1
lea ecx, [ebp - 0x5c4]
call fcn.100166d5
mov dword [eax], 1
xor eax, eax
inc eax
sub eax, dword [ebp - 0x23c]
cmp eax, dword [ebp - 0x120]
jne 0x10035ac3
mov dword [ebp - 0x310], 1
jmp 0x10035aca
and dword [ebp - 0x310], 0
mov eax, dword [ebp - 0x140]
add eax, dword [ebp - 0x310]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0x140]
inc eax
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x45c], 0xff15
je 0x10035b01
mov dword [ebp - 0x318], 1
jmp 0x10035b08
and dword [ebp - 0x318], 0
mov eax, dword [ebp - 0x120]
cmp dword [ebp - 0x318], eax
jge 0x10035b22
mov dword [ebp - 0x308], 1
jmp 0x10035b29
and dword [ebp - 0x308], 0
cmp dword [ebp - 0x308], 0xfffffff8
jl 0x10035b3e
mov dword [ebp - 0x180], 1
jmp 0x10035b45
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x180], eax
jne 0x10035b5c
mov dword [ebp - 0x258], 1
jmp 0x10035b63
and dword [ebp - 0x258], 0
cmp dword [ebp - 0x258], 0xffff
jb 0x10035b7b
mov dword [ebp - 0x188], 1
jmp 0x10035b82
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x188]
jl 0x10035b99
mov dword [ebp - 0x30c], 1
jmp 0x10035ba0
and dword [ebp - 0x30c], 0
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x30c], eax
jl 0x10035bc7
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x4cc], 0
jne 0x10035bc7
and dword [ebp - 0x190], 0
jmp 0x10035bd1
mov dword [ebp - 0x190], 1
mov eax, dword [ebp - 0x190]
sub eax, dword [ebp - 0x120]
je 0x10035bef
xor eax, eax
je 0x10035bef
mov dword [ebp - 0x260], 1
jmp 0x10035bf6
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x198], eax
jg 0x10035c1c
mov dword [ebp - 0x2dc], 1
jmp 0x10035c23
and dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x2dc], eax
je 0x10035c3a
mov dword [ebp - 0x1a0], 1
jmp 0x10035c41
and dword [ebp - 0x1a0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1a0]
sub ecx, dword [ebp + eax - 0x4cc]
push 8
pop eax
cmp eax, 0x33b8
jge 0x10035c6a
mov dword [ebp - 0x268], 1
jmp 0x10035c71
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x51], 0
push 1
push 0x3b6a
push 0x6b76
push 0xa15
push 0x31de
lea eax, [ebp - 0x51]
push eax
push 1
call fcn.10030ca3
add esp, 0x1c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c4]
call fcn.10016651
mov dword [ebp - 0x338], 5
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x270], 0x45307222
push 4
lea ecx, [ebp - 0x4b0]
call fcn.100165ef
mov dword [ebp - 4], 2
push 4
lea ecx, [ebp - 0x4a4]
call fcn.100165ef
mov byte [ebp - 4], 3
mov dword [ebp - 0x6c], 0
jmp 0x10035d01
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
jge 0x10035d14
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x40], 0xfffffff9
jmp 0x10035cfa
lea eax, [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 1
call fcn.10030d51
add esp, 0x10
push 1
lea eax, [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0x164a
call fcn.10030ee9
add esp, 0x14
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x40], 0xfffffffb
jmp 0x10035d6c
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x40], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x40], 0xfffffff6
je 0x10035f05
mov dword [ebp - 0x5cc], 0x3b1a9565
mov dword [ebp - 0x7c], 0xffffffff
lea eax, [ebp - 0x7c]
push eax
call fcn.10010a03
pop ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
mov dword [ebp - 0x574], eax
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x40]
sub esi, dword [ebp - 0x338]
add esi, 0xfffd
push 2
lea ecx, [ebp - 0x4b0]
call fcn.100166d5
cmp esi, dword [eax]
jne 0x10035ddb
mov dword [ebp - 0x1a8], 1
jmp 0x10035de2
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1a8]
sub eax, dword [ebp - 0x338]
imul eax, dword [ebp - 0x7c]
test eax, eax
jne 0x10035e02
mov dword [ebp - 0x1b0], 1
jmp 0x10035e09
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x1b0]
jge 0x10035e20
mov dword [ebp - 0x464], 1
jmp 0x10035e27
and dword [ebp - 0x464], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x5d4], eax
push 3
lea ecx, [ebp - 0x4b0]
call fcn.100166d5
cmp dword [eax], 0x1966c477
jg 0x10035e64
mov dword [ebp - 0x1b8], 1
jmp 0x10035e6b
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x48], eax
jne 0x10035e85
mov dword [ebp - 0x2e4], 1
jmp 0x10035e8c
and dword [ebp - 0x2e4], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x2e4], eax
jne 0x10035ea3
mov dword [ebp - 0x378], 1
jmp 0x10035eaa
and dword [ebp - 0x378], 0
push 2
lea ecx, [ebp - 0x4a4]
call fcn.100166d5
cmp dword [ebp - 0x7c], 0
je 0x10035edc
mov dword [ebp - 0x48], 3
jmp 0x10035ecd
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x10035eda
call fcn.100352f0
jmp 0x10035ec6
jmp 0x10035f00
mov dword [ebp - 0x42c], 0xfffb
lea eax, [ebp - 0x4a4]
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.1003531a
add esp, 0xc
jmp 0x10035d57
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4a4]
call fcn.10016651
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4b0]
call fcn.10016651
lea eax, [ebp + 8]
push eax
push 0
push 1
lea eax, [ebp - 0x124]
push eax
push 0x4bee
call fcn.10031c65
add esp, 0x14
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x1f0], 0x7d19fa5
mov dword [ebp - 0x428], 0
mov dword [ebp - 0xb4], 0
jmp 0x10035f73
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 3
jge 0x10035f8f
mov eax, dword [ebp - 0xb4]
mov dword [ebp + eax*4 - 0x620], 0x342bb1e5
jmp 0x10035f66
mov dword [ebp - 0x1c], 0x15
jmp 0x10035f9f
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x13
jg 0x10036390
mov dword [ebp - 0x1d0], 5
mov dword [ebp - 0x128], 0x672d714f
mov dword [ebp - 0x200], 8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x5dc], eax
cmp dword [ebp - 0x128], 0xbb6b
jle 0x10035fe8
mov dword [ebp - 0x1c0], 1
jmp 0x10035fef
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x1d0]
imul eax, dword [ebp - 0x1c0]
add eax, 0xfa32
cmp eax, 0x12e
jle 0x10036014
mov dword [ebp - 0x278], 1
jmp 0x1003601b
and dword [ebp - 0x278], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x278], eax
jl 0x10036032
mov dword [ebp - 0x1c8], 1
jmp 0x10036039
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x1c8]
sub eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
jl 0x10036053
mov dword [ebp - 0x314], 1
jmp 0x1003605a
and dword [ebp - 0x314], 0
cmp dword [ebp - 0x314], 0xfffffff9
jne 0x1003606f
mov dword [ebp - 0x280], 1
jmp 0x10036076
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x1d0]
imul eax, dword [ebp - 0x280]
test eax, eax
je 0x10036091
call fcn.10035379
jmp 0x10036368
mov dword [ebp - 0x148], 0xb9a31c0a
mov dword [ebp - 0x374], 0x202b
cmp dword [ebp - 0x374], 0xab3
jge 0x100361e8
lea eax, [ebp - 0x160]
push eax
push 0x100077e8
call fcn.1004ed2b
pop ecx
pop ecx
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x494], eax
mov eax, dword [ebp - 0x160]
dec eax
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x494], 0
je 0x100361e8
lea eax, [ebp - 0x380]
push eax
push 0x100077e8
call fcn.1004ed2b
pop ecx
pop ecx
mov byte [ebp - 0x25], 1
and dword [ebp - 0x100], 0
mov dword [ebp - 0xa0], 1
jmp 0x10036125
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x380]
jg 0x100361b0
lea eax, [ebp - 0x2ec]
push eax
push 0x100077e8
call fcn.1004ed2b
pop ecx
pop ecx
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10036168
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x2ec]
je 0x10036168
mov dword [ebp - 0x1d8], 1
jmp 0x1003616f
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x100]
add eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x2ec]
jne 0x1003619b
mov dword [ebp - 0x1e0], 1
jmp 0x100361a2
and dword [ebp - 0x1e0], 0
mov al, byte [ebp - 0x1e0]
mov byte [ebp - 0x25], al
jmp 0x10036118
cmp dword [ebp - 0x100], 2
jge 0x100361c7
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x288], eax
jmp 0x100361d1
mov dword [ebp - 0x288], 2
push dword [ebp - 0x288]
push 0x10007844
call fcn.1004f5a5
pop ecx
pop ecx
jmp 0x100360c8
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x128]
cmp eax, 0x9e56e623
ja 0x10036205
mov dword [ebp - 0x1e8], 1
jmp 0x1003620c
and dword [ebp - 0x1e8], 0
cmp dword [ebp - 0x1e8], 0x7684593f
jl 0x10036224
mov dword [ebp - 0x334], 1
jmp 0x1003622b
and dword [ebp - 0x334], 0
mov eax, dword [ebp - 0x148]
cmp dword [ebp - 0x334], eax
je 0x10036245
mov dword [ebp - 0x290], 1
jmp 0x1003624c
and dword [ebp - 0x290], 0
mov dword [ebp - 0x1f0], 0xe8ce
mov eax, dword [ebp - 0x1f0]
add eax, dword [ebp - 0x290]
je 0x10036276
cmp dword [ebp - 0x1c], 0
je 0x10036276
mov dword [ebp - 0x1f8], 1
jmp 0x1003627d
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x148]
cmp dword [ebp - 0x1f8], eax
jl 0x10036297
mov dword [ebp - 0x2f4], 1
jmp 0x1003629e
and dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
add eax, dword [ebp - 0x428]
jne 0x100362c6
or eax, 0xffffffff
jne 0x100362c6
and dword [ebp - 0x298], 0
jmp 0x100362d0
mov dword [ebp - 0x298], 1
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x298], eax
jg 0x100362e7
mov dword [ebp - 0x208], 1
jmp 0x100362ee
and dword [ebp - 0x208], 0
cmp dword [ebp - 0x208], 0x21589afc
jg 0x10036306
mov dword [ebp - 0x31c], 1
jmp 0x1003630d
and dword [ebp - 0x31c], 0
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x31c]
jge 0x10036327
mov dword [ebp - 0x210], 1
jmp 0x1003632e
and dword [ebp - 0x210], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x210]
mov dword [ebp + eax - 0x620], ecx
cmp dword [ebp - 0x148], 0
je 0x1003635a
mov byte [ebp - 0x39], 0
lea eax, [ebp - 0x39]
push eax
call fcn.100353ba
pop ecx
jmp 0x10036368
mov byte [ebp - 0x59], 0
lea eax, [ebp - 0x59]
push eax
call fcn.100353dc
pop ecx
mov byte [ebp - 0x49], 0
lea eax, [ebp - 0x49]
push eax
push 0
push 1
push 0x1a71
push 0x1950
push 0x3dc0
call fcn.100315e1
add esp, 0x18
jmp 0x10035f98
mov eax, dword [ebp - 0x124]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10036521
push 2
lea ecx, [ebp - 0x344]
call fcn.100165ef
mov dword [ebp - 4], 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xfc], 0
jmp 0x100363d8
mov eax, dword [ebp - 0xfc]
inc eax
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 2
jge 0x100363fa
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x344]
call fcn.100166d5
mov dword [eax], 0x9e57ad95
jmp 0x100363cb
mov dword [ebp - 0x2c], 0
mov esi, dword [ebp - 0x2c]
push 0
lea ecx, [ebp - 0x344]
call fcn.100166d5
imul esi, dword [eax]
test esi, esi
je 0x10036454
mov byte [ebp - 0x5e], 0
push 1
lea eax, [ebp - 0x5e]
push eax
push 1
push 0x39ad
call fcn.100313c6
add esp, 0x10
push 0x6174
push 1
push 1
lea eax, [ebp - 0x344]
push eax
push 0x71c7
lea eax, [ebp - 0x2c]
push eax
call fcn.100315e1
add esp, 0x18
jmp 0x100364a0
mov dword [ebp - 0x388], 0x74952f34
mov dword [ebp - 0x47c], 0x3b0a6d08
mov byte [ebp - 0x60], 0
lea eax, [ebp - 0x60]
push eax
call fcn.1003541b
pop ecx
push 0x1b8e
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x344]
push eax
push 1
lea eax, [ebp - 0x47c]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
call fcn.10031957
add esp, 0x1c
mov dword [ebp - 0x2c], 1
jmp 0x100364b0
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x1003650b
mov dword [ebp - 0x390], 0x31e7bf5c
push 0x6cad
push 1
lea eax, [ebp - 0x344]
push eax
push 0x70ec
lea eax, [ebp - 0x2c]
push eax
push 0x4707
push 0x3ad3
push 0x674b
push 1
lea eax, [ebp - 0x390]
push eax
call fcn.10031b13
add esp, 0x28
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.10035453
pop ecx
pop ecx
jmp 0x100364a9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x344]
call fcn.10016651
xor eax, eax
jmp 0x1003866e
mov dword [ebp - 0x398], 0xfffffffa
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x430], 0xffffffff
mov dword [ebp - 0x3a0], 0xffffffff
push 0
push 0x6036
lea eax, [ebp - 0x430]
push eax
push 0x4efc
lea eax, [ebp - 0x398]
push eax
push 0x32d5
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x3a0]
push eax
push 1
push 0x80a
push 1
call fcn.10032c5e
add esp, 0x2c
mov byte [ebp - 0x5b], 0
lea eax, [ebp - 0x5b]
push eax
call fcn.1003548a
pop ecx
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.100354b3
add esp, 0xc
mov dword [ebp - 0x50], 0xffffffff
push 4
lea ecx, [ebp - 0x328]
call fcn.100165ef
mov dword [ebp - 4], 5
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.100354e1
pop ecx
pop ecx
mov dword [ebp - 0x88], 0
jmp 0x100365f8
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 1
jge 0x10036614
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0x438], 0xffffffff
jmp 0x100365eb
mov dword [ebp - 0x50], 0
jmp 0x10036624
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffe8
jle 0x100367d7
mov dword [ebp - 0x24], 0xedc7555b
mov dword [ebp - 0x24], 0
jmp 0x10036645
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jg 0x100367d2
mov dword [ebp - 0x330], 0xcd1b7e2
mov dword [ebp - 0x3a8], 0x6eab3ae5
push dword [ebp - 0x24]
lea ecx, [ebp - 0x328]
call fcn.100166d5
mov ecx, dword [ebp - 0x24]
add ecx, dword [eax]
cmp ecx, 0xed1e
jne 0x100366ae
push dword [ebp - 0x24]
lea ecx, [ebp - 0x328]
call fcn.100166d5
cmp dword [eax], 0
jne 0x100366bd
push dword [ebp - 0x24]
lea ecx, [ebp - 0x328]
call fcn.100166d5
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5f0], eax
cmp dword [ebp - 0x24], 0
jne 0x100366bd
cmp dword [ebp - 0x50], 0
jne 0x100366bd
and dword [ebp - 0x2a0], 0
jmp 0x100366c7
mov dword [ebp - 0x2a0], 1
push 3
lea ecx, [ebp - 0x328]
call fcn.100166d5
mov ecx, dword [ebp - 0x2a0]
cmp ecx, dword [eax]
jl 0x100366ea
mov dword [ebp - 0x218], 1
jmp 0x100366f1
and dword [ebp - 0x218], 0
push 3
lea ecx, [ebp - 0x328]
call fcn.100166d5
mov ecx, dword [ebp - 0x218]
cmp ecx, dword [eax]
je 0x10036714
mov dword [ebp - 0x2fc], 1
jmp 0x1003671b
and dword [ebp - 0x2fc], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x2fc], eax
jle 0x10036732
mov dword [ebp - 0x220], 1
jmp 0x10036739
and dword [ebp - 0x220], 0
mov esi, dword [ebp - 0x220]
sub esi, dword [ebp - 0x50]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x328]
call fcn.100166d5
cmp esi, dword [eax]
jge 0x10036760
mov dword [ebp - 0x2a8], 1
jmp 0x10036767
and dword [ebp - 0x2a8], 0
cmp dword [ebp - 0x2a8], 0x1a6e483b
jge 0x1003677f
mov dword [ebp - 0x228], 1
jmp 0x10036786
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x330], eax
cmp dword [ebp - 0x330], 1
je 0x100367a7
mov dword [ebp - 0x130], 1
jmp 0x100367ae
and dword [ebp - 0x130], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x130]
mov dword [ebp + eax - 0x438], ecx
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x3a8], eax
jmp 0x1003663e
jmp 0x1003661d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x328]
call fcn.10016651
mov eax, dword [ebp - 0xa4]
cmp dword [eax], 0x4550
je 0x10036d8c
mov dword [ebp - 0x5d0], 0x6240
mov byte [ebp - 0x5f], 0
movzx eax, byte [ebp - 0x5f]
test eax, eax
je 0x10036d77
push 0x296c
push 0x389f
push 1
push 0x5112
push 1
push 0x2cfa
push 0
call fcn.1003500a
add esp, 0x1c
mov dword [ebp - 0x46c], 0x2004
cmp dword [ebp - 0x46c], 0x12d8
jge 0x10036d77
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xf4]
push eax
push 0x10007b28
call fcn.1004ed2b
add esp, 0x10
and dword [ebp - 0x36c], 0
lea eax, [ebp - 0x36c]
push eax
push 4
lea ecx, [ebp - 0x68c]
call fcn.10016750
mov dword [ebp - 0x440], eax
mov eax, dword [ebp - 0x440]
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 4], 6
push dword [ebp - 0x3b8]
push dword [ebp - 0x158]
lea ecx, [ebp - 0x350]
call fcn.10016887
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x68c]
call fcn.10016651
and dword [ebp - 0x38], 0
jmp 0x100368d7
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x158]
jge 0x100369df
lea eax, [ebp - 0x230]
push eax
push 0x1000784c
call fcn.1004ed2b
pop ecx
pop ecx
push 0
push dword [ebp - 0x38]
lea ecx, [ebp - 0x350]
call fcn.100168ae
mov ecx, eax
call fcn.100166d5
mov ecx, dword [ebp - 0x230]
mov dword [eax], ecx
cmp dword [ebp - 0x230], 3
jge 0x10036959
lea eax, [ebp - 0x470]
push eax
push 0x10007844
call fcn.1004ed2b
pop ecx
pop ecx
mov esi, dword [ebp - 0x470]
dec esi
push 1
push dword [ebp - 0x38]
lea ecx, [ebp - 0x350]
call fcn.100168ae
mov ecx, eax
call fcn.100166d5
mov dword [eax], esi
jmp 0x100369da
lea eax, [ebp - 0x3c8]
push eax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x3c0]
push eax
push 0x10007b28
call fcn.1004ed2b
add esp, 0x10
mov esi, dword [ebp - 0x3c0]
dec esi
push 1
push dword [ebp - 0x38]
lea ecx, [ebp - 0x350]
call fcn.100168ae
mov ecx, eax
call fcn.100166d5
mov dword [eax], esi
mov esi, dword [ebp - 0x448]
dec esi
push 2
push dword [ebp - 0x38]
lea ecx, [ebp - 0x350]
call fcn.100168ae
mov ecx, eax
call fcn.100166d5
mov dword [eax], esi
push 3
push dword [ebp - 0x38]
lea ecx, [ebp - 0x350]
call fcn.100168ae
mov ecx, eax
call fcn.100166d5
mov ecx, dword [ebp - 0x3c8]
mov dword [eax], ecx
jmp 0x100368d0
and dword [ebp - 0x478], 0
lea eax, [ebp - 0x478]
push eax
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x668]
call fcn.10016750
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x450], eax
mov byte [ebp - 4], 9
push dword [ebp - 0x450]
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x10c]
call fcn.10016887
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x668]
call fcn.10016651
mov eax, dword [ebp - 0x158]
dec eax
mov dword [ebp - 0xc4], eax
jmp 0x10036a56
mov eax, dword [ebp - 0xc4]
dec eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jl 0x10036cd6
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x350]
call fcn.100168ae
push eax
lea ecx, [ebp - 0x170]
call fcn.1001c427
mov byte [ebp - 4], 0xc
push 0
lea ecx, [ebp - 0x170]
call fcn.100166d5
cmp dword [eax], 1
jne 0x10036b69
push 1
lea ecx, [ebp - 0x170]
call fcn.100166d5
mov eax, dword [eax]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xd4]
dec eax
push eax
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x10c]
call fcn.100168ae
mov ecx, eax
call fcn.100166d5
mov eax, dword [eax]
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp - 0xd4]
dec eax
mov dword [ebp - 0x8c], eax
jmp 0x10036af3
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jle 0x10036b42
mov eax, dword [ebp - 0x8c]
dec eax
push eax
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x10c]
call fcn.100168ae
mov ecx, eax
call fcn.100166d5
mov esi, eax
push dword [ebp - 0x8c]
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x10c]
call fcn.100168ae
mov ecx, eax
call fcn.100166d5
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x10036ae6
push 0
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x10c]
call fcn.100168ae
mov ecx, eax
call fcn.100166d5
mov ecx, dword [ebp - 0x3d8]
mov dword [eax], ecx
jmp 0x10036cc2
push 0
lea ecx, [ebp - 0x170]
call fcn.100166d5
cmp dword [eax], 2
jne 0x10036c4b
push 1
lea ecx, [ebp - 0x170]
call fcn.100166d5
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
push dword [ebp - 0xcc]
mov eax, dword [ebp - 0xf4]
dec eax
push eax
lea ecx, [ebp - 0x10c]
call fcn.100168ae
mov ecx, eax
call fcn.100166d5
mov eax, dword [eax]
mov dword [ebp - 0x480], eax
mov eax, dword [ebp - 0xf4]
dec eax
mov dword [ebp - 0x94], eax
jmp 0x10036bd8
mov eax, dword [ebp - 0x94]
dec eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jle 0x10036c27
push dword [ebp - 0xcc]
mov eax, dword [ebp - 0x94]
dec eax
push eax
lea ecx, [ebp - 0x10c]
call fcn.100168ae
mov ecx, eax
call fcn.100166d5
mov esi, eax
push dword [ebp - 0xcc]
push dword [ebp - 0x94]
lea ecx, [ebp - 0x10c]
call fcn.100168ae
mov ecx, eax
call fcn.100166d5
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x10036bcb
push dword [ebp - 0xcc]
push 0
lea ecx, [ebp - 0x10c]
call fcn.100168ae
mov ecx, eax
call fcn.100166d5
mov ecx, dword [ebp - 0x480]
mov dword [eax], ecx
jmp 0x10036cc2
push 0
lea ecx, [ebp - 0x170]
call fcn.100166d5
cmp dword [eax], 3
jne 0x10036cc2
push 1
lea ecx, [ebp - 0x170]
call fcn.100166d5
mov eax, dword [eax]
mov dword [ebp - 0x458], eax
push 2
lea ecx, [ebp - 0x170]
call fcn.100166d5
mov eax, dword [eax]
mov dword [ebp - 0x3e0], eax
push 3
lea ecx, [ebp - 0x170]
call fcn.100166d5
mov eax, dword [eax]
mov dword [ebp - 0x3e8], eax
push dword [ebp - 0x3e0]
push dword [ebp - 0x458]
lea ecx, [ebp - 0x10c]
call fcn.100168ae
mov ecx, eax
call fcn.100166d5
mov ecx, dword [ebp - 0x3e8]
mov dword [eax], ecx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x170]
call fcn.10016651
jmp 0x10036a49
and dword [ebp - 0xdc], 0
jmp 0x10036cec
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0xf4]
jge 0x10036d59
and dword [ebp - 0xec], 0
jmp 0x10036d10
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
cmp eax, dword [ebp - 0xd4]
jge 0x10036d4c
push dword [ebp - 0xec]
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x10c]
call fcn.100168ae
mov ecx, eax
call fcn.100166d5
push dword [eax]
push 0x1000784c
call fcn.1004f5a5
pop ecx
pop ecx
jmp 0x10036d03
push 0x10007751
call fcn.1004f8f6
pop ecx
jmp 0x10036cdf
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10c]
call fcn.100168a9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x350]
call fcn.100168a9
mov byte [ebp - 0x3a], 0
lea eax, [ebp - 0x3a]
push eax
call fcn.10035529
pop ecx
xor eax, eax
jmp 0x1003866e
lea eax, [ebp - 0xbc]
push eax
push 1
push dword [ebp - 0xa4]
push 1
call fcn.1003034a
add esp, 0x10
mov dword [ebp - 0x474], 0x5047c4d1
mov dword [ebp - 0x420], 1
mov dword [ebp - 0x110], 0x299e885d
mov dword [ebp - 0x240], 0x275ff444
mov dword [ebp - 0x74], 0xfffffff7
mov dword [ebp - 0x610], 1
mov dword [ebp - 0x5d8], 0xc7a88ff7
mov dword [ebp - 0x5f8], 0x222c7e12
mov dword [ebp - 0x5e0], 0xfffffff6
mov dword [ebp - 0x608], 0xb927eed0
mov dword [ebp - 0x5e8], 0
push 2
lea ecx, [ebp - 0x59c]
call fcn.100165ef
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x488], 0x1466
cmp dword [ebp - 0x488], 0x44e
jge 0x1003726d
lea ecx, [ebp - 0x2d4]
call fcn.10015ed2
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x570]
call fcn.10015ed2
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x644]
call fcn.10015ed2
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x6a4]
call fcn.10015ed2
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x680]
call fcn.10015ed2
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x65c]
call fcn.10015ed2
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x3f0]
push eax
mov ecx, 0x10657dd0
call fcn.10015f8e
lea edx, [ebp - 0x2d4]
mov ecx, 0x10657dd0
call fcn.1001b06e
mov dword [ebp - 0x138], 1
jmp 0x10036ed2
mov eax, dword [ebp - 0x138]
inc eax
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x3f0]
jg 0x10037213
lea edx, [ebp - 0x2d4]
mov ecx, 0x10657dd0
call fcn.1001b06e
lea edx, [ebp - 0x570]
mov ecx, 0x10657dd0
call fcn.1001b06e
push 0
push 0x10007b5c
lea ecx, [ebp - 0x2d4]
call fcn.10015f57
mov dword [ebp - 0x58], eax
push 0
push 0x10007b60
lea ecx, [ebp - 0x2d4]
call fcn.10015f57
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x58]
inc eax
push eax
push 0x10007b5c
lea ecx, [ebp - 0x2d4]
call fcn.10015f57
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x9c]
inc eax
push eax
push 0x10007b60
lea ecx, [ebp - 0x2d4]
call fcn.10015f57
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0x58]
dec eax
push eax
mov eax, dword [ebp - 0x58]
inc eax
push eax
lea eax, [ebp - 0x6f4]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.1003884b
mov dword [ebp - 0x460], eax
push dword [ebp - 0x460]
lea ecx, [ebp - 0x644]
call fcn.10016ac6
lea ecx, [ebp - 0x6f4]
call fcn.10015f35
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0x9c]
dec eax
push eax
mov eax, dword [ebp - 0x9c]
inc eax
push eax
lea eax, [ebp - 0x76c]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.1003884b
mov dword [ebp - 0x3f8], eax
push dword [ebp - 0x3f8]
lea ecx, [ebp - 0x6a4]
call fcn.10016ac6
lea ecx, [ebp - 0x76c]
call fcn.10015f35
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0xb8]
dec eax
push eax
mov eax, dword [ebp - 0xb8]
inc eax
push eax
lea eax, [ebp - 0x73c]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.1003884b
mov dword [ebp - 0x490], eax
push dword [ebp - 0x490]
lea ecx, [ebp - 0x680]
call fcn.10016ac6
lea ecx, [ebp - 0x73c]
call fcn.10015f35
lea ecx, [ebp - 0x2d4]
call fcn.10015f53
sub eax, dword [ebp - 0xc0]
dec eax
push eax
mov eax, dword [ebp - 0xc0]
inc eax
push eax
lea eax, [ebp - 0x70c]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.1003884b
mov dword [ebp - 0x400], eax
push dword [ebp - 0x400]
lea ecx, [ebp - 0x65c]
call fcn.10016ac6
lea ecx, [ebp - 0x70c]
call fcn.10015f35
push 1
push dword [ebp - 0x58]
lea ecx, [ebp - 0x2d4]
call fcn.10018785
push 1
mov eax, dword [ebp - 0x9c]
dec eax
push eax
lea ecx, [ebp - 0x2d4]
call fcn.10018785
push 1
mov eax, dword [ebp - 0xb8]
dec eax
dec eax
push eax
lea ecx, [ebp - 0x2d4]
call fcn.10018785
push 1
mov eax, dword [ebp - 0xc0]
sub eax, 3
push eax
lea ecx, [ebp - 0x2d4]
call fcn.10018785
push fcn.1001aff1
lea edx, [ebp - 0x2d4]
mov ecx, 0x10657d18
call fcn.10038e14
mov ecx, eax
call fcn.1001617d
push 0
push 0x10007b64
lea ecx, [ebp - 0x570]
call fcn.10015f57
mov dword [ebp - 0x58], eax
push 3
push dword [ebp - 0x58]
lea ecx, [ebp - 0x570]
call fcn.10018785
lea eax, [ebp - 0x6a4]
push eax
lea edx, [ebp - 0x680]
lea ecx, [ebp - 0x784]
call fcn.10039006
pop ecx
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x408], eax
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x644]
push eax
mov edx, dword [ebp - 0x408]
lea ecx, [ebp - 0x754]
call fcn.10039098
pop ecx
mov dword [ebp - 0x498], eax
mov eax, dword [ebp - 0x498]
mov dword [ebp - 0x410], eax
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x65c]
push eax
mov edx, dword [ebp - 0x410]
lea ecx, [ebp - 0x724]
call fcn.10039098
pop ecx
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x418], eax
mov byte [ebp - 4], 0x16
push dword [ebp - 0x418]
push dword [ebp - 0x58]
lea ecx, [ebp - 0x570]
call fcn.10038812
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x724]
call fcn.10015f35
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x754]
call fcn.10015f35
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x784]
call fcn.10015f35
push fcn.1001aff1
lea edx, [ebp - 0x570]
mov ecx, 0x10657d18
call fcn.10038e14
mov ecx, eax
call fcn.1001617d
jmp 0x10036ec5
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x65c]
call fcn.10015f35
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x680]
call fcn.10015f35
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x6a4]
call fcn.10015f35
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x644]
call fcn.10015f35
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x570]
call fcn.10015f35
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2d4]
call fcn.10015f35
push 0x43f8
push 0x4a58
push 1
push 1
lea eax, [ebp - 0x59c]
push eax
push 0x5daa
push 1
lea eax, [ebp - 0x84]
push eax
call fcn.10031eeb
add esp, 0x20
mov dword [ebp - 0x84], 0
jmp 0x100372b1
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 3
jge 0x100372cd
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x580], 0x969fbc0a
jmp 0x100372a4
push 1
push 1
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x6603
lea eax, [ebp - 0x420]
push eax
call fcn.10032026
add esp, 0x20
mov dword [ebp - 0x74], 0
jmp 0x1003730e
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xa
jg 0x1003752e
mov dword [ebp - 0x248], 0x187b35f1
mov dword [ebp - 0x600], 0x89aa5088
mov dword [ebp - 0xc8], 0
jmp 0x10037345
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 3
jge 0x10037361
mov eax, dword [ebp - 0xc8]
mov dword [ebp + eax*4 - 0x62c], 0xfffffffb
jmp 0x10037338
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x580]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x580], eax
cmp dword [ebp - 0x110], 0
je 0x10037524
mov dword [ebp - 0x528], 0x51c18cc9
mov dword [ebp - 0x524], 0x51c18cc9
mov dword [ebp - 0x520], 0x51c18cc9
mov dword [ebp - 0x51c], 0x51c18cc9
lea ecx, [ebp - 0x14d]
call fcn.10016739
push eax
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x528]
push eax
lea ecx, [ebp - 0x6d4]
call fcn.1001673c
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x58c]
call fcn.1001662b
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x114], 0x1956a74a
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x62c], 1
ja 0x10037410
mov dword [ebp - 0x2b0], 1
jmp 0x10037417
and dword [ebp - 0x2b0], 0
cmp dword [ebp - 0x2b0], 0xffffffff
jae 0x1003742c
mov dword [ebp - 0x238], 1
jmp 0x10037433
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x248]
imul eax, dword [ebp - 0x238]
cmp eax, 1
ja 0x10037451
mov dword [ebp - 0x304], 1
jmp 0x10037458
and dword [ebp - 0x304], 0
mov eax, dword [ebp - 0x74]
imul eax, dword [ebp - 0x304]
test eax, eax
je 0x1003747b
cmp dword [ebp - 0x240], 0
je 0x1003747b
mov dword [ebp - 0x2b8], 1
jmp 0x10037482
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0x114]
cmp dword [ebp - 0x2b8], eax
jle 0x1003749c
mov dword [ebp - 0x370], 1
jmp 0x100374a3
and dword [ebp - 0x370], 0
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x5e4], eax
push 1
lea ecx, [ebp - 0x58c]
call fcn.100166d5
mov dword [eax], 0xd7efbae5
cmp dword [ebp - 0x248], 0xd7efbae5
jl 0x100374da
mov dword [ebp - 0x32c], 1
jmp 0x100374e1
and dword [ebp - 0x32c], 0
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x32c]
cmp eax, 0xd72
jg 0x10037500
mov dword [ebp - 0x250], 1
jmp 0x10037507
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x58c]
call fcn.10016651
jmp 0x10037529
call fcn.1003554e
jmp 0x10037307
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x59c]
call fcn.10016651
cmp dword [ebp - 0xbc], 0
jne 0x1003756d
push 1
push 0x571b
push 0x2f32
push 0x6a12
push 0x4b55
push 1
call fcn.100322e2
add esp, 0x18
xor eax, eax
jmp 0x1003866e
push 3
lea ecx, [ebp - 0x540]
call fcn.100165ef
mov dword [ebp - 4], 0x18
push 3
lea ecx, [ebp - 0x54c]
call fcn.100165ef
mov byte [ebp - 4], 0x19
push 0x31be
push 1
push 0x46d5
push 1
push 0x119a
lea eax, [ebp - 0x394]
push eax
push 0x6972
lea eax, [ebp - 0x540]
push eax
push 0x21e4
push 0x37fc
push 0x12e5
call fcn.1003253d
add esp, 0x2c
mov dword [ebp - 0x37c], 0x2635
cmp dword [ebp - 0x37c], 0xe6f
jge 0x100376a6
lea eax, [ebp - 0x11c]
push eax
push 0x100077e8
call fcn.1004ed2b
pop ecx
pop ecx
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x384], eax
mov eax, dword [ebp - 0x11c]
dec eax
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x384], 0
je 0x100376a6
lea eax, [ebp - 0x178]
push eax
push 0x100077e8
call fcn.1004ed2b
pop ecx
pop ecx
push 0x8b
push dword [ebp - 0x178]
call fcn.1002eec4
pop ecx
pop ecx
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x178]
cdq
idiv dword [ebp - 0x17c]
mov dword [ebp - 0x38c], eax
mov eax, 0x8b
cdq
idiv dword [ebp - 0x17c]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x38c]
inc eax
cmp eax, dword [ebp - 0xd0]
jne 0x1003768f
mov eax, dword [ebp - 0xd0]
shl eax, 1
mov dword [ebp - 0xd0], eax
push dword [ebp - 0xd0]
push 0x10007844
call fcn.1004f5a5
pop ecx
pop ecx
jmp 0x100375fc
push 1
push 0xdc0
lea eax, [ebp - 0x54c]
push eax
push 0x2c56
lea eax, [ebp - 0x394]
push eax
push 0x13e
push 0x5672
push 1
push 0x5fb1
call fcn.1003265a
add esp, 0x24
push 1
lea ecx, [ebp - 0x54c]
call fcn.100166d5
mov dword [ebp - 0x184], eax
push 1
lea ecx, [ebp - 0x540]
call fcn.100166d5
mov ecx, dword [ebp - 0x184]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x184]
cmp dword [eax], 0
je 0x10037748
mov dword [ebp - 0xd8], 0xfffffff7
mov dword [ebp - 0xd8], 0
jmp 0x10037731
mov eax, dword [ebp - 0xd8]
dec eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0xfffffff9
jge 0x10037741
call fcn.10035579
jmp 0x10037724
call fcn.100355bc
jmp 0x10037798
mov dword [ebp - 0xe0], 0
jmp 0x10037761
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 1
jge 0x1003777d
mov eax, dword [ebp - 0xe0]
mov dword [ebp + eax*4 - 0x18c], 1
jmp 0x10037754
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x18c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x18c], eax
push 1
push 0x5a4d
push 0x6f87
push 0x6ca1
push 0x6f7c
push 0x36c6
push 0x3c6a
push 0x6dc6
push 1
push 0x23c8
push 1
call fcn.10032c5e
add esp, 0x2c
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x54c]
call fcn.10016651
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x540]
call fcn.10016651
push 1
lea eax, [ebp - 0x5ec]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0xa4]
push 1
push dword [ebp - 0x124]
call fcn.100304da
add esp, 0x1c
mov dword [ebp - 0x10], 0xfffffffc
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x18], 0xfffe
mov dword [ebp - 0x30], 0x11589a45
mov dword [ebp - 0xb0], 0x88558b04
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x500], 1
mov dword [ebp - 0x4fc], 1
mov dword [ebp - 0x4f8], 1
mov dword [ebp - 0x4f4], 1
lea ecx, [ebp - 0x115]
call fcn.10016739
push eax
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x500]
push eax
lea ecx, [ebp - 0x6cc]
call fcn.1001673c
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x4bc]
call fcn.1001662b
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x2bc], 0xffffffff
mov dword [ebp - 0x2d8], 0
cmp dword [ebp - 0x10], 0
je 0x10037cc8
cmp dword [ebp - 0x10], 0
jne 0x100378d7
mov dword [ebp - 0x1c4], 1
jmp 0x100378de
and dword [ebp - 0x1c4], 0
cmp dword [ebp - 0x10], 1
jne 0x100378f0
mov dword [ebp - 0x194], 1
jmp 0x100378f7
and dword [ebp - 0x194], 0
cmp dword [ebp - 0x194], 0xd4c3f121
ja 0x1003790f
mov dword [ebp - 0x19c], 1
jmp 0x10037916
and dword [ebp - 0x19c], 0
cmp dword [ebp - 0x19c], 0
jle 0x1003792b
mov dword [ebp - 0x1a4], 1
jmp 0x10037932
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1a4], eax
jge 0x10037949
mov dword [ebp - 0x39c], 1
jmp 0x10037950
and dword [ebp - 0x39c], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x5f4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x5fc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x604], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jge 0x10037982
cmp dword [ebp - 0x10], 0
jne 0x10037982
and dword [ebp - 0x1ac], 0
jmp 0x1003798c
mov dword [ebp - 0x1ac], 1
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x20], eax
jle 0x100379a9
mov dword [ebp - 0x1b4], 1
jmp 0x100379b0
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1b4], eax
jne 0x100379c7
mov dword [ebp - 0x1bc], 1
jmp 0x100379ce
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1bc], eax
jl 0x100379e5
mov dword [ebp - 0x1cc], 1
jmp 0x100379ec
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x1c4]
cmp eax, dword [ebp - 0x1cc]
jne 0x10037a06
mov dword [ebp - 0x1d4], 1
jmp 0x10037a0d
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1d4], eax
jne 0x10037a24
mov dword [ebp - 0x3a4], 1
jmp 0x10037a2b
and dword [ebp - 0x3a4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x60c], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x20], eax
jne 0x10037a48
mov dword [ebp - 0x3ac], 1
jmp 0x10037a4f
and dword [ebp - 0x3ac], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x614], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c8], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x20], eax
jl 0x10037a75
mov dword [ebp - 0x1dc], 1
jmp 0x10037a7c
and dword [ebp - 0x1dc], 0
cmp dword [ebp - 0x1dc], 0
jl 0x10037a8b
cmp dword [ebp - 0x18], 0
je 0x10037a92
push 2
pop eax
test eax, eax
jne 0x10037aa7
cmp dword [ebp - 0x20], 0
jne 0x10037aa7
cmp dword [ebp - 0x10], 0
jne 0x10037aa7
and dword [ebp - 0x1e4], 0
jmp 0x10037ab1
mov dword [ebp - 0x1e4], 1
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1e4], eax
jg 0x10037ac8
mov dword [ebp - 0x1ec], 1
jmp 0x10037acf
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1ec], eax
jle 0x10037aec
mov eax, 0xfce9
test eax, eax
jne 0x10037aec
and dword [ebp - 0x1f4], 0
jmp 0x10037af6
mov dword [ebp - 0x1f4], 1
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x1fc], 1
jmp 0x10037b12
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1fc]
cmp eax, dword [ebp - 0x18]
jne 0x10037b2c
mov dword [ebp - 0x204], 1
jmp 0x10037b33
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x204]
sub eax, dword [ebp - 0x18]
add eax, 0xa
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xb0], eax
jge 0x10037b5c
mov dword [ebp - 0x20c], 1
jmp 0x10037b63
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20c]
add eax, 0x3d55f422
jne 0x10037b7f
cmp dword [ebp - 0x30], 0
jne 0x10037b7f
and dword [ebp - 0x214], 0
jmp 0x10037b89
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x214], eax
je 0x10037ba0
mov dword [ebp - 0x21c], 1
jmp 0x10037ba7
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x21c], eax
jne 0x10037bbe
mov dword [ebp - 0x224], 1
jmp 0x10037bc5
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x224], eax
jge 0x10037bdc
mov dword [ebp - 0x22c], 1
jmp 0x10037be3
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x22c]
cmp eax, dword [ebp - 0x10]
jl 0x10037bfe
mov dword [ebp - 0x234], 1
jmp 0x10037c05
and dword [ebp - 0x234], 0
cmp dword [ebp - 0x234], 2
jae 0x10037c1a
mov dword [ebp - 0x174], 1
jmp 0x10037c21
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x10037c43
push 8
pop eax
test eax, eax
je 0x10037c43
mov dword [ebp - 0x244], 1
jmp 0x10037c4a
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x244], eax
jle 0x10037c61
mov dword [ebp - 0x3b4], 1
jmp 0x10037c68
and dword [ebp - 0x3b4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x5a0], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x590], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x10037c8c
mov dword [ebp - 0x24c], 1
jmp 0x10037c93
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x24c], eax
jle 0x10037caa
mov dword [ebp - 0x254], 1
jmp 0x10037cb1
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x254]
sub eax, dword [ebp - 0x18]
je 0x10037cc8
mov dword [ebp - 0x25c], 1
jmp 0x10037ccf
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0x25c]
cmp eax, dword [ebp - 0x30]
jl 0x10037cea
mov dword [ebp - 0x12c], 1
jmp 0x10037cf1
and dword [ebp - 0x12c], 0
push 2
lea ecx, [ebp - 0x4bc]
call fcn.100166d5
mov ecx, dword [ebp - 0x12c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x12c]
cmp eax, dword [ebp - 0x18]
jge 0x10037d43
mov dword [ebp - 0x3bc], 0
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100355e1
pop ecx
pop ecx
mov byte [ebp - 0x3b], 0
lea eax, [ebp - 0x3b]
push eax
call fcn.10035631
pop ecx
jmp 0x100382ef
mov dword [ebp - 0xf0], 0xe89e
mov dword [ebp - 0x3e4], 0xe340cfce
mov dword [ebp - 0x144], 0xb14a51e2
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x294], 8
push 2
lea ecx, [ebp - 0x534]
call fcn.100165ef
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x3c4], 0x1c33
cmp dword [ebp - 0x3c4], 0x4da
jge 0x1003802f
lea eax, [ebp - 0x134]
push eax
push 0x100077e8
call fcn.1004ed2b
pop ecx
pop ecx
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x3cc], eax
mov eax, dword [ebp - 0x134]
dec eax
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x3cc], 0
je 0x1003802f
lea eax, [ebp - 0x78]
push eax
push 0x100077e8
call fcn.1004ed2b
pop ecx
pop ecx
and dword [ebp - 0x3d4], 0
lea eax, [ebp - 0x3d4]
push eax
mov eax, dword [ebp - 0x78]
shl eax, 1
push eax
lea ecx, [ebp - 0x35c]
call fcn.10016750
mov byte [ebp - 4], 0x1c
mov byte [ebp - 0x5d], 0
lea eax, [ebp - 0x5d]
push eax
mov eax, dword [ebp - 0x78]
lea eax, [eax + eax + 1]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.100168bb
mov byte [ebp - 4], 0x1d
mov byte [ebp - 0x11], 1
and dword [ebp - 0xa8], 0
jmp 0x10037e45
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x78]
jge 0x10037ecf
lea eax, [ebp - 0x13c]
push eax
push 0x100077e8
call fcn.1004ed2b
pop ecx
pop ecx
mov eax, dword [ebp - 0xa8]
shl eax, 1
push eax
lea ecx, [ebp - 0x35c]
call fcn.100166d5
mov ecx, dword [ebp - 0x13c]
mov dword [eax], ecx
push dword [ebp - 0x13c]
lea eax, [ebp - 0x6dc]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.1001693c
mov ecx, eax
call fcn.10016980
movzx eax, al
test eax, eax
je 0x10037ea9
mov byte [ebp - 0x11], 0
push 1
push dword [ebp - 0x13c]
lea eax, [ebp - 0x6c4]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.1001693c
mov ecx, eax
call fcn.1001695b
jmp 0x10037e38
and dword [ebp - 0x70], 0
jmp 0x10037edc
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10037fa8
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x78]
jge 0x10037fa8
mov eax, dword [ebp - 0x70]
shl eax, 1
push eax
lea ecx, [ebp - 0x35c]
call fcn.100166d5
mov eax, dword [eax]
mov dword [ebp - 0x3dc], eax
mov eax, dword [ebp - 0x3dc]
inc eax
mov dword [ebp - 0x68], eax
jmp 0x10037f20
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x78]
shl eax, 1
cmp dword [ebp - 0x68], eax
jg 0x10037f87
push dword [ebp - 0x68]
lea eax, [ebp - 0x6b4]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.1001693c
mov ecx, eax
call fcn.10016980
movzx eax, al
test eax, eax
jne 0x10037f85
push 1
push dword [ebp - 0x68]
lea eax, [ebp - 0x6bc]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.1001693c
mov ecx, eax
call fcn.1001695b
mov eax, dword [ebp - 0x70]
lea eax, [eax + eax + 1]
push eax
lea ecx, [ebp - 0x35c]
call fcn.100166d5
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
jmp 0x10037f87
jmp 0x10037f19
mov eax, dword [ebp - 0x70]
lea eax, [eax + eax + 1]
push eax
lea ecx, [ebp - 0x35c]
call fcn.100166d5
cmp dword [eax], 0
jne 0x10037fa3
mov byte [ebp - 0x11], 0
jmp 0x10037ed5
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10038001
and dword [ebp - 0xe8], 0
jmp 0x10037fc6
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x78]
shl eax, 1
cmp dword [ebp - 0xe8], eax
jge 0x10037ff4
push dword [ebp - 0xe8]
lea ecx, [ebp - 0x35c]
call fcn.100166d5
push dword [eax]
push 0x1000784c
call fcn.1004f5a5
pop ecx
pop ecx
jmp 0x10037fb9
push 0x10007751
call fcn.1004f8f6
pop ecx
jmp 0x1003800c
push 0x10007a64
call fcn.1004f8f6
pop ecx
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x4ec]
call fcn.1001691c
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x35c]
call fcn.10016651
jmp 0x10037db3
lea eax, [ebp - 0x534]
push eax
push 0x4702
push 1
push 1
push 0x187f
lea eax, [ebp - 0x5a4]
push eax
push 0x752b
call fcn.100332cc
add esp, 0x1c
cmp dword [ebp - 0xf0], 0
jne 0x10038073
mov eax, 0xf7cc8272
test eax, eax
jne 0x10038073
and dword [ebp - 0x264], 0
jmp 0x1003807d
mov dword [ebp - 0x264], 1
mov eax, dword [ebp - 0x264]
sub eax, dword [ebp - 0xf0]
mov dword [ebp - 0x3e4], eax
cmp dword [ebp - 0x144], 0xec4
je 0x100380a7
mov dword [ebp - 0x26c], 1
jmp 0x100380ae
and dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0x144]
cmp dword [ebp - 0x26c], eax
je 0x100380c8
mov dword [ebp - 0x274], 1
jmp 0x100380cf
and dword [ebp - 0x274], 0
mov dword [ebp - 0x20], 0x93cdb7cf
mov eax, dword [ebp - 0x274]
add eax, 8
cmp dword [ebp - 0x20], eax
jle 0x100380f0
mov dword [ebp - 0x27c], 1
jmp 0x100380f7
and dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x27c]
jg 0x1003810e
mov dword [ebp - 0x284], 1
jmp 0x10038115
and dword [ebp - 0x284], 0
push 2
lea ecx, [ebp - 0x4bc]
call fcn.100166d5
mov eax, dword [eax]
sub eax, dword [ebp - 0x284]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0x31225765
jg 0x10038148
mov dword [ebp - 0x28c], 1
jmp 0x1003814f
and dword [ebp - 0x28c], 0
mov eax, dword [ebp - 0xf0]
add eax, dword [ebp - 0x28c]
je 0x10038187
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10035664
add esp, 0x14
jmp 0x100382e0
mov dword [ebp - 0x4dc], 0x626c4802
mov dword [ebp - 0x4d8], 0x626c4802
mov dword [ebp - 0x4d4], 0x626c4802
mov dword [ebp - 0x4d0], 0x626c4802
lea eax, [ebp - 0x534]
push eax
push 1
push 1
lea eax, [ebp - 0xf0]
push eax
push 1
push 0x4ea0
push 0x358d
call fcn.100333c1
add esp, 0x1c
mov dword [ebp - 0x80], 0
jmp 0x100381e5
mov eax, dword [ebp - 0x80]
dec eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xfffffffd
jl 0x100382e0
mov dword [ebp - 0xac], 0xfc02
cmp dword [ebp - 0xac], 0
je 0x1003822d
mov eax, dword [ebp - 0xb0]
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x4dc]
add ecx, dword [ebp - 0x2bc]
imul eax, ecx
test eax, eax
je 0x1003822d
mov dword [ebp - 0x29c], 1
jmp 0x10038234
and dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x294]
cmp dword [ebp - 0x29c], eax
je 0x1003824e
mov dword [ebp - 0x2a4], 1
jmp 0x10038255
and dword [ebp - 0x2a4], 0
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0x2a4], eax
je 0x1003826f
mov dword [ebp - 0x3ec], 1
jmp 0x10038276
and dword [ebp - 0x3ec], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0xf8]
cmp dword [ebp + eax - 0x4dc], ecx
jg 0x1003829c
cmp dword [ebp - 0xac], 0
jne 0x1003829c
and dword [ebp - 0x2ac], 0
jmp 0x100382a6
mov dword [ebp - 0x2ac], 1
cmp dword [ebp - 0x2ac], 0x871cfee8
jb 0x100382be
mov dword [ebp - 0x2b4], 1
jmp 0x100382c5
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0xac]
imul eax, dword [ebp - 0x2b4]
imul eax, eax, 0
mov dword [ebp - 0x2d8], eax
jmp 0x100381de
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x534]
call fcn.10016651
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x4bc]
push eax
call fcn.10010ac4
add esp, 0x1c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4bc]
call fcn.10016651
push 1
push 0x3b30
push dword [ebp + 8]
push dword [ebp - 0x34]
push dword [ebp - 0xa4]
push 1
call fcn.1002676f
add esp, 0x18
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xbc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x3f4], ecx
push 2
lea ecx, [ebp - 0x368]
call fcn.100165ef
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0x98], 0
jmp 0x1003838d
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 3
jge 0x100383a9
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x5b4], 0xfffffff9
jmp 0x10038380
push 0x1afb
lea eax, [ebp - 0x368]
push eax
push 0x4064
push 1
push 0x76a4
push 1
push 0x23a8
push 1
push 0x58c5
lea eax, [ebp - 0x98]
push eax
call fcn.100334ea
add esp, 0x28
mov byte [ebp - 0x41], 0
lea eax, [ebp - 0x41]
push eax
call fcn.100356f2
pop ecx
push 1
lea ecx, [ebp - 0x368]
call fcn.100166d5
and dword [eax], 0
jmp 0x10038422
push 1
lea ecx, [ebp - 0x368]
call fcn.100166d5
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x2e0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x2e0]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x368]
call fcn.100166d5
cmp dword [eax], 2
jg 0x10038467
mov byte [ebp - 0x5a], 0
lea eax, [ebp - 0x5a]
push eax
call fcn.10035727
pop ecx
push 4
pop eax
imul esi, eax, 0
push 1
lea ecx, [ebp - 0x368]
call fcn.100166d5
mov eax, dword [eax]
mov ecx, dword [ebp + esi - 0x5b4]
mov dword [ebp + eax*4 - 0x5b4], ecx
jmp 0x100383fe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x368]
call fcn.10016651
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3f4]
push eax
call fcn.10035766
pop ecx
pop ecx
push dword [ebp - 0x34]
call fcn.1002f571
pop ecx
test eax, eax
jne 0x1003849c
xor eax, eax
jmp 0x1003866e
push 1
push 0
push 1
push 0x42cc
push dword [ebp - 0x34]
push 0x2d2e
call fcn.1002a279
add esp, 0x18
mov dword [ebp - 0x3fc], 0x195f
cmp dword [ebp - 0x3fc], 0x9a8
jge 0x1003857b
lea eax, [ebp - 0x404]
push eax
push 0x10007844
call fcn.1004ed2b
pop ecx
pop ecx
mov dword [ebp - 0x154], 0x4d
and dword [ebp - 0x15c], 0
and dword [ebp - 0x14c], 0
jmp 0x1003850b
mov eax, dword [ebp - 0x14c]
inc eax
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
cmp eax, dword [ebp - 0x404]
jge 0x10038569
lea eax, [ebp - 0x2e8]
push eax
lea eax, [ebp - 0x40c]
push eax
push 0x100078f0
call fcn.1004ed2b
add esp, 0xc
mov eax, dword [ebp - 0x2e8]
cmp eax, dword [ebp - 0x154]
jge 0x1003854e
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
imul eax, dword [ebp - 0x40c]
add eax, dword [ebp - 0x15c]
mov dword [ebp - 0x15c], eax
jmp 0x100384fe
push dword [ebp - 0x15c]
push 0x10007844
call fcn.1004f5a5
pop ecx
pop ecx
mov dword [ebp - 0x414], 1
lea eax, [ebp - 0x414]
push eax
call fcn.100357a9
pop ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x100385f9
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xbc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x2f0], ecx
jne 0x100385ba
xor eax, eax
jmp 0x1003866e
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x2f0]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x100385df
xor eax, eax
jmp 0x1003866e
lea eax, [ebp - 0x34]
push eax
push 1
push 0x1cc1
push 0x19c
push 1
call fcn.100346ac
add esp, 0x14
mov dword [ebp - 0x2f8], 1
mov dword [ebp - 0x424], 0x3250e6da
push 0x34d3
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x2f8]
push eax
push 0xeb1
push 0x25c1
push 0x3cbe
push 1
push 1
push 0x79aa
call fcn.10034780
add esp, 0x24
lea eax, [ebp - 0x2f8]
push eax
call fcn.10035800
pop ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x10], 0
je 0x10038661
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x300], eax
jmp 0x10038668
and dword [ebp - 0x300], 0
mov eax, dword [ebp - 0x300]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret