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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49aaaa
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4c6760]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push esi
push edi
mov eax, dword [0x4c6760]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
xor ecx, ecx
mov dword [esp + 0x28], 7
xor eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ecx
mov word [esp + 0x14], ax
mov dword [esp + 0x280], ecx
lea edi, [esp + 0x5c]
mov ecx, 0x82
mov edx, str.DESKTOP
rep stosd dword es:[edi], eax
mov ecx, esi
stosw word es:[edi], ax
call fcn.0041d81a
test al, al
jne 0x43f3a7
mov edx, str.desktop
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f3a7
mov edx, str.DOWNLOADS
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f357
mov edx, str.downloads
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f357
mov edx, str.USERPROFILE
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f32d
mov edx, str.userprofile
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f32d
mov edx, str.LOCALAPPDATA
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f300
mov edx, str.localappdata
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f300
mov edx, str.APPDATA
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f2d3
mov edx, str.appdata
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f2d3
mov edx, str.ProgramFiles_x86_
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f292
mov edx, str.ProgramFiles__x86_
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f292
mov edx, str.WINDOWS
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f265
mov edx, str.WINDIR
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f265
mov edx, str.windows
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f265
mov edx, str.windir
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f265
mov edx, str.ProgramFiles
mov ecx, esi
call fcn.0041d81a
test al, al
je 0x43f120
lea eax, [esp + 0x5c]
push eax
xor eax, eax
push eax
push eax
push 0x26
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.00414daf
lea edx, [esp + 0x2c]
mov byte [esp + 0x280], 7
lea ecx, [esp + 0x44]
call fcn.0043f5a6
lea ecx, [esp + 0x14]
mov byte [esp + 0x280], 8
cmp ecx, eax
je 0x43f094
push 0xffffffffffffffff
push 0
push eax
call fcn.00414fa2
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00415035
push 0
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x288], 0
call fcn.00415035
mov esi, 0x4ae3d8
push esi
call fcn.00413cf3
pop ecx
push eax
push 0
push esi
lea ecx, [esp + 0x20]
call fcn.0041cedc
inc eax
lea ecx, [esp + 0x14]
push eax
push 0
lea eax, [esp + 0x4c]
push eax
call fcn.00414e34
push eax
lea ecx, [esp + 0x18]
call fcn.00414e05
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00415035
mov esi, str.Program_Files
push esi
call fcn.00413cf3
pop ecx
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.0041521e
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.00414de0
jmp 0x43f3e7
mov edx, str.TEMP
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f18d
mov edx, str.temp
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f18d
mov edx, str.STARTUP
mov ecx, esi
call fcn.0041d81a
test al, al
jne 0x43f160
mov edx, str.startup
mov ecx, esi
call fcn.0041d81a
test al, al
je 0x43f10f
lea eax, [esp + 0x5c]
push eax
xor eax, eax
push eax
push eax
push 7
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.00414daf
mov byte [esp + 0x280], 0xc
jmp 0x43f3cf
lea eax, [esp + 0x5c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x43f1ea
dec eax
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.004152c1
lea edx, [esp + 0x14]
lea ecx, [esp + 0x44]
call fcn.0043f5a6
lea ecx, [esp + 0x14]
mov byte [esp + 0x280], 9
cmp ecx, eax
je 0x43f1d8
push 0xffffffffffffffff
push 0
push eax
call fcn.00414fa2
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00415035
jmp 0x43f10f
lea eax, [esp + 0x5c]
push eax
xor eax, eax
push eax
push eax
push 0x1c
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.00414daf
lea edx, [esp + 0x2c]
mov byte [esp + 0x280], 0xa
lea ecx, [esp + 0x44]
call fcn.0043f5a6
lea ecx, [esp + 0x14]
mov byte [esp + 0x280], 0xb
cmp ecx, eax
je 0x43f239
push 0xffffffffffffffff
push 0
push eax
call fcn.00414fa2
push 0
push 1
lea ecx, [esp + 0x4c]
call fcn.00415035
push 0
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x288], 0
call fcn.00415035
mov esi, str.Temp
jmp 0x43f0fd
lea eax, [esp + 0x5c]
push eax
xor eax, eax
push eax
push eax
push 0x24
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.00414daf
mov byte [esp + 0x280], 6
jmp 0x43f3cf
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x5c]
push eax
xor eax, eax
push eax
push eax
push 0x2a
push eax
call esi
test eax, eax
je 0x43f2b8
lea eax, [esp + 0x5c]
push eax
xor eax, eax
push eax
push eax
push 0x26
push eax
call esi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.00414daf
mov byte [esp + 0x280], 5
jmp 0x43f3cf
lea eax, [esp + 0x5c]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.00414daf
mov byte [esp + 0x280], 4
jmp 0x43f3cf
lea eax, [esp + 0x5c]
push eax
xor eax, eax
push eax
push eax
push 0x1c
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.00414daf
mov byte [esp + 0x280], 3
jmp 0x43f3cf
lea eax, [esp + 0x5c]
push eax
xor eax, eax
push eax
push eax
push 0x28
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.00414daf
mov byte [esp + 0x280], 2
jmp 0x43f3cf
lea eax, [esp + 0x5c]
push eax
xor eax, eax
push eax
push eax
push 0x28
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x5c]
push eax
call fcn.00413cf3
pop ecx
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x1c]
call fcn.004152c1
mov esi, 0x4b0014
push esi
call fcn.00413cf3
pop ecx
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.0041521e
lea edx, [esp + 0x14]
mov ecx, ebx
call fcn.0043f5a6
jmp 0x43f3e7
lea eax, [esp + 0x5c]
push eax
xor eax, eax
push eax
push eax
push 0x10
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.00414daf
mov byte [esp + 0x280], 1
lea edx, [esp + 0x2c]
mov ecx, ebx
call fcn.0043f5a6
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.00415035
push 0
push 1
lea ecx, [esp + 0x1c]
call fcn.00415035
mov eax, ebx
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00476051
mov esp, ebp
pop ebp
ret