Function at 0x140132ea0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
mov qword [rbp - 0x19], rcx
xor r12d, r12d
mov qword [rbp - 0x21], r12
mov qword [rbp + 0xf], r12
movdqa xmm0, xmmword [0x14023cab0]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], r12w
lea r9, [rbp - 0x21]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140248f00]
call sub.SHELL32.dll_SHGetKnownFolderPath
lea rbx, [r12 - 1]
test eax, eax
jne 0x140132f52
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x59], 7
mov rdx, qword [rbp - 0x21]
mov r8, rbx
inc r8
cmp word [rdx + r8*2], 0
jne 0x140132f25
lea rcx, [rbp - 0x71]
call fcn.140018360
lea rcx, [rbp + 0xf]
call fcn.1400272a0
movups xmm0, xmmword [rbp - 0x71]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rbp - 0x61]
movups xmmword [rbp + 0x1f], xmm1
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rax, [rbp - 0x11]
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x11], r12
mov qword [rbp - 1], r12
mov qword [rbp + 7], r12
lea rsi, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rsi, qword [rbp + 0xf]
mov r15, qword [rbp + 0x1f]
cmp r15, 8
jae 0x140132f97
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x11], xmm0
mov r14d, 7
jmp 0x140132fd3
mov r14, r15
or r14, 7
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
cmova r14, rax
lea rdx, [r14 + 1]
lea rcx, [rbp - 0x11]
call fcn.140023c30
mov qword [rbp - 0x11], rax
lea r8, [r15*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1401cfe40
mov qword [rbp - 1], r15
mov qword [rbp + 7], r14
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140132fe8
mov rdx, qword [rdi]
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x59], 7
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x71]
call fcn.140018360
nop
lea r8, [rbp - 0x11]
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x79]
call fcn.140102150
test al, al
jne 0x140133100
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x11], r12
movdqa xmm0, xmmword [0x14023cab0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r12w
lea r9, [rbp - 0x21]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140248ef0]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x140133095
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x59], 7
mov rdx, qword [rbp - 0x21]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140133066
mov r8, rbx
lea rcx, [rbp - 0x71]
call fcn.140018360
lea rcx, [rbp - 0x11]
call fcn.1400272a0
movups xmm0, xmmword [rbp - 0x71]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rbp - 0x61]
movups xmmword [rbp - 1], xmm1
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rax, [rbp - 0x41]
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x41]
call fcn.140018e70
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401330c2
mov rdx, qword [rdi]
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x59], 7
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x71]
call fcn.140018360
nop
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x79]
call fcn.140102150
nop
lea rcx, [rbp - 0x11]
test al, al
je 0x140133116
call fcn.1400272a0
nop
lea rcx, [rbp + 0xf]
call fcn.1400272a0
nop
mov rcx, rdi
call fcn.1400272a0
mov al, 1
jmp 0x140133130
call fcn.1400272a0
nop
lea rcx, [rbp + 0xf]
call fcn.1400272a0
nop
mov rcx, rdi
call fcn.1400272a0
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401a9a30
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret