Function at 0x124f0
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xc0
mov rdi, r9
call qword [sym.imp.ntoskrnl.exe_IoGetRelatedDeviceObject]
mov r12, rax
mov qword [rsp + 0x88], rax
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov edx, 0x80
xor ecx, ecx
mov r8d, 0x72647268
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x1255f
mov eax, 0xc000009a
jmp 0x1286a
xor edx, edx
lea r8d, [rdx + 0x76]
mov rcx, rax
call fcn.0003bc80
and dword [rsi + 0x20], 0
and qword [rsi + 0x28], 0
lea rcx, [rsi + 0x30]
mov qword [rsp + 0x70], rcx
mov dword [rcx + 0x20], 0x16
lea rax, [rcx + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rcx + 0x28], rax
mov qword [rsp + 0xa0], rax
mov r14d, 1
mov dword [rax], r14d
lea ecx, [r14 + 0xd]
mov word [rax + 4], cx
lea r15d, [r14 + 1]
mov word [rax + 6], r15w
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], r14b
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
lea ecx, [r14 + 2]
call qword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
mov r12, rax
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x12617
mov edx, 0x72647268
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, 0xc000009a
jmp 0x1286a
mov edx, dword [rsp + 0x110]
test edx, edx
je 0x126e5
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x12669
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_IoFreeIrp]
mov edx, 0x72647268
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, 0xc000009a
jmp 0x1286a
mov r8d, r14d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
xor eax, eax
mov dword [rsp + 0x54], eax
mov edx, dword [rsp + 0x110]
jmp 0x126dc
test eax, eax
jns 0x126ea
jmp 0x1286a
mov rdi, qword [rsp + 0x60]
and dword [rsp + 0x50], 0
mov rax, qword [r12 + 0xb8]
lea rcx, [0x000124d4]
mov qword [rax - 0x10], rcx
lea rcx, [rsp + 0x50]
mov qword [rax - 8], rcx
mov byte [rax - 0x45], 0xe0
mov rax, qword [r12 + 0xb8]
and qword [rax - 0x10], 0
and qword [rax - 8], 0
mov byte [rax - 0x45], 0
mov rax, qword [r12 + 0xb8]
mov byte [rax - 0x48], 0xf
mov byte [rax - 0x47], 0xa
mov r8, qword [rsp + 0x88]
mov qword [rax - 0x20], r8
mov rcx, qword [rsp + 0xf0]
mov qword [rax - 0x18], rcx
mov dword [rax - 0x40], edx
mov qword [rax - 0x38], rsi
mov rcx, qword [rsp + 0x70]
mov qword [rax - 0x30], rcx
mov dword [rax - 0x28], 0x20
neg edx
sbb rax, rax
and rax, rdi
mov qword [r12 + 8], rax
mov rdx, r12
mov rcx, r8
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov edi, eax
cmp eax, 0x103
jne 0x1281e
mov qword [rsp + 0x80], 0xfffffffff4143e00
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov dword [rsp + 0x54], eax
cmp eax, 0x102
jne 0x12817
xchg dword [rsp + 0x50], r14d
test r14d, r14d
jne 0x127ed
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_IoCancelIrp]
xchg dword [rsp + 0x50], r15d
cmp r15d, 3
jne 0x127ed
xor edx, edx
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
and dword [rsp + 0x90], 0
mov edi, dword [rsp + 0x54]
jmp 0x1281e
mov edi, dword [rsp + 0x90]
mov rdx, qword [rsp + 0xf8]
test rdx, rdx
je 0x12837
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + 0xa]
mov dword [rdx], eax
jmp 0x1283c
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x100]
test rdx, rdx
je 0x12850
movzx eax, word [rcx + 8]
mov word [rdx], ax
mov edx, 0x72647268
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
test edi, edi
cmovns edi, dword [rsp + 0x98]
mov eax, edi
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret