Function at 0x140001e40
Capabilities:
Install driver
Unload driver

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
xor esi, esi
mov dword [rbp - 0x69], 0x180016
mov dword [rsp + 0x50], esi
lea rax, [rbp - 0x69]
mov qword [rsp + 0x48], rsi
lea rdi, [0x1400042a8]
mov dword [rsp + 0x40], 0x60
lea r9, [rbp - 1]
mov dword [rsp + 0x38], 1
lea r8, [rbp - 0x31]
mov dword [rsp + 0x30], 7
lea rcx, [rbp + 0x6f]
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x100000
mov qword [rsp + 0x20], rsi
mov r14d, 0x18
mov qword [rbp - 0x61], rdi
mov dword [rbp - 0x31], 0x30
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], rax
mov dword [rbp - 0x19], 0x40
movdqu xmmword [rbp - 0x11], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
jns 0x140001fb7
lea rdx, [0x14000b860]
lea rcx, [rbp - 0x69]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp - 0x69]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov ebx, eax
test eax, eax
jns 0x140001f27
mov r8d, eax
lea rdx, [0x14000b860]
lea rcx, str.Failed_to_load_driver_service__ls._NtLoadDriver:__08X._n
call fcn.140001000
jmp 0x1400021aa
mov dword [rsp + 0x50], esi
lea rax, [rbp - 0x69]
mov qword [rsp + 0x48], rsi
lea r9, [rbp - 1]
mov dword [rsp + 0x40], 0x60
lea r8, [rbp - 0x31]
mov dword [rsp + 0x38], 1
lea rcx, [rbp + 0x6f]
mov dword [rsp + 0x30], 7
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x100000
mov qword [rsp + 0x20], rsi
mov dword [rbp - 0x69], 0x180016
mov qword [rbp - 0x61], rdi
mov dword [rbp - 0x31], 0x30
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], rax
mov dword [rbp - 0x19], 0x40
movdqu xmmword [rbp - 0x11], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
mov ebx, eax
test eax, eax
jns 0x140001fb7
mov r8d, eax
lea rdx, [rbp - 0x69]
lea rcx, str.Failed_to_obtain_handle_to_device__wZ:_NtCreateFile:__08X._n
call fcn.140001000
jmp 0x1400021aa
lea rcx, [rbp - 1]
call fcn.140001a60
lea rcx, str.____Where:__p_n
mov rdi, qword [rax]
mov rbx, qword [rax + 8]
mov rdx, rdi
call fcn.140001000
mov rdx, rbx
lea rcx, str.____What_:__p_n
call fcn.140001000
mov rcx, qword [rbp + 0x6f]
lea rax, [rbp + 0x67]
mov dword [rsp + 0x48], esi
xorps xmm0, xmm0
mov qword [rsp + 0x40], rsi
xor r9d, r9d
mov qword [rbp + 0xf], rax
xor r8d, r8d
mov dword [rsp + 0x38], r14d
lea rax, [rbp + 0xf]
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rbp + 0x27]
mov dword [rsp + 0x28], 0xc3502808
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x67], rsi
mov qword [rbp + 0x17], rdi
mov dword [rbp + 0x1f], 8
movups xmmword [rbp + 0x27], xmm0
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
jns 0x14000204f
mov edx, eax
lea rcx, str.NtDeviceIoControlFile_IOCTL_GIO_MEMCPY__WRITE_failed:_error__08X_n
call fcn.140001000
mov rdx, qword [rbp + 0x67]
lea rcx, str.___Original_Callback_:__p_n
call fcn.140001000
mov rcx, qword [rbp + 0x6f]
lea rax, [rbp + 0x77]
mov dword [rsp + 0x48], esi
xorps xmm0, xmm0
mov qword [rsp + 0x40], rsi
xor r9d, r9d
mov qword [rbp - 0x51], rax
xor r8d, r8d
mov dword [rsp + 0x38], r14d
lea rax, [rbp - 0x59]
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rbp - 0x41]
mov dword [rsp + 0x28], 0xc3502808
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x77], rbx
mov qword [rbp - 0x59], rdi
mov dword [rbp - 0x49], 8
movups xmmword [rbp - 0x41], xmm0
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
jns 0x1400020c9
mov edx, eax
lea rcx, str.NtDeviceIoControlFile_IOCTL_GIO_MEMCPY__WRITE_failed:_error__08X_n
call fcn.140001000
lea rdx, [0x14000b650]
lea rcx, [rbp - 0x69]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp - 0x69]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov ebx, eax
test eax, eax
jns 0x140002105
mov r8d, eax
lea rdx, [0x14000b650]
lea rcx, str.Failed_to_load_driver_service__ls._NtLoadDriver:__08X._n
call fcn.140001000
jmp 0x1400021aa
lea rcx, str.___Successfully_Loaded_unsigned_driver__n
call fcn.140001000
mov rcx, qword [rbp + 0x6f]
lea rax, [rbp + 0x67]
mov dword [rsp + 0x48], esi
xorps xmm0, xmm0
mov qword [rsp + 0x40], rsi
xor r9d, r9d
mov qword [rbp - 0x51], rax
xor r8d, r8d
mov dword [rsp + 0x38], r14d
lea rax, [rbp - 0x59]
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rbp - 0x41]
mov dword [rsp + 0x28], 0xc3502808
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x59], rdi
mov dword [rbp - 0x49], 8
movups xmmword [rbp - 0x41], xmm0
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov ebx, eax
test eax, eax
jns 0x140002179
mov edx, eax
lea rcx, str.NtDeviceIoControlFile_IOCTL_GIO_MEMCPY__WRITE_failed:_error__08X_n
call fcn.140001000
lea rcx, str.___Restored_callback__n
call fcn.140001000
lea rdx, [0x14000b860]
lea rcx, [rbp - 0x69]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp - 0x69]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
mov rbx, qword [rsp + 0x148]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret