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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x840]
sub rsp, 0x940
mov rax, qword [0x14012a210]
xor rax, rsp
mov qword [rbp + 0x830], rax
mov r13, rdx
mov rsi, rcx
xor ebx, ebx
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x30]
call fcn.1400a83f0
mov qword [rbp + 8], rbx
mov qword [rbp + 0x18], rbx
mov edi, 7
mov qword [rbp + 0x20], rdi
mov word [rbp + 8], bx
lea r9d, [rbx + 1]
lea r8d, [rbx + 0x25]
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14004600f
lea r8, str.cmd.exe
mov edx, 0x400
lea rcx, [rbp + 0x30]
call fcn.1400bc87c
lea rcx, [rsi + 0xb0]
mov rdx, qword [rcx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, 4
jb 0x140046079
cmp qword [rcx + 0x18], 8
jb 0x140045e0b
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 4
lea r9, str._C__
lea rcx, [rsp + 0x60]
call fcn.140012680
nop
mov r8d, 2
lea rdx, [0x140108ef4]
lea rcx, [rsp + 0x60]
call fcn.140012440
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov word [rax], bx
lea rdx, [rsi + 0xf0]
cmp qword [rsi + 0x108], 8
jb 0x140045e8a
mov rdx, qword [rsi + 0xf0]
mov r8, qword [rsi + 0x100]
lea rcx, [rsp + 0x40]
call fcn.140012440
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov word [rax], bx
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm1
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140045ef7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045ef2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004607f
call fcn.1400a59a4
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x40], bx
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140045f48
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045f43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046085
call fcn.1400a59a4
lea rax, [rsp + 0x60]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x58]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x18]
mov qword [rbp - 0x68], rax
lea rdx, [rsi + 0x70]
lea rcx, [rsp + 0x60]
call fcn.140012240
mov r14, rax
lea rdx, [rsi + 0x90]
lea rcx, [rbp - 0x58]
call fcn.140012240
mov r15, rax
lea rdx, [rsi + 0x50]
lea rcx, [rbp - 0x38]
call fcn.140012240
mov rsi, rax
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x18]
call fcn.140012240
mov r12, rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
lea rax, [rbp + 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140045fd0
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140011160
nop
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov r9, rsi
mov r8, r12
lea rdx, [rsp + 0x40]
call fcn.140045030
mov ebx, eax
mov rdi, qword [rbp + 0x20]
cmp rdi, 8
jb 0x140046047
lea rdx, [rdi*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046042
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046073
call fcn.1400a59a4
mov eax, ebx
mov rcx, qword [rbp + 0x830]
xor rcx, rsp
call fcn.1400a5460
mov rbx, qword [rsp + 0x990]
add rsp, 0x940
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400b4704
nop
call fcn.140003f10
nop
call fcn.1400b4704
nop
call fcn.1400b4704
int3