Function at 0x140019738
Capabilities:
Create process on windows
Persist via run registry key
Schedule task via schtasks
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x418]
sub rsp, 0x510
mov rax, qword [0x14012bd38]
xor rax, rsp
mov qword [rbp + 0x400], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1f0]
call fcn.1400b15e0
mov r8d, 0x104
lea rdx, [rbp + 0x1f0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.140077d4c
mov rcx, rax
xor esi, esi
test rax, rax
je 0x140019d84
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rbp - 0x80], rbx
xor r8d, r8d
xor edx, edx
lea ecx, [rsi + 6]
call fcn.14004915c
test eax, eax
je 0x140019c8d
lea ebx, [rsi + 0x68]
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x180]
call fcn.1400b15e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
mov dword [rbp + 0x180], ebx
mov dword [rbp + 0x1bc], 1
mov word [rbp + 0x1c0], si
lea r8, [rbp + 0x1f0]
lea rdx, str.schtasks.exe__Create__tn_CrystalDiskInfo__tr____s____Startup____sc_ONLOGON__RL_HIGHEST__F
lea rcx, [rbp - 0x80]
call fcn.140002f84
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x180]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rbx, qword [rbp - 0x80]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, 0x3e8
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x140107580]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x140107590]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140019c20
lea rcx, [rbp + 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp + 0x48]
movups xmmword [rbp - 0x50], xmm0
movsd xmm0, qword [rbp + 0x58]
movsd qword [rbp - 0x78], xmm0
lea rcx, [rbp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp + 0x30]
movups xmmword [rbp - 0x60], xmm0
movsd xmm0, qword [rbp + 0x40]
movsd qword [rbp - 0x70], xmm0
lea rcx, [rbp + 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp + 0x18]
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [rbp + 0x28]
movsd qword [rbp - 0x68], xmm0
lea rcx, [rbp]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0xa0], xmm0
movsd xmm0, qword [rbp - 0x78]
movsd qword [rbp + 0xb0], xmm0
movups xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0xc0], xmm0
movsd xmm0, qword [rbp - 0x70]
movsd qword [rbp + 0xd0], xmm0
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0xe0], xmm0
movsd xmm0, qword [rbp - 0x68]
movsd qword [rbp + 0xf0], xmm0
movups xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x100], xmm0
movsd xmm1, qword [rbp + 0x10]
movsd qword [rbp + 0x110], xmm1
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rbp + 0xa0]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0xc0]
lea r8, [rbp + 0xe0]
lea rdx, [rbp + 0x100]
call qword [rax + 0x50]
mov edi, eax
lea rcx, [rbp]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp + 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp + 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test edi, edi
js 0x140019c20
lea rdx, [0x1400e135c]
lea rcx, [rbp - 0x68]
call fcn.140015914
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x1400199fa
mov rdx, qword [rcx]
jmp 0x1400199fd
mov rdx, rsi
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea r8, [rsp + 0x78]
call qword [rax + 0x38]
mov edi, eax
lea rcx, [rbp - 0x68]
call fcn.14001a0c0
test edi, edi
js 0x140019c20
lea rdx, [0x1400e1710]
lea rcx, [rbp - 0x70]
call fcn.140015914
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x140019a3e
mov rdx, qword [rcx]
jmp 0x140019a41
mov rdx, rsi
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
call qword [rax + 0x68]
mov edi, eax
lea rcx, [rbp - 0x70]
call fcn.14001a0c0
test edi, edi
js 0x140019c20
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
call qword [rax + 0x98]
test eax, eax
js 0x140019c20
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
call qword [rax + 0x58]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + VariantChangeTypeEx]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x80]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov edx, 5
call qword [rax + 0x110]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140019ad7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x50], rsi
mov eax, 8
mov word [rbp - 0x18], ax
lea rcx, [0x1400e02c0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp - 0x10], rax
test rax, rax
je 0x140019d79
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [rbp - 8]
movsd qword [rbp - 0x78], xmm0
lea rcx, [rbp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp + 0x78]
movups xmmword [rbp + 0x90], xmm0
movsd xmm0, qword [rbp + 0x88]
movsd qword [rbp - 0x60], xmm0
lea rcx, [rbp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp + 0x120], xmm0
movsd xmm0, qword [rbp - 0x78]
movsd qword [rbp + 0x130], xmm0
movups xmm0, xmmword [rbp + 0x90]
movaps xmmword [rbp + 0x140], xmm0
movsd xmm0, qword [rbp - 0x60]
movsd qword [rbp + 0x150], xmm0
movups xmm0, xmmword [rbp + 0x60]
movaps xmmword [rbp + 0x160], xmm0
movsd xmm1, qword [rbp + 0x70]
movsd qword [rbp + 0x170], xmm1
lea rdx, [0x1400e1710]
lea rcx, [rbp - 0x50]
call fcn.140015914
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x140019ba3
mov rdx, qword [rdx]
jmp 0x140019ba6
mov rdx, rsi
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x40], r8
lea r8, [rbp + 0x120]
mov qword [rsp + 0x38], r8
mov dword [rsp + 0x30], 3
lea r8, [rbp + 0x140]
mov qword [rsp + 0x28], r8
lea r8, [rbp + 0x160]
mov qword [rsp + 0x20], r8
mov r9d, 6
mov r8, qword [rsp + 0x70]
call qword [rax + 0x88]
nop
lea rcx, [rbp - 0x50]
call fcn.14001a0c0
nop
lea rcx, [rbp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp + 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140019c35
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x68], rsi
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140019c4a
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x70], rsi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140019c5f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x50], rsi
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140019c74
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x78], rsi
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140019d31
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x140019d31
mov word [rsp + 0x58], si
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140019d31
lea r8, [rbp + 0x1f0]
lea rdx, str.__s___Startup
lea rcx, [rbp - 0x80]
call fcn.140002f84
mov rbx, qword [rbp - 0x80]
mov rcx, rbx
call fcn.1400b6ca8
lea eax, [rax*2 + 6]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x1400e1710]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140019d4c
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, 1
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.1400b0010
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1400b0d50
nop
mov ecx, 0x80004005
call fcn.140001860
int3