Function at 0x1400033fc
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x540]
sub rsp, 0x640
mov r12, r8
mov rsi, rdx
mov r14, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x130]
call fcn.140015a00
xor r13d, r13d
lea rbx, [rsi + 8]
mov r15d, r13d
cmp word [rbx], r13w
jne 0x14000344f
xor eax, eax
jmp 0x1400036ab
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, 0x25
cmp word [rsp + 0x20], dx
jne 0x14000369c
lea rcx, [rsp + 0x22]
call fcn.140015b90
mov rdi, rax
test rax, rax
je 0x14000369c
mov word [rsp + 0x20], r13w
mov word [rax], r13w
movzx eax, word [rsp + 0x22]
mov qword [rbp + 0x598], r13
mov qword [rbp + 0x588], r13
cmp eax, 0x44
je 0x1400035fb
cmp eax, 0x4d
je 0x1400035e0
cmp eax, 0x50
je 0x1400035c5
cmp eax, 0x53
je 0x14000359b
cmp eax, 0x57
je 0x14000356a
cmp word [rsp + 0x22], 0x74
jne 0x140003669
lea rdx, str.temp
lea rcx, [rsp + 0x22]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140003501
lea rdx, [rbp + 0x130]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, str._temp_
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140003622
cmp dword [rsi + 0x318], r13d
je 0x140003622
lea r8, [rbp + 0x330]
xor edx, edx
mov rcx, r12
call fcn.1400026c0
lea rdx, [0x140031898]
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [rbp + 0x330]
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov r15d, 1
jmp 0x140003622
lea rdx, str.WinDir
lea rcx, [rsp + 0x22]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140003622
mov edx, 0x100
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x140003622
lea rdx, [0x140031808]
lea rcx, [rsp + 0x22]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140003622
mov edx, 0x100
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x140003622
lea rdx, str.ProgramFiles
lea rcx, [rsp + 0x22]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140003622
lea edx, [rax + 0x26]
jmp 0x140003614
lea rdx, str.MyDocuments
lea rcx, [rsp + 0x22]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140003622
lea edx, [rax + 5]
jmp 0x140003614
lea rdx, str.Desktop
lea rcx, [rsp + 0x22]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140003622
lea edx, [rax + 0x10]
lea r8, [rbp + 0x588]
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
mov rcx, qword [rbp + 0x588]
test rcx, rcx
je 0x140003669
lea rdx, [rbp + 0x130]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea rcx, [rbp + 0x598]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
mov rcx, qword [rbp + 0x598]
mov rdx, qword [rbp + 0x588]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rbp + 0x598]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
cmp word [rbp + 0x130], r13w
je 0x14000367f
lea rcx, [rbp + 0x130]
call fcn.140002634
lea r9, [rdi + 2]
mov rcx, r14
lea r8, [rbp + 0x130]
lea rdx, [0x1400318a0]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x1400036a8
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, r15d
mov rbx, qword [rsp + 0x680]
add rsp, 0x640
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret