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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5feee6
mov eax, dword fs:[0]
push eax
sub esp, 0x6b8
mov eax, dword [0x69cef4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x6c4], 0
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
test esi, esi
jne 0x424c03
push 0x6087e8
mov ecx, ebx
call fcn.00405d50
mov ecx, dword [ebp + 0x20]
cmp ecx, 8
jb 0x42567a
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00407380
jmp 0x42567a
mov edi, dword [ebp + 0x20]
lea eax, [ebp + 0xc]
push 3
cmp edi, 8
push 0x60b1b8
cmovae eax, dword [ebp + 0xc]
push esi
push eax
call fcn.00407090
add esp, 0x10
test eax, eax
jne 0x424c94
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d4520
push 0
push 0x26
lea eax, [ebp - 0x218]
push eax
push 0
call fcn.00426d40
lea edi, [ebp - 0x218]
add esp, 0x1c
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x424c55
mov eax, dword [0x608b38]
mov ecx, ebx
mov dword [edi], eax
lea eax, [ebp - 0x218]
push eax
call fcn.00405d50
mov eax, dword [ebp + 0x20]
cmp eax, 8
jb 0x42567a
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.00407380
jmp 0x42567a
push 3
cmp edi, 8
lea eax, [ebp + 0xc]
push 0x60b1c0
cmovae eax, dword [ebp + 0xc]
push esi
push eax
call fcn.00407090
add esp, 0x10
test eax, eax
jne 0x424d09
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d4520
push 0
push 5
lea eax, [ebp - 0x218]
push eax
push 0
call fcn.00426d40
lea edi, [ebp - 0x218]
add esp, 0x1c
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x424ce3
mov eax, dword [0x608b38]
mov dword [edi], eax
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00405d50
jmp 0x425672
lea eax, [ebp + 0xc]
push str.desktop
push eax
call fcn.00424080
add esp, 8
test al, al
je 0x424d66
push 0
push 0
lea eax, [ebp - 0x424]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x424]
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x424d40
mov eax, dword [0x608b38]
mov ecx, ebx
mov dword [edi], eax
lea eax, [ebp - 0x424]
push eax
call fcn.00405d50
jmp 0x425672
lea eax, [ebp + 0xc]
push 0x60b1d8
push eax
call fcn.00424080
add esp, 8
test al, al
je 0x424dae
push 0
push 6
lea eax, [ebp - 0x424]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x424]
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x424da0
jmp 0x424d4c
lea eax, [ebp + 0xc]
push str.program
push eax
call fcn.00424080
add esp, 8
test al, al
je 0x424e7d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005d4520
push 0
push 0x26
lea eax, [ebp - 0x218]
push eax
push 0
call fcn.00426d40
lea ecx, [ebp - 0x218]
add esp, 0x1c
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424e00
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jl 0x424cf6
push 0x208
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.005d4520
push 3
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.005dffec
lea edi, [ebp - 0x424]
add esp, 0x18
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x424e50
mov ecx, 7
lea eax, [ebp - 0x424]
mov esi, str.Program_Files_
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebx
movsw word es:[edi], word [esi]
call fcn.00405d50
jmp 0x425672
lea eax, [ebp + 0xc]
push str.curr
push eax
call fcn.00424080
add esp, 8
test al, al
je 0x424ee6
push 0x208
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.005d4520
add esp, 0xc
lea eax, [ebp - 0x424]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x424]
push 0x5c
push eax
call fcn.005d5fc0
xor ecx, ecx
add esp, 8
mov word [eax + 2], cx
lea eax, [ebp - 0x424]
push eax
mov ecx, ebx
call fcn.00405d50
jmp 0x425672
lea eax, [ebp + 0xc]
push str.temp
push eax
call fcn.00424080
add esp, 8
test al, al
je 0x42500f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005d4520
push 0x208
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.005d4520
add esp, 0x18
call fcn.00425970
test al, al
je 0x424fa0
push 0
push 0x1c
lea eax, [ebp - 0x218]
push eax
push 0
call fcn.00426d40
add esp, 0x10
test eax, eax
je 0x424ffc
lea ecx, [ebp - 0x218]
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x424f60
mov eax, dword [str.Temp_]
mov dword [ecx], eax
mov eax, dword [0x60b22c]
mov dword [ecx + 4], eax
mov eax, dword [0x60b230]
mov dword [ecx + 8], eax
mov ax, word [0x60b234]
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.00405d50
jmp 0x425672
lea eax, [ebp - 0x424]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424fd4
sub ecx, edx
sar ecx, 1
jne 0x424ffc
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00405d50
jmp 0x425672
lea eax, [ebp + 0xc]
push str.recirle
push eax
call fcn.00424080
add esp, 8
test al, al
je 0x42505f
push 0x208
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.005d4520
push 0
push 0xa
lea eax, [ebp - 0x424]
push eax
push 0
call fcn.00426d40
add esp, 0x1c
lea eax, [ebp - 0x424]
mov ecx, ebx
push eax
call fcn.00405d50
jmp 0x425672
lea eax, [ebp + 0xc]
push str.downloads
push eax
call fcn.00424080
add esp, 8
test al, al
je 0x4251be
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005d4520
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
call fcn.00426d40
lea ecx, [ebp - 0x218]
add esp, 0x1c
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4250b0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
je 0x425131
push 0x5c
push eax
call fcn.005d5fc0
xor ecx, ecx
add esp, 8
mov word [eax + 2], cx
lea ecx, [ebp - 0x218]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4250e1
mov eax, dword [0x60b268]
mov dword [ecx], eax
mov eax, dword [0x60b26c]
mov dword [ecx + 4], eax
mov eax, dword [0x60b270]
mov dword [ecx + 8], eax
mov eax, dword [0x60b274]
mov dword [ecx + 0xc], eax
mov eax, dword [0x60b278]
mov dword [ecx + 0x10], eax
mov ax, word [0x60b27c]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.00405d50
jmp 0x425672
push 0x104
push eax
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425150
sub ecx, edx
sar ecx, 1
je 0x4251ab
lea ecx, [ebp - 0x218]
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x425170
mov eax, dword [str.Downloads_]
mov dword [ecx], eax
mov eax, dword [0x60b29c]
mov dword [ecx + 4], eax
mov eax, dword [0x60b2a0]
mov dword [ecx + 8], eax
mov eax, dword [0x60b2a4]
mov dword [ecx + 0xc], eax
mov eax, dword [0x60b2a8]
mov dword [ecx + 0x10], eax
mov eax, dword [0x60b2ac]
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00405d50
jmp 0x425672
xor eax, eax
mov dword [ebp - 0x630], 7
mov dword [ebp - 0x634], 0
mov word [ebp - 0x644], ax
push 0x208
push eax
lea eax, [ebp - 0x62c]
mov byte [ebp - 4], 1
push eax
call fcn.005d4520
add esp, 0xc
lea eax, [ebp - 0x62c]
push 0x104
push eax
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [ebp - 0x62c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x425214
mov ecx, 9
lea eax, [ebp - 0x62c]
mov esi, str.AppDataLocalLow_
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x644]
movsw word es:[edi], word [esi]
call fcn.0040b1a0
lea eax, [ebp + 0xc]
push str.locallow
push eax
call fcn.00424080
add esp, 8
test al, al
je 0x425332
push 0
push 0x1a
lea eax, [ebp - 0x62c]
push eax
push 0
call fcn.00426d40
add esp, 0x10
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x68c]
call fcn.00405d50
push str.LocalLow
lea ecx, [ebp - 0x674]
mov byte [ebp - 4], 2
call fcn.00405d50
push str.Roaming
lea ecx, [ebp - 0x65c]
mov byte [ebp - 4], 3
call fcn.00405d50
lea eax, [ebp - 0x674]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x68c]
push eax
call fcn.00432300
add esp, 0xc
lea ecx, [ebp - 0x65c]
call fcn.00405db0
lea ecx, [ebp - 0x674]
mov byte [ebp - 4], 2
call fcn.00405db0
cmp dword [ebp - 0x678], 8
lea eax, [ebp - 0x68c]
cmovae eax, dword [ebp - 0x68c]
push eax
call fcn.00420250
add esp, 4
test al, al
je 0x425327
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x68c]
push eax
lea ecx, [ebp - 0x644]
call fcn.00407160
lea ecx, [ebp - 0x68c]
jmp 0x4255f3
lea eax, [ebp + 0xc]
push str.roaming
push eax
call fcn.00424080
add esp, 8
test al, al
jne 0x4254f5
lea eax, [ebp + 0xc]
push str.Roaming
push eax
call fcn.00424080
add esp, 8
test al, al
jne 0x4254f5
lea eax, [ebp + 0xc]
push str.local
push eax
call fcn.00424080
add esp, 8
test al, al
je 0x425480
push 0
push 0x1c
lea eax, [ebp - 0x62c]
push eax
push 0
call fcn.00426d40
add esp, 0x10
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x62c]
push eax
call fcn.00420250
add esp, 4
test al, al
je 0x4253c9
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x644]
call fcn.0040b1a0
jmp 0x4255fc
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x6a4]
call fcn.00413790
push str.Local
lea ecx, [ebp - 0x65c]
mov byte [ebp - 4], 8
call fcn.00405d50
push str.LocalLow
lea ecx, [ebp - 0x674]
mov byte [ebp - 4], 9
call fcn.00405d50
lea eax, [ebp - 0x65c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x674]
push eax
lea eax, [ebp - 0x6a4]
push eax
call fcn.00432300
add esp, 0xc
lea ecx, [ebp - 0x674]
call fcn.00405db0
lea ecx, [ebp - 0x65c]
mov byte [ebp - 4], 8
call fcn.00405db0
cmp dword [ebp - 0x690], 8
lea eax, [ebp - 0x6a4]
cmovae eax, dword [ebp - 0x6a4]
push eax
call fcn.00420250
add esp, 4
test al, al
je 0x425475
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x6a4]
push eax
lea ecx, [ebp - 0x644]
call fcn.00407160
lea ecx, [ebp - 0x6a4]
jmp 0x4255f3
lea eax, [ebp + 0xc]
push str.system
push eax
call fcn.00424080
add esp, 8
test al, al
je 0x4254e5
push 0
push 0x29
lea eax, [ebp - 0x62c]
push eax
push 0
call fcn.00426d40
add esp, 0x10
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x62c]
push eax
call fcn.00420250
add esp, 4
test al, al
je 0x4255fc
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x644]
call fcn.0040b1a0
jmp 0x4255fc
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.0041e6d0
jmp 0x425667
push 0
push 0x1a
lea eax, [ebp - 0x62c]
push eax
push 0
call fcn.00426d40
add esp, 0x10
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x62c]
push eax
call fcn.00420250
add esp, 4
test al, al
je 0x425541
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x644]
call fcn.0040b1a0
jmp 0x4255fc
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x6bc]
call fcn.00413790
push str.Roaming
lea ecx, [ebp - 0x65c]
mov byte [ebp - 4], 5
call fcn.00405d50
push str.LocalLow
lea ecx, [ebp - 0x674]
mov byte [ebp - 4], 6
call fcn.00405d50
lea eax, [ebp - 0x65c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x674]
push eax
lea eax, [ebp - 0x6bc]
push eax
call fcn.00432300
add esp, 0xc
lea ecx, [ebp - 0x674]
call fcn.00405db0
lea ecx, [ebp - 0x65c]
mov byte [ebp - 4], 5
call fcn.00405db0
cmp dword [ebp - 0x6a8], 8
lea eax, [ebp - 0x6bc]
cmovae eax, dword [ebp - 0x6bc]
push eax
call fcn.00420250
add esp, 4
test al, al
je 0x4255ed
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x6bc]
push eax
lea ecx, [ebp - 0x644]
call fcn.00407160
lea ecx, [ebp - 0x6bc]
mov byte [ebp - 4], 1
call fcn.00405db0
cmp dword [ebp - 0x630], 8
lea eax, [ebp - 0x644]
cmovae eax, dword [ebp - 0x644]
push eax
call fcn.00420250
add esp, 4
test al, al
je 0x42565b
push 0
push str.system32
lea ecx, [ebp - 0x644]
call fcn.00427350
cmp eax, 0xffffffff
jne 0x42565b
push 0
push str.systemprofile
lea ecx, [ebp - 0x644]
call fcn.00427350
cmp eax, 0xffffffff
jne 0x42565b
lea eax, [ebp - 0x644]
mov ecx, ebx
push eax
call fcn.0041e6d0
jmp 0x425667
push 0x6087e8
mov ecx, ebx
call fcn.00405d50
lea ecx, [ebp - 0x644]
call fcn.00405db0
lea ecx, [ebp + 0xc]
call fcn.00405db0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ca59c
mov esp, ebp
pop ebp
ret