Function at 0x1001d870
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001d9d5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0x4fda
mov dword [ebp - 0x60], 0x100076b4
cmp dword [ebp - 0x1c], 0x53a9
jle 0x1001d91e
and dword [ebp - 0x14], 0
jmp 0x1001d8b5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6a82
jge 0x1001d91e
and dword [ebp - 0x18], 0
jmp 0x1001d8cb
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xe31
jge 0x1001d91c
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x70], eax
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x8c]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0x8c]
call fcn.100252df
jmp 0x1001d8c4
jmp 0x1001d8ae
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x1c], 0x4c65
jge 0x1001d936
push dword [ebp - 0x60]
call fcn.1008287d
pop ecx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1001d985
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x1001d983
push 0x2a84
push 0x68cb
push 0x56e3
push 1
push 0x6e62
push 1
push 0x65d4
push 1
call fcn.1001c93a
add esp, 0x20
jmp 0x1001d9d0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001d9b3
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], 4
jge 0x1001d9d0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.10025597
mov dword [eax], 0x5bb08661
jmp 0x1001d9a8
jmp 0x1001dab8
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0x330b
mov dword [ebp - 0x44], 0x100076e0
cmp dword [ebp - 0x20], 0x3645
jle 0x1001da96
and dword [ebp - 0x10], 0
jmp 0x1001da09
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x637d
jge 0x1001da96
and dword [ebp - 8], 0
jmp 0x1001da23
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x69dc
jge 0x1001da91
and dword [ebp - 0xc], 0
jmp 0x1001da39
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x56fc
jge 0x1001da8f
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
sar eax, cl
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x74], eax
push dword [ebp - 0x50]
push dword [ebp - 0x54]
lea ecx, [ebp - 0xa4]
call fcn.1001147b
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.100252e9
push eax
call fcn.1008287d
pop ecx
lea ecx, [ebp - 0xa4]
call fcn.100252df
jmp 0x1001da32
jmp 0x1001da1c
jmp 0x1001da02
push 1
push dword [ebp - 0x34]
push dword [ebp - 0x3c]
call fcn.1001c7e2
add esp, 0xc
cmp dword [ebp - 0x20], 0x32c3
jge 0x1001dab8
push dword [ebp - 0x44]
call fcn.1008287d
pop ecx
mov esp, ebp
pop ebp
ret