Function at 0x14005b528
Capabilities:
Disable system features via registry on windows
Execute command
Set registry value
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140148f00]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x60]
call fcn.14010b8b4
mov r8d, 2
lea rbx, str.RegSpoof.bat
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140061a7c
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x14005b5b7
lea rdx, str._n_____Failed_to_spoof_registry
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140062820
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str._echo_off_n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.setlocal_n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.set__SUBKEY1HKLMSYSTEMCurrentControlSetControlDeviceGuardScenarios__n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.set__VALUE1HypervisorEnforcedCodeIntegrity__n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.set__SUBKEY2HKLMSYSTEMCurrentControlSetControlCIConfig__n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.set__VALUE2VulnerableDriverBlocklistEnable__n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.reg_query___SUBKEY1____v___VALUE1____nul_2_1_n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.if__errorlevel__equ_0___n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.____reg_add___SUBKEY1____v___VALUE1____t_REG_DWORD__d_0__f__nul_n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.__else___n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.____reg_add___SUBKEY1____v___VALUE1____t_REG_DWORD__d_0__f__nul_n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, [0x140136c94]
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.reg_query___SUBKEY2____v___VALUE2____nul_2_1_n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.if__errorlevel__equ_0___n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.____reg_add___SUBKEY2____v___VALUE2____t_REG_DWORD__d_0__f__nul_n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.__else___n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.____reg_add___SUBKEY2____v___VALUE2____t_REG_DWORD__d_0__f__nul_n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, [0x140136c94]
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.cls_n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.echo____Successfully_spoofed_registry_RESTARTING_PC_n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.timeout__t_2__nobreak__nul_n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rdx, str.shutdown__r__t_0_n
lea rcx, [rsp + 0x60]
call fcn.140062820
lea rcx, [rsp + 0x68]
call fcn.1400622b8
test rax, rax
jne 0x14005b75a
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
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]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], send
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140063a58
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.14010a250
shr rax, 0x20
test eax, eax
jne 0x14005b7d4
lea rcx, [rsp + 0x40]
call fcn.140062470
nop
lea rcx, [rsp + 0x60]
call fcn.14005b1d8
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14010a620
mov rbx, qword [rsp + 0x190]
add rsp, 0x180
pop rbp
ret
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [0x1401367e4]
call fcn.1400599b4
int3