Function at 0x140002290
Capabilities:
Install driver

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
xor r12d, r12d
mov rbx, r9
mov r15, rdx
test r9, r9
je 0x1400022c7
mov dword [r9], r12d
mov dword [rsp + 0x50], r12d
lea rax, [rbp - 0x51]
mov qword [rsp + 0x48], r12
lea r14, [0x140003388]
mov dword [rsp + 0x40], 0x60
lea r9, [rbp + 0x17]
xorps xmm0, xmm0
mov dword [rbp - 0x51], 0x180016
mov esi, 1
mov qword [rbp - 0x49], r14
mov dword [rsp + 0x38], esi
lea r8, [rbp - 0x29]
mov dword [rsp + 0x30], 7
lea rcx, [rbp - 0x59]
mov dword [rsp + 0x28], 0x80
mov edx, 0x100000
mov qword [rsp + 0x20], r12
mov edi, 0x18
mov dword [rbp - 0x29], 0x30
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], 0x40
movdqu xmmword [rbp - 9], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
jns 0x1400023ff
lea rdx, [0x14000a860]
lea rcx, [rbp - 0x51]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rcx, [rbp - 0x51]
call qword [sym.imp.ntdll.dll_NtLoadDriver]
mov edi, eax
test eax, eax
jns 0x140002381
lea rcx, [0x14000318c]
call fcn.140001000
jmp 0x140002506
mov dword [rsp + 0x50], r12d
lea rax, [rbp - 0x51]
mov qword [rsp + 0x48], r12
lea r9, [rbp + 0x17]
mov dword [rsp + 0x40], 0x60
lea r8, [rbp - 0x29]
mov dword [rsp + 0x38], esi
lea rcx, [rbp - 0x59]
mov dword [rsp + 0x30], 7
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x100000
mov qword [rsp + 0x20], r12
mov dword [rbp - 0x51], 0x180016
mov qword [rbp - 0x49], r14
mov dword [rbp - 0x29], 0x30
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], 0x40
movdqu xmmword [rbp - 9], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
mov edi, eax
test eax, eax
js 0x140002370
mov edi, 0x18
mov rax, qword gs:[0x30]
mov r13d, 0x23f0
mov rcx, qword [rax + 0x60]
mov eax, 4
movzx r14d, word [rcx + 0x120]
cmp r14w, r13w
cmovae esi, eax
movzx eax, byte [rbp + 0x77]
mov byte [rbp + 0x67], al
test rbx, rbx
je 0x14000248a
mov rcx, qword [rbp - 0x59]
lea rax, [rbp + 0x7f]
mov dword [rsp + 0x48], r12d
xor r9d, r9d
mov qword [rsp + 0x40], r12
xor r8d, r8d
mov qword [rbp - 0x41], rax
xor edx, edx
mov dword [rsp + 0x38], edi
lea rax, [rbp - 0x41]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 7]
mov dword [rsp + 0x28], 0xc3502808
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x7f], r12d
mov qword [rbp - 0x39], r15
mov dword [rbp - 0x31], esi
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov edi, eax
test eax, eax
js 0x1400024f0
mov eax, dword [rbp + 0x7f]
mov dword [rbx], eax
mov dword [rsp + 0x48], r12d
lea rcx, [rbp + 0x67]
mov qword [rsp + 0x40], r12
lea rax, [rbp + 0x77]
mov dword [rsp + 0x38], 0x18
xorps xmm0, xmm0
cmp r14w, r13w
mov qword [rbp - 0x41], r15
mov dword [rbp - 0x31], esi
cmovb rax, rcx
xor r9d, r9d
mov rcx, qword [rbp - 0x59]
xor r8d, r8d
mov qword [rbp - 0x39], rax
xor edx, edx
lea rax, [rbp - 0x41]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 7]
mov dword [rsp + 0x28], 0xc3502808
mov qword [rsp + 0x20], rax
movups xmmword [rbp + 7], xmm0
call qword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov edi, eax
test eax, eax
jns 0x1400024fc
lea rcx, [0x14000318c]
call fcn.140001000
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ntdll.dll_NtClose]
mov rbx, qword [rsp + 0x128]
mov eax, edi
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret