Function at 0x100013f0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10017240
push 0x10006710
mov eax, dword fs:[0]
push eax
add esp, 0xffffffd0
push ebx
push esi
push edi
mov eax, dword [0x10019034]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x10001457
cmp dword [ebp + 0xc], 0
je 0x10001457
cmp dword [ebp + 0x10], 0
je 0x10001457
cmp dword [ebp + 0x14], 0
jne 0x10001463
mov dword [ebp - 4], 0xfffffffe
jmp 0x100016de
mov dword [ebp - 4], 0xfffffffe
jmp 0x10001488
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0x2714
je 0x100014a6
mov dword [ebp - 4], 0xfffffffe
jmp 0x100016de
mov dword [ebp - 4], 0xfffffffe
jmp 0x100014cb
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x28], edx
push 4
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.10006880
add esp, 0xc
test eax, eax
je 0x100016de
mov edx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x40], 6
jmp 0x1000150f
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 4
cmp ecx, dword [ebp - 0x28]
ja 0x100016de
mov dword [ebp - 4], 2
mov dword [ebp - 0x20], 0
jmp 0x10001537
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 6
jae 0x100016b7
mov eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x20]
cmp dword [edx*8 + section..data], ecx
jne 0x100016b2
mov eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
cmp ecx, 0xfffffff5
jne 0x10001699
mov edx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
movsx ecx, byte [eax]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x1c]
add edx, 4
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x34], 0
jne 0x100015a0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx*8 + 0x10019004]
call edx
add esp, 0xc
jmp 0x1000152e
push 4
mov eax, dword [ebp - 0x34]
push eax
call fcn.10008e03
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x10001694
mov dword [ebp - 0x2c], 0
jmp 0x100015cd
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x34]
jae 0x10001694
mov eax, dword [ebp - 0x1c]
add eax, 4
cmp eax, dword [ebp - 0x28]
jae 0x1000167c
mov ecx, dword [ebp - 0x1c]
movsx edx, byte [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x28]
ja 0x1000167c
push 2
push 0x208
call fcn.10008e03
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1000166e
push 0x208
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jbe 0x1000165b
push 0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax*8 + 0x10019004]
call ecx
add esp, 0xc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
mov dword [eax + edx*4], ecx
jmp 0x1000166e
mov edx, dword [ebp - 0x24]
push edx
call fcn.10008e0e
add esp, 4
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
jmp 0x100015c4
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10008e0e
add esp, 4
mov dword [ebp - 0x30], 0
jmp 0x100015c4
jmp 0x1000152e
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax*8 + 0x10019004]
call ecx
add esp, 0xc
jmp 0x100016b7
jmp 0x1000152e
mov dword [ebp - 4], 0xfffffffe
jmp 0x100016d9
jmp 0x10001506
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret