Function at 0x424f94
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov eax, 0x463135
call fcn.0043b5c0
sub esp, 0xcc
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x1a]
mov esi, 0x4675b0
push ebx
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x40], 0x4675a8
call fcn.0040b2c0
mov edi, 0x104
lea eax, [ebp - 0x38]
push edi
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.0040b853
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 1
call fcn.0040bc78
mov ecx, dword [ebp - 0x14]
push eax
push edi
mov dword [ecx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.0040bcc0
cmp dword [ebp - 0x54], ebx
je 0x425024
push dword [ebp + 0xc]
lea ecx, [ebp - 0x60]
call fcn.0040a828
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.00426a1b
mov eax, str.PATH
mov dword [ebp - 0xb0], esi
mov ecx, eax
mov dword [ebp - 0x90], 0x4675a8
test ecx, ecx
jne 0x425044
mov eax, 0x47d8e0
lea ecx, [ebp - 0x19]
push ebx
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040b3c8
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xd8]
push eax
mov byte [ebp - 4], 2
call fcn.004251c2
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.00406320
mov al, byte [ebp + 0xf]
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xd8]
push eax
push ebx
push 0x3b
mov byte [ebp - 4], 5
call fcn.0042683a
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x28], ebx
je 0x42518b
mov eax, dword [ebp - 0x24]
push 0x28
sub eax, dword [ebp - 0x28]
pop ecx
cdq
idiv ecx
cmp dword [ebp - 0x10], eax
jae 0x42518b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
push ebx
push ebx
add ecx, eax
call fcn.0040bc78
push eax
call edi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1b]
push ebx
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x68], 0x4675a8
call fcn.0040b2c0
push dword [ebp - 0x14]
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
push eax
call fcn.0040b853
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 7
call fcn.0040bc78
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [esi + 8], eax
push eax
mov eax, dword [ebp - 0x28]
add ecx, eax
call fcn.0040bc78
push eax
call edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.0040bcc0
cmp dword [ebp - 0x7c], ebx
je 0x42516b
push dword [ebp + 0xc]
lea ecx, [ebp - 0x88]
call fcn.0040a828
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.00426a1b
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
call fcn.00406320
inc dword [ebp - 0x10]
add dword [ebp - 0x18], 0x28
mov esi, 0x4675b0
jmp 0x4250af
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0041d1b6
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], bl
call fcn.00406320
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.00406320
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8