Function at 0x1400113b0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x170
mov rax, qword [0x140025010]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp dword [rsp + 0x180], 2
jge 0x1400113f4
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 0x140011767
mov edx, 0x18
lea rcx, [rsp + 0xf8]
call fcn.1400023e0
lea rcx, [rsp + 0xf8]
call fcn.140002390
nop
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x188]
mov rdx, qword [rcx + rax]
lea rcx, [rsp + 0x78]
call fcn.140006800
nop
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x78]
call fcn.14000ee40
nop
lea rcx, [rsp + 0x78]
call fcn.1400067d0
lea rcx, [rsp + 0xf8]
call fcn.140011a70
test rax, rax
jne 0x14001148e
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 + 0x28], 0xffffffff
lea rcx, [rsp + 0xf8]
call fcn.140002230
mov eax, dword [rsp + 0x28]
jmp 0x140011767
mov edx, 0x48
lea rcx, [rsp + 0x110]
call fcn.1400023e0
lea rax, [rsp + 0x98]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x40]
call fcn.140011af0
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x110]
call fcn.1400016a0
nop
call fcn.140011270
movzx eax, al
test eax, eax
jne 0x14001151c
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 + 0x2c], 0xffffffff
lea rcx, [rsp + 0x110]
call fcn.1400117b0
nop
lea rcx, [rsp + 0xf8]
call fcn.140002230
mov eax, dword [rsp + 0x2c]
jmp 0x140011767
lea rcx, [rsp + 0xf1]
call fcn.140004c80
lea rcx, str.___driver_has_been_loaded..._n
call fcn.1400011c0
lea rcx, [0x14001c200]
call fcn.14000ede0
mov eax, dword [rax + 4]
mov dword [rsp + 0x30], eax
mov r8d, dword [rsp + 0x30]
lea rdx, [0x140025e60]
lea rcx, [rsp + 0xf1]
call fcn.140005460
movzx eax, al
test eax, eax
jne 0x1400115a1
lea rcx, str.____failed_to_clear_PiDDBCacheTable._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.1400117b0
nop
lea rcx, [rsp + 0xf8]
call fcn.140002230
mov eax, dword [rsp + 0x34]
jmp 0x140011767
lea rax, [rsp + 0xf0]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x50], rax
movzx edx, byte [rsp + 0xf0]
mov rcx, qword [rsp + 0x50]
call fcn.140015de0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
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 + 0xf1]
call fcn.140005970
mov qword [rsp + 0x20], rax
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x110]
call fcn.140001c10
lea rcx, [rsp + 0x110]
call fcn.140001780
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x110]
call fcn.140001fb0
mov qword [rsp + 0x68], rax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0xf1]
call fcn.140005aa0
lea rcx, [rsp + 0x110]
call fcn.1400017a0
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x110]
call fcn.140001780
mov r9, rax
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xf1]
call fcn.140015e20
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
lea rcx, str.___driver_entry_returned:_0x_p_n
call fcn.1400011c0
lea rcx, [0x14001b9f4]
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 + 0x20]
lea rcx, [rsp + 0xf1]
call fcn.140005b40
call fcn.140011360
movzx eax, al
test eax, eax
jne 0x140011738
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.1400117b0
nop
lea rcx, [rsp + 0xf8]
call fcn.140002230
mov eax, dword [rsp + 0x3c]
jmp 0x140011767
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.1400117b0
nop
lea rcx, [rsp + 0xf8]
call fcn.140002230
jmp 0x140011765
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140018930
add rsp, 0x170
pop rdi
ret