Function at 0x4325b0
Capabilities:
Get common file path
Get program files directory
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48ecef
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x4bb760]
xor eax, esp
mov dword [esp + 0x4a8], eax
push ebx
push esi
push edi
mov eax, dword [0x4bb760]
xor eax, esp
push eax
lea eax, [esp + 0x4c0]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
xor ecx, ecx
mov dword [esp + 0x34], 7
xor eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], ecx
mov word [esp + 0x20], ax
mov dword [esp + 0x4c8], ecx
lea edi, [esp + 0x9c]
mov ecx, 0x82
mov edx, str.DESKTOP
rep stosd dword es:[edi], eax
mov ecx, esi
stosw word es:[edi], ax
call fcn.0040ebb8
test al, al
jne 0x432c84
mov edx, 0x4a43e8
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432c84
mov edx, str.DOWNLOADS
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432c2b
mov edx, str.downloads
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432c2b
mov edx, str.USERPROFILE
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432bf8
mov edx, str.userprofile
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432bf8
mov edx, str.LOCALAPPDATA
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432bc5
mov edx, str.localappdata
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432bc5
mov edx, str.APPDATA
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432b92
mov edx, str.appdata
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432b92
mov edx, str.ProgramFiles_x86_
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432b48
mov edx, str.ProgramFiles__x86_
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432b48
mov edx, str.WINDOWS
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432b15
mov edx, str.WINDIR
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432b15
mov edx, str.windows
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432b15
mov edx, str.windir
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432b15
mov edx, str.ProgramFiles
mov ecx, esi
call fcn.0040ebb8
test al, al
je 0x432859
lea eax, [esp + 0x9c]
push eax
xor eax, eax
push eax
push eax
push 0x26
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00404eab
lea edx, [esp + 0x38]
mov byte [esp + 0x4c8], 7
lea ecx, [esp + 0x50]
call fcn.00432e89
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c8], 8
cmp ecx, eax
je 0x4327cd
push 0xffffffffffffffff
push 0
push eax
call fcn.0040509e
push 0
push 1
lea ecx, [esp + 0x58]
call fcn.00405131
push 0
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x4d0], 0
call fcn.00405131
mov esi, 0x4a2524
push esi
call fcn.00403def
pop ecx
push eax
push 0
push esi
lea ecx, [esp + 0x2c]
call fcn.0040e24f
inc eax
lea ecx, [esp + 0x20]
push eax
push 0
lea eax, [esp + 0x58]
push eax
call fcn.00404f30
push eax
lea ecx, [esp + 0x24]
call fcn.00404f01
push 0
push 1
lea ecx, [esp + 0x58]
call fcn.00405131
mov esi, str.Program_Files
push esi
call fcn.00403def
pop ecx
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.0040531a
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.00404edc
jmp 0x432cca
mov edx, 0x4a2b2c
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432a31
mov edx, str.temp
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x432a31
mov edx, str.STARTUP
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x4329fe
mov edx, str.startup
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x4329fe
mov edx, str.EXECDIR
mov ecx, esi
call fcn.0040ebb8
test al, al
jne 0x4328cd
mov edx, str.execdir
mov ecx, esi
call fcn.0040ebb8
test al, al
je 0x432848
push 0x104
lea eax, [esp + 0x2b0]
push 0
push eax
call fcn.0046be70
add esp, 0xc
lea eax, [esp + 0x2ac]
push 0x208
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x2ac]
push eax
lea ecx, [esp + 0x18]
call fcn.00432f67
mov byte [esp + 0x4c8], 0xd
push 0x5c
push dword [esp + 0x18]
call fcn.0046ba3c
pop ecx
pop ecx
test eax, eax
jne 0x432928
or eax, 0xffffffff
jmp 0x43292e
sub eax, dword [esp + 0x14]
sar eax, 1
inc eax
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00432fb5
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4cc], 0xe
call fcn.004330db
mov byte [esp + 0x4c8], 0xd
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00403d92
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x70]
call fcn.00410ca5
add eax, 0x18
mov byte [esp + 0x4c8], 0xf
cmp dword [eax + 0x14], 8
jb 0x432985
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x3c]
call fcn.00404eab
lea edx, [esp + 0x38]
mov byte [esp + 0x4c8], 0x10
lea ecx, [esp + 0x50]
call fcn.00432e89
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c8], 0x11
cmp ecx, eax
je 0x4329be
push 0xffffffffffffffff
push 0
push eax
call fcn.0040509e
push 0
push 1
lea ecx, [esp + 0x58]
call fcn.00405131
push 0
push 1
lea ecx, [esp + 0x40]
call fcn.00405131
lea ecx, [esp + 0x68]
call fcn.00410e35
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.00404edc
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.00403d92
jmp 0x432cca
lea eax, [esp + 0x9c]
push eax
xor eax, eax
push eax
push eax
push 7
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00404eab
mov byte [esp + 0x4c8], 0xc
jmp 0x432cb2
lea eax, [esp + 0x9c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x432a94
dec eax
lea ecx, [esp + 0x20]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.004053bd
lea edx, [esp + 0x20]
lea ecx, [esp + 0x50]
call fcn.00432e89
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c8], 9
cmp ecx, eax
je 0x432a82
push 0xffffffffffffffff
push 0
push eax
call fcn.0040509e
push 0
push 1
lea ecx, [esp + 0x58]
call fcn.00405131
jmp 0x432848
lea eax, [esp + 0x9c]
push eax
xor eax, eax
push eax
push eax
push 0x1c
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00404eab
lea edx, [esp + 0x38]
mov byte [esp + 0x4c8], 0xa
lea ecx, [esp + 0x50]
call fcn.00432e89
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c8], 0xb
cmp ecx, eax
je 0x432ae9
push 0xffffffffffffffff
push 0
push eax
call fcn.0040509e
push 0
push 1
lea ecx, [esp + 0x58]
call fcn.00405131
push 0
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0x4d0], 0
call fcn.00405131
mov esi, str.Temp
jmp 0x432836
lea eax, [esp + 0x9c]
push eax
xor eax, eax
push eax
push eax
push 0x24
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00404eab
mov byte [esp + 0x4c8], 6
jmp 0x432cb2
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x9c]
push eax
xor eax, eax
push eax
push eax
push 0x2a
push eax
call esi
test eax, eax
je 0x432b74
lea eax, [esp + 0x9c]
push eax
xor eax, eax
push eax
push eax
push 0x26
push eax
call esi
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00404eab
mov byte [esp + 0x4c8], 5
jmp 0x432cb2
lea eax, [esp + 0x9c]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00404eab
mov byte [esp + 0x4c8], 4
jmp 0x432cb2
lea eax, [esp + 0x9c]
push eax
xor eax, eax
push eax
push eax
push 0x1c
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00404eab
mov byte [esp + 0x4c8], 3
jmp 0x432cb2
lea eax, [esp + 0x9c]
push eax
xor eax, eax
push eax
push eax
push 0x28
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00404eab
mov byte [esp + 0x4c8], 2
jmp 0x432cb2
lea eax, [esp + 0x9c]
push eax
xor eax, eax
push eax
push eax
push 0x28
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x9c]
push eax
call fcn.00403def
pop ecx
push eax
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x28]
call fcn.004053bd
mov esi, 0x4a43fc
push esi
call fcn.00403def
pop ecx
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.0040531a
lea edx, [esp + 0x20]
mov ecx, ebx
call fcn.00432e89
jmp 0x432cca
lea eax, [esp + 0x9c]
push eax
xor eax, eax
push eax
push eax
push 0x10
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00404eab
mov byte [esp + 0x4c8], 1
lea edx, [esp + 0x38]
mov ecx, ebx
call fcn.00432e89
push 0
push 1
lea ecx, [esp + 0x40]
call fcn.00405131
push 0
push 1
lea ecx, [esp + 0x28]
call fcn.00405131
mov eax, ebx
mov ecx, dword [esp + 0x4c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4a8]
xor ecx, esp
call fcn.004697c7
mov esp, ebp
pop ebp
ret