Function at 0x1400508c0
Capabilities:
Install driver
Unload driver

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14009e040]
xor rax, rsp
mov qword [rbp + 0x18], rax
xor edi, edi
mov dword [rbp - 0x68], 0x180016
mov dword [rsp + 0x50], edi
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rdi
lea r14, [0x1400951f8]
mov dword [rsp + 0x40], 0x60
lea r9, [rbp - 0x20]
mov dword [rsp + 0x38], 1
lea r8, [rsp + 0x68]
mov dword [rsp + 0x30], 7
lea rcx, [rsp + 0x60]
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x100000
mov qword [rsp + 0x20], rdi
mov esi, 0x18
mov qword [rbp - 0x60], r14
mov dword [rsp + 0x68], 0x30
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x40
movdqu xmmword [rbp - 0x78], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
jns 0x140050a18
lea rdx, [0x1400ff400]
lea rcx, [rbp - 0x68]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp - 0x68]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
test eax, eax
js 0x140050c1b
mov dword [rsp + 0x50], edi
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rdi
lea r9, [rbp - 0x20]
mov dword [rsp + 0x40], 0x60
lea r8, [rsp + 0x68]
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x30], 7
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x100000
mov qword [rsp + 0x20], rdi
mov dword [rbp - 0x68], 0x180016
mov qword [rbp - 0x60], r14
mov dword [rsp + 0x68], 0x30
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x40
movdqu xmmword [rbp - 0x78], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
js 0x140050c1b
mov qword [rsp + 0x150], rbx
lea rcx, [rbp - 0x20]
movaps xmmword [rsp + 0x120], xmm6
call fcn.1400504f0
mov rcx, qword [rsp + 0x60]
xorps xmm0, xmm0
mov dword [rsp + 0x48], edi
xor r9d, r9d
mov qword [rsp + 0x40], rdi
xor r8d, r8d
movups xmm6, xmmword [rax]
mov dword [rsp + 0x38], esi
lea rax, [rbp - 0x58]
mov qword [rbp - 0x10], rax
xor edx, edx
lea rax, [rbp - 0x10]
mov qword [rbp - 0x58], rdi
mov qword [rsp + 0x30], rax
movq rbx, xmm6
lea rax, [rbp + 8]
mov dword [rsp + 0x28], 0xc3502808
mov qword [rsp + 0x20], rax
mov qword [rbp - 8], rbx
mov dword [rbp], 8
movups xmmword [rbp + 8], xmm0
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov rcx, qword [rsp + 0x60]
lea rax, [rbp - 0x38]
mov dword [rsp + 0x48], edi
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
xor r9d, r9d
mov qword [rbp - 0x48], rax
xor r8d, r8d
mov dword [rsp + 0x38], esi
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rbp - 0x30]
psrldq xmm6, 8
mov dword [rsp + 0x28], 0xc3502808
mov qword [rsp + 0x20], rax
movq qword [rbp - 0x38], xmm6
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x40], 8
movups xmmword [rbp - 0x30], xmm0
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
lea rdx, [0x1400ff1f0]
lea rcx, [rbp - 0x68]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp - 0x68]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
movaps xmm6, xmmword [rsp + 0x120]
test eax, eax
js 0x140050c13
mov dword [rsp + 0x50], edi
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rdi
lea r9, [rbp - 0x20]
mov dword [rsp + 0x40], 0x60
lea r8, [rsp + 0x68]
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x30], 7
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x100000
mov qword [rsp + 0x20], rdi
mov dword [rbp - 0x68], 0x180016
mov qword [rbp - 0x60], r14
mov dword [rsp + 0x68], 0x30
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x40
movdqu xmmword [rbp - 0x78], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
js 0x140050c13
mov rcx, qword [rsp + 0x60]
lea rax, [rbp - 0x58]
mov dword [rsp + 0x48], edi
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
xor r9d, r9d
mov qword [rbp - 0x48], rax
xor r8d, r8d
mov dword [rsp + 0x38], esi
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, [rbp - 0x30]
mov dword [rsp + 0x28], 0xc3502808
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x40], 8
movups xmmword [rbp - 0x30], xmm0
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
lea rdx, [0x1400ff400]
mov ebx, eax
lea rcx, [rbp - 0x68]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp - 0x68]
call qword [sym.imp.ntdll.dll_NtUnloadDriver]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, ebx
mov rbx, qword [rsp + 0x150]
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140051210
lea r11, [rsp + 0x130]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret