Function at 0x140003720
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
mov qword [rbp - 0x21], rcx
xor edi, edi
mov qword [rbp - 0x21], rdi
lea r9, [rbp - 0x21]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x1400167a0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x14000378a
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov eax, edi
mov qword [rbp - 1], rax
mov ecx, 0xf
mov qword [rbp + 7], rcx
mov byte [rbp - 0x11], al
jmp 0x1400037c4
mov rdx, qword [rbp - 0x21]
lea rcx, [rbp + 0x2f]
call fcn.140002af0
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [rbp + 0x2f]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rbp + 0x3f]
movups xmmword [rbp - 1], xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rcx, xmm0
movq rax, xmm1
test rax, rax
jne 0x140003839
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
cmp rcx, 0xf
jbe 0x140003815
lea rdx, [rcx + 1]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003810
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400039c6
call fcn.140013218
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140012e00
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov byte [rbp - 0x19], 0x5c
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
je 0x1400039cd
lea r9, [rbp - 0x11]
cmp rcx, 0xf
cmova r9, qword [rbp - 0x11]
mov qword [rsp + 0x30], 1
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x2f]
call fcn.140005fe0
nop
lea r8, [0x140016a82]
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.140005310
nop
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x1400038d1
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400038cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400038cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013218
movdqa xmm0, xmmword [0x1400174c0]
movdqu xmmword [rbp + 0x3f], xmm0
mov byte [rbp + 0x2f], 0
lea rcx, [rbp + 0xf]
call fcn.140002e70
test al, al
jne 0x140003968
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x140003941
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000393c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000393c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013218
movdqa xmm0, xmmword [0x1400174c0]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140003815
inc rdx
jmp 0x1400037e7
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x1f]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x1400174c0]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x140003815
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003810
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003810
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001340
int3