Function at 0x10012b4a
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008352a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push esi
push 4
lea ecx, [ebp - 0x1e0]
call fcn.1001770e
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x32fe2236
mov dword [ebp - 0x1b8], 0x32dc7183
mov dword [ebp - 0x154], 0x926a0939
mov dword [ebp - 0x15c], 1
mov dword [ebp - 0x30], 0
jmp 0x10012baf
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 4
jge 0x10012bcb
push dword [ebp - 0x30]
lea ecx, [ebp - 0x1e0]
call fcn.1001779a
mov dword [eax], 0xfffffff7
jmp 0x10012ba8
mov dword [ebp - 0x30], 0
jmp 0x10012bdb
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x10012bf1
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x88], 0x6f885ea6
jmp 0x10012bd4
mov dword [ebp - 0x18], 3
jmp 0x10012c01
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10012fbd
mov dword [ebp - 0x14], 0x7be18795
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x14]
cmp eax, 0xffff
jbe 0x10012c34
mov dword [ebp - 0x148], 1
jmp 0x10012c3b
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 0xcd16652d
jb 0x10012c53
mov dword [ebp - 0x17c], 1
jmp 0x10012c5a
and dword [ebp - 0x17c], 0
cmp dword [ebp - 0x17c], 0xe5e81a7e
jb 0x10012c72
mov dword [ebp - 0x184], 1
jmp 0x10012c79
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x184], eax
jg 0x10012c8d
mov dword [ebp - 0x80], 1
jmp 0x10012c91
and dword [ebp - 0x80], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x80]
mov dword [ebp + eax - 0x88], ecx
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x80], eax
jl 0x10012cb5
mov dword [ebp - 0x140], 1
jmp 0x10012cbc
and dword [ebp - 0x140], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x140]
jne 0x10012cd3
mov dword [ebp - 0x14], 0xffffffff
jmp 0x10012e09
mov dword [ebp - 0x188], 0xa5a165f5
mov dword [ebp - 0x1a8], 0x4c6f4446
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jg 0x10012cfb
mov dword [ebp - 0x9c], 1
jmp 0x10012d02
and dword [ebp - 0x9c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x88]
cmp eax, dword [ebp - 0x9c]
jne 0x10012d23
mov dword [ebp - 0x114], 1
jmp 0x10012d2a
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0xfffffffa
je 0x10012d3f
mov dword [ebp - 0xa4], 1
jmp 0x10012d46
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xa4]
je 0x10012d5d
mov dword [ebp - 0x11c], 1
jmp 0x10012d64
and dword [ebp - 0x11c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x88]
cmp dword [ebp - 0x11c], eax
jle 0x10012d85
mov dword [ebp - 0xac], 1
jmp 0x10012d8c
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0xfffffff6
jle 0x10012da1
mov dword [ebp - 0x124], 1
jmp 0x10012da8
and dword [ebp - 0x124], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x124]
mov dword [ebp + eax - 0x88], ecx
mov eax, dword [ebp - 0x188]
add eax, dword [ebp - 0x18]
je 0x10012dd8
cmp dword [ebp - 0x14], 0
je 0x10012dd8
mov dword [ebp - 0xb4], 1
jmp 0x10012ddf
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xb4], eax
jge 0x10012df6
mov dword [ebp - 0x12c], 1
jmp 0x10012dfd
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x1a8], eax
mov eax, 0xffff34a4
test eax, eax
je 0x10012e6f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
jle 0x10012e2f
mov dword [ebp - 0xbc], 1
jmp 0x10012e36
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x134], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp + eax - 0x88], ecx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xbc]
cmp dword [ebp - 0x134], eax
jg 0x10012e6f
mov dword [ebp - 0xc4], 1
jmp 0x10012e76
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xc4], eax
jne 0x10012e8d
mov dword [ebp - 0x13c], 1
jmp 0x10012e94
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x13c], eax
je 0x10012eab
mov dword [ebp - 0xcc], 1
jmp 0x10012eb2
and dword [ebp - 0xcc], 0
push 7
pop eax
sub eax, dword [ebp - 0xcc]
add eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1b8]
je 0x10012ed2
mov dword [ebp - 0x144], 1
jmp 0x10012ed9
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x144], eax
jne 0x10012ef0
mov dword [ebp - 0xd4], 1
jmp 0x10012ef7
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xd4], eax
je 0x10012f12
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x88], 0
je 0x10012f27
mov eax, 0x333f
test eax, eax
je 0x10012f27
mov dword [ebp - 0x14c], 1
jmp 0x10012f2e
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14c], eax
jg 0x10012f45
mov dword [ebp - 0xdc], 1
jmp 0x10012f4c
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x154], eax
mov esi, dword [ebp - 0x154]
push 2
lea ecx, [ebp - 0x1e0]
call fcn.1001779a
cmp esi, dword [eax]
jg 0x10012f7b
mov dword [ebp - 0xe4], 1
jmp 0x10012f82
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
add eax, 5
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x15c], eax
je 0x10012fa8
mov dword [ebp - 0xec], 1
jmp 0x10012faf
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x14], eax
jmp 0x10012bfa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.10017795
mov eax, dword [0x10cc2c18]
and eax, 1
jne 0x10013003
mov eax, dword [0x10cc2c18]
or eax, 1
mov dword [0x10cc2c18], eax
mov dword [ebp - 4], 1
mov ecx, 0x10cc2bf4
call fcn.100178aa
push 0x1008590f
call fcn.1006bde6
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1a0], 0xffffffff
push 1
lea ecx, [ebp - 0x1d4]
call fcn.1001770e
mov dword [ebp - 4], 2
mov dword [ebp - 0x1bc], 0x76ab2aee
push 0x6c86
lea eax, [ebp - 0x1e8]
push eax
push 0x2a0d
lea eax, [ebp - 0x1d4]
push eax
push 0
call fcn.10012a60
add esp, 0x14
mov byte [ebp - 0x3c], 0
movzx eax, byte [ebp - 0x3c]
test eax, eax
je 0x10013068
push 0x2134
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0x41f6
push 0x722f
lea eax, [ebp - 0x1bc]
push eax
push 0
push 0x488
push 0x30ef
push 0x3d9e
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.10013c62
add esp, 0x24
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d4]
call fcn.10017795
mov eax, dword [ebp + 8]
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x1f0]
push eax
mov ecx, 0x10cc2bf4
call fcn.10017874
push eax
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x1e4]
push eax
mov ecx, 0x10cc2bf4
call fcn.10017882
mov ecx, eax
call fcn.10017897
movzx eax, al
test eax, eax
je 0x100132b3
mov dword [ebp - 0x1c], 0xd386cce5
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x200], 0xfffffff7
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x1c], 1
jb 0x10013164
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x34]
jl 0x10013143
mov dword [ebp - 0x164], 1
jmp 0x1001314a
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x164]
lea eax, [ecx + eax + 4]
test eax, eax
jne 0x10013164
and dword [ebp - 0xf4], 0
jmp 0x1001316e
mov dword [ebp - 0xf4], 1
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x38], 0
jmp 0x10013187
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xe
jl 0x10013292
mov dword [ebp - 0x60], 0x11
jmp 0x100131a1
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x13
jle 0x10013279
mov dword [ebp - 0x34], 0x19
jmp 0x100131bb
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x13
jge 0x10013274
mov dword [ebp - 0x1c], 0x12
jmp 0x100131d5
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffe8
jge 0x10013237
mov dword [ebp - 0x70], 0x3cf81320
mov dword [ebp - 0x70], 0
jmp 0x100131f2
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xfffffff4
jl 0x10013219
mov dword [ebp - 0x1b0], 2
lea eax, [ebp - 0x34]
push eax
push 1
lea eax, [ebp - 0x1b0]
push eax
call fcn.10012997
add esp, 0xc
jmp 0x100131eb
mov byte [ebp - 0x42], 0
push 0x21c
push 0
lea eax, [ebp - 0x42]
push eax
push 0x7641
call fcn.10013df1
add esp, 0x10
jmp 0x100131ce
mov dword [ebp - 0x1c], 0
jmp 0x10013247
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x11
jg 0x1001326f
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1001326d
push 0x562b
push 0x5a32
push 0
call fcn.10015e5c
add esp, 0xc
jmp 0x10013240
jmp 0x100131b4
jmp 0x1001319a
mov byte [ebp - 0x41], 0
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x1001328d
push 0
call fcn.10015950
pop ecx
jmp 0x10013180
mov eax, dword [ebp + 8]
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x19c]
push eax
mov ecx, 0x10cc2bf4
call fcn.100178fe
mov al, byte [eax]
jmp 0x10013bdd
mov dword [ebp - 0x28], 0x5464
mov dword [ebp - 0x5c], 0x51723279
mov dword [ebp - 0x78], 0
jmp 0x100132d1
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 1
jge 0x100132e4
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x74], 0xffffffff
jmp 0x100132ca
cmp dword [ebp - 0x28], 0
je 0x10013496
mov dword [ebp - 0x7c], 0x5f996f37
mov dword [ebp - 0x48], 0x8ab5457d
mov dword [ebp - 0x6c], 0
jmp 0x1001330c
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x10013322
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x21c], 1
jmp 0x10013305
mov dword [ebp - 0x28], 0
jmp 0x10013332
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jg 0x1001339d
mov dword [ebp - 0x1b4], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x74]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x1f4], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
cmp dword [ebp + eax - 0x74], ecx
je 0x1001338b
mov dword [ebp - 0x16c], 1
jmp 0x10013392
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x48], eax
jmp 0x1001332b
cmp dword [ebp - 0x48], 0
je 0x1001347b
cmp dword [ebp - 0x48], 0
je 0x100133f2
cmp dword [ebp - 0x7c], 0xffff
jbe 0x100133c2
mov dword [ebp - 0x174], 1
jmp 0x100133c9
and dword [ebp - 0x174], 0
cmp dword [ebp - 0x174], 8
je 0x100133de
mov dword [ebp - 0x100], 1
jmp 0x100133e5
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
push 4
pop eax
imul eax, eax, 0
imul eax, dword [ebp + eax - 0x74], 0x1480
cmp eax, dword [ebp - 0x28]
je 0x10013411
mov dword [ebp - 0x180], 1
jmp 0x10013418
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
add eax, 9
cmp eax, 0xffff
jb 0x10013434
mov dword [ebp - 0x108], 1
jmp 0x1001343b
and dword [ebp - 0x108], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x74]
cmp dword [ebp - 0x108], eax
jl 0x10013459
mov dword [ebp - 0x1a4], 1
jmp 0x10013460
and dword [ebp - 0x1a4], 0
cmp dword [ebp - 0x7c], 0
je 0x1001347b
mov eax, 0x1ad7ba96
test eax, eax
je 0x1001347b
mov dword [ebp - 0x94], 1
jmp 0x10013482
and dword [ebp - 0x94], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x94]
mov dword [ebp + eax - 0x21c], ecx
jmp 0x10013503
mov dword [ebp - 0x28], 0
jmp 0x100134a6
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffe4
jle 0x10013503
push 1
push 0x478c
push 0x1c01
lea eax, [ebp - 0x5c]
push eax
push 0x37d1
call fcn.100129f5
add esp, 0x14
mov dword [ebp - 0x5c], 0
jmp 0x100134d9
mov eax, dword [ebp - 0x5c]
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xfffffff7
jg 0x10013501
mov byte [ebp - 0x3a], 0
movzx eax, byte [ebp - 0x3a]
test eax, eax
je 0x100134ff
push 0x1f8e
push 0x3159
push 0
call fcn.10013c1e
add esp, 0xc
jmp 0x100134d2
jmp 0x1001349f
push dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
call fcn.10011df0
pop ecx
pop ecx
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x18c]
call fcn.100176cc
mov al, byte [eax]
mov byte [ebp - 0x21], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.10017670
push 1
lea ecx, [ebp - 0x58]
call fcn.1001770e
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], 0xfffffff6
mov dword [ebp - 0x20], 0xfffffffd
push 2
lea ecx, [ebp - 0x1c8]
call fcn.1001770e
mov byte [ebp - 4], 5
mov dword [ebp - 0xf0], 0x21526695
push 0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10015a33
add esp, 0xc
mov dword [ebp - 0x4c], 0
jmp 0x100135a8
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x100135be
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x90], 0
jmp 0x100135a1
lea eax, [ebp - 0x4c]
push eax
push 0x2d1e
lea eax, [ebp - 0x1c8]
push eax
push 0x1b9b
push 1
call fcn.10012a60
add esp, 0x14
mov dword [ebp - 0x10], 0
jmp 0x100135ed
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x10013b7c
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x2c], 0xfffffff6
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.1001779a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x210], eax
push 0
lea ecx, [ebp - 0x58]
call fcn.1001779a
cmp dword [eax], 0x350d8af8
jle 0x10013637
mov dword [ebp - 0x110], 1
jmp 0x1001363e
and dword [ebp - 0x110], 0
imul eax, dword [ebp - 0x110], 0x1b35
mov dword [ebp - 0x40], eax
mov esi, dword [ebp - 0x40]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.1001779a
imul esi, dword [eax]
cmp esi, 0xe34e
je 0x10013670
mov dword [ebp - 0x168], 1
jmp 0x10013677
and dword [ebp - 0x168], 0
mov esi, dword [ebp - 0x168]
sub esi, dword [ebp - 0x10]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.1001779a
cmp esi, dword [eax]
jl 0x1001369b
mov dword [ebp - 0x118], 1
jmp 0x100136a2
and dword [ebp - 0x118], 0
push 0
lea ecx, [ebp - 0x58]
call fcn.1001779a
mov ecx, dword [ebp - 0x118]
cmp ecx, dword [eax]
jle 0x100136cf
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.1001779a
cmp dword [eax], 0
jne 0x100136cf
and dword [ebp - 0x150], 0
jmp 0x100136d9
mov dword [ebp - 0x150], 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.1001779a
mov ecx, dword [ebp - 0x150]
cmp ecx, dword [eax]
jge 0x100136fa
mov dword [ebp - 0x120], 1
jmp 0x10013701
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
sub eax, 0x56411d7f
cmp eax, 0xfff8
je 0x1001371f
mov dword [ebp - 0x178], 1
jmp 0x10013726
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x178], eax
jl 0x1001373d
mov dword [ebp - 0x128], 1
jmp 0x10013744
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x128], eax
jle 0x1001375b
mov dword [ebp - 0x158], 1
jmp 0x10013762
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x158], eax
jle 0x10013779
mov dword [ebp - 0x130], 1
jmp 0x10013780
and dword [ebp - 0x130], 0
mov esi, dword [ebp - 0x130]
add esi, 8
push 0
lea ecx, [ebp - 0x58]
call fcn.1001779a
cmp esi, dword [eax]
jge 0x100137a3
mov dword [ebp - 0x170], 1
jmp 0x100137aa
and dword [ebp - 0x170], 0
cmp dword [ebp - 0x170], 4
jbe 0x100137bf
mov dword [ebp - 0x138], 1
jmp 0x100137c6
and dword [ebp - 0x138], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x90]
add eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x20]
jge 0x10013935
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x20], 0
jmp 0x100137f9
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x10013812
mov byte [ebp - 0x3b], 0
push 1
lea eax, [ebp - 0x3b]
push eax
call fcn.10012b0a
pop ecx
pop ecx
jmp 0x100137f2
mov eax, 0x98ef
test eax, eax
je 0x1001382d
cmp dword [ebp - 0x64], 0
je 0x1001382d
mov dword [ebp - 0x160], 1
jmp 0x10013834
and dword [ebp - 0x160], 0
cmp dword [ebp - 0x64], 0
je 0x10013840
cmp dword [ebp - 0x20], 0
jne 0x1001384f
cmp dword [ebp - 0x2c], 0
jne 0x1001384f
and dword [ebp - 0xf8], 0
jmp 0x10013859
mov dword [ebp - 0xf8], 1
mov eax, dword [ebp - 0x160]
cmp eax, dword [ebp - 0xf8]
jle 0x10013873
mov dword [ebp - 0xfc], 1
jmp 0x1001387a
and dword [ebp - 0xfc], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.1001779a
mov esi, dword [eax]
add esi, dword [ebp - 0xfc]
push 4
pop eax
imul eax, eax, 0
imul esi, dword [ebp + eax - 0x90]
push 0
lea ecx, [ebp - 0x58]
call fcn.1001779a
cmp esi, dword [eax]
jle 0x100138b5
mov dword [ebp - 0x104], 1
jmp 0x100138bc
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0x518d
jle 0x100138d4
mov dword [ebp - 0x10c], 1
jmp 0x100138db
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x64], eax
mov esi, dword [ebp - 0x64]
push 0
lea ecx, [ebp - 0x58]
call fcn.1001779a
cmp esi, dword [eax]
jl 0x10013901
mov dword [ebp - 0x98], 1
jmp 0x10013908
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0x99db
jle 0x10013920
mov dword [ebp - 0xa0], 1
jmp 0x10013927
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x2c], eax
jmp 0x10013b4f
mov dword [ebp - 0xb8], 0x10aa
mov dword [ebp - 0x2c], 0
jmp 0x1001394f
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x100139a2
push 0x2d78
push 0x2311
push 0x209d
push 0
call fcn.10015f6e
add esp, 0x10
mov dword [ebp - 0x40], 0
jmp 0x1001397e
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jg 0x100139a0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.1001779a
cmp dword [eax], 0
je 0x10013996
jmp 0x100139a0
cmp dword [ebp - 0x2c], 0
je 0x1001399e
jmp 0x10013977
jmp 0x10013977
jmp 0x10013948
mov dword [ebp - 0x20], 0
jmp 0x100139b2
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x10013b4f
mov dword [ebp - 0x190], 4
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x90]
mov dword [ebp - 0x1fc], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.1001779a
cmp dword [eax], 0
jne 0x10013a9a
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
cmp dword [ebp + eax - 0x90], ecx
jg 0x10013a08
mov dword [ebp - 0xa8], 1
jmp 0x10013a0f
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
sub eax, dword [ebp - 0x10]
add eax, 0x7236c342
cmp eax, dword [ebp - 0xb8]
jle 0x10013a31
mov dword [ebp - 0xb0], 1
jmp 0x10013a38
and dword [ebp - 0xb0], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.1001779a
mov eax, dword [eax]
cmp eax, dword [ebp - 0xb0]
jg 0x10013a59
mov dword [ebp - 0xc0], 1
jmp 0x10013a60
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0xc0], eax
jne 0x10013a7a
mov dword [ebp - 0xc8], 1
jmp 0x10013a81
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
add eax, 0x4289
cmp eax, 1
jbe 0x10013a9a
and dword [ebp - 0xd0], 0
jmp 0x10013aa4
mov dword [ebp - 0xd0], 1
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x90]
imul eax, dword [ebp - 0xd0]
test eax, eax
jne 0x10013ac8
mov eax, 0x9934b93d
test eax, eax
jne 0x10013ac8
and dword [ebp - 0x68], 0
jmp 0x10013acf
mov dword [ebp - 0x68], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x90], ecx
push 1
lea ecx, [ebp - 0x1c8]
call fcn.1001779a
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
mov eax, dword [ebp - 0x68]
sub eax, 0x2e7a53cc
jne 0x10013b04
mov dword [ebp - 0xd8], 1
jmp 0x10013b0b
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x190], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x58]
call fcn.1001779a
cmp dword [eax], 0xdb81
jle 0x10013b36
mov dword [ebp - 0xe0], 1
jmp 0x10013b3d
and dword [ebp - 0xe0], 0
imul eax, dword [ebp - 0xe0], 0
mov dword [ebp - 0xf0], eax
jmp 0x100139ab
cmp dword [ebp - 0x2c], 0x5f31fd02
jl 0x10013b64
mov dword [ebp - 0xe8], 1
jmp 0x10013b6b
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
jmp 0x100135e6
push 0x4f4d
push 0x1eef
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0x657f
call fcn.10017385
add esp, 0x18
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c8]
call fcn.10017795
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10017795
mov eax, dword [ebp + 8]
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x198]
push eax
mov ecx, 0x10cc2bf4
call fcn.100178fe
mov cl, byte [ebp - 0x21]
mov byte [eax], cl
mov al, byte [ebp - 0x21]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret