Function at 0x1001cbfc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001ce86
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x1001ccb3
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 6
jae 0x1001ccae
mov eax, dword [ebp - 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x9c]
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.10026b9d
mov ecx, eax
call fcn.100265ed
jmp 0x1001ce84
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x24], 0x1b9b
mov dword [ebp - 0x60], 0x10008948
cmp dword [ebp - 0x24], 0x1d70
jle 0x1001cdaa
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
and dword [ebp - 0x18], 0
jmp 0x1001ccf3
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3511
jge 0x1001cdaa
and dword [ebp - 0x10], 0
jmp 0x1001cd0d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3550
jge 0x1001cda5
and dword [ebp - 0x1c], 0
jmp 0x1001cd27
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4f72
jge 0x1001cda0
and dword [ebp - 8], 0
jmp 0x1001cd3d
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x7c1e
jge 0x1001cd9e
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
sar esi, cl
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 8]
xor esi, edx
mov eax, esi
cdq
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
push dword [ebp - 0x88]
push dword [ebp - 0x8c]
lea ecx, [ebp - 0xb4]
call fcn.100127de
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.10026416
push eax
call fcn.10079103
pop ecx
lea ecx, [ebp - 0xb4]
call fcn.1002640c
jmp 0x1001cd36
jmp 0x1001cd20
jmp 0x1001cd06
jmp 0x1001ccec
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0xd72
mov dword [ebp - 0x50], 0x10008998
cmp dword [ebp - 0x20], 0x10ae
jle 0x1001ce23
and dword [ebp - 0xc], 0
jmp 0x1001cdd4
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1970
jge 0x1001ce23
and dword [ebp - 0x14], 0
jmp 0x1001cdea
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x71ea
jge 0x1001ce21
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x14]
mov eax, edx
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
mov ecx, 0x10094c18
call fcn.10026436
jmp 0x1001cde3
jmp 0x1001cdcd
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x20], 0xc23
jge 0x1001ce3f
mov edx, dword [ebp - 0x50]
mov ecx, 0x10094c18
call fcn.10029186
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001ce55
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1001ce72
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.100267ee
mov dword [eax], 0x9725
jmp 0x1001ce4a
cmp dword [ebp - 0x24], 0x194e
jge 0x1001ce84
push dword [ebp - 0x60]
call fcn.10079103
pop ecx
jmp 0x1001cec2
lea eax, [ebp + 0x20]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
push 0x1e37
mov eax, dword [ebp - 0x68]
push dword [eax]
push dword [ebp - 0x70]
push 0x6bb8
mov eax, dword [ebp - 0x78]
push dword [eax]
push 1
push dword [ebp - 0x80]
call fcn.10017c12
add esp, 0x1c
pop esi
mov esp, ebp
pop ebp
ret