Function at 0x9f8910
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0xa89e0d
push eax
mov eax, 0x2678
mov dword fs:[0], esp
call fcn.00a7e750
mov al, byte [esp + 3]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov byte [esp + 0x44], al
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x478]
mov dword [esp + 0x2690], ebx
call fcn.00a155c0
xor esi, esi
mov byte [esp + 0x2690], 1
mov dword [esp + 0x3c], esi
cmp esi, ebx
push 3
jne 0x9f8981
lea ecx, [esp + 0x18]
push ecx
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push 0x80000002
jmp 0x9f8990
lea edx, [esp + 0x18]
push edx
push str.Environment
push 0x80000001
call fcn.00a40f80
add esp, 0x10
cmp eax, ebx
jne 0x9f8b3e
xor ebp, ebp
lea eax, [esp + 0x38]
lea ecx, [esp + 0x688]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x4c]
push ebx
lea ecx, [esp + 0x278]
push eax
push ecx
push ebp
push edx
mov dword [esp + 0x58], 0x2000
mov dword [esp + 0x60], 0x208
call fcn.00a41e20
mov edi, eax
add esp, 0x20
cmp edi, 0x103
je 0x9f8b20
cmp edi, 0xea
je 0x9f8b20
mov eax, dword [esp + 0x38]
mov ecx, eax
and ecx, 0xfffffffe
cmp ecx, 0x3ffe
jae 0x9f8a15
shr eax, 1
mov word [esp + eax*2 + 0x688], bx
lea edx, [esp + 0x268]
push str.VirtualPath
push edx
call fcn.00a886d0
add esp, 8
test eax, eax
jne 0x9f8af2
lea eax, [esp + 0x688]
lea ecx, [esp + 0x58]
push eax
call fcn.00a152e0
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x688]
push 0x1000
push ecx
push edx
mov byte [esp + 0x269c], 2
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [esp + 0x688]
test eax, eax
je 0x9f8a7e
lea ecx, [esp + 0x688]
push ecx
call fcn.00a7e07a
add esp, 4
lea edx, [esp + 0x688]
push eax
push edx
lea ecx, [esp + 0x60]
call fcn.00a15a90
cmp dword [esp + 0x47c], ebx
je 0x9f8aa4
push 0x3b
lea ecx, [esp + 0x5c]
call fcn.00a15cc0
mov eax, dword [esp + 0x480]
cmp eax, ebx
mov esi, eax
je 0x9f8abc
push eax
call fcn.00a7e07a
add esp, 4
jmp 0x9f8abe
xor eax, eax
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.00a15880
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
push eax
push ecx
lea ecx, [esp + 0x480]
call fcn.00a15a90
lea ecx, [esp + 0x58]
mov byte [esp + 0x2690], 1
call fcn.00a155e0
jmp 0x9f8b20
lea edx, [esp + 0x268]
push str.Path
push edx
call fcn.00a886d0
add esp, 8
test eax, eax
je 0x9f8b20
lea eax, [esp + 0x688]
lea ecx, [esp + 0x268]
push eax
push ecx
call fcn.00a20410
inc ebp
cmp edi, 0x103
jne 0x9f89a2
mov edx, dword [esp + 0x14]
push edx
call fcn.00a41390
mov esi, dword [esp + 0x40]
add esp, 4
inc esi
cmp esi, 2
mov dword [esp + 0x3c], esi
jl 0x9f896a
cmp dword [esp + 0x47c], ebx
je 0x9f8d11
lea ecx, [esp + 0x268]
call fcn.00a155c0
lea ecx, [esp + 0x58]
mov byte [esp + 0x2690], 3
call fcn.00a155c0
lea eax, [esp + 0x268]
mov byte [esp + 0x2690], 4
push eax
push 0xaa0fd8
call fcn.009f8680
mov cl, byte [esp + 0x1b]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x30], cl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dl, byte [esp + 0x1b]
mov dword [esp + 0x24], ebx
mov byte [esp + 0x20], dl
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x278]
lea eax, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x26a0], 6
call fcn.009f86e0
mov eax, dword [esp + 0x490]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.009f86e0
add esp, 0x18
xor edi, edi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x9f8c3f
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x9f8c3f
cmp edi, ebx
je 0x9f8c11
push 0x3b
lea ecx, [esp + 0x5c]
call fcn.00a15cc0
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + edi*4]
cmp esi, ebx
je 0x9f8c2f
push esi
call fcn.00a7e07a
add esp, 4
lea ecx, [esp + 0x58]
push eax
push esi
call fcn.00a15880
inc edi
jmp 0x9f8be9
xor eax, eax
lea ecx, [esp + 0x58]
push eax
push esi
call fcn.00a15880
inc edi
jmp 0x9f8be9
xor edi, edi
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x9f8cae
mov edx, dword [esp + 0x30]
sub edx, eax
sar edx, 2
cmp edi, edx
jae 0x9f8cae
mov edx, dword [eax + edi*4]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.009f88d0
add esp, 8
test al, al
jne 0x9f8cab
cmp dword [esp + 0x5c], ebx
je 0x9f8c7c
push 0x3b
lea ecx, [esp + 0x5c]
call fcn.00a15cc0
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + edi*4]
cmp esi, ebx
je 0x9f8c9e
push esi
call fcn.00a7e07a
add esp, 4
lea ecx, [esp + 0x58]
push eax
push esi
call fcn.00a15880
inc edi
jmp 0x9f8c41
xor eax, eax
lea ecx, [esp + 0x58]
push eax
push esi
call fcn.00a15880
inc edi
jmp 0x9f8c41
mov ecx, dword [esp + 0x60]
push ecx
push 0xaa0fd8
call fcn.00a20410
mov edx, dword [esp + 0x1c]
push edx
call fcn.00a7d8f0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00a7d8f0
add esp, 8
lea ecx, [esp + 0x58]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x2690], 3
call fcn.00a155e0
lea ecx, [esp + 0x268]
mov byte [esp + 0x2690], 1
call fcn.00a155e0
lea ecx, [esp + 0x478]
mov byte [esp + 0x2690], bl
call fcn.00a155e0
push ebx
call fcn.00a7d8f0
mov ecx, dword [esp + 0x268c]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2684
ret