Function at 0x140009290
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rcx, qword [rsp + 0xb8]
call fcn.140002950
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 1]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x17
ja case.0x1400092e9.160
movsxd rax, dword [rsp + 0x50]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x9acc]
add rax, rcx
jmp rax
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax + 0x28]
call fcn.14000a140
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x140009328
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb8]
call fcn.14000a1e0
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0x30], ecx
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov rcx, qword [rsp + 0xb8]
call fcn.1400028e0
mov eax, dword [rsp + 0x30]
jmp 0x140009ac3
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xb8]
mov dword [rax + 0xc], 2
mov rax, qword [rsp + 0xa8]
mov dword [rax + 0x30], 0
jmp case.0x1400092e9.160
mov rax, qword [rsp + 0xb8]
cmp dword [rax + 0xc], 2
jne 0x1400093ba
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov ecx, dword [rcx + 0x10]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0xa8]
mov dword [rax + 0x30], 0
jmp case.0x1400092e9.160
mov rcx, qword [rsp + 0xb8]
call fcn.1400028e0
mov rax, qword [rsp + 0xb8]
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 + 0xb8]
call fcn.140002950
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xb8]
mov dword [rax + 0xc], 3
mov rax, qword [rsp + 0xa8]
mov dword [rax + 0x30], 0
jmp case.0x1400092e9.160
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xb8]
mov dword [rax + 0xc], 4
mov rax, qword [rsp + 0xa8]
mov dword [rax + 0x30], 0
jmp case.0x1400092e9.160
mov rax, qword [rsp + 0xb8]
cmp dword [rax + 0xc], 4
jne 0x1400094a6
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov ecx, dword [rcx + 0x10]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0xa8]
mov dword [rax + 0x30], 0
jmp case.0x1400092e9.160
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xb8]
mov dword [rax + 0xc], 5
mov rcx, qword [rsp + 0xb8]
call fcn.14000a0d0
mov rax, qword [rsp + 0xb8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
mov rax, qword [rsp + 0xb8]
add rax, 0x30
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x140009545
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
je 0x140009599
mov rax, qword [rsp + 0x38]
sub rax, 0x38
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 0x38
mov rcx, rax
call fcn.140001b90
mov rax, qword [rsp + 0x40]
add rax, 0x38
mov rcx, rax
call fcn.140002330
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x49], 1
jmp 0x14000952e
mov rax, qword [rsp + 0xb8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
mov rax, qword [rsp + 0xa8]
mov dword [rax + 0x30], 0
jmp case.0x1400092e9.160
mov rax, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xb8]
cmp dword [rax + 0xc], 5
je 0x1400095e5
mov rcx, qword [rsp + 0xb8]
call fcn.14000a0d0
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xb8]
mov dword [rax + 0xc], 6
mov rcx, qword [rsp + 0xb8]
call fcn.1400028e0
mov rcx, qword [rsp + 0xb8]
call fcn.1400028e0
mov rax, qword [rsp + 0xb8]
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 + 0xb8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
mov rax, qword [rsp + 0xb8]
add rax, 0x30
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x1400096a5
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
je 0x140009737
mov rax, qword [rsp + 0x38]
sub rax, 0x38
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
add rax, 0x38
mov rcx, rax
call fcn.140001b90
mov rax, qword [rsp + 0x40]
cmp dword [rax + 0xc], 5
jne 0x140009708
mov rax, qword [rsp + 0x40]
add rax, 0x38
mov rcx, rax
call fcn.140002330
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x49], 1
jmp 0x14000968e
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x40]
dec eax
mov rcx, qword [rsp + 0xb8]
mov dword [rcx + 0x40], eax
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.140009110
jmp 0x14000968e
mov rax, qword [rsp + 0xb8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
mov rax, qword [rsp + 0xa8]
mov dword [rax + 0x30], 0
mov rcx, qword [rsp + 0xa8]
call fcn.1400024b0
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntoskrnl.exe_IoDetachDevice]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov eax, dword [rsp + 0x30]
jmp 0x140009ac3
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 8], 0
je 0x1400097c2
jmp case.0x1400092e9.160
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0xc8], 0
jle 0x140009805
mov rax, qword [rsp + 0x80]
add rax, 0xc8
lock dec dword [rax]
mov rcx, qword [rsp + 0xa0]
call fcn.14000b590
mov rax, qword [rsp + 0xb8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x140009868
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xb8]
cmp dword [rax + 0x40], 0
jne 0x140009866
mov rax, qword [rsp + 0xb8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
jmp case.0x1400092e9.160
jmp 0x140009870
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x4c], 0
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x38], rax
jmp 0x140009898
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xb8]
add rax, 0x30
cmp qword [rsp + 0x38], rax
je 0x1400098d2
mov rax, qword [rsp + 0x38]
sub rax, 0x38
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x48]
test eax, eax
je 0x1400098d0
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
jmp 0x14000988b
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov eax, eax
lea rax, [rax*8 + 0xf]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov r8d, 0x61525356
mov edx, eax
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140009962
mov rax, qword [rsp + 0xb8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
mov dword [rsp + 0x30], 0xc000009a
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0x30], ecx
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov rcx, qword [rsp + 0xb8]
call fcn.1400028e0
mov eax, dword [rsp + 0x30]
jmp 0x140009ac3
cmp dword [rsp + 0x48], 0
je 0x1400099a1
mov eax, dword [rsp + 0x48]
shl rax, 3
mov rcx, qword [rsp + 0x68]
add rcx, 8
mov rdx, qword [rsp + 0x70]
add rdx, 8
mov qword [rsp + 0x88], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x88]
mov rcx, rax
call fcn.1400015f0
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x70]
mov dword [rcx], eax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x38], rax
jmp 0x1400099d4
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xb8]
add rax, 0x30
cmp qword [rsp + 0x38], rax
je 0x140009a3d
mov rax, qword [rsp + 0x38]
sub rax, 0x38
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x48]
test eax, eax
je 0x140009a32
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x40]
mov rdx, qword [rdx]
mov qword [rcx + rax*8 + 8], rdx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_ObfReferenceObject]
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
jmp 0x140009a3b
mov rax, qword [rsp + 0x40]
mov byte [rax + 0x49], 1
jmp 0x1400099c7
cmp qword [rsp + 0x68], 0
je 0x140009a52
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x38], rcx
mov rax, qword [rsp + 0xb8]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
mov rax, qword [rsp + 0xa8]
mov dword [rax + 0x30], 0
mov rcx, qword [rsp + 0xa8]
call fcn.1400024b0
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0xb8]
call fcn.1400028e0
mov eax, dword [rsp + 0x30]
add rsp, 0x98
ret