Function at 0x100170e8
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10143c76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push esi
push edi
mov dword [ebp - 0x54], 0xfffffff7
mov dword [ebp - 0x238], 0xffffffff
mov dword [ebp - 0x214], 2
push 1
lea ecx, [ebp - 0x234]
call fcn.100141a5
and dword [ebp - 4], 0
mov dword [ebp - 0x104], 0x283bc1b0
mov dword [ebp - 0x14], 0
jmp 0x1001714e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10017164
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x224], 3
jmp 0x10017147
mov dword [ebp - 0x14], 0
jmp 0x10017174
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1001718d
push dword [ebp - 0x14]
lea ecx, [ebp - 0x234]
call fcn.1001420c
and dword [eax], 0
jmp 0x1001716d
mov dword [ebp - 0x54], 0
jmp 0x1001719d
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jg 0x1001721a
mov dword [ebp - 0x18], 0xfd4914d2
mov dword [ebp - 0x18], 0
jmp 0x100171ba
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x100171d0
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x224], 0xc7555b7c
jmp 0x100171b3
mov dword [ebp - 0x18], 0
jmp 0x100171e0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jg 0x10017215
mov dword [ebp - 0x44], 0x14173bf3
mov dword [ebp - 0x44], 0
jmp 0x100171fd
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x10017213
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x224], 0x8872fa4
jmp 0x100171f6
jmp 0x100171d9
jmp 0x10017196
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.10014207
mov dword [ebp - 0x80], 8
mov dword [ebp - 0x7c], 8
mov dword [ebp - 0x78], 8
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x68], 0
jmp 0x10017269
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jge 0x1001727c
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x34], 0x4a8c6a53
jmp 0x10017262
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x80], 0
jmp 0x100172a1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x80]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x80], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x80], 0
jl 0x10017423
mov dword [ebp - 0x180], 0xbe92e3f9
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x80]
push 4
pop ecx
imul ecx, ecx, 3
mov ecx, dword [ebp + ecx - 0x80]
cmp dword [ebp + eax*4 - 0x34], ecx
jne 0x100172e2
mov dword [ebp - 0x168], 1
jmp 0x100172e9
and dword [ebp - 0x168], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x80]
cmp dword [ebp + eax*4 - 0x34], 0
je 0x10017317
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x80]
cmp dword [ebp + eax*4 - 0x34], 0
je 0x10017317
mov dword [ebp - 0x17c], 1
jmp 0x1001731e
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x244], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x80]
cmp dword [ebp + eax*4 - 0x34], 9
je 0x10017344
mov dword [ebp - 0x12c], 1
jmp 0x1001734b
and dword [ebp - 0x12c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x80]
mov eax, dword [ebp + eax*4 - 0x34]
sub eax, dword [ebp - 0x168]
cmp eax, dword [ebp - 0x12c]
jg 0x10017373
mov dword [ebp - 0xa8], 1
jmp 0x1001737a
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0x7110e6b6
jne 0x10017392
mov dword [ebp - 0x120], 1
jmp 0x10017399
and dword [ebp - 0x120], 0
cmp dword [ebp - 0x120], 0
jae 0x100173ae
mov dword [ebp - 0xb0], 1
jmp 0x100173b5
and dword [ebp - 0xb0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x80]
imul eax, dword [ebp - 0xb0]
test eax, eax
jne 0x100173d5
mov dword [ebp - 0x128], 1
jmp 0x100173dc
and dword [ebp - 0x128], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x80]
cmp dword [ebp - 0x128], eax
jne 0x1001740b
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x80]
cmp dword [ebp + eax*4 - 0x34], 0
je 0x1001740b
mov dword [ebp - 0xb8], 1
jmp 0x10017412
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x180], eax
jmp 0x1001728c
mov dword [ebp - 0x38], 0xfffffff1
jmp 0x10017433
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 8
jle 0x10017494
mov dword [ebp - 0x130], 0xbb000e2e
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x130], eax
jge 0x1001745a
mov dword [ebp - 0xc0], 1
jmp 0x10017461
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x130]
cmp eax, dword [ebp - 0xc0]
jle 0x1001747b
mov dword [ebp - 0x138], 1
jmp 0x10017482
and dword [ebp - 0x138], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x138]
mov dword [ebp + eax - 0x80], ecx
jmp 0x1001742c
mov dword [ebp - 0x28], 0x42eb90da
push 4
lea ecx, [ebp - 0x1f4]
call fcn.100141a5
mov dword [ebp - 4], 1
mov dword [ebp - 0x1b0], 0xa7221ebc
and dword [ebp - 0x1e8], 0
and dword [ebp - 0x1e4], 0
and dword [ebp - 0x1e0], 0
and dword [ebp - 0x1dc], 0
lea ecx, [ebp - 0x89]
call fcn.10012f28
push eax
lea eax, [ebp - 0x1d8]
push eax
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x24c]
call fcn.1001421b
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x20c]
call fcn.100141e1
mov byte [ebp - 4], 2
mov dword [ebp - 0x84], 0x7736
mov dword [ebp - 0x5c], 0
jmp 0x10017528
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 4
jge 0x10017541
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x1f4]
call fcn.1001420c
and dword [eax], 0
jmp 0x10017521
mov dword [ebp - 0x28], 0
jmp 0x10017551
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffffb
jg 0x10017947
push 3
lea ecx, [ebp - 0x178]
call fcn.100141a5
mov byte [ebp - 4], 3
push 4
lea ecx, [ebp - 0x194]
call fcn.100141a5
mov byte [ebp - 4], 4
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x1c], 0
jmp 0x10017597
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x100175b3
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x178]
call fcn.1001420c
mov dword [eax], 9
jmp 0x10017590
mov dword [ebp - 0x1c], 0
jmp 0x100175c3
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x100175df
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x194]
call fcn.1001420c
mov dword [eax], 0x5261fc42
jmp 0x100175bc
push 1
lea ecx, [ebp - 0x178]
call fcn.1001420c
mov dword [eax], 0x18
jmp 0x10017618
push 1
lea ecx, [ebp - 0x178]
call fcn.1001420c
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc8]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x178]
call fcn.1001420c
cmp dword [eax], 9
jl 0x100177b9
mov dword [ebp - 0x3c], 0x8cccddd1
mov dword [ebp - 0x3c], 0
jmp 0x10017645
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jg 0x100177b4
mov dword [ebp - 0x148], 0xd68f985
mov dword [ebp - 0x184], 5
mov dword [ebp - 0x16c], 0x79d44f4c
mov eax, 0xd9ba
test eax, eax
je 0x100176a0
push 0
lea ecx, [ebp - 0x194]
call fcn.1001420c
mov dword [ebp - 0x140], eax
push 0
lea ecx, [ebp - 0x178]
call fcn.1001420c
mov ecx, dword [ebp - 0x140]
mov eax, dword [eax]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x178]
call fcn.1001420c
cmp dword [ebp - 0x184], 0x97b0
jle 0x100176c5
mov dword [ebp - 0xd0], 1
jmp 0x100176cc
and dword [ebp - 0xd0], 0
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x1f4]
call fcn.1001420c
mov eax, dword [eax]
cmp eax, dword [ebp - 0xd0]
jle 0x100176f0
mov dword [ebp - 0xd8], 1
jmp 0x100176f7
and dword [ebp - 0xd8], 0
mov dword [ebp - 0x148], 1
mov eax, dword [ebp - 0x148]
cmp eax, dword [ebp - 0xd8]
jg 0x1001771b
mov dword [ebp - 0x150], 1
jmp 0x10017722
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x150], eax
jg 0x1001773e
or eax, 0xffffffff
je 0x1001773e
mov dword [ebp - 0xe0], 1
jmp 0x10017745
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0x84b7
jne 0x1001775d
mov dword [ebp - 0x158], 1
jmp 0x10017764
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x16c]
cmp dword [ebp - 0x158], eax
je 0x1001777e
mov dword [ebp - 0x160], 1
jmp 0x10017785
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x160], eax
jge 0x1001779c
mov dword [ebp - 0xec], 1
jmp 0x100177a3
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x16c], eax
jmp 0x1001763e
jmp 0x100175f4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x240], eax
imul esi, dword [ebp - 0x90], 0xfffffff6
push 3
lea ecx, [ebp - 0x20c]
call fcn.1001420c
cmp esi, dword [eax]
jl 0x100177e6
mov dword [ebp - 0xf4], 1
jmp 0x100177ed
and dword [ebp - 0xf4], 0
push 0
lea ecx, [ebp - 0x194]
call fcn.1001420c
mov ecx, dword [ebp - 0xf4]
cmp ecx, dword [eax]
jl 0x10017810
mov dword [ebp - 0x134], 1
jmp 0x10017817
and dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0xe82b
jne 0x1001782f
mov dword [ebp - 0xfc], 1
jmp 0x10017836
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 5
jge 0x1001784b
mov dword [ebp - 0x154], 1
jmp 0x10017852
and dword [ebp - 0x154], 0
cmp dword [ebp - 0x154], 0xe3c2
jge 0x10017870
push 1
lea ecx, [ebp - 0x20c]
call fcn.1001420c
cmp dword [eax], 0
je 0x1001788e
push 1
lea ecx, [ebp - 0x178]
call fcn.1001420c
cmp dword [eax], 0
je 0x1001788e
mov dword [ebp - 0xa0], 1
jmp 0x10017895
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0xa0]
jge 0x100178c8
cmp dword [ebp - 0x1b0], 0
jne 0x100178c8
and dword [ebp - 0x13c], 0
jmp 0x100178d2
mov dword [ebp - 0x13c], 1
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x13c], eax
jl 0x100178ec
mov dword [ebp - 0x10c], 1
jmp 0x100178f3
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x10c], eax
jge 0x1001790a
mov dword [ebp - 0x1bc], 1
jmp 0x10017911
and dword [ebp - 0x1bc], 0
push 0
lea ecx, [ebp - 0x194]
call fcn.1001420c
mov dword [eax], 0x6f576105
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x194]
call fcn.10014207
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x178]
call fcn.10014207
jmp 0x1001754a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20c]
call fcn.10014207
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.10014207
movzx eax, byte [0x105d883e]
test eax, eax
je 0x10017983
mov esi, 0x10193f00
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
jmp 0x10018156
mov dword [ebp - 0x218], 0x10193f00
mov dword [ebp - 0x23c], 0x10193f04
mov byte [0x105d883e], 1
xor eax, eax
inc eax
imul eax, eax, 0x148
add eax, 0x10192800
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10], 0x3248c66
mov dword [ebp - 0x11c], 0xba6b42be
mov dword [ebp - 0x124], 0x551fa4c8
push 4
lea ecx, [ebp - 0x1c8]
call fcn.100141a5
mov dword [ebp - 4], 5
mov dword [ebp - 0xe8], 0x91c84132
mov dword [ebp - 0x108], 0x72d50fa8
mov dword [ebp - 0x1b8], 0xffffffff
mov dword [ebp - 0x228], 0x914a
mov dword [ebp - 0x6c], 0
jmp 0x10017a19
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jge 0x10017a35
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x1c8]
call fcn.1001420c
mov dword [eax], 0x5bb08661
jmp 0x10017a12
cmp dword [ebp - 0x10], 0xffffffff
jle 0x10017a47
mov dword [ebp - 0xf8], 1
jmp 0x10017a4e
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, dword [ebp - 0x10]
jl 0x10017a63
mov dword [ebp - 0x164], 1
jmp 0x10017a6a
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x164]
sub eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x10]
cmp eax, 0x2717
je 0x10017a89
mov dword [ebp - 0x114], 1
jmp 0x10017a90
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x114], eax
jl 0x10017aa7
mov dword [ebp - 0x144], 1
jmp 0x10017aae
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
jl 0x10017ad4
mov dword [ebp - 0x15c], 1
jmp 0x10017adb
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
imul eax, dword [ebp - 0x10]
test eax, eax
jl 0x10017b01
mov dword [ebp - 0x188], 1
jmp 0x10017b08
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x210], eax
mov eax, 0x120d
sub eax, 0xfffffff8
mov dword [ebp - 0x14c], eax
push 2
lea ecx, [ebp - 0x1c8]
call fcn.1001420c
mov ecx, dword [ebp - 0x14c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x14c], eax
jle 0x10017b4b
mov dword [ebp - 0xe4], 1
jmp 0x10017b52
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 3
jb 0x10017b76
mov dword [ebp - 0xf0], 1
jmp 0x10017b7d
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xf0]
cmp dword [ebp - 0xf8], eax
je 0x10017ba9
push 2
lea ecx, [ebp - 0x1c8]
call fcn.1001420c
cmp dword [eax], 0
jne 0x10017ba9
and dword [ebp - 0x100], 0
jmp 0x10017bb3
mov dword [ebp - 0x100], 1
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x10017bdd
call dword [sym.imp.USER32.dll_WaitMessage]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c8]
call fcn.10014207
xor eax, eax
inc eax
imul eax, eax, 0x1c
add eax, 0x10192800
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x64], 0x68ec0ae9
mov dword [ebp - 0x198], 0xbf2d3f50
mov dword [ebp - 0x64], 0x1b
jmp 0x10017c1e
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xfffffffa
jle 0x10017c91
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x4c], 0
jmp 0x10017c3b
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jge 0x10017c51
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x258], 1
jmp 0x10017c34
mov dword [ebp - 0x40], 0
jmp 0x10017c61
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jg 0x10017c71
cmp dword [ebp - 0x40], 0
je 0x10017c6f
jmp 0x10017c71
jmp 0x10017c5a
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x10017c8f
push 0x1769
push 0xe14
push 0
call dword [sym.imp.USER32.dll_RemoveMenu]
jmp 0x10017c17
mov dword [ebp - 0x198], 1
mov eax, dword [ebp - 0x110]
mov dword [0x10193f00], eax
mov eax, dword [ebp - 0x88]
mov dword [0x10193f04], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x88]
push dword [ecx + eax]
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x110]
push dword [ecx + eax]
call fcn.10017017
pop ecx
pop ecx
mov dword [ebp - 0x1ac], eax
push 2
lea ecx, [ebp - 0x200]
call fcn.100141a5
mov dword [ebp - 4], 6
mov dword [ebp - 0x50], 0xfffffff6
mov dword [ebp - 0x70], 0
jmp 0x10017d07
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jge 0x10017d23
push dword [ebp - 0x70]
lea ecx, [ebp - 0x200]
call fcn.1001420c
mov dword [eax], 1
jmp 0x10017d00
mov dword [ebp - 0x50], 1
jmp 0x10017d33
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x10017eeb
push 1
lea ecx, [ebp - 0x1a4]
call fcn.100141a5
mov byte [ebp - 4], 7
mov dword [ebp - 0x58], 0
jmp 0x10017d5e
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
jge 0x10017d7a
push dword [ebp - 0x58]
lea ecx, [ebp - 0x1a4]
call fcn.1001420c
mov dword [eax], 1
jmp 0x10017d57
push 0
lea ecx, [ebp - 0x1a4]
call fcn.1001420c
and dword [eax], 0
jmp 0x10017db0
push 0
lea ecx, [ebp - 0x1a4]
call fcn.1001420c
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x118]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x1a4]
call fcn.1001420c
cmp dword [eax], 1
jg 0x10017ed7
mov dword [ebp - 0x60], 0xffffffff
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x10017dea
push 0
push 0
push 0x1cd2
push 0
call dword [sym.imp.USER32.dll_AppendMenuA]
mov dword [ebp - 0x60], 1
jmp 0x10017dfa
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jl 0x10017ed2
mov dword [ebp - 0x24], 0x5f0ed1ad
mov dword [ebp - 0x24], 1
jmp 0x10017e1b
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x10017e9a
mov dword [ebp - 0x48], 0x498e64e6
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x10017e4d
push 0x1ef3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov dword [ebp - 0x48], 1
jmp 0x10017e5d
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x10017e95
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x10017e7e
push 0
push 0x7fa
push 0
call dword [sym.imp.GDI32.dll_GetObjectW]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x200]
call fcn.1001420c
cmp dword [eax], 0
je 0x10017e93
jmp 0x10017e95
jmp 0x10017e56
jmp 0x10017e14
mov dword [ebp - 0x24], 0
jmp 0x10017eaa
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x10017ecd
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10017ecb
push 0x1aad
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x10017ea3
jmp 0x10017df3
jmp 0x10017d8c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1a4]
call fcn.10014207
jmp 0x10017d2c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x200]
call fcn.10014207
push dword [ebp - 0x88]
mov edx, 0x10191f04
mov ecx, dword [ebp - 0x1ac]
call fcn.100170b1
pop ecx
push 3
lea ecx, [ebp - 0x9c]
call fcn.100141a5
mov dword [ebp - 4], 8
mov dword [ebp - 0x1b4], 3
mov dword [ebp - 0x20], 0
jmp 0x10017f3f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x10017f55
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x1d4], 0xae35
jmp 0x10017f38
mov dword [ebp - 0x20], 0
jmp 0x10017f65
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x10017f81
push dword [ebp - 0x20]
lea ecx, [ebp - 0x9c]
call fcn.1001420c
mov dword [eax], 0xcd453606
jmp 0x10017f5e
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001420c
mov dword [eax], 2
jmp 0x10017fba
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001420c
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001420c
cmp dword [eax], 0
jl 0x100180f2
mov dword [ebp - 0x1a8], 5
mov dword [ebp - 0xd4], 0x2aa9dade
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x1d4]
cmp dword [ebp + eax - 0x1d4], ecx
jle 0x1001800c
mov dword [ebp - 0xc4], 1
jmp 0x10018013
and dword [ebp - 0xc4], 0
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001420c
cmp dword [eax], 0
je 0x1001803a
cmp dword [ebp - 0xd4], 0
je 0x1001803a
mov dword [ebp - 0xac], 1
jmp 0x10018041
and dword [ebp - 0xac], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xac]
sub ecx, dword [ebp + eax - 0x1d4]
push 4
pop eax
shl eax, 0
cmp ecx, dword [ebp + eax - 0x1d4]
jge 0x10018081
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001420c
cmp dword [eax], 0
je 0x10018081
mov dword [ebp - 0xb4], 1
jmp 0x10018088
and dword [ebp - 0xb4], 0
mov esi, dword [ebp - 0x1a8]
sub esi, dword [ebp - 0xb4]
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001420c
add esi, dword [eax]
cmp esi, 1
je 0x100180b4
mov dword [ebp - 0xbc], 1
jmp 0x100180bb
and dword [ebp - 0xbc], 0
mov eax, 0x693009c
sub eax, dword [ebp - 0xbc]
cmp dword [ebp - 0xc4], eax
jge 0x100180da
mov dword [ebp - 0xcc], 1
jmp 0x100180e1
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], eax
jmp 0x10017f96
push 2
lea ecx, [ebp - 0x9c]
call fcn.1001420c
push 1
lea ecx, [ebp - 0x9c]
call fcn.1001420c
mov eax, dword [eax]
add eax, 0xab79
cmp eax, 0x2c02
jg 0x10018126
mov dword [ebp - 0xdc], 1
jmp 0x1001812d
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x1b4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.10014207
mov esi, 0x10193f00
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret