Function at 0x14002bf98
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r13
push r14
lea rbp, [rax - 0x68]
sub rsp, 0x150
mov rax, qword [0x14022ff58]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rdi, rcx
xor r14d, r14d
mov qword [rsp + 0x38], r14
lea rcx, [rsp + 0x38]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x14002c332
mov dword [rsp + 0x40], 0xf0000000
mov r13, 0xffffffffffff0000
mov r9, r13
xor r8d, r8d
mov edx, 0x1101
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
je 0x14002c048
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0x11]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x14002c349
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
mov edx, 1
mov rax, qword [rax + 0x48]
call qword [case.0x1400f0cf3.0]
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp + 0x20], rax
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
movsd xmm0, qword [rbp + 0x20]
movsd qword [rsp + 0x78], xmm0
mov dword [rsp + 0x48], 0x27
test dword [rsp + 0x40], 0x80000000
je 0x14002c0ae
mov dword [rsp + 0x74], 1
mov dword [rsp + 0x48], 0x67
mov rcx, qword [0x140256f70]
mov rax, qword [rcx]
mov edx, 0x18
mov rax, qword [rax + 0x18]
call qword [case.0x1400f0cf3.0]
mov rbx, rax
test rax, rax
je 0x14002c349
mov qword [rbp + 0x28], r14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x38], xmm0
movdqa xmm1, xmmword [0x1401da070]
movdqu xmmword [rbp + 0x38], xmm1
mov word [rbp + 0x28], r14w
lea r9, [rbp + 0x28]
mov r8d, 1
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.14002ebc8
test al, al
je 0x14002c372
lea rax, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
cmovae rax, qword [rbp + 0x28]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call fcn.14002c3c8
mov rsi, rax
test rax, rax
je 0x14002c372
mov rcx, qword [rsp + 0x30]
call fcn.14002c4c0
mov qword [rbx + 8], rax
lea r8, [rsp + 0x48]
mov rdx, rsi
mov rcx, rdi
call fcn.14002d0a0
mov rcx, qword [rsp + 0x38]
mov qword [rbx], rcx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400f0cf3.0]
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call fcn.14002c3c8
mov qword [rbx + 0x10], rax
test rax, rax
je 0x14002c372
mov qword [rsp + 0x78], rbx
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rsp + 0x58]
movaps xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [rsp + 0x78]
movsd qword [rbp - 0x30], xmm1
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x70], r13
lea r9, [rbp - 0x70]
xor r8d, r8d
mov edx, 0x1132
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rdi]
mov rcx, rdi
call fcn.14002c914
mov r9, rbx
mov r13d, 2
mov r8d, r13d
mov edx, 0x1102
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 0xf]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
lea r8d, [r13 + 2]
jmp 0x14002c27c
mov dword [rsp + 0x48], 4
mov qword [rsp + 0x50], rbx
lea r9, [rsp + 0x48]
xor r8d, r8d
mov edx, 0x113e
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x38]
mov r9, qword [rsp + 0x78]
mov r9, qword [r9 + 0x10]
mov r8, qword [rbp - 0x80]
xor edx, edx
call qword [case.0x1400f0cf3.0]
test eax, eax
je 0x14002c297
mov r8d, 1
mov r9, rbx
mov edx, 0x110a
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
mov rbx, rax
jne 0x14002c22e
jmp 0x14002c2af
mov r9, rbx
mov r8, r13
mov edx, 0x1102
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rdi + 8], rbx
mov rcx, qword [0x140256f70]
mov rax, qword [rcx]
mov rdx, rsi
mov rax, qword [rax + 0x28]
call qword [case.0x1400f0cf3.0]
mov rcx, qword [0x140256f70]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rax + 0x28]
call qword [case.0x1400f0cf3.0]
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x14002c320
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c31b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c3c2
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp + 0x38], xmm0
mov word [rbp + 0x28], r14w
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002c349
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400f0cf3.0]
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.1401adee0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
mov rdx, qword [rbp + 0x40]
cmp rdx, 8
jb 0x14002c3ae
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002c3a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002c3c2
call fcn.1401addcc
movdqa xmm0, xmmword [0x1401da070]
movdqu xmmword [rbp + 0x38], xmm0
mov word [rbp + 0x28], r14w
jmp 0x14002c349
call fcn.1401b4fa4
int3