Function at 0x14000e570
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x170
mov rax, qword [0x140022010]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rcx, str.___buffering_driver_via_bytecode_n
call fcn.1400011c0
mov edx, 0x18
lea rcx, [rsp + 0xf0]
call fcn.1400023e0
lea rcx, [rsp + 0x20]
call fcn.140002780
lea rcx, [0x140017d10]
add rcx, 0x2200
mov r9, rax
mov r8, rcx
lea rdx, [0x140017d10]
lea rcx, [rsp + 0xf0]
call fcn.140012700
nop
lea rcx, [rsp + 0xf0]
call fcn.14000ebc0
test rax, rax
jne 0x14000e621
lea rcx, str.____invalid_drv_buffer_size_n
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov dword [rsp + 0x30], 0xffffffff
lea rcx, [rsp + 0xf0]
call fcn.140002230
mov eax, dword [rsp + 0x30]
jmp 0x14000e909
mov edx, 0x48
lea rcx, [rsp + 0x110]
call fcn.1400023e0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x48]
call fcn.14000ebf0
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x110]
call fcn.1400016a0
nop
call fcn.14000e430
movzx eax, al
test eax, eax
jne 0x14000e6af
lea rcx, str.____unable_to_load_driver...._n
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
mov dword [rsp + 0x34], 0xffffffff
lea rcx, [rsp + 0x110]
call fcn.14000e960
nop
lea rcx, [rsp + 0xf0]
call fcn.140002230
mov eax, dword [rsp + 0x34]
jmp 0x14000e909
lea rcx, [rsp + 0xe9]
call fcn.1400047c0
lea rcx, str.___driver_has_been_loaded..._n
call fcn.1400011c0
lea rcx, [0x140022b90]
call fcn.140005310
mov qword [rsp + 0x58], rax
mov rax, qword [str.NtShutdownSystem]
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
lea rcx, str.____s_mapped_physical_page____0x_p_n
call fcn.1400011c0
movzx eax, word [0x140022ba4]
mov r8d, eax
mov rdx, qword [str.NtShutdownSystem]
lea rcx, str.____s_page_offset____0x_x_n
call fcn.1400011c0
lea rcx, [0x14001a320]
call fcn.14000c200
mov eax, dword [rax + 4]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0xe8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x68], rax
movzx edx, byte [rsp + 0xe8]
mov rcx, qword [rsp + 0x68]
call fcn.140012810
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x110]
call fcn.140001dc0
lea rcx, [rsp + 0x110]
call fcn.1400017c0
lea rcx, [rsp + 0x110]
call fcn.140001780
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xe9]
call fcn.140004fa0
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x110]
call fcn.140001c10
lea rcx, [rsp + 0x110]
call fcn.140001780
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x110]
call fcn.140001fb0
mov qword [rsp + 0x80], rax
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0xe9]
call fcn.140005030
lea rcx, [rsp + 0x110]
call fcn.1400017a0
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x110]
call fcn.140001780
mov r9, rax
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xe9]
call fcn.140012850
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 + 0x110]
call fcn.140001fd0
mov r8, rax
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0xe9]
call fcn.1400050d0
call fcn.14000e520
movzx eax, al
test eax, eax
jne 0x14000e8ce
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]
mov dword [rsp + 0x3c], 0xffffffff
lea rcx, [rsp + 0x110]
call fcn.14000e960
nop
lea rcx, [rsp + 0xf0]
call fcn.140002230
mov eax, dword [rsp + 0x3c]
jmp 0x14000e909
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 + 0x110]
call fcn.14000e960
nop
lea rcx, [rsp + 0xf0]
call fcn.140002230
jmp 0x14000e907
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400149c0
add rsp, 0x170
pop rdi
ret