Function at 0x1400a6610
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 [0x1403a0088]
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.140056290
mov qword [rbp + 0x17], rbx
xor edx, edx
xor ecx, ecx
call fcn.140056290
mov qword [rbp - 1], rbx
lea rsi, str.X:UsersAdministratorAppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup
lea r13, str.X:ProgramDataMicrosoftWindowsStart_MenuProgramsStartUp
mov rax, qword [0x14043bd80]
cmp di, word [rax + 0x30]
jne 0x1400a66d9
xor edx, edx
mov r8d, 0x104
mov rcx, rsi
call fcn.1402767a0
xor edx, edx
mov r8d, 0x104
mov rcx, r13
call fcn.1402767a0
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 0x1400a66e7
mov word [str.X:UsersAdministratorAppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup], di
mov word [str.X:ProgramDataMicrosoftWindowsStart_MenuProgramsStartUp], di
lea rdx, [rbp + 0xf]
mov rcx, rsi
call fcn.1400a6310
lea rdx, [rbp - 9]
mov rcx, r13
call fcn.1400a6310
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 0x1400a672d
mov rax, r15
sub rax, rdi
sar rax, 5
test rax, rax
je 0x1400a6754
xor r9d, r9d
lea r8, [0x140333b28]
mov edx, 0x52d
mov rcx, qword [0x140456df8]
call qword [sym.imp.USER32.dll_PostMessageW]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
test r14, r14
je 0x1400a67d4
lea rax, [rbp - 0x29]
mov qword [rbp - 0x39], rax
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x29]
call fcn.140055ef0
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 0x1400a6797
mov r8, rbx
jmp 0x1400a67ab
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400a67a0
lea rcx, [rbp - 0x59]
call fcn.14004db90
nop
mov rdx, rsi
lea rcx, [rbp - 0x59]
call fcn.14007dcb0
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 0x1400a685b
lea rax, [rbp - 0x29]
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x29]
call fcn.140055ef0
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 0x1400a682c
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [r13 + rbx*2], 0
jne 0x1400a6820
mov r8, rbx
mov rdx, r13
lea rcx, [rbp - 0x59]
call fcn.14004db90
nop
mov rdx, rdi
lea rcx, [rbp - 0x59]
call fcn.14007dcb0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r15, qword [rbp - 1]
mov rdi, qword [rbp - 9]
test rdi, rdi
je 0x1400a687f
mov rdx, r15
mov rcx, rdi
call fcn.140056290
mov r8, qword [rbp + 7]
sub r8, rdi
sar r8, 5
mov rdx, rdi
call fcn.140056110
nop
test rsi, rsi
je 0x1400a68a2
mov rdx, r12
mov rcx, rsi
call fcn.140056290
mov r8, qword [rbp + 0x1f]
sub r8, rsi
sar r8, 5
mov rdx, rsi
call fcn.140056110
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140125a70
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