Function at 0x10013e98
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bbb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x17c
and dword [ebp - 0xa0], 0
lea ecx, [ebp - 0x164]
call fcn.1001669e
and dword [ebp - 4], 0
mov dword [ebp - 0x38], 0x8470ed99
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0x94], 0x2a19820b
mov dword [ebp - 0xec], 0xfffffff8
mov dword [ebp - 0x10], 0
jmp 0x10013f01
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x10013f14
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x54], 0xfffffffa
jmp 0x10013efa
mov dword [ebp - 0x10], 0
jmp 0x10013f24
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x10013f3a
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x124], 0x885b3d92
jmp 0x10013f1d
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x54]
mov dword [ebp - 0x134], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x54]
mov dword [ebp - 0x144], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
mov dword [ebp - 0x128], eax
push 4
pop eax
shl eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x54]
cmp dword [ebp + eax - 0x54], ecx
jl 0x10013f8c
mov dword [ebp - 0xb0], 1
jmp 0x10013f93
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0xb0], eax
jg 0x10013faa
mov dword [ebp - 0xe8], 1
jmp 0x10013fb1
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0x136dc992
je 0x10013fc6
mov dword [ebp - 0x7c], 1
jmp 0x10013fca
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0x4365dea3
jge 0x10013fdf
mov dword [ebp - 0xcc], 1
jmp 0x10013fe6
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0
jl 0x10013ffb
mov dword [ebp - 0x84], 1
jmp 0x10014002
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 1
jae 0x10014017
mov dword [ebp - 0xd4], 1
jmp 0x1001401e
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0xd4aa41a8
je 0x10014036
mov dword [ebp - 0x8c], 1
jmp 0x1001403d
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0xbd55fd0a
jbe 0x10014061
mov dword [ebp - 0x100], 1
jmp 0x10014068
and dword [ebp - 0x100], 0
mov dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x94], eax
jl 0x10014089
mov dword [ebp - 0xe4], 1
jmp 0x10014090
and dword [ebp - 0xe4], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x38]
imul ecx, dword [ebp - 0xe4]
imul ecx, dword [ebp - 0x38]
cmp dword [ebp + eax - 0x54], ecx
jne 0x100140b6
mov dword [ebp - 0x9c], 1
jmp 0x100140bd
and dword [ebp - 0x9c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
cmp dword [ebp - 0x9c], eax
jg 0x100140db
mov dword [ebp - 0x114], 1
jmp 0x100140e2
and dword [ebp - 0x114], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x54]
mov dword [ebp - 0x148], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x54]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x1001411d
cmp dword [ebp - 0x38], 0
je 0x1001411d
mov dword [ebp - 0xa4], 1
jmp 0x10014124
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xbf2b
jle 0x1001413c
mov dword [ebp - 0xf4], 1
jmp 0x10014143
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
neg eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x124], eax
mov eax, dword [ebp + 0xc]
shr eax, 1
push eax
lea ecx, [ebp - 0x164]
call fcn.1001675a
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp + 0xc]
jae 0x10014641
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x18], 0xfffffffa
mov dword [ebp - 0x14], 0
jmp 0x10014197
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x100141ad
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x130], 0xffffffff
jmp 0x10014190
mov dword [ebp - 0x14], 0
jmp 0x100141bd
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x100141d3
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x170], 0xfffffffc
jmp 0x100141b6
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x100141ee
push 0x1ddd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp dword [ebp - 0x3c], 0
je 0x10014302
cmp dword [ebp - 0x3c], 0
je 0x100142e7
cmp dword [ebp - 0x18], 0
jne 0x100142a8
cmp dword [ebp - 0x18], 0xffffffff
jge 0x1001421e
mov dword [ebp - 0xfc], 1
jmp 0x10014225
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
sub eax, 6
cmp eax, dword [ebp - 0x18]
jle 0x1001423c
mov dword [ebp - 0x74], 1
jmp 0x10014240
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x74]
je 0x1001425e
xor eax, eax
je 0x1001425e
mov dword [ebp - 0xd8], 1
jmp 0x10014265
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
sub eax, 0xe2632c5
imul eax, eax, 0xfffffffe
test eax, eax
je 0x10014289
cmp dword [ebp - 0x18], 0
je 0x10014289
mov dword [ebp - 0xb8], 1
jmp 0x10014290
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0xb8]
sub eax, 7
jne 0x100142a8
and dword [ebp - 0xf8], 0
jmp 0x100142b2
mov dword [ebp - 0xf8], 1
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xf8], eax
je 0x100142c9
mov dword [ebp - 0xc0], 1
jmp 0x100142d0
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xc0], eax
je 0x100142e7
mov dword [ebp - 0xe0], 1
jmp 0x100142ee
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xe0], eax
jl 0x10014302
mov dword [ebp - 0x6c], 1
jmp 0x10014306
and dword [ebp - 0x6c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0x130], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0x170], ecx
mov dword [ebp - 0x28], 0xfffffff9
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0xd0], 0xd6f1860e
mov dword [ebp - 0x118], 0x3cbfb41c
mov dword [ebp - 0x64], 0
jmp 0x10014358
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jge 0x1001436e
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x88], 1
jmp 0x10014351
cmp dword [ebp - 0x20], 0
jne 0x10014393
cmp dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0
jne 0x10014393
cmp dword [ebp - 0xd0], 0
jne 0x10014393
mov dword [ebp - 0xc8], 1
jmp 0x1001439a
and dword [ebp - 0xc8], 0
mov dword [ebp - 0x28], 2
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0xc8]
cmp dword [ebp - 0x28], eax
jge 0x100143bc
mov dword [ebp - 0xf0], 1
jmp 0x100143c3
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 0
jmp 0x100143dc
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jg 0x10014570
mov dword [ebp - 0x30], 0xfff9
mov dword [ebp - 0xb4], 0x4dde9ab5
mov dword [ebp - 0x48], 0
jmp 0x10014407
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jge 0x1001441d
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x13c], 0x7826243a
jmp 0x10014400
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x30], 0xa9e
jle 0x1001443e
mov dword [ebp - 0xa8], 1
jmp 0x10014445
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x30]
jge 0x1001445f
mov dword [ebp - 0xac], 1
jmp 0x10014466
and dword [ebp - 0xac], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x88]
imul eax, dword [ebp - 0xac]
cmp eax, 1
jae 0x10014488
mov dword [ebp - 0x70], 1
jmp 0x1001448c
and dword [ebp - 0x70], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp + eax - 0x13c], ecx
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x70], eax
je 0x100144b0
mov dword [ebp - 0xbc], 1
jmp 0x100144b7
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0xbc]
jge 0x100144da
mov dword [ebp - 0xc4], 1
jmp 0x100144e1
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
neg eax
cmp eax, 0xffffffff
jle 0x100144f7
mov dword [ebp - 0x78], 1
jmp 0x100144fb
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0xd660
jle 0x1001450d
mov dword [ebp - 0x80], 1
jmp 0x10014511
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x80], eax
je 0x10014525
mov dword [ebp - 0x90], 1
jmp 0x1001452c
and dword [ebp - 0x90], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x88]
cmp dword [ebp - 0x90], eax
jne 0x1001454d
mov dword [ebp - 0x98], 1
jmp 0x10014554
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x118], 0
je 0x1001456b
jmp 0x100143d5
jmp 0x100143d5
lea eax, [ebp - 0x104]
mov dword [ebp - 0x10c], eax
and dword [ebp - 0x60], 0
jmp 0x10014590
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x60], 2
jae 0x100145d9
push dword [0x10081644]
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x2c]
push eax
call fcn.1000acb3
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx + 4]
movzx eax, byte [ecx + eax]
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
push eax
call fcn.1000aa78
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10c]
add ecx, dword [ebp - 0x60]
mov byte [ecx], al
jmp 0x10014582
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x40], 0xffffffe9
jmp 0x100145f0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x11
jg 0x1001462b
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x68], 0x16
jmp 0x1001460d
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xfffffff6
jg 0x10014629
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x10014627
push 1
call fcn.10013de6
pop ecx
jmp 0x10014606
jmp 0x100145e9
push dword [ebp - 0x104]
lea ecx, [ebp - 0x164]
call fcn.10016723
jmp 0x1001416d
mov dword [ebp - 0x34], 0xd06c
mov dword [ebp - 0x14c], 0x9aa810d2
mov dword [ebp - 0x58], 0xfffffffd
mov dword [ebp - 0x4c], 0xee327439
mov dword [ebp - 0x110], 0xfc1da7bc
mov dword [ebp - 0x5c], 0
jmp 0x1001467a
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 4
jge 0x10014690
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x188], 0xdb856137
jmp 0x10014673
cmp dword [ebp - 0x34], 0
je 0x100146c4
mov dword [ebp - 0x108], 0xffffffff
mov dword [ebp - 0x34], 0
jmp 0x100146b0
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x2a
jl 0x100146c2
mov dword [ebp - 0x108], 0xfffffffb
jmp 0x100146a9
jmp 0x1001470f
mov dword [ebp - 0x140], 9
mov dword [ebp - 0x44], 0
jmp 0x100146de
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x100146f4
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x178], 0xffffffff
jmp 0x100146d7
push 0
lea eax, [ebp - 0x110]
push eax
push 0x2af9
push 0x3dbe
call fcn.10014a0d
add esp, 0x10
mov dword [ebp - 0x4c], 0
jmp 0x1001471f
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xfffffff7
jge 0x10014775
mov dword [ebp - 0x58], 0
jmp 0x10014735
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
jg 0x10014757
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x10014755
push 0x1004
push 0
call fcn.10016420
pop ecx
pop ecx
jmp 0x1001472e
mov byte [ebp - 0x1a], 0
lea eax, [ebp - 0x1a]
push eax
push 0x26e5
push 1
push 0x7a6b
call fcn.10013e0d
add esp, 0x10
jmp 0x10014718
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [ebp + 8]
call fcn.100166b1
mov eax, dword [ebp - 0xa0]
or eax, 1
mov dword [ebp - 0xa0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.100166fb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret