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

Disassembly:
push 0x6b4
mov eax, 0x64731c
call fcn.004c2130
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x6c0], ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x1c], ebx
jne 0x44b20d
push 0x6f065c
mov ecx, esi
call fcn.0041d600
jmp 0x44baff
push 0x651c00
lea ecx, [ebp + 0xc]
call fcn.00421bb0
test eax, eax
jne 0x44b25d
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.004a08c0
push ebx
push 0x26
lea eax, [ebp - 0x420]
push eax
push ebx
call fcn.0044c47b
lea eax, [ebp - 0x420]
push 0x64fe6c
push eax
call fcn.004a6224
add esp, 0x24
lea eax, [ebp - 0x420]
push eax
jmp 0x44b201
push 0x651c08
lea ecx, [ebp + 0xc]
call fcn.00421bb0
test eax, eax
jne 0x44b285
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.004a08c0
push ebx
push 5
jmp 0x44b233
push str.desktop
lea ecx, [ebp + 0xc]
call fcn.00421bb0
test eax, eax
jne 0x44b2c1
push ebx
push ebx
lea eax, [ebp - 0x62c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x62c]
push 0x64fe6c
push eax
call fcn.004a6224
pop ecx
pop ecx
lea eax, [ebp - 0x62c]
jmp 0x44b25a
push 0x651c20
lea ecx, [ebp + 0xc]
call fcn.00421bb0
test eax, eax
jne 0x44b2d7
push ebx
push 6
jmp 0x44b298
push str.program
lea ecx, [ebp + 0xc]
call fcn.00421bb0
test eax, eax
jne 0x44b365
mov edi, 0x208
lea eax, [ebp - 0x420]
push edi
push ebx
push eax
call fcn.004a08c0
push ebx
push 0x26
lea eax, [ebp - 0x420]
push eax
push ebx
call fcn.0044c47b
lea eax, [ebp - 0x420]
push eax
call fcn.004a1f02
add esp, 0x20
cmp eax, 3
jl 0x44b254
push edi
lea eax, [ebp - 0x62c]
push ebx
push eax
call fcn.004a08c0
push 3
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x62c]
push eax
call fcn.004b0719
lea eax, [ebp - 0x62c]
push str.Program_Files_
push eax
call fcn.004a6224
add esp, 0x20
lea eax, [ebp - 0x62c]
jmp 0x44b25a
push str.curr
lea ecx, [ebp + 0xc]
call fcn.00421bb0
test eax, eax
jne 0x44b3b6
push 0x208
lea eax, [ebp - 0x62c]
push ebx
push eax
call fcn.004a08c0
add esp, 0xc
lea eax, [ebp - 0x62c]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x62c]
push 0x5c
push eax
call fcn.004a15b8
pop ecx
pop ecx
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x44b35a
push str.temp
lea ecx, [ebp + 0xc]
call fcn.00421bb0
test eax, eax
jne 0x44b480
mov edi, 0x208
lea eax, [ebp - 0x420]
push edi
push ebx
push eax
call fcn.004a08c0
push edi
lea eax, [ebp - 0x62c]
push ebx
push eax
call fcn.004a08c0
add esp, 0x18
call fcn.0044bdf1
test al, al
je 0x44b42b
push ebx
push 0x1c
lea eax, [ebp - 0x420]
push eax
push ebx
call fcn.0044c47b
add esp, 0x10
test eax, eax
je 0x44b254
push str.Temp_
lea eax, [ebp - 0x420]
push eax
call fcn.004a6224
pop ecx
pop ecx
jmp 0x44b254
lea eax, [ebp - 0x62c]
mov edi, 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x420]
push eax
call fcn.004a1f02
pop ecx
test eax, eax
jne 0x44b254
push edi
lea eax, [ebp - 0x420]
push eax
push str.TEMP
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x44b254
push str.recirle
lea ecx, [ebp + 0xc]
call fcn.00421bb0
test eax, eax
jne 0x44b4bb
push 0x208
lea eax, [ebp - 0x62c]
push ebx
push eax
call fcn.004a08c0
push ebx
push 0xa
lea eax, [ebp - 0x62c]
push eax
push ebx
call fcn.0044c47b
add esp, 0x1c
jmp 0x44b35a
push str.downloads
lea ecx, [ebp + 0xc]
call fcn.00421bb0
test eax, eax
jne 0x44b562
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.004a08c0
push ebx
push 0x10
lea eax, [ebp - 0x420]
push eax
push ebx
call fcn.0044c47b
lea eax, [ebp - 0x420]
push eax
call fcn.004a1f02
add esp, 0x20
test eax, eax
lea eax, [ebp - 0x420]
je 0x44b532
push 0x5c
push eax
call fcn.004a15b8
xor ecx, ecx
push 0x651cb0
mov word [eax + 2], cx
lea eax, [ebp - 0x420]
push eax
call fcn.004a6224
add esp, 0x10
jmp 0x44b254
push 0x104
push eax
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x420]
push eax
call fcn.004a1f02
pop ecx
test eax, eax
je 0x44b254
push str.Downloads_
jmp 0x44b418
xor eax, eax
mov dword [ebp - 0x630], 7
mov dword [ebp - 0x634], ebx
mov word [ebp - 0x644], ax
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.004a08c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push str.USERPROFILE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x218]
push str.AppDataLocalLow_
push eax
call fcn.004a6224
cmp word [ebp - 0x218], 0
pop ecx
pop ecx
jne 0x44b5cc
mov eax, ebx
jmp 0x44b5d9
lea eax, [ebp - 0x218]
push eax
call fcn.004a1f02
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x644]
call fcn.0041ded0
push str.locallow
lea ecx, [ebp + 0xc]
call fcn.00421bb0
test eax, eax
jne 0x44b74e
push ebx
push 0x1a
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.0044c47b
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 7
xor eax, eax
mov dword [ebp - 0x67c], ebx
pop edi
mov dword [ebp - 0x678], edi
mov word [ebp - 0x68c], ax
cmp word [ebp - 0x218], ax
jne 0x44b646
mov eax, ebx
jmp 0x44b653
lea eax, [ebp - 0x218]
push eax
call fcn.004a1f02
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x68c]
call fcn.0041ded0
mov dword [ebp - 0x660], edi
xor eax, eax
mov edi, str.LocalLow
mov byte [ebp - 4], 2
push edi
mov dword [ebp - 0x664], ebx
mov word [ebp - 0x674], ax
call fcn.004a1f02
pop ecx
push eax
push edi
lea ecx, [ebp - 0x674]
call fcn.0041ded0
xor eax, eax
mov byte [ebp - 4], 3
mov edi, str.Roaming
mov dword [ebp - 0x648], 7
push edi
mov dword [ebp - 0x64c], ebx
mov word [ebp - 0x65c], ax
call fcn.004a1f02
pop ecx
push eax
push edi
lea ecx, [ebp - 0x65c]
call fcn.0041ded0
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.00445e7c
add esp, 0xc
lea ecx, [ebp - 0x65c]
push ebx
push 1
call fcn.0041dde0
push ebx
push 1
lea ecx, [ebp - 0x674]
mov byte [ebp - 4], 2
call fcn.0041dde0
cmp dword [ebp - 0x678], 8
lea eax, [ebp - 0x68c]
cmovae eax, dword [ebp - 0x68c]
push eax
call fcn.0044a2be
pop ecx
test al, al
je 0x44b743
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x68c]
push eax
lea ecx, [ebp - 0x644]
call fcn.0041df50
lea ecx, [ebp - 0x68c]
jmp 0x44ba71
push str.roaming
lea ecx, [ebp + 0xc]
call fcn.00421bb0
mov edi, str.Roaming
test eax, eax
je 0x44b919
push edi
lea ecx, [ebp + 0xc]
call fcn.00421bb0
test eax, eax
je 0x44b919
push str.local
lea ecx, [ebp + 0xc]
call fcn.00421bb0
test eax, eax
jne 0x44b8c1
push ebx
push 0x1c
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.0044c47b
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
call fcn.0044a2be
pop ecx
test al, al
jne 0x44b94a
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x6a4]
call fcn.0041d6c0
xor eax, eax
mov byte [ebp - 4], 8
mov edi, str.Local
mov dword [ebp - 0x648], 7
push edi
mov dword [ebp - 0x64c], ebx
mov word [ebp - 0x65c], ax
call fcn.004a1f02
pop ecx
push eax
push edi
lea ecx, [ebp - 0x65c]
call fcn.0041ded0
xor eax, eax
mov byte [ebp - 4], 9
mov edi, str.LocalLow
mov dword [ebp - 0x660], 7
push edi
mov dword [ebp - 0x664], ebx
mov word [ebp - 0x674], ax
call fcn.004a1f02
pop ecx
push eax
push edi
lea ecx, [ebp - 0x674]
call fcn.0041ded0
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.00445e7c
add esp, 0xc
lea ecx, [ebp - 0x674]
push ebx
push 1
call fcn.0041dde0
push ebx
push 1
lea ecx, [ebp - 0x65c]
mov byte [ebp - 4], 8
call fcn.0041dde0
cmp dword [ebp - 0x690], 8
lea eax, [ebp - 0x6a4]
cmovae eax, dword [ebp - 0x6a4]
push eax
call fcn.0044a2be
pop ecx
test al, al
je 0x44b8b6
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x6a4]
push eax
lea ecx, [ebp - 0x644]
call fcn.0041df50
lea ecx, [ebp - 0x6a4]
jmp 0x44ba71
push 0x651620
lea ecx, [ebp + 0xc]
call fcn.00421bb0
test eax, eax
jne 0x44b909
push ebx
push 0x29
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.0044c47b
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
call fcn.0044a2be
pop ecx
test al, al
je 0x44ba7d
jmp 0x44b94a
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.0041fae0
jmp 0x44baf1
push ebx
push 0x1a
lea eax, [ebp - 0x218]
push eax
push ebx
call fcn.0044c47b
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
call fcn.0044a2be
pop ecx
test al, al
je 0x44b97d
cmp word [ebp - 0x218], 0
jne 0x44b958
mov eax, ebx
jmp 0x44b965
lea eax, [ebp - 0x218]
push eax
call fcn.004a1f02
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x644]
call fcn.0041ded0
jmp 0x44ba7d
lea eax, [ebp - 0x644]
push eax
lea ecx, [ebp - 0x6bc]
call fcn.0041d6c0
xor eax, eax
mov byte [ebp - 4], 5
push edi
mov dword [ebp - 0x648], 7
mov dword [ebp - 0x64c], ebx
mov word [ebp - 0x65c], ax
call fcn.004a1f02
pop ecx
push eax
push edi
lea ecx, [ebp - 0x65c]
call fcn.0041ded0
xor eax, eax
mov byte [ebp - 4], 6
mov edi, str.LocalLow
mov dword [ebp - 0x660], 7
push edi
mov dword [ebp - 0x664], ebx
mov word [ebp - 0x674], ax
call fcn.004a1f02
pop ecx
push eax
push edi
lea ecx, [ebp - 0x674]
call fcn.0041ded0
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.00445e7c
add esp, 0xc
lea ecx, [ebp - 0x674]
push ebx
push 1
call fcn.0041dde0
push ebx
push 1
lea ecx, [ebp - 0x65c]
mov byte [ebp - 4], 5
call fcn.0041dde0
cmp dword [ebp - 0x6a8], 8
lea eax, [ebp - 0x6bc]
cmovae eax, dword [ebp - 0x6bc]
push eax
call fcn.0044a2be
pop ecx
test al, al
je 0x44ba6b
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x6bc]
push eax
lea ecx, [ebp - 0x644]
call fcn.0041df50
lea ecx, [ebp - 0x6bc]
push ebx
push 1
mov byte [ebp - 4], 1
call fcn.0041dde0
cmp dword [ebp - 0x630], 8
lea eax, [ebp - 0x644]
cmovae eax, dword [ebp - 0x644]
push eax
call fcn.0044a2be
pop ecx
test al, al
je 0x44bae5
mov edi, str.system32
push edi
call fcn.004a1f02
pop ecx
push eax
push ebx
push edi
lea ecx, [ebp - 0x644]
call fcn.00421310
cmp eax, 0xffffffff
jne 0x44bae5
mov edi, str.systemprofile
push edi
call fcn.004a1f02
pop ecx
push eax
push ebx
push edi
lea ecx, [ebp - 0x644]
call fcn.00421310
cmp eax, 0xffffffff
jne 0x44bae5
lea eax, [ebp - 0x644]
jmp 0x44b90c
push 0x6f065c
mov ecx, esi
call fcn.0041d600
push ebx
push 1
lea ecx, [ebp - 0x644]
call fcn.0041dde0
push ebx
push 1
lea ecx, [ebp + 0xc]
call fcn.0041dde0
mov eax, esi
call fcn.004c20eb
ret