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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], di
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400021b4
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.140005c20
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x140071ab0]
lea rcx, [rsp + 0x58]
call fcn.140005ef0
mov r8d, 1
lea rdx, [0x14006d244]
lea rcx, [rsp + 0x58]
call fcn.140005ef0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov dword [rsp + 0x30], 3
lea rdx, [rsi + 0x70]
cmp qword [rsi + 0x88], 8
jb 0x14000224c
mov rdx, qword [rsi + 0x70]
mov r8, qword [rsi + 0x80]
lea rcx, [rsp + 0x38]
call fcn.140005ef0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rbx, [rsi + 0x90]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.1400059d0
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1400022d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400022cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000240c
call fcn.140034040
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140002314
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000230f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002412
call fcn.140034040
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], di
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140002369
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002364
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002406
call fcn.140034040
cmp qword [rbx + 0x18], 8
jb 0x140002373
mov rbx, qword [rbx]
mov r8, rbx
mov ecx, 0xa8
call fcn.1400196a0
mov byte [rsi + 0x20], 0
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
cmp rcx, rdx
je 0x14000239e
call fcn.140006270
mov rax, qword [rsi + 0x48]
mov qword [rsi + 0x50], rax
mov rbx, qword [rsi + 0x30]
mov r14, qword [rsi + 0x38]
cmp rbx, r14
je 0x1400023df
nop dword [rax + rax]
mov rdi, qword [rbx]
test rdi, rdi
je 0x1400023ce
lea rcx, [rdi + 8]
call fcn.140005740
mov edx, 0x20
mov rcx, rdi
call fcn.140034040
add rbx, 8
cmp rbx, r14
jne 0x1400023b0
mov rax, qword [rsi + 0x30]
mov qword [rsi + 0x38], rax
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140034020
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14003aa14
nop
call fcn.14003aa14
nop
call fcn.14003aa14
int3