Function at 0x1001c3e9
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072401
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1001c6b9
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x1001c6a8
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x4c], 0x26f9
cmp dword [ebp - 0x4c], 0x867
jge 0x1001c57e
lea eax, [ebp - 0x54]
push eax
push 0x1000b4e4
call fcn.100578db
pop ecx
pop ecx
lea eax, [ebp - 0x24]
push eax
push 0x1000b4e4
call fcn.100578db
pop ecx
pop ecx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x50], 1
lea eax, [ebp - 0x50]
push eax
push 1
lea ecx, [ebp - 0x7c]
call fcn.10036a74
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
jmp 0x1001c4bd
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x54]
jge 0x1001c506
lea eax, [ebp - 0x28]
push eax
push 0x1000b4e4
call fcn.100578db
pop ecx
pop ecx
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
shl eax, 1
cmp eax, dword [ebp - 0x24]
jg 0x1001c504
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10036ac6
jmp 0x1001c4b6
mov eax, dword [ebp - 0x2c]
shl eax, 1
cmp eax, dword [ebp - 0x30]
jle 0x1001c567
lea ecx, [ebp - 0x7c]
call fcn.100148de
push eax
push 0x1000b238
call fcn.10057af6
pop ecx
pop ecx
and dword [ebp - 0x20], 0
jmp 0x1001c532
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x7c]
call fcn.100148de
cmp dword [ebp - 0x20], eax
jae 0x1001c55a
push dword [ebp - 0x20]
lea ecx, [ebp - 0x7c]
call fcn.10010682
push dword [eax]
push 0x1000b548
call fcn.10057af6
pop ecx
pop ecx
jmp 0x1001c52b
push 0x1000b125
call fcn.10057cb6
pop ecx
jmp 0x1001c572
push 0x1000b584
call fcn.10057cb6
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.1001067d
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], 0x1ac7
cmp dword [ebp - 0x60], 0xd5d
jge 0x1001c67e
lea eax, [ebp - 0x18]
push eax
push 0x1000b238
call fcn.100578db
pop ecx
pop ecx
push dword [ebp - 0x18]
call fcn.1001c39c
pop ecx
movzx eax, al
test eax, eax
je 0x1001c5c7
push dword [ebp - 0x18]
push 0x1000b588
call fcn.10057af6
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
dec eax
dec eax
push eax
call fcn.1001c39c
pop ecx
movzx eax, al
test eax, eax
je 0x1001c5ec
mov eax, dword [ebp - 0x18]
dec eax
dec eax
push eax
push 0x1000b590
call fcn.10057af6
pop ecx
pop ecx
mov dword [ebp - 0x10], 2
jmp 0x1001c5fd
mov eax, dword [ebp - 0x10]
inc eax
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jge 0x1001c67e
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
push eax
call fcn.1001c39c
pop ecx
movzx eax, al
test eax, eax
jne 0x1001c61b
jmp 0x1001c5f5
mov dword [ebp - 0x14], 2
jmp 0x1001c62b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jge 0x1001c679
push dword [ebp - 0x14]
call fcn.1001c39c
pop ecx
movzx eax, al
test eax, eax
je 0x1001c657
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x14]
push eax
call fcn.1001c39c
pop ecx
movzx eax, al
test eax, eax
jne 0x1001c659
jmp 0x1001c624
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
push eax
push 0x1000b59c
call fcn.10057af6
add esp, 0x10
jmp 0x1001c624
jmp 0x1001c5f5
push 1
mov eax, dword [ebp - 0x64]
push dword [eax]
push dword [ebp - 0x68]
push 0x1714
push 0xda0
mov eax, dword [ebp - 0x6c]
push dword [eax]
push 0x4e7
push 0
call fcn.10025d55
add esp, 0x20
jmp 0x1001c6b7
push 0x18db
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x1001c6cb
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
push 1
push dword [ebp - 0x70]
call fcn.10018606
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret