Function at 0x1400acc20
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, rcx
mov r12, qword [rdx + 0x18]
test r12, r12
je 0x1400accb3
mov r14, rdx
mov r15, qword [rdx + 8]
test r15, r15
je 0x1400accb3
mov rdi, r9
mov rbx, r8
lea r9, [rsp + 0x40]
and qword [r9], 0
lea rcx, [0x1404c3fe0]
xor edx, edx
xor r8d, r8d
call sub.shell32.dll_SHGetKnownFolderPath
test eax, eax
js 0x1400accbf
mov r8, 0xffffffffffffffff
mov r13, qword [rsp + 0x40]
cmp word [r13 + r8*2 + 2], 0
lea r8, [r8 + 1]
jne 0x1400acc78
lea rbp, [rsp + 0x58]
mov rcx, rbp
mov rdx, r13
call fcn.1402680a0
mov rcx, r13
call sub.ole32.dll_CoTaskMemFree
mov cl, byte [rbp + 0x18]
mov rax, qword [rbp]
cmp cl, 2
jne 0x1400accc9
mov rcx, qword [rsp + 0x60]
jmp 0x1400acd67
mov qword [rsi], 2
jmp 0x1400acd6e
mov eax, 1
jmp 0x1400acd67
lea r13, [rsp + 0x58]
vmovups xmm0, xmmword [r13 + 8]
mov edx, dword [r13 + 0x19]
mov dword [rsp + 0x30], edx
mov edx, dword [r13 + 0x1c]
mov dword [rsp + 0x33], edx
mov qword [r13], rax
vmovups xmmword [r13 + 8], xmm0
mov byte [r13 + 0x18], cl
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x33]
mov dword [r13 + 0x19], eax
mov dword [r13 + 0x1c], ecx
mov rdx, qword [r14 + 0x10]
lea rbp, [rsp + 0x40]
mov rcx, rbp
mov r8, r12
call fcn.1400ace96
mov rcx, r13
mov rdx, rbp
call fcn.1400acabb
mov rdx, qword [r14]
lea r14, [rsp + 0x40]
mov rcx, r14
mov r8, r15
call fcn.1400ace96
mov rcx, r13
mov rdx, r14
call fcn.1400acabb
mov rax, qword [r13]
mov rcx, qword [r13 + 8]
mov rdx, qword [r13 + 0x10]
mov r8b, byte [r13 + 0x18]
mov r9d, dword [r13 + 0x19]
mov dword [rsp + 0x28], r9d
mov r9d, dword [r13 + 0x1c]
mov dword [rsp + 0x2b], r9d
cmp r8b, 2
jne 0x1400acd86
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov byte [rsi + 0x18], 2
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
vzeroupper
ret
lea r9, [rsp + 0x58]
mov qword [r9], rax
mov qword [r9 + 8], rcx
mov qword [r9 + 0x10], rdx
mov byte [r9 + 0x18], r8b
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2b]
mov dword [r9 + 0x19], eax
mov dword [r9 + 0x1c], ecx
xor r13d, r13d
xor eax, eax
mov qword [rsp + 0x38], rax
xor r14d, r14d
xor eax, eax
xor r15d, r15d
test r15b, r15b
jne 0x1400ace87
mov r12, rax
lea rdx, [rbx + r13]
mov r8, rdi
mov eax, 0
mov r15b, 1
sub r8, r13
cmovae rax, rdx
cmovae rbp, r8
jb 0x1400ace48
cmp r8, 0xf
ja 0x1400acdfe
xor r8d, r8d
cmp rbp, r8
je 0x1400ace0a
cmp byte [rax + r8], 0x2f
je 0x1400ace11
inc r8
jmp 0x1400acded
mov cl, 0x2f
call fcn.1400bdf10
mov r8, rdx
jmp 0x1400ace16
mov r8, rbp
xor eax, eax
jmp 0x1400ace16
mov eax, 1
cmp rax, 1
jne 0x1400ace45
lea rax, [r8 + r13]
inc rax
add r8, r13
mov r13, rax
cmp r8, rdi
jae 0x1400acdc8
cmp byte [rbx + r8], 0x2f
mov r13, rax
jne 0x1400acdc8
xor r15d, r15d
mov r13, rax
mov qword [rsp + 0x38], rax
jmp 0x1400ace51
mov r13, rdi
mov r14b, 1
mov rax, r12
mov r8, rdi
sub r8, r12
je 0x1400acdbc
add r12, rbx
lea r15, [rsp + 0x40]
mov rcx, r15
mov rdx, r12
call fcn.1400ace96
lea rcx, [rsp + 0x58]
mov rdx, r15
call fcn.1400acabb
mov rax, qword [rsp + 0x38]
mov r15d, r14d
jmp 0x1400acdbc
vmovups ymm0, ymmword [rsp + 0x58]
vmovups ymmword [rsi], ymm0
jmp 0x1400acd72