Function at 0x1400107e0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x180
mov rax, qword [0x140023040]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp dword [rsp + 0x190], 2
jge 0x140010824
lea rcx, str.____invalid_use__please_provide_a_path_to_a_driver_n
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov eax, 0xffffffff
jmp 0x140010c0f
mov edx, 0x18
lea rcx, [rsp + 0x108]
call fcn.1400023b0
lea rcx, [rsp + 0x108]
call fcn.140002360
nop
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x198]
mov rdx, qword [rcx + rax]
lea rcx, [rsp + 0x88]
call fcn.140006350
nop
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x88]
call fcn.14000e380
nop
lea rcx, [rsp + 0x88]
call fcn.140006320
nop
lea rcx, [rsp + 0x108]
call fcn.140010f20
test rax, rax
jne 0x1400108c9
lea rcx, str.____invalid_drv_buffer_size_n
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
nop
mov dword [rsp + 0x28], 0xffffffff
lea rcx, [rsp + 0x108]
call fcn.140002210
mov eax, dword [rsp + 0x28]
jmp 0x140010c0f
mov edx, 0x48
lea rcx, [rsp + 0x120]
call fcn.1400023b0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x40]
call fcn.140010fa0
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x120]
call fcn.1400016a0
nop
call fcn.1400106a0
movzx eax, al
test eax, eax
jne 0x140010958
lea rcx, str.____unable_to_load_driver...._n
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
nop
mov dword [rsp + 0x2c], 0xffffffff
lea rcx, [rsp + 0x120]
call fcn.140010c60
nop
lea rcx, [rsp + 0x108]
call fcn.140002210
mov eax, dword [rsp + 0x2c]
jmp 0x140010c0f
lea rcx, [rsp + 0x100]
call fcn.140004b40
lea rcx, str.___driver_has_been_loaded..._n
call fcn.1400011c0
mov edx, 5
lea rcx, [0x140023ca8]
call fcn.140005b70
mov qword [rsp + 0x50], rax
mov rax, qword [str.NtShutdownSystem]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
lea rcx, str.____s_mapped_physical_page____0x_p_n
call fcn.1400011c0
movzx eax, word [0x140023cbc]
mov r8d, eax
mov rdx, qword [str.NtShutdownSystem]
lea rcx, str.____s_page_offset____0x_x_n
call fcn.1400011c0
lea rcx, [0x14001b200]
call fcn.14000e320
mov eax, dword [rax + 4]
mov dword [rsp + 0x30], eax
mov r8d, dword [rsp + 0x30]
lea rdx, [0x140023e70]
lea rcx, [rsp + 0x100]
call fcn.140005220
movzx eax, al
test eax, eax
jne 0x140010a33
lea rcx, str.____failed_to_clear_PiDDBCacheTable._n
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
nop
mov dword [rsp + 0x34], 0xffffffff
lea rcx, [rsp + 0x120]
call fcn.140010c60
nop
lea rcx, [rsp + 0x108]
call fcn.140002210
mov eax, dword [rsp + 0x34]
jmp 0x140010c0f
lea rax, [rsp + 0x101]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x101]
mov rcx, qword [rsp + 0x60]
call fcn.1400147f0
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x120]
call fcn.140001db0
nop
lea rcx, [rsp + 0x120]
call fcn.1400017b0
lea rcx, [rsp + 0x120]
call fcn.140001770
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.140005740
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x120]
call fcn.140001c00
lea rcx, [rsp + 0x120]
call fcn.140001770
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x120]
call fcn.140001fa0
mov qword [rsp + 0x78], rax
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x100]
call fcn.140005870
lea rcx, [rsp + 0x120]
call fcn.140001790
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x120]
call fcn.140001770
mov r9, rax
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x100]
call fcn.140014830
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
lea rcx, str.___driver_entry_returned:_0x_p_n
call fcn.1400011c0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x120]
call fcn.140001fc0
mov r8, rax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x100]
call fcn.140005910
nop
call fcn.140010790
movzx eax, al
test eax, eax
jne 0x140010bd3
lea rcx, str.____unable_to_unload_driver..._all_handles_closed__n
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
nop
mov dword [rsp + 0x3c], 0xffffffff
lea rcx, [rsp + 0x120]
call fcn.140010c60
nop
lea rcx, [rsp + 0x108]
call fcn.140002210
mov eax, dword [rsp + 0x3c]
jmp 0x140010c0f
lea rcx, str.___press_enter_to_close_n
call fcn.1400011c0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
nop
lea rcx, [rsp + 0x120]
call fcn.140010c60
nop
lea rcx, [rsp + 0x108]
call fcn.140002210
nop
jmp 0x140010c0d
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140017af0
add rsp, 0x180
pop rdi
ret