Function at 0x11b20
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
lea rdx, [0x000210b0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r9, [0x00025748]
lea r8, [0x00025750]
lea rcx, [rsp + 0x40]
mov edx, 0x1f01ff
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceObjectPointer]
xor esi, esi
test eax, eax
js 0x11c56
mov rcx, qword [0x00025748]
test byte [rcx + 0x30], 0x80
je 0x11b8b
and dword [rcx + 0x30], 0xffffff7f
mov rcx, qword [0x00025748]
mov bl, 1
jmp 0x11b8d
xor bl, bl
mov r9d, dword [rcx + 0x48]
lea rax, [0x00025740]
lea r8, [0x00024ae0]
mov qword [rsp + 0x30], rax
mov eax, dword [rcx + 0x34]
xor edx, edx
mov rcx, rdi
mov byte [rsp + 0x28], sil
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jns 0x11bdc
mov rcx, qword [0x00025750]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [0x00025740], rsi
mov qword [0x00025748], rsi
jmp 0x11c56
mov rdx, qword [0x00025748]
mov rcx, qword [0x00025740]
call qword [sym.imp.ntoskrnl.exe_IoAttachDeviceToDeviceStack]
test rax, rax
mov qword [0x00025748], rax
jne 0x11c26
mov rcx, qword [0x00025750]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [0x00025740]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov qword [0x00025740], rsi
mov qword [0x00025748], rsi
jmp 0x11c56
mov eax, dword [rax + 0x30]
mov rcx, qword [0x00025740]
and eax, 0x14
or dword [rcx + 0x30], eax
mov rax, qword [0x00025740]
and dword [rax + 0x30], 0xffffff7f
test bl, bl
je 0x11c56
mov rax, qword [0x00025748]
or dword [rax + 0x30], 0x80
lea rdx, [0x000210d0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r9, [0x00025760]
lea r8, [0x00025768]
lea rcx, [rsp + 0x40]
mov edx, 0x1f01ff
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceObjectPointer]
test eax, eax
js 0x11d98
mov rcx, qword [0x00025760]
test byte [rcx + 0x30], 0x80
je 0x11cad
and dword [rcx + 0x30], 0xffffff7f
mov rcx, qword [0x00025760]
mov bl, 1
jmp 0x11caf
xor bl, bl
mov r9d, dword [rcx + 0x48]
lea rax, [0x00025758]
lea r8, [0x00024cf0]
mov qword [rsp + 0x30], rax
mov eax, dword [rcx + 0x34]
xor edx, edx
mov rcx, rdi
mov byte [rsp + 0x28], sil
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
test eax, eax
jns 0x11d0e
mov rcx, qword [0x00025768]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [0x00025758], rsi
mov qword [0x00025760], rsi
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rdx, qword [0x00025760]
mov rcx, qword [0x00025758]
call qword [sym.imp.ntoskrnl.exe_IoAttachDeviceToDeviceStack]
test rax, rax
mov qword [0x00025760], rax
jne 0x11d68
mov rcx, qword [0x00025768]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [0x00025758]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov qword [0x00025758], rsi
mov qword [0x00025760], rsi
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov eax, dword [rax + 0x30]
mov rcx, qword [0x00025758]
and eax, 0x14
or dword [rcx + 0x30], eax
mov rax, qword [0x00025758]
and dword [rax + 0x30], 0xffffff7f
test bl, bl
je 0x11d98
mov rax, qword [0x00025760]
or dword [rax + 0x30], 0x80
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
xor eax, eax
add rsp, 0x50
pop rdi
ret