Function at 0x1003685b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100722f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c4
and dword [ebp - 0x238], 0
mov dword [ebp - 0x38], 0x71d976ff
mov dword [ebp - 0x240], 4
mov dword [ebp - 0xe0], 5
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x28], 0
jmp 0x100368b2
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x100368c5
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x20], 0xe307b5ca
jmp 0x100368ab
mov dword [ebp - 0x28], 0
jmp 0x100368d5
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x100368eb
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x40c], 0x41ab7a3e
jmp 0x100368ce
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x1003695f
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x20], 0
jne 0x10036953
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x20]
cmp dword [ebp - 0x38], eax
jg 0x1003691f
mov dword [ebp - 0x300], 1
jmp 0x10036926
and dword [ebp - 0x300], 0
cmp dword [ebp - 0x300], 0xec01
jg 0x1003693e
mov dword [ebp - 0x328], 1
jmp 0x10036945
and dword [ebp - 0x328], 0
mov eax, dword [ebp - 0x328]
sub eax, dword [ebp - 0x38]
cmp dword [ebp - 0x38], eax
jg 0x1003695f
mov dword [ebp - 0x330], 1
jmp 0x10036966
and dword [ebp - 0x330], 0
cmp dword [ebp - 0x330], 0x39b642c
jle 0x10036aac
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x80], 0xffffffff
mov byte [ebp - 0x4f], 0
movzx eax, byte [ebp - 0x4f]
test eax, eax
je 0x100369a1
push 0x2768
push 1
call fcn.10036669
pop ecx
pop ecx
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x20], 0
jne 0x10036a90
mov eax, dword [ebp - 0x12c]
neg eax
jne 0x100369dc
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x12c]
cmp dword [ebp - 0x80], eax
jl 0x100369dc
and dword [ebp - 0x244], 0
jmp 0x100369e6
mov dword [ebp - 0x244], 1
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x244], eax
jg 0x100369fd
mov dword [ebp - 0x2b4], 1
jmp 0x10036a04
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x240]
cmp dword [ebp - 0x2b4], eax
jle 0x10036a1e
mov dword [ebp - 0x154], 1
jmp 0x10036a25
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x154], eax
jl 0x10036a3c
mov dword [ebp - 0x334], 1
jmp 0x10036a43
and dword [ebp - 0x334], 0
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x334]
jne 0x10036a52
cmp dword [ebp - 0x80], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x20], 0x2967684a
jge 0x10036a6e
mov dword [ebp - 0x15c], 1
jmp 0x10036a75
and dword [ebp - 0x15c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x20]
cmp dword [ebp - 0x15c], eax
je 0x10036a90
and dword [ebp - 0x2bc], 0
jmp 0x10036a9a
mov dword [ebp - 0x2bc], 1
imul eax, dword [ebp - 0x2bc], 0xfffc
mov dword [ebp - 0x38], eax
jmp 0x10036bc5
mov dword [ebp - 0x64], 0x7826243a
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x20], 0
jne 0x10036acf
cmp dword [ebp - 0x64], 0
jne 0x10036acf
and dword [ebp - 0x174], 0
jmp 0x10036ad9
mov dword [ebp - 0x174], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x64]
cmp dword [ebp + eax - 0x20], ecx
jg 0x10036af4
mov dword [ebp - 0x164], 1
jmp 0x10036afb
and dword [ebp - 0x164], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x20]
cmp dword [ebp - 0x164], eax
jg 0x10036b1f
cmp dword [ebp - 0x240], 0
jne 0x10036b1f
and dword [ebp - 0x16c], 0
jmp 0x10036b29
mov dword [ebp - 0x16c], 1
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x38], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x20]
cmp eax, dword [ebp - 0x38]
jg 0x10036b4d
mov dword [ebp - 0x248], 1
jmp 0x10036b54
and dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x64]
imul eax, dword [ebp - 0x248]
cmp dword [ebp - 0x174], eax
jge 0x10036b72
mov dword [ebp - 0x250], 1
jmp 0x10036b79
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x64]
imul ecx, dword [ebp - 0x250]
push 4
pop edx
imul edx, edx, 0
sub ecx, dword [ebp + edx - 0x20]
sub ecx, dword [ebp - 0xe0]
sub ecx, dword [ebp - 0x64]
sub eax, ecx
cmp eax, dword [ebp - 0x7c]
jne 0x10036bac
mov dword [ebp - 0x17c], 1
jmp 0x10036bb3
and dword [ebp - 0x17c], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x17c]
mov dword [ebp + eax - 0x40c], ecx
mov dword [ebp - 0x7c], 0
jmp 0x10036bd5
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 3
jne 0x10036d72
mov dword [ebp - 0x78], 0xfffffff6
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x1a4], 1
mov dword [ebp - 0x344], 0xffffffff
mov eax, 0x211a
test eax, eax
je 0x10036c31
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x78]
neg eax
imul eax, eax, 0x64b2
test eax, eax
je 0x10036c31
mov dword [ebp - 0x260], 1
jmp 0x10036c38
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x258], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x258]
mov dword [ebp + eax - 0x40c], ecx
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x258], eax
jl 0x10036c6e
mov dword [ebp - 0x184], 1
jmp 0x10036c75
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x184], eax
jne 0x10036c8f
mov dword [ebp - 0x18c], 1
jmp 0x10036c96
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x260]
cmp eax, dword [ebp - 0x18c]
je 0x10036cb0
mov dword [ebp - 0x268], 1
jmp 0x10036cb7
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x434], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x78]
cmp dword [ebp + eax - 0x20], ecx
jle 0x10036cea
mov dword [ebp - 0x270], 1
jmp 0x10036cf1
and dword [ebp - 0x270], 0
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x270], eax
jne 0x10036d0b
mov dword [ebp - 0x19c], 1
jmp 0x10036d12
and dword [ebp - 0x19c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x20]
cmp dword [ebp - 0x19c], eax
jne 0x10036d30
mov dword [ebp - 0x278], 1
jmp 0x10036d37
and dword [ebp - 0x278], 0
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x78]
cmp dword [ebp - 0x1a4], eax
jne 0x10036d5a
mov dword [ebp - 0x280], 1
jmp 0x10036d61
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x344], eax
jmp 0x10036bce
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x288], 0xf11b
mov dword [ebp - 0x290], 0
mov dword [ebp - 0xd8], 2
mov dword [ebp - 0xdc], 0
jmp 0x10036db0
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 2
jge 0x10036dcc
mov eax, dword [ebp - 0xdc]
mov dword [ebp + eax*4 - 0x45c], 0xfffffff6
jmp 0x10036da3
cmp dword [ebp - 0x60], 0
je 0x10036de5
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x40]
push eax
push 0
call fcn.10039572
pop ecx
pop ecx
jmp 0x10036e10
mov byte [ebp - 0x3d], 0
push 0
lea eax, [ebp - 0x3d]
push eax
call fcn.100366b2
pop ecx
pop ecx
mov byte [ebp - 0x42], 0
movzx eax, byte [ebp - 0x42]
test eax, eax
je 0x10036e10
push 0x3e09
push 0
call fcn.1003a07a
pop ecx
pop ecx
mov dword [ebp - 0x60], 1
jmp 0x10036e20
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jl 0x10037030
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0x374], 0xdc53
mov dword [ebp - 0x1b4], 0x3d6c1dfe
mov dword [ebp - 0x1c4], 0xffffffff
mov dword [ebp - 0xc4], 0
jmp 0x10036e6b
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 1
jg 0x1003701d
mov dword [ebp - 0x298], 7
mov dword [ebp - 0x90], 0
jmp 0x10036e9b
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 1
jge 0x10036eb7
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0x1dc], 0xbbd18838
jmp 0x10036e8e
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x45c], 0
jne 0x10036ed9
cmp dword [ebp - 0x60], 0x3dc9
jle 0x10036ed9
and dword [ebp - 0x1ac], 0
jmp 0x10036ee3
mov dword [ebp - 0x1ac], 1
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x288], eax
imul eax, dword [ebp - 0x288], 0xfff7
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x374]
add eax, dword [ebp - 0x290]
cmp eax, 0xfc9b
je 0x10036f2a
mov dword [ebp - 0x1bc], 1
jmp 0x10036f31
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0
jne 0x10036f70
mov eax, 0xb146
test eax, eax
jne 0x10036f70
and dword [ebp - 0x2a0], 0
jmp 0x10036f7a
mov dword [ebp - 0x2a0], 1
cmp dword [ebp - 0x2a0], 0x3a60813c
jle 0x10036f92
mov dword [ebp - 0x1cc], 1
jmp 0x10036f99
and dword [ebp - 0x1cc], 0
cmp dword [ebp - 0x1cc], 0xf355
jne 0x10036fb1
mov dword [ebp - 0x2a8], 1
jmp 0x10036fb8
and dword [ebp - 0x2a8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x1dc]
cmp dword [ebp - 0x2a8], eax
je 0x10036fdf
cmp dword [ebp - 0xd8], 0
jne 0x10036fdf
and dword [ebp - 0x1d4], 0
jmp 0x10036fe9
mov dword [ebp - 0x1d4], 1
cmp dword [ebp - 0x1d4], 0xfffffff8
jge 0x10036ffe
mov dword [ebp - 0x2b0], 1
jmp 0x10037005
and dword [ebp - 0x2b0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp + eax - 0x1dc], ecx
jmp 0x10036e5e
cmp dword [ebp - 0xd8], 0
je 0x1003702b
jmp 0x10036e19
jmp 0x10036e19
mov byte [ebp - 0x128], 0xd
mov byte [ebp - 0x127], 0xf9
mov byte [ebp - 0x126], 9
mov byte [ebp - 0x125], 4
mov byte [ebp - 0x124], 5
mov byte [ebp - 0x123], 0xc
mov byte [ebp - 0x122], 0
mov byte [ebp - 0x121], 7
mov byte [ebp - 0x120], 1
mov byte [ebp - 0x11f], 3
mov byte [ebp - 0x11e], 4
mov byte [ebp - 0x11d], 7
mov byte [ebp - 0x11c], 0x10
mov byte [ebp - 0x11b], 0x14
mov byte [ebp - 0x11a], 0x18
mov byte [ebp - 0x119], 8
mov byte [ebp - 0x118], 0xe
mov byte [ebp - 0x117], 0x16
mov byte [ebp - 0x116], 0x12
mov byte [ebp - 0x115], 0x1c
mov byte [ebp - 0x114], 0x16
mov byte [ebp - 0x113], 4
mov byte [ebp - 0x112], 0xc
mov byte [ebp - 0x111], 0x1a
mov byte [ebp - 0x110], 8
mov byte [ebp - 0x10f], 4
mov byte [ebp - 0x10e], 0x19
mov byte [ebp - 0x10d], 0x13
mov byte [ebp - 0x10c], 0x12
mov byte [ebp - 0x10b], 0xeb
mov byte [ebp - 0x10a], 0xe
mov byte [ebp - 0x109], 0xb1
mov byte [ebp - 0x108], 0x34
mov byte [ebp - 0x107], 0x85
mov byte [ebp - 0x106], 0x59
mov byte [ebp - 0x105], 0x46
mov byte [ebp - 0x104], 0x56
mov byte [ebp - 0x103], 0x2c
mov byte [ebp - 0x102], 0x2e
mov byte [ebp - 0x101], 0x1e
mov byte [ebp - 0x100], 0xb2
mov byte [ebp - 0xff], 0xad
mov byte [ebp - 0xfe], 0x1b
mov byte [ebp - 0xfd], 0x64
mov byte [ebp - 0xfc], 0x82
mov byte [ebp - 0xfb], 0xf2
mov byte [ebp - 0xfa], 0x65
mov byte [ebp - 0xf9], 0x15
mov byte [ebp - 0xf8], 0xc
mov byte [ebp - 0xf7], 3
mov byte [ebp - 0xf6], 0x12
mov byte [ebp - 0xf5], 0x11
mov byte [ebp - 0xf4], 0x16
mov byte [ebp - 0xf3], 0xf
mov byte [ebp - 0xf2], 2
mov byte [ebp - 0xf1], 0x13
mov byte [ebp - 0xf0], 4
mov byte [ebp - 0xef], 0xa
mov byte [ebp - 0xee], 0x1f
mov byte [ebp - 0xed], 7
mov byte [ebp - 0xec], 3
mov byte [ebp - 0xeb], 2
mov byte [ebp - 0xea], 0xb
mov byte [ebp - 0xe9], 6
mov byte [ebp - 0xe8], 4
mov byte [ebp - 0xe7], 0x17
mov byte [ebp - 0xe6], 0x1f
mov byte [ebp - 0xe5], 0xb
mov byte [ebp - 0xe4], 0x14
mov byte [ebp - 0xe3], 0x14
mov byte [ebp - 0xe2], 0x19
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x128]
or eax, 0x97
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x128]
and ecx, 0x97
sub eax, ecx
xor ecx, ecx
inc ecx
imul ecx, ecx, 0
movzx ecx, byte [ebp + ecx - 0x128]
mov byte [ebp + ecx - 0x3e8], al
mov dword [ebp - 0x2c], 0
jmp 0x1003726f
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x10037285
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x4d0], 0xffffffff
jmp 0x10037268
mov dword [ebp - 0x2c], 0
jmp 0x10037295
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x100372ab
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x3b4], 0x1897a4a
jmp 0x1003728e
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x3b4], 2
jmp 0x100372d9
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x3b4]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x3b4], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x3b4], 0
jl 0x10037305
mov byte [ebp - 0x50], 0
movzx eax, byte [ebp - 0x50]
test eax, eax
je 0x10037303
push 0
push 0x39a
call fcn.10039000
pop ecx
pop ecx
jmp 0x100372be
mov dword [ebp - 0x14], 2
and dword [ebp - 0x6c], 0
jmp 0x1003731a
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x47
jae 0x100380aa
mov dword [ebp - 0x34], 8
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x13c], 0xfffffff7
mov dword [ebp - 0x98], 4
mov dword [ebp - 0x1f4], 0xfffffffe
mov dword [ebp - 0x1fc], 0xc37f20ba
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x44], 0
movzx eax, byte [ebp - 0x44]
test eax, eax
je 0x1003737b
push 0
call fcn.10039f7b
pop ecx
mov dword [ebp - 0x34], 0
jmp 0x1003738b
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jle 0x10037729
mov dword [ebp - 0x2f0], 0xfffffff9
mov dword [ebp - 0x1ec], 0xb25631c
mov dword [ebp - 0x140], 0x78317d23
mov dword [ebp - 0x18], 0
jmp 0x100373c3
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x100373d9
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x340], 0xffffffff
jmp 0x100373bc
mov dword [ebp - 0x18], 0
jmp 0x100373e9
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x100373ff
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x424], 0
jmp 0x100373e2
mov dword [ebp - 0x18], 0
jmp 0x1003740f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10037425
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x3c0], 0xffffffff
jmp 0x10037408
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x2b8], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp + eax - 0x340], ecx
cmp dword [ebp - 0x2b8], 0
je 0x10037610
xor eax, eax
inc eax
je 0x10037471
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x340], 0
je 0x10037471
mov dword [ebp - 0x1e4], 1
jmp 0x10037478
and dword [ebp - 0x1e4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x340]
cmp dword [ebp - 0x1e4], eax
jle 0x100374a6
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x340], 0
jne 0x100374a6
and dword [ebp - 0x134], 0
jmp 0x100374b0
mov dword [ebp - 0x134], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp + eax - 0x340], ecx
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0xec51
jne 0x100374e7
mov dword [ebp - 0x37c], 1
jmp 0x100374ee
and dword [ebp - 0x37c], 0
imul eax, dword [ebp - 0x98], 0xbca
cmp eax, dword [ebp - 0x34]
jl 0x10037509
mov dword [ebp - 0x2c0], 1
jmp 0x10037510
and dword [ebp - 0x2c0], 0
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x1ec], eax
cmp dword [ebp - 0x1ec], 0
je 0x10037541
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x340], 0
je 0x10037541
mov dword [ebp - 0x2c8], 1
jmp 0x10037548
and dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x1f4], eax
imul eax, dword [ebp - 0x1f4], 0
xor eax, eax
inc eax
sub eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x34]
je 0x10037575
mov dword [ebp - 0x2d0], 1
jmp 0x1003757c
and dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x13c]
imul eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x2d8], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2d8]
mov dword [ebp + eax - 0x424], ecx
mov eax, dword [ebp - 0x140]
cmp dword [ebp - 0x2d8], eax
jg 0x100375c8
mov dword [ebp - 0x204], 1
jmp 0x100375cf
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x13c]
cmp dword [ebp - 0x204], eax
jne 0x100375e9
mov dword [ebp - 0x2e0], 1
jmp 0x100375f0
and dword [ebp - 0x2e0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x3c0]
add eax, dword [ebp - 0x2e0]
je 0x10037610
mov dword [ebp - 0x20c], 1
jmp 0x10037617
and dword [ebp - 0x20c], 0
cmp dword [ebp - 0x20c], 1
ja 0x10037630
push 0xfffffffffffffffd
pop eax
test eax, eax
jne 0x10037630
and dword [ebp - 0x2e8], 0
jmp 0x1003763a
mov dword [ebp - 0x2e8], 1
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x2e8]
cmp dword [ebp - 0x34], eax
jl 0x10037654
mov dword [ebp - 0x214], 1
jmp 0x1003765b
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x214], eax
jle 0x10037672
mov dword [ebp - 0x21c], 1
jmp 0x10037679
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x144]
dec eax
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x2f0]
imul eax, dword [ebp - 0x21c]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x3c0]
jl 0x100376b9
mov dword [ebp - 0x2f8], 1
jmp 0x100376c0
and dword [ebp - 0x2f8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2f8]
sub ecx, dword [ebp + eax - 0x3c0]
mov dword [ebp - 0x224], ecx
je 0x100376f0
cmp dword [ebp - 0x140], 0
je 0x100376f0
mov dword [ebp - 0x148], 1
jmp 0x100376f7
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
dec eax
cmp eax, 0xfff8
jbe 0x10037711
mov dword [ebp - 0x22c], 1
jmp 0x10037718
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x140], eax
jmp 0x10037384
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x128]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x10037beb
mov dword [ebp - 0x4c], 0xe91a049f
mov dword [ebp - 0x320], 0xfffffff9
mov dword [ebp - 0x310], 1
mov dword [ebp - 0x3a4], 7
mov dword [ebp - 0x4c], 0
jmp 0x10037779
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x11
jge 0x100378de
mov dword [ebp - 0x5c], 0xedf6b3e7
mov dword [ebp - 0xb4], 0
jmp 0x100377a3
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 4
jge 0x100377bf
mov eax, dword [ebp - 0xb4]
mov dword [ebp + eax*4 - 0x454], 0
jmp 0x10037796
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x464], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x3f0], eax
cmp dword [ebp - 0x5c], 1
jge 0x100377e3
mov dword [ebp - 0x308], 1
jmp 0x100377ea
and dword [ebp - 0x308], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x308]
mov dword [ebp + eax - 0x454], ecx
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x5c]
jge 0x10037817
mov dword [ebp - 0x234], 1
jmp 0x1003781e
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x234], eax
je 0x10037835
mov dword [ebp - 0x23c], 1
jmp 0x1003783c
and dword [ebp - 0x23c], 0
mov dword [ebp - 0x310], 0
mov eax, dword [ebp - 0x310]
cmp eax, dword [ebp - 0x23c]
jle 0x10037860
mov dword [ebp - 0x318], 1
jmp 0x10037867
and dword [ebp - 0x318], 0
cmp dword [ebp - 0x318], 0
jne 0x1003787c
mov dword [ebp - 0x2fc], 1
jmp 0x10037883
and dword [ebp - 0x2fc], 0
mov dword [ebp - 0x320], 0xb3f36565
mov eax, dword [ebp - 0x320]
cmp eax, dword [ebp - 0x2fc]
jg 0x100378b6
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x454], 0
je 0x100378b6
mov dword [ebp - 0x384], 1
jmp 0x100378bd
and dword [ebp - 0x384], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3f4], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x454]
mov dword [ebp - 0x3a4], eax
jmp 0x10037772
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x128]
inc eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x24], 5
mov dword [ebp - 0x24], 0
jmp 0x10037904
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jle 0x10037b4c
mov dword [ebp - 0xb8], 0x3ecf04b0
mov dword [ebp - 0x350], 0x9892657c
mov dword [ebp - 0xa0], 0
jmp 0x1003793b
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 2
jge 0x10037957
mov eax, dword [ebp - 0xa0]
mov dword [ebp + eax*4 - 0xd0], 0
jmp 0x1003792e
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd0]
cmp dword [ebp - 0x24], eax
jge 0x10037975
mov dword [ebp - 0x304], 1
jmp 0x1003797c
and dword [ebp - 0x304], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
jne 0x10037a22
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x24]
cmp dword [ebp + eax - 0xd0], ecx
jg 0x100379b0
mov dword [ebp - 0x24c], 1
jmp 0x100379b7
and dword [ebp - 0x24c], 0
cmp dword [ebp - 0x24c], 1
ja 0x100379cc
mov dword [ebp - 0x2c4], 1
jmp 0x100379d3
and dword [ebp - 0x2c4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd0]
cmp dword [ebp - 0x2c4], eax
jge 0x100379f4
mov dword [ebp - 0x254], 1
jmp 0x100379fb
and dword [ebp - 0x254], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd0]
cmp dword [ebp - 0x254], eax
jne 0x10037a22
mov eax, 0x4a71a6e4
test eax, eax
jne 0x10037a22
and dword [ebp - 0x31c], 0
jmp 0x10037a2c
mov dword [ebp - 0x31c], 1
cmp dword [ebp - 0x31c], 0xbb66
jg 0x10037a48
push 0xfffffffffffffff8
pop eax
test eax, eax
jne 0x10037a48
and dword [ebp - 0x25c], 0
jmp 0x10037a52
mov dword [ebp - 0x25c], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x25c]
sub ecx, dword [ebp + eax - 0xd0]
imul eax, ecx, 0xb0bb
test eax, eax
jne 0x10037a91
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xd0], 0
jne 0x10037a91
cmp dword [ebp - 0xb8], 0
jne 0x10037a91
and dword [ebp - 0x36c], 0
jmp 0x10037a9b
mov dword [ebp - 0x36c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd0]
mov dword [ebp - 0x3fc], eax
cmp dword [ebp - 0x24], 0xfff8
ja 0x10037ac6
cmp dword [ebp - 0x24], 0
jne 0x10037ac6
and dword [ebp - 0x2cc], 0
jmp 0x10037ad0
mov dword [ebp - 0x2cc], 1
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x2cc], eax
jle 0x10037ae7
mov dword [ebp - 0x264], 1
jmp 0x10037aee
and dword [ebp - 0x264], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd0]
add eax, dword [ebp - 0x264]
jne 0x10037b0a
cmp dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x24]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0xd0]
cmp eax, 0x9a164e6
jg 0x10037b2e
mov dword [ebp - 0x26c], 1
jmp 0x10037b35
and dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0x304]
sub eax, dword [ebp - 0x26c]
mov dword [ebp - 0x350], eax
jmp 0x100378fd
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x128]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x380], 5
mov dword [ebp - 0xa8], 0
jmp 0x10037b84
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 3
jge 0x10037ba0
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x488], 1
jmp 0x10037b77
mov byte [ebp - 0x4d], 0
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x10037bd4
push 0x4b6d
push 0x677f
push 0x41b9
push 0x7df6
push 0x7a50
push 0
push 0x3980
call fcn.100392d4
add esp, 0x1c
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x488]
mov dword [ebp - 0x380], eax
jmp 0x10037312
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x74], 0xfffffffa
jmp 0x10037c02
mov eax, dword [ebp - 0x74]
dec eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xfffffff8
jge 0x10037d32
mov dword [ebp - 0x358], 0xcddd1d8f
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x68], 0xc3d069f4
mov dword [ebp - 0xc0], 0
jmp 0x10037c3d
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 1
jge 0x10037c59
mov eax, dword [ebp - 0xc0]
mov dword [ebp + eax*4 - 0x43c], 0x9acd4098
jmp 0x10037c30
push 0x5ea8
push 0
push 0x104e
push 0x7ea6
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x358]
push eax
push 0xfa6
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.10039049
add esp, 0x24
mov dword [ebp - 0x68], 0
jmp 0x10037c9a
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jl 0x10037d2d
mov dword [ebp - 0x3c], 0
jmp 0x10037cb4
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x10037cca
push 1
push 0x3dfc
call fcn.100366b2
pop ecx
pop ecx
jmp 0x10037cad
mov dword [ebp - 0x3c], 0
jmp 0x10037cda
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jg 0x10037d28
mov dword [ebp - 0xb0], 0
jmp 0x10037cf9
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 3
jge 0x10037d15
mov eax, dword [ebp - 0xb0]
mov dword [ebp + eax*4 - 0x4b8], 0x928d9ba5
jmp 0x10037cec
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x4b8], 0xb89bdd77
jmp 0x10037cd3
jmp 0x10037c93
jmp 0x10037bfb
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x127]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x6c]
movzx ecx, byte [ebp + ecx - 0x12a]
movsx ecx, byte [ebp + ecx - 0x3e8]
add eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x127]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x6c]
movzx edx, byte [ebp + edx - 0x12a]
movsx edx, byte [ebp + edx - 0x3e8]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x127]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x6c]
movzx edx, byte [ebp + edx - 0x12a]
movsx edx, byte [ebp + edx - 0x3e8]
and ecx, edx
sub eax, ecx
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x128]
mov byte [ebp + ecx - 0x3e8], al
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x294], 0x611ca4b3
mov dword [ebp - 0x138], 0x88d2
mov dword [ebp - 0x360], 0x9b96bc71
mov dword [ebp - 0x388], 3
mov dword [ebp - 0x2ac], 4
mov dword [ebp - 0xc8], 0
jmp 0x10037e0d
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 3
jge 0x10037e29
mov eax, dword [ebp - 0xc8]
mov dword [ebp + eax*4 - 0x4ac], 0
jmp 0x10037e00
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x10], 0xffffffff
jle 0x10037e4d
mov dword [ebp - 0x38c], 1
jmp 0x10037e54
and dword [ebp - 0x38c], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
jge 0x10037e74
mov dword [ebp - 0x2d4], 1
jmp 0x10037e7b
and dword [ebp - 0x2d4], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x2d4], eax
jl 0x10037e92
mov dword [ebp - 0x274], 1
jmp 0x10037e99
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x274]
cmp dword [ebp - 0x10], eax
jge 0x10037eb3
mov dword [ebp - 0x32c], 1
jmp 0x10037eba
and dword [ebp - 0x32c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x32c], eax
je 0x10037ed1
mov dword [ebp - 0x27c], 1
jmp 0x10037ed8
and dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x27c], eax
jge 0x10037eef
mov dword [ebp - 0x2dc], 1
jmp 0x10037ef6
and dword [ebp - 0x2dc], 0
imul eax, dword [ebp - 0x2dc], 0xd3cd
cmp eax, 0x890f
je 0x10037f13
mov dword [ebp - 0x284], 1
jmp 0x10037f1a
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x10037f41
cmp dword [ebp - 0x10], 0
je 0x10037f41
mov dword [ebp - 0x30c], 1
jmp 0x10037f48
and dword [ebp - 0x30c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x30c], eax
jg 0x10037f5f
mov dword [ebp - 0x28c], 1
jmp 0x10037f66
and dword [ebp - 0x28c], 0
cmp dword [ebp - 0x28c], 0xfffffffe
jg 0x10037f82
push 0xfffffffffffffff8
pop eax
test eax, eax
je 0x10037f82
mov dword [ebp - 0x2e4], 1
jmp 0x10037f89
and dword [ebp - 0x2e4], 0
mov eax, dword [ebp - 0x2e4]
neg eax
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x3f8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x414], eax
xor eax, eax
inc eax
sub eax, dword [ebp - 0x10]
je 0x10037fc9
cmp dword [ebp - 0x138], 0
je 0x10037fc9
mov dword [ebp - 0x324], 1
jmp 0x10037fd0
and dword [ebp - 0x324], 0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x324]
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x10], 0xffff
jae 0x10037ff4
mov dword [ebp - 0x29c], 1
jmp 0x10037ffb
and dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x388]
cmp dword [ebp - 0x29c], eax
jge 0x10038015
mov dword [ebp - 0x2ec], 1
jmp 0x1003801c
and dword [ebp - 0x2ec], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x2ec]
cmp eax, dword [ebp - 0x10]
jne 0x10038037
mov dword [ebp - 0x2a4], 1
jmp 0x1003803e
and dword [ebp - 0x2a4], 0
mov eax, dword [ebp - 0x138]
cmp dword [ebp - 0x2a4], eax
je 0x10038058
mov dword [ebp - 0x314], 1
jmp 0x1003805f
and dword [ebp - 0x314], 0
mov eax, dword [ebp - 0x138]
imul eax, dword [ebp - 0x314]
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2ac], 0
ja 0x10038087
mov dword [ebp - 0x368], 1
jmp 0x1003808e
and dword [ebp - 0x368], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x130]
mov dword [ebp + eax - 0x4ac], ecx
and dword [ebp - 0x6c], 0
jmp 0x10037312
xor eax, eax
inc eax
imul eax, eax, 0x1a
mov byte [ebp + eax - 0x3e8], 0
mov dword [ebp - 0xbc], 0xf89b546
mov dword [ebp - 0x84], 0
jmp 0x100380db
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 3
jge 0x100380f7
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x4c4], 0x85f70ad6
jmp 0x100380ce
mov dword [ebp - 0xbc], 2
jmp 0x10038110
mov eax, dword [ebp - 0xbc]
dec eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jl 0x100381c9
mov dword [ebp - 0xd4], 0
jmp 0x10038136
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 1
jge 0x1003814f
mov eax, dword [ebp - 0xd4]
mov dword [ebp + eax*4 - 0x70], 0
jmp 0x10038129
mov byte [ebp - 0x46], 0
lea eax, [ebp - 0x46]
push eax
push 0
call fcn.10039258
pop ecx
pop ecx
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x70], 2
jmp 0x10038185
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x70]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x70], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x70], 0
jl 0x100381c4
mov byte [ebp - 0x3e], 0
movzx eax, byte [ebp - 0x3e]
test eax, eax
je 0x100381ac
push 0
push 0x44ce
call fcn.10038faf
pop ecx
pop ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x70]
cmp dword [ebp + eax*4 - 0x4c4], 0
je 0x100381c2
jmp 0x10038170
jmp 0x10038170
jmp 0x10038103
mov byte [ebp - 0x3f], 0
lea eax, [ebp - 0x3f]
push eax
push 0
call fcn.1003952d
pop ecx
pop ecx
lea eax, [ebp - 0x3e8]
push eax
lea ecx, [ebp - 0x4a0]
call fcn.10020229
and dword [ebp - 4], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x3a0], 0x3afc3718
mov dword [ebp - 0x30], 0
jmp 0x10038214
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1003822a
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x2f4], 0x83c7730f
jmp 0x1003820d
mov dword [ebp - 0x30], 0
jmp 0x1003823a
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x10038250
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x444], 0xaccbad86
jmp 0x10038233
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2f4]
mov dword [ebp - 0x14c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x14c]
mov dword [ebp + eax - 0x2f4], ecx
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x158], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x158]
mov dword [ebp + eax - 0x444], ecx
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x3a0], eax
mov byte [ebp - 0x41], 0
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x100382c3
push 0
push 0
call dword [sym.imp.GDI32.dll_GetNearestPaletteIndex]
and dword [ebp - 0x94], 0
jmp 0x100382d9
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x1b
jae 0x1003842c
mov dword [ebp - 0x88], 0xbac64a68
mov dword [ebp - 0x160], 1
mov dword [ebp - 0x88], 1
jmp 0x10038313
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 3
jg 0x100383f4
mov dword [ebp - 0x8c], 1
mov dword [ebp - 0x370], 0xffffffff
mov eax, dword [ebp - 0x160]
cmp dword [ebp - 0x160], eax
jl 0x1003834e
mov dword [ebp - 0x168], 1
jmp 0x10038355
and dword [ebp - 0x168], 0
cmp dword [ebp - 0x168], 1
je 0x1003836a
mov dword [ebp - 0x170], 1
jmp 0x10038371
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x170], eax
jne 0x1003838b
mov dword [ebp - 0x178], 1
jmp 0x10038392
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
add eax, 0x2daa
sub eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x8c]
jge 0x100383b7
mov dword [ebp - 0x180], 1
jmp 0x100383be
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 0
jle 0x100383dc
cmp dword [ebp - 0x8c], 0
je 0x100383dc
mov dword [ebp - 0x188], 1
jmp 0x100383e3
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x370], eax
jmp 0x10038306
mov byte [ebp - 0x43], 0
movzx eax, byte [ebp - 0x43]
test eax, eax
je 0x10038419
push 0xc2b
push 0x3536
push 0
push 0x12be
call fcn.100366ff
add esp, 0x10
mov eax, dword [ebp - 0x94]
mov byte [ebp + eax - 0x3e8], 0
jmp 0x100382cc
mov dword [ebp - 0x39c], 0xa5d6c05b
mov dword [ebp - 0x398], 0xa5d6c05b
mov dword [ebp - 0x394], 0xa5d6c05b
mov dword [ebp - 0x390], 0xa5d6c05b
mov dword [ebp - 0x3a8], 0x7d7c118
mov dword [ebp - 0x9c], 0
jmp 0x10038477
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 1
jge 0x10038493
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x400], 0x5a9c4c8d
jmp 0x1003846a
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x39c], 0
jmp 0x100384c1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x39c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x39c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x39c], 0xffffffe4
jle 0x10038525
mov dword [ebp - 0xa4], 2
mov dword [ebp - 0xa4], 0
jmp 0x100384f4
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jg 0x1003850d
push 0x318b
push 0
call fcn.10039b52
pop ecx
pop ecx
jmp 0x100384e7
push 0x37d8
lea eax, [ebp - 0x3a8]
push eax
push 0
call fcn.1003a20b
add esp, 0xc
jmp 0x100384a6
push 0x10007b5a
lea ecx, [ebp - 0x47c]
call fcn.10020229
mov byte [ebp - 4], 1
mov dword [ebp - 0x34c], 0xffffffff
mov dword [ebp - 0x378], 0x7e7308f4
mov dword [ebp - 0x348], 6
lea eax, [ebp - 0x378]
push eax
lea eax, [ebp - 0x348]
push eax
push 1
lea eax, [ebp - 0x34c]
push eax
call fcn.100366ff
add esp, 0x10
mov dword [ebp - 0x354], 0x5c68ec0a
push 0
lea eax, [ebp - 0x354]
push eax
call fcn.10039438
pop ecx
pop ecx
push 1
push 0x55d0
call fcn.1003681e
pop ecx
pop ecx
lea ecx, [ebp - 0x47c]
call fcn.1001486c
cmp eax, dword [ebp + 0xc]
je 0x100389ee
mov dword [ebp - 0x1c], 0
jmp 0x100385c2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x100385d5
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x58], 0x8a59
jmp 0x100385bb
mov dword [ebp - 0x1c], 0
jmp 0x100385e5
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x100385fb
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x1e8], 0xefd06bde
jmp 0x100385de
mov dword [ebp - 0x1c], 0
jmp 0x1003860b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10038621
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x430], 0x1b870004
jmp 0x10038604
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x58], 0
je 0x10038647
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x58], 0
je 0x10038647
mov dword [ebp - 0x190], 1
jmp 0x1003864e
and dword [ebp - 0x190], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x190]
imul ecx, dword [ebp + eax - 0x58]
mov dword [ebp - 0x198], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x198]
mov dword [ebp + eax - 0x1e8], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0x198], eax
je 0x1003869b
or eax, 0xffffffff
je 0x1003869b
mov dword [ebp - 0x1a0], 1
jmp 0x100386a2
and dword [ebp - 0x1a0], 0
cmp dword [ebp - 0x1a0], 0xfff6
jb 0x100386ba
mov dword [ebp - 0x1a8], 1
jmp 0x100386c1
and dword [ebp - 0x1a8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0x1a8], eax
jg 0x100386ec
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x58], 0
je 0x100386ec
mov dword [ebp - 0x1b0], 1
jmp 0x100386f3
and dword [ebp - 0x1b0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0x1b0], eax
jg 0x10038711
mov dword [ebp - 0x1b8], 1
jmp 0x10038718
and dword [ebp - 0x1b8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0x1b8], eax
jg 0x10038736
mov dword [ebp - 0x1c0], 1
jmp 0x1003873d
and dword [ebp - 0x1c0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0x1c0], eax
jg 0x1003875b
mov dword [ebp - 0x1c8], 1
jmp 0x10038762
and dword [ebp - 0x1c8], 0
cmp dword [ebp - 0x1c8], 4
jne 0x10038777
mov dword [ebp - 0x1d0], 1
jmp 0x1003877e
and dword [ebp - 0x1d0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp eax, dword [ebp - 0x1d0]
jl 0x1003879c
mov dword [ebp - 0x1d8], 1
jmp 0x100387a3
and dword [ebp - 0x1d8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0x1d8], eax
je 0x100387c1
mov dword [ebp - 0x1e0], 1
jmp 0x100387c8
and dword [ebp - 0x1e0], 0
imul eax, dword [ebp - 0x1e0], 0xfff7
test eax, eax
je 0x100387f2
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1e8], 0
je 0x100387f2
mov dword [ebp - 0x1f0], 1
jmp 0x100387f9
and dword [ebp - 0x1f0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp eax, dword [ebp - 0x1f0]
je 0x10038817
mov dword [ebp - 0x1f8], 1
jmp 0x1003881e
and dword [ebp - 0x1f8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp eax, dword [ebp - 0x1f8]
jg 0x1003883c
mov dword [ebp - 0x200], 1
jmp 0x10038843
and dword [ebp - 0x200], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x58]
cmp dword [ebp - 0x200], eax
jl 0x10038861
mov dword [ebp - 0x208], 1
jmp 0x10038868
and dword [ebp - 0x208], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x208]
mov dword [ebp + eax - 0x430], ecx
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x10038895
push 0
push 0x716
call fcn.10038efe
pop ecx
pop ecx
lea eax, [ebp - 0x364]
push eax
push 0
lea eax, [ebp - 0x4a0]
push eax
push 0xa6d
call fcn.1003a1aa
add esp, 0x10
mov dword [ebp - 0x210], 0xffffffff
mov dword [ebp - 0x228], 0x90069f30
mov dword [ebp - 0x35c], 1
mov dword [ebp - 0xac], 0
jmp 0x100388e9
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 3
jge 0x10038905
mov eax, dword [ebp - 0xac]
mov dword [ebp + eax*4 - 0x3cc], 0xc558
jmp 0x100388dc
mov byte [ebp - 0x4e], 0
movzx eax, byte [ebp - 0x4e]
test eax, eax
je 0x1003891f
push 0xde
push 0
call fcn.10038f48
pop ecx
pop ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3cc]
mov dword [ebp - 0x41c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3cc]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 1
jne 0x1003895a
mov dword [ebp - 0x218], 1
jmp 0x10038961
and dword [ebp - 0x218], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3cc]
cmp eax, dword [ebp - 0x218]
jle 0x10038982
mov dword [ebp - 0x220], 1
jmp 0x10038989
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x410], eax
push 2
pop eax
cmp eax, 0x47c9
jge 0x100389b7
mov dword [ebp - 0x230], 1
jmp 0x100389be
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x364]
push eax
push 0
lea eax, [ebp - 0x47c]
push eax
call fcn.100391c2
add esp, 0x10
jmp 0x1003859e
lea eax, [ebp - 0x47c]
push eax
mov ecx, dword [ebp + 8]
call fcn.1001440d
mov eax, dword [ebp - 0x238]
or eax, 1
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x47c]
call fcn.10014466
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4a0]
call fcn.10014466
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret