Function at 0x42293e
Capabilities:
Query environment variable

Disassembly:
push 0x18
mov eax, 0x4dfd5d
call fcn.004bee78
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp + 0xc]
lea ecx, [esi + 8]
push eax
call fcn.00424f1e
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00469d40
pop ecx
lea edi, [ebp - 0x14]
call fcn.0046a610
pop ecx
lea eax, [ebp + 0xc]
lea ebx, [esi + 0xc]
push eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00424f1e
mov eax, dword [ebx]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x4229f3
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4e8fa8
call fcn.004247f3
push ecx
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0x20], esp
push dword [esi]
push 0x4e8fac
push eax
call fcn.0046aaf0
add esp, 8
mov byte [ebp - 4], 3
mov eax, edi
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.00424efd
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0046a3b0
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00424837
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042201a
push 4
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.004249e2
push 0x4e8fdc
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00424e28
neg eax
sbb al, al
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
inc al
add ecx, 0xfffffff0
mov byte [ebp - 0xd], al
call fcn.0042201a
cmp byte [ebp - 0xd], 0
je 0x422a39
push 0
push ebx
push 4
pop eax
call fcn.0042488a
mov esi, 0x104
push esi
mov ecx, ebx
call fcn.004224cd
mov ecx, dword [ebx]
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00424b01
push 4
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.004249e2
push 0x4e8fa8
xor ecx, ecx
mov esi, eax
call fcn.00424906
mov ecx, dword [ebp - 0x18]
cmp eax, 0xffffffff
sete byte [ebp - 0xd]
add ecx, 0xfffffff0
call fcn.0042201a
cmp byte [ebp - 0xd], 0
mov esi, 0x4e8fa8
je 0x422aeb
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push esi
call fcn.004247f3
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
call fcn.004247de
push ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00424efd
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0046a3b0
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 8
call fcn.00424837
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0042201a
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00424a42
add esp, 8
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x4e8fe8
call fcn.004247f3
push ebx
mov byte [ebp - 4], 1
call fcn.0046ebb0
pop ecx
pop ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push esi
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00424a42
add esp, 8
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.SystemRoot_
call fcn.004247f3
push ebx
mov byte [ebp - 4], 1
call fcn.0046ebb0
mov eax, dword [ebp + 8]
add esp, 0xc
push 0
lea ecx, [eax + 0x14]
push ecx
add eax, 0x10
push eax
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push ebx
call fcn.004247de
call fcn.004786e0
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0042201a
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0042201a
call fcn.004bef50
ret 8