Function at 0x140007c00
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 [0x140035410]
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 0x140007cd4
dec rax
cmp rax, rdi
cmova rax, rdi
cmp qword [rcx + 0x18], 8
jb 0x140007c6a
mov rcx, qword [rcx]
lea r8, [rcx + rax*2]
cmp word [r8], r10w
jne 0x140007ca3
mov r9, rsi
lea rcx, [rbp - 0x31]
mov rdx, r8
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x140007c98
add rdx, 2
add rcx, 2
sub r9, rsi
jne 0x140007c7e
mov eax, r14d
jmp 0x140007c9f
sbb eax, eax
and eax, 0xfffffffe
add eax, esi
test eax, eax
je 0x140007cbd
cmp qword [rbx + 0x18], 8
jb 0x140007caf
mov rax, qword [rbx]
jmp 0x140007cb2
mov rax, rbx
cmp r8, rax
je 0x140007cd4
sub r8, 2
jmp 0x140007c6e
cmp qword [rbx + 0x18], 8
jb 0x140007cc9
mov rax, qword [rbx]
jmp 0x140007ccc
mov rax, rbx
sub r8, rax
sar r8, 1
jmp 0x140007cd7
mov r8, rdi
inc r8
lea rdx, [rbp + 0x17]
mov rcx, rbx
call fcn.140008df8
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.140009eb0
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 0x140007d3c
mov sil, r14b
jmp 0x140007ec1
lea rax, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rax, qword [rbp - 0x29]
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x140007d4a
cmp rdi, qword [rbp - 0x19]
ja 0x140007d73
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 0x140007d86
xor r8d, r8d
sub rdi, qword [rbp - 0x19]
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.14000a6f8
lea r8, [0x14002e90c]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x69]
call fcn.14000a920
nop
lea r8, [rbp + 0x17]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14000af64
nop
lea r8, str..lnk
mov rdx, rax
lea rcx, [rbp - 9]
call fcn.14000afb8
nop
cmp qword [rbp - 0x71], 8
jb 0x140007dd2
mov rcx, qword [rsp + 0x30]
call fcn.14000c484
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x79], r14
mov word [rsp + 0x30], r14w
cmp qword [rbp - 0x51], 8
jb 0x140007df0
mov rcx, qword [rbp - 0x69]
call fcn.14000c484
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, [0x140029bd8]
mov r8d, esi
xor edx, edx
lea rcx, [0x140029be8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140007e9d
cmp qword [rbx + 0x18], 8
jb 0x140007e35
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, [0x14002e910]
call qword [rax + 0x38]
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
lea r8, [rbp - 0x39]
lea rdx, [0x140029bf8]
call qword [rax]
test eax, eax
js 0x140007e93
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 0x140007eb4
mov rcx, qword [rbp - 9]
call fcn.14000c484
mov qword [rbp + 0xf], r12
mov qword [rbp + 7], r14
mov word [rbp - 9], r14w
cmp qword [rbp - 0x11], 8
jb 0x140007ed1
mov rcx, qword [rbp - 0x29]
call fcn.14000c484
mov qword [rbp - 0x11], r12
mov qword [rbp - 0x19], r14
mov word [rbp - 0x29], r14w
cmp qword [rbp + 0x2f], 8
jb 0x140007eee
mov rcx, qword [rbp + 0x17]
call fcn.14000c484
mov al, sil
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14000bb20
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