Function at 0x140009c20
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x140450200]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rdx
mov qword [rbp - 0x49], rdx
xor esi, esi
lea r9, [rbp + 0x1f]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400ddd60]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x140009c76
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movabs rax, 0xc46905caf4146267
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x19], rax
movabs rcx, 0xd44f9369732bb6a4
mov qword [rbp - 0x49], rcx
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x11], rax
movabs rax, 0xc43564b8807a0b3b
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x27], rax
mov qword [rbp - 0x49], rcx
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x2f], rax
movdqa xmm0, xmmword [rbp - 0x19]
xorps xmm0, xmmword [rbp + 0x27]
movdqa xmmword [rbp - 0x19], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], rsi
mov rdx, qword [rbp + 0x1f]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], si
jne 0x140009cf0
lea rcx, [rbp - 0x41]
call fcn.140006740
nop
mov r9, qword [rbp - 0x31]
test r9, r9
jne 0x140009d2a
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
movdqa xmm1, xmmword [0x1400ceb40]
movdqu xmmword [rbp + 7], xmm1
mov byte [rbp - 9], r9b
jmp 0x140009dcb
lea r8, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova r8, qword [rbp - 0x41]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rdx, rbx
xor r8d, r8d
lea rcx, [rbp + 0x27]
call fcn.140009a00
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0xf
cmova rdx, qword [rbp + 0x27]
lea r8, [rbp - 0x41]
cmp qword [rbp - 0x29], 7
cmova r8, qword [rbp - 0x41]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
mov r9d, dword [rbp - 0x31]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movups xmm0, xmmword [rbp + 0x27]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp + 0x37]
movups xmmword [rbp + 7], xmm1
movdqa xmm0, xmmword [0x1400ceb40]
movdqu xmmword [rbp + 0x37], xmm0
mov byte [rbp + 0x27], 0
lea r8, [rbp - 0x19]
lea rdx, [rbp - 9]
mov rcx, rdi
call fcn.1400026d0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140009e1a
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009e15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009e15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cb188
movdqa xmm0, xmmword [0x1400ceb40]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 7
jbe 0x140009e6e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009e69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009e69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cb188
mov rax, rdi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400cb540
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret