Function at 0x18bf0
Capabilities:
Create device object
Print debug messages

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x318
mov rax, qword [0x00015208]
mov qword [rsp + 0x308], rax
call fcn.00011010
movzx eax, al
cmp eax, 1
jle 0x18c56
call fcn.00011010
movzx eax, al
mov edx, eax
lea rcx, [0x0001c650]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x483
lea rdx, [0x0001c800]
lea rcx, [0x0001c620]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
cmp dword [0x00015290], 0x10
jb 0x18c69
mov eax, 0xc000000d
jmp 0x1901f
mov dword [rsp + 0x300], 0
jmp 0x18c86
mov eax, dword [rsp + 0x300]
inc eax
mov dword [rsp + 0x300], eax
mov eax, dword [0x00015290]
cmp dword [rsp + 0x300], eax
jae 0x18cbf
mov eax, dword [rsp + 0x300]
lea rcx, [0x00015250]
mov rdx, qword [rsp + 0x330]
mov eax, dword [rcx + rax*4]
cmp dword [rdx + 8], eax
jne 0x18cbd
mov eax, 0xc000000d
jmp 0x1901f
jmp 0x18c76
lea rdx, [rsp + 0x50]
mov rax, qword [rsp + 0x330]
mov ecx, dword [rax + 8]
call fcn.0001bbf0
mov dword [rsp + 0x2e4], eax
cmp dword [rsp + 0x2e4], 0
jge 0x18cf1
mov eax, dword [rsp + 0x2e4]
jmp 0x1901f
mov eax, dword [0x00015290]
lea rcx, [0x00015210]
mov rdx, qword [rsp + 0x330]
mov edx, dword [rdx + 4]
mov dword [rcx + rax*4], edx
mov eax, dword [0x00015290]
lea rcx, [0x00015250]
mov rdx, qword [rsp + 0x330]
mov edx, dword [rdx + 8]
mov dword [rcx + rax*4], edx
mov eax, dword [0x00015290]
inc eax
mov dword [0x00015290], eax
mov eax, dword [rsp + 0x338]
sub rax, 0xc
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x40], eax
xor eax, eax
test eax, eax
jne 0x18d66
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 0x14]
and eax, 0x40
test eax, eax
je 0x18dac
lea rcx, [0x0001c610]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x330]
add rax, 0xc
mov ecx, dword [rsp + 0x40]
mov dword [rsp + 0x20], ecx
mov r9, rax
mov rax, qword [rsp + 0x330]
mov r8d, dword [rax + 8]
mov rax, qword [rsp + 0x330]
mov edx, dword [rax + 4]
lea rcx, [0x0001ca40]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x40]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x330]
movzx eax, word [rcx + rax*2 + 0xc]
test eax, eax
jne 0x18ddf
mov eax, dword [rsp + 0x40]
sub eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x330]
movzx eax, word [rcx + rax*2 + 0xc]
test eax, eax
je 0x18de9
mov eax, 0xc000000d
jmp 0x1901f
mov byte [rsp + 0x2e0], 1
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
mov rax, qword [rsp + 0x340]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
mov rax, qword [rsp + 0x340]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x2e8], rax
jmp 0x18e35
mov rax, qword [rsp + 0x2e8]
mov rax, qword [rax]
mov qword [rsp + 0x2e8], rax
mov rax, qword [rsp + 0x340]
add rax, 0x30
cmp qword [rsp + 0x2e8], rax
je 0x18e83
mov rax, qword [rsp + 0x2e8]
sub rax, 0x38
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x330]
mov rcx, qword [rsp + 0x2f8]
mov ecx, dword [rcx + 0x30]
cmp dword [rax + 4], ecx
jne 0x18e81
mov byte [rsp + 0x2e0], 0
jmp 0x18e83
jmp 0x18e22
mov rax, qword [rsp + 0x340]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
movzx eax, byte [rsp + 0x2e0]
test eax, eax
jne 0x18eb4
mov eax, 0xc000000d
jmp 0x1901f
mov eax, dword [rsp + 0x40]
shl rax, 1
mov dword [rsp + 0x40], eax
xor eax, eax
test eax, eax
jne 0x18ed7
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 0x14]
and eax, 0x10
test eax, eax
je 0x18efb
lea rcx, [0x0001c610]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x340]
mov rdx, qword [rax + 0x28]
lea rcx, [0x0001ca10]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x340]
mov rax, qword [rax]
lea rcx, [rsp + 0x2f0]
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80
mov r9d, 0x2a
xor r8d, r8d
mov edx, 0x2e0
mov rcx, qword [rax + 8]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [rsp + 0x2e4], eax
cmp dword [rsp + 0x2e4], 0
jge 0x18f55
mov eax, dword [rsp + 0x2e4]
jmp 0x1901f
mov rax, qword [rsp + 0x2f0]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x2f8], rax
mov eax, dword [rsp + 0x40]
mov r8d, 0x62735556
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rcx, qword [rsp + 0x2f8]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x2f8]
cmp qword [rax + 0x28], 0
jne 0x18fae
mov rcx, qword [rsp + 0x2f0]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, 0xc000009a
jmp 0x1901f
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x330]
add rcx, 0xc
mov rdx, qword [rsp + 0x2f8]
mov rdi, qword [rdx + 0x28]
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x2f8]
mov rcx, qword [rsp + 0x330]
mov ecx, dword [rcx + 4]
mov dword [rax + 0x30], ecx
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x2f0]
call fcn.00018a50
mov rax, qword [rsp + 0x2f8]
lea rcx, [rsp + 0x50]
lea rdi, [rax + 0x50]
mov rsi, rcx
mov ecx, 0x28b
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x2e4]
mov rcx, qword [rsp + 0x308]
call fcn.00012990
add rsp, 0x318
pop rdi
pop rsi
ret