Function at 0x116f8
Capabilities:
Create device object

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rdi, rcx
mov rbx, rdx
xor esi, esi
lea rcx, [0x0003c2a0]
xor r8d, r8d
xor edx, edx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea r11, [0x00011150]
lea rax, [0x00011150]
mov qword [rdi + 0x70], r11
mov qword [rdi + 0x80], rax
movzx r8d, word [rbx]
mov rdx, qword [rbx + 8]
lea rbx, [0x0003b380]
mov rcx, rbx
call fcn.00017980
mov edx, 0x7fff
mov word [0x0003c2c0], si
mov rax, rdx
mov word [0x0003c2c2], si
mov qword [0x0003c2c8], rsi
mov rcx, rbx
lea r8d, [rsi + 2]
cmp word [rcx], si
je 0x11786
add rcx, r8
sub rax, 1
jne 0x11778
cmp rax, rsi
je 0x117ab
sub rdx, rax
mov qword [0x0003c2c8], rbx
lea rax, [rdx + rdx]
mov word [0x0003c2c0], ax
add ax, r8w
mov word [0x0003c2c2], ax
lea rdx, [0x00017f00]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r11, [rsp + 0x90]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], r11
mov r9d, 0x22
xor edx, edx
mov rcx, rdi
mov byte [rsp + 0x28], sil
mov dword [rsp + 0x20], esi
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
cmp eax, esi
jge 0x1182c
cmp eax, 0xc0000035
jne 0x1197d
lea rax, [0x0001144c]
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1fffff
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
jmp 0x1197d
mov dl, 0x10
mov cl, 1
call qword [sym.imp.ntoskrnl.exe_IoIsWdmVersionAvailable]
lea rcx, [rsp + 0x50]
lea rdx, [0x00017f40]
cmp al, sil
jne 0x1184e
lea rdx, [0x00017e60]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
cmp eax, esi
jge 0x1187b
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
jmp 0x1197d
lea rdx, [0x0003c2c0]
mov rcx, rdi
call fcn.00012558
mov ebx, 0x1fffff
cmp eax, esi
mov dword [0x0001a14c], eax
jl 0x11906
lea rax, [0x00011178]
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
cmp eax, esi
jl 0x11906
mov r8, qword [sym.imp.ntoskrnl.exe_PsThreadType]
mov rcx, qword [rsp + 0x80]
lea rax, [rsp + 0x88]
mov r8, qword [r8]
xor r9d, r9d
mov edx, ebx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rdx, qword [rsp + 0x88]
lea rcx, [0x0003c2c0]
call fcn.000144b0
lea rcx, [0x0003c2a0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeSetEvent]
lea rdx, [0x0001140c]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IoRegisterDriverReinitialization]
lea rax, [0x00015ae4]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x80]
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
cmp eax, esi
jl 0x1197d
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret