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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r13, rcx
mov qword [rsp + 0x70], rcx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
lea rax, [rbp - 0x60]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], r14w
jne 0x140003756
lea rcx, [rsp + 0x50]
cmp rdx, 7
ja 0x140003788
mov qword [rsp + 0x60], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x50], r14w
jmp 0x140003791
lea r9, [rbp - 0x60]
call fcn.140002920
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.140003560
nop
movdqa xmm0, xmmword [0x140007cd0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov r8d, 0x21
lea rdx, str.NVIDIA_CorporationNVIDIA_Share_
lea rcx, [rsp + 0x30]
call fcn.1400023f0
nop
lea rsi, [rbp - 0x80]
mov rdi, qword [rbp - 0x80]
mov r12, qword [rbp - 0x68]
cmp r12, 0x10
cmovae rsi, rdi
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
sub rax, r8
mov r15, qword [rbp - 0x70]
cmp r15, rax
ja 0x14000386f
lea rax, [r8 + r15]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rcx, 0x10
cmovae rbx, qword [rsp + 0x30]
lea rax, [r15 + rsi]
cmp rax, rbx
jbe 0x14000382f
lea rax, [rbx + r8]
cmp rsi, rax
ja 0x14000382f
cmp rbx, rsi
jbe 0x140003832
mov r14, rbx
sub r14, rsi
jmp 0x140003832
mov r14, r15
inc r8
lea rcx, [r15 + rbx]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8, r15
sub r8, r14
lea rdx, [r15 + r14]
add rdx, rsi
lea rcx, [rbx + r14]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x30]
xor r14d, r14d
jmp 0x14000388e
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rsi
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.140005300
mov r12, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x80]
mov qword [r13 + 0x10], r14
mov qword [r13 + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400038f6
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400038f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400038f1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005530
movdqa xmm0, xmmword [0x140007cd0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
cmp r12, 0x10
jb 0x140003944
lea rdx, [r12 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000393c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
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
mov rcx, rdi
call fcn.140005530
mov rax, r13
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400054d0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret