Function at 0x14002af00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x1400cf010]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r14, rcx
mov qword [rsp + 0x30], rcx
xor edi, edi
mov dword [rsp + 0x28], edi
lea rcx, vtable.CVolObject.0
mov qword [r14], rcx
mov qword [r14 + 8], rdi
mov qword [r14 + 0x10], rdi
lea rax, vtable.CWString.0
mov qword [r14], rax
lea rbx, [r14 + 0x20]
mov qword [rsp + 0x20], rbx
mov qword [rbx], rcx
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
lea rax, vtable.CVolMem.0
mov qword [rbx], rax
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x20], rdi
mov r12d, 0x40
mov qword [rbx + 0x30], r12
mov qword [r14 + 0x18], rdi
mov qword [r14 + 0x50], 0xfe
mov dword [rsp + 0x28], 1
mov word [rsp + 0x40], di
lea eax, [rdx - 1]
cmp eax, 7
ja 0x14002b012
cmp edx, 1
jne 0x14002afb5
lea r8d, [rdi + 5]
jmp 0x14002affd
cmp edx, 2
jne 0x14002afc0
lea r8d, [rdx + 4]
jmp 0x14002affd
cmp edx, 3
jne 0x14002afcb
lea r8d, [rdx + 0xd]
jmp 0x14002affd
cmp edx, 4
jne 0x14002afd6
lea r8d, [rdx + 0x10]
jmp 0x14002affd
cmp edx, 5
jne 0x14002afe1
lea r8d, [rdx + 6]
jmp 0x14002affd
cmp edx, 6
jne 0x14002afec
lea r8d, [rdx - 4]
jmp 0x14002affd
mov eax, 7
mov r8d, 0x1a
cmp edx, eax
cmove r8d, eax
xor r9d, r9d
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
movsxd rcx, eax
jmp 0x14002b061
cmp edx, 9
jne 0x14002b029
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x14002b059
cmp edx, 0xa
jne 0x14002b040
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x14002b059
cmp edx, 0xb
jne 0x14002b2db
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov rcx, rdi
test eax, eax
setne cl
test rcx, rcx
je 0x14002b2db
mov rax, qword [r14 + 0x18]
mov rbp, 0xffffffffffffffff
test rax, rax
jne 0x14002b08a
cmp qword [r14 + 0x48], rax
je 0x14002b094
cmp qword [rbx + 0x28], rax
je 0x14002b094
mov rax, qword [rbx + 0x18]
lea rcx, [rsp + 0x40]
cmp rcx, rax
je 0x14002b103
mov qword [r14 + 0x18], rdi
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x14002b0aa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x20], rdi
cmp word [rsp + 0x40], 0
je 0x14002b103
lea rcx, [rsp + 0x40]
mov rax, rbp
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x14002b0d0
lea rsi, [rax*2 + 2]
test rsi, rsi
jle 0x14002b103
mov rdx, rsi
mov rcx, rbx
call fcn.14006a9a0
mov r8, rsi
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14007e8a0
mov rsi, qword [r14 + 0x18]
test rsi, rsi
je 0x14002b11c
mov rax, rbp
nop
inc rax
cmp word [rsi + rax*2], 0
jne 0x14002b110
jmp 0x14002b12f
mov rax, qword [r14 + 0x48]
test rax, rax
je 0x14002b1f0
shr rax, 1
dec rax
test rax, rax
jle 0x14002b168
test rsi, rsi
je 0x14002b13e
mov rcx, rsi
jmp 0x14002b15c
cmp qword [r14 + 0x48], 0
jne 0x14002b14e
lea rcx, [0x1400a6e68]
jmp 0x14002b15c
cmp qword [rbx + 0x28], 0
mov rcx, rdi
je 0x14002b15c
mov rcx, qword [rbx + 0x18]
cmp word [rcx + rax*2 - 2], 0x5c
je 0x14002b2db
test rsi, rsi
je 0x14002b1f0
lea rbp, [rbp + 1]
cmp word [rsi + rbp*2], 0
jne 0x14002b171
lea rbp, [rbp*2 + 2]
mov qword [rbx + 0x28], rdi
cmp qword [rbx + 0x20], rbp
jl 0x14002b1ce
cmp rbp, 2
jne 0x14002b1a4
mov rcx, qword [rbx + 0x18]
movzx eax, word [rsi]
mov word [rcx], ax
add qword [rbx + 0x28], rbp
jmp 0x14002b1ec
cmp rbp, 4
jne 0x14002b1b8
mov rcx, qword [rbx + 0x18]
mov eax, dword [rsi]
mov dword [rcx], eax
add qword [rbx + 0x28], rbp
jmp 0x14002b1ec
cmp rbp, 8
jne 0x14002b1ce
mov rcx, qword [rbx + 0x18]
mov rax, qword [rsi]
mov qword [rcx], rax
add qword [rbx + 0x28], rbp
jmp 0x14002b1ec
test rbp, rbp
jle 0x14002b1ec
mov rdx, rbp
mov rcx, rbx
call fcn.14006a9a0
mov r8, rbp
mov rdx, rsi
mov rcx, rax
call fcn.14007e8a0
mov qword [r14 + 0x18], rdi
mov rsi, qword [rbx + 0x28]
cmp rsi, 2
jb 0x14002b20e
mov rax, qword [rbx + 0x18]
cmp word [rax + rsi - 2], 0
jne 0x14002b20e
add rsi, 0xfffffffffffffffe
mov qword [rbx + 0x28], rsi
mov dword [rsp + 0x20], 0x5c
mov rdx, qword [rbx + 0x20]
mov rax, rdx
sub rax, rsi
cmp rax, 4
jl 0x14002b23b
mov rcx, qword [rbx + 0x18]
mov eax, dword [rsp + 0x20]
mov dword [rsi + rcx], eax
add qword [rbx + 0x28], 4
jmp 0x14002b2db
lea rbp, [rsi + 4]
cmp rbp, rsi
jne 0x14002b24d
mov rdi, qword [rbx + 0x18]
jmp 0x14002b2d4
mov rcx, qword [rbx + 0x18]
test rbp, rbp
jne 0x14002b275
test rcx, rcx
je 0x14002b267
mov rax, qword [rbx]
mov rdx, rcx
mov rcx, rbx
call qword [rax + 0x18]
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x20], rdi
jmp 0x14002b2d4
test rcx, rcx
jne 0x14002b287
mov rdx, rbp
mov rcx, rbx
call fcn.14006a920
jmp 0x14002b2d1
mov r15, qword [rbx + 0x30]
test r15, r15
cmovle r15, r12
cmp rdx, rbp
jl 0x14002b2a8
sub rdx, rbp
cmp rdx, r15
jg 0x14002b2a8
mov qword [rbx + 0x28], rbp
mov rdi, rcx
jmp 0x14002b2d4
mov rax, rbp
cqo
idiv r15
sub r15, rdx
add r15, rbp
mov rax, qword [rbx]
mov r8, r15
mov rdx, rcx
mov rcx, rbx
call qword [rax + 0x10]
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], r15
mov qword [rbx + 0x28], rbp
mov rdi, rax
mov eax, dword [rsp + 0x20]
mov dword [rdi + rsi], eax
mov rax, r14
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14007c550
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret