Function at 0x1400aa180
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 - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rbp + 0x27], rax
movzx edi, cx
xor ebx, ebx
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x1f], rbx
mov qword [rbp - 9], rbx
mov qword [rbp + 7], rbx
xor edx, edx
xor ecx, ecx
call fcn.1400568e0
mov qword [rbp + 0x17], rbx
xor edx, edx
xor ecx, ecx
call fcn.1400568e0
mov qword [rbp - 1], rbx
lea rsi, str.X:UsersAdministratorAppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup
lea r13, str.X:ProgramDataMicrosoftWindowsStart_MenuProgramsStartUp
mov rax, qword [0x140443d80]
cmp di, word [rax + 0x30]
jne 0x1400aa249
xor edx, edx
mov r8d, 0x104
mov rcx, rsi
call fcn.14027b2c0
xor edx, edx
mov r8d, 0x104
mov rcx, r13
call fcn.14027b2c0
xor r9d, r9d
lea r8d, [rbx + 7]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor r9d, r9d
lea r8d, [rbx + 0x18]
mov rdx, r13
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
jmp 0x1400aa257
mov word [str.X:UsersAdministratorAppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup], di
mov word [str.X:ProgramDataMicrosoftWindowsStart_MenuProgramsStartUp], di
lea rdx, [rbp + 0xf]
mov rcx, rsi
call fcn.1400a9e40
lea rdx, [rbp - 9]
mov rcx, r13
call fcn.1400a9e40
mov r12, qword [rbp + 0x17]
mov r14, r12
mov rsi, qword [rbp + 0xf]
sub r14, rsi
sar r14, 5
mov r15, qword [rbp - 1]
mov rdi, qword [rbp - 9]
test r14, r14
jne 0x1400aa29d
mov rax, r15
sub rax, rdi
sar rax, 5
test rax, rax
je 0x1400aa2c4
xor r9d, r9d
lea r8, [0x140339868]
mov edx, 0x52d
mov rcx, qword [0x14045df08]
call qword [sym.imp.USER32.dll_PostMessageW]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
test r14, r14
je 0x1400aa344
lea rax, [rbp - 0x29]
mov qword [rbp - 0x39], rax
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x29]
call fcn.140056540
mov rsi, rax
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], rbx
mov word [rbp - 0x59], bx
lea rdx, str.X:UsersAdministratorAppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup
cmp word [str.X:UsersAdministratorAppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup], 0
jne 0x1400aa307
mov r8, rbx
jmp 0x1400aa31b
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400aa310
lea rcx, [rbp - 0x59]
call fcn.14004dd70
nop
mov rdx, rsi
lea rcx, [rbp - 0x59]
call fcn.140082d30
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r12, qword [rbp + 0x17]
mov rsi, qword [rbp + 0xf]
mov rax, r15
sub rax, rdi
sar rax, 5
test rax, rax
je 0x1400aa3cb
lea rax, [rbp - 0x29]
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.140056540
mov rdi, rax
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], rbx
mov word [rbp - 0x59], bx
cmp word [str.X:ProgramDataMicrosoftWindowsStart_MenuProgramsStartUp], 0
je 0x1400aa39c
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [r13 + rbx*2], 0
jne 0x1400aa390
mov r8, rbx
mov rdx, r13
lea rcx, [rbp - 0x59]
call fcn.14004dd70
nop
mov rdx, rdi
lea rcx, [rbp - 0x59]
call fcn.140082d30
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r15, qword [rbp - 1]
mov rdi, qword [rbp - 9]
test rdi, rdi
je 0x1400aa3ef
mov rdx, r15
mov rcx, rdi
call fcn.1400568e0
mov r8, qword [rbp + 7]
sub r8, rdi
sar r8, 5
mov rdx, rdi
call fcn.140056760
nop
test rsi, rsi
je 0x1400aa412
mov rdx, r12
mov rcx, rsi
call fcn.1400568e0
mov r8, qword [rbp + 0x1f]
sub r8, rsi
sar r8, 5
mov rdx, rsi
call fcn.140056760
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14012a2b0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret