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

Disassembly:
mov eax, 0x4630b5
call fcn.0043c274
sub esp, 0xcc
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x1a]
mov edi, 0x4675e8
push ebx
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x4675f0
mov dword [ebp - 0x40], edi
call fcn.0040b0e9
mov esi, 0x104
lea eax, [ebp - 0x38]
push esi
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.0040b67c
mov ecx, dword [eax]
mov byte [ebp - 4], 1
mov byte [eax + 4], 1
call fcn.0040bd16
push dword [eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.0040baa1
cmp dword [ebp - 0x54], ebx
je 0x4252de
push dword [ebp + 0xc]
lea ecx, [ebp - 0x60]
call fcn.0040a5f9
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.00426ae8
mov eax, 0x479964
mov dword [ebp - 0xb0], 0x4675f0
mov ecx, eax
mov dword [ebp - 0x90], edi
test ecx, ecx
jne 0x4252fe
mov eax, 0x47e390
lea ecx, [ebp - 0x1b]
push ebx
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.0040b1f1
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xd8]
push eax
mov byte [ebp - 4], 2
call fcn.0042548c
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 4
call fcn.0040604e
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]
push 1
push eax
push ebx
push 0x3b
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 5
call fcn.00429b18
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x28], ebx
je 0x425455
mov eax, dword [ebp - 0x24]
push 0x28
sub eax, dword [ebp - 0x28]
pop ecx
cdq
idiv ecx
cmp dword [ebp - 0x18], eax
jae 0x425455
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
lea eax, [eax + ecx + 4]
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x42539f
mov eax, 0x4675fc
push ebx
push ebx
push eax
call esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x19]
push ebx
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], 0x4675f0
mov dword [ebp - 0x68], edi
call fcn.0040b0e9
push dword [ebp - 0x10]
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 6
push eax
call fcn.0040b67c
mov ecx, dword [eax]
mov byte [ebp - 4], 7
mov byte [eax + 4], 1
call fcn.0040bd16
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax]
lea ecx, [edx + ecx + 4]
mov ecx, dword [ecx + 4]
cmp ecx, ebx
jne 0x425401
mov ecx, 0x4675fc
push dword [ebp - 0x10]
push eax
push ecx
call esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.0040baa1
cmp dword [ebp - 0x7c], ebx
je 0x42543a
push dword [ebp + 0xc]
lea ecx, [ebp - 0x88]
call fcn.0040a5f9
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.00426ae8
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
call fcn.0040604e
inc dword [ebp - 0x18]
add dword [ebp - 0x14], 0x28
jmp 0x42536b
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0041d2e2
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], bl
call fcn.0040604e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.0040604e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8