Function at 0x17be0
Capabilities:
Complete processing asynchronous io request
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x98
call fcn.00011010
movzx eax, al
cmp eax, 1
jle 0x17c3d
call fcn.00011010
movzx eax, al
mov edx, eax
lea rcx, [0x0001c650]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x186
lea rdx, [0x0001c800]
lea rcx, [0x0001c620]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov rcx, qword [rsp + 0xc8]
call fcn.00011020
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 1]
mov dword [rsp + 0x84], eax
cmp dword [rsp + 0x84], 0x17
ja case.0x17c84.8
movsxd rax, dword [rsp + 0x84]
lea rcx, [0x00010000]
mov eax, dword [rcx + rax*4 + 0x85c8]
add rax, rcx
jmp rax
mov rdx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax + 0x28]
call fcn.000187c0
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jl 0x17cc3
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc8]
call fcn.00018630
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x30], ecx
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov rcx, qword [rsp + 0xc8]
call fcn.000110b0
mov eax, dword [rsp + 0x60]
jmp 0x185be
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xc8]
mov dword [rax + 0xc], 2
mov rax, qword [rsp + 0xb8]
mov dword [rax + 0x30], 0
jmp case.0x17c84.8
mov rax, qword [rsp + 0xc8]
cmp dword [rax + 0xc], 2
jne 0x17d98
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0x10]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0xc8]
cmp dword [rax + 0xc], 1
je 0x17d8d
xor r9d, r9d
mov r8d, 0x1c8
lea rdx, [0x0001c800]
lea rcx, [0x0001c930]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x88], 0
jmp 0x17d98
mov dword [rsp + 0x88], 1
mov rax, qword [rsp + 0xb8]
mov dword [rax + 0x30], 0
jmp case.0x17c84.8
mov rcx, qword [rsp + 0xc8]
call fcn.000110b0
mov rax, qword [rsp + 0xc8]
add rax, 0xa0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov rcx, qword [rsp + 0xc8]
call fcn.00011020
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xc8]
mov dword [rax + 0xc], 3
mov rax, qword [rsp + 0xb8]
mov dword [rax + 0x30], 0
jmp case.0x17c84.8
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xc8]
mov dword [rax + 0xc], 4
mov rax, qword [rsp + 0xb8]
mov dword [rax + 0x30], 0
jmp case.0x17c84.8
mov rax, qword [rsp + 0xc8]
cmp dword [rax + 0xc], 4
jne 0x17e84
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0x10]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0xb8]
mov dword [rax + 0x30], 0
jmp case.0x17c84.8
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xc8]
mov dword [rax + 0xc], 5
mov rcx, qword [rsp + 0xc8]
call fcn.00018710
mov rax, qword [rsp + 0xc8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
mov rax, qword [rsp + 0xc8]
add rax, 0x30
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
jmp 0x17f23
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x68], rax
je 0x17f77
mov rax, qword [rsp + 0x68]
sub rax, 0x38
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rax, 0x38
mov rcx, rax
call fcn.000111c0
mov rax, qword [rsp + 0x70]
add rax, 0x38
mov rcx, rax
call fcn.00011190
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x49], 1
jmp 0x17f0c
mov rax, qword [rsp + 0xc8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
mov rax, qword [rsp + 0xb8]
mov dword [rax + 0x30], 0
jmp case.0x17c84.8
mov rax, qword [rsp + 0xc8]
cmp dword [rax + 0xc], 5
je 0x17fbb
mov rcx, qword [rsp + 0xc8]
call fcn.00018710
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xc8]
mov dword [rax + 0xc], 6
mov rcx, qword [rsp + 0xc8]
call fcn.000110b0
mov rcx, qword [rsp + 0xc8]
call fcn.000110b0
mov rax, qword [rsp + 0xc8]
add rax, 0x88
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov rax, qword [rsp + 0xc8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
mov rax, qword [rsp + 0xc8]
add rax, 0x30
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
jmp 0x1807b
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x68], rax
je 0x1813c
mov rax, qword [rsp + 0x68]
sub rax, 0x38
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
add rax, 0x38
mov rcx, rax
call fcn.000111c0
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0xc], 5
jne 0x1810d
xor eax, eax
test eax, eax
jne 0x180cd
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x14]
and eax, 0x40
test eax, eax
je 0x180e1
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
lea rcx, [0x0001c900]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x70]
add rax, 0x38
mov rcx, rax
call fcn.00011190
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x49], 1
jmp 0x18064
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x40]
dec eax
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x40], eax
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.00018990
jmp 0x18064
mov rax, qword [rsp + 0xc8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
mov rax, qword [rsp + 0xb8]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x43]
inc al
mov rcx, qword [rsp + 0xb8]
mov byte [rcx + 0x43], al
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0xb8]
add rax, 0x48
mov rcx, qword [rsp + 0xb8]
mov qword [rcx + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntoskrnl.exe_IoDetachDevice]
xor eax, eax
test eax, eax
jne 0x181e3
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x14]
and eax, 0x40
test eax, eax
je 0x181f7
mov rdx, qword [rsp + 0xb0]
lea rcx, [0x0001c8e0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [rsp + 0x60]
jmp 0x185be
xor eax, eax
test eax, eax
jne 0x18226
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x14]
and eax, 0x20
test eax, eax
je 0x18245
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rax + 8]
call fcn.00011730
mov rdx, rax
lea rcx, [0x0001c8c0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 8], 0
je 0x18258
jmp case.0x17c84.8
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0xc8], 0
jle 0x18292
mov rax, qword [rsp + 0x48]
add rax, 0xc8
lock dec dword [rax]
mov rcx, qword [rsp + 0xb0]
call fcn.0001b6c0
mov rax, qword [rsp + 0xc8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x182f8
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0xc8]
cmp dword [rax + 0x40], 0
jne 0x182f6
mov rax, qword [rsp + 0xc8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
jmp case.0x17c84.8
jmp 0x18303
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x68], rax
jmp 0x1832b
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xc8]
add rax, 0x30
cmp qword [rsp + 0x68], rax
je 0x18365
mov rax, qword [rsp + 0x68]
sub rax, 0x38
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x48]
test eax, eax
je 0x18363
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
jmp 0x1831e
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x50]
add ecx, eax
mov eax, ecx
mov eax, eax
lea rax, [rax*8 + 0xf]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov r8d, 0x62735556
mov rdx, rax
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x183f9
mov rax, qword [rsp + 0xc8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
mov dword [rsp + 0x60], 0xc000009a
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x30], ecx
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov rcx, qword [rsp + 0xc8]
call fcn.000110b0
mov eax, dword [rsp + 0x60]
jmp 0x185be
cmp dword [rsp + 0x80], 0
je 0x1842b
mov eax, dword [rsp + 0x80]
shl rax, 3
mov rcx, qword [rsp + 0x58]
add rcx, 8
mov rdx, qword [rsp + 0x40]
add rdx, 8
mov rdi, rdx
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x80]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x68], rax
jmp 0x18461
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xc8]
add rax, 0x30
cmp qword [rsp + 0x68], rax
je 0x184d3
mov rax, qword [rsp + 0x68]
sub rax, 0x38
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0x48]
test eax, eax
je 0x184c8
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx]
mov qword [rcx + rax*8 + 8], rdx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_ObfReferenceObject]
mov eax, dword [rsp + 0x80]
inc eax
mov dword [rsp + 0x80], eax
jmp 0x184d1
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x49], 1
jmp 0x18454
xor eax, eax
test eax, eax
jne 0x184eb
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x14]
and eax, 0x20
test eax, eax
je 0x1850a
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax]
mov rax, qword [rsp + 0xc8]
mov edx, dword [rax + 0x40]
lea rcx, [0x0001c890]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [rsp + 0x58], 0
je 0x1851f
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x38], rcx
mov rax, qword [rsp + 0xc8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
mov rax, qword [rsp + 0xb8]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x43]
inc al
mov rcx, qword [rsp + 0xb8]
mov byte [rcx + 0x43], al
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0xb8]
add rax, 0x48
mov rcx, qword [rsp + 0xb8]
mov qword [rcx + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0xc8]
call fcn.000110b0
mov eax, dword [rsp + 0x60]
add rsp, 0x98
pop rdi
pop rsi
ret