Function at 0x1400070ec
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rbp
push r12
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140033410]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rcx
mov r10d, 0x5c
mov word [rbp - 0x31], r10w
mov rax, qword [rcx + 0x10]
or rdi, 0xffffffffffffffff
xor r14d, r14d
lea esi, [rdi + 2]
cmp rax, rsi
jb 0x1400071c0
dec rax
cmp rax, rdi
cmova rax, rdi
cmp qword [rcx + 0x18], 8
jb 0x140007156
mov rcx, qword [rcx]
lea r8, [rcx + rax*2]
cmp word [r8], r10w
jne 0x14000718f
mov r9, rsi
lea rcx, [rbp - 0x31]
mov rdx, r8
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x140007184
add rdx, 2
add rcx, 2
sub r9, rsi
jne 0x14000716a
mov eax, r14d
jmp 0x14000718b
sbb eax, eax
and eax, 0xfffffffe
add eax, esi
test eax, eax
je 0x1400071a9
cmp qword [rbx + 0x18], 8
jb 0x14000719b
mov rax, qword [rbx]
jmp 0x14000719e
mov rax, rbx
cmp r8, rax
je 0x1400071c0
sub r8, 2
jmp 0x14000715a
cmp qword [rbx + 0x18], 8
jb 0x1400071b5
mov rax, qword [rbx]
jmp 0x1400071b8
mov rax, rbx
sub r8, rax
sar r8, 1
jmp 0x1400071c3
mov r8, rdi
inc r8
lea rdx, [rbp + 0x17]
mov rcx, rbx
call fcn.140007eb8
nop
mov r12d, 7
mov qword [rbp - 0x11], r12
mov qword [rbp - 0x19], r14
mov word [rbp - 0x29], r14w
xor r8d, r8d
mov edx, 0x104
lea rcx, [rbp - 0x29]
call fcn.140008e00
nop
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rax, qword [rbp - 0x29]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x140007228
mov sil, r14b
jmp 0x1400073ad
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rax, qword [rbp - 0x29]
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x140007236
cmp rdi, qword [rbp - 0x19]
ja 0x14000725f
mov qword [rbp - 0x19], rdi
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rax, qword [rbp - 0x29]
mov word [rax + rdi*2], r14w
jmp 0x140007272
xor r8d, r8d
sub rdi, qword [rbp - 0x19]
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.140009760
lea r8, [0x14002d4bc]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x69]
call fcn.140009988
nop
lea r8, [rbp + 0x17]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140009d34
nop
lea r8, str..lnk
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.140009d88
nop
cmp qword [rbp - 0x71], 8
jb 0x1400072be
mov rcx, qword [rsp + 0x30]
call fcn.14000b084
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x79], r14
mov word [rsp + 0x30], r14w
cmp qword [rbp - 0x51], 8
jb 0x1400072dc
mov rcx, qword [rbp - 0x69]
call fcn.14000b084
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x59], r14
mov word [rbp - 0x69], r14w
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
lea r9, [0x140028b78]
mov r8d, esi
xor edx, edx
lea rcx, [0x140028b88]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140007389
cmp qword [rbx + 0x18], 8
jb 0x140007321
mov rbx, qword [rbx]
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 0xa0]
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
lea rdx, [0x14002d4c0]
call qword [rax + 0x38]
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
lea r8, [rbp - 0x39]
lea rdx, [0x140028b98]
call qword [rax]
test eax, eax
js 0x14000737f
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rdx, qword [rbp - 9]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
mov r8d, esi
call qword [rax + 0x30]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
cmp qword [rbp + 0xf], 8
jb 0x1400073a0
mov rcx, qword [rbp - 9]
call fcn.14000b084
mov qword [rbp + 0xf], r12
mov qword [rbp + 7], r14
mov word [rbp - 9], r14w
cmp qword [rbp - 0x11], 8
jb 0x1400073bd
mov rcx, qword [rbp - 0x29]
call fcn.14000b084
mov qword [rbp - 0x11], r12
mov qword [rbp - 0x19], r14
mov word [rbp - 0x29], r14w
cmp qword [rbp + 0x2f], 8
jb 0x1400073da
mov rcx, qword [rbp + 0x17]
call fcn.14000b084
mov al, sil
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14000a720
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret