Function at 0x129a4
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [rsp + 0x60], rsp
mov rbx, rdx
mov r12, rcx
mov r14, qword [rdx + 0xb8]
mov qword [rsp + 0x170], r14
mov r13, qword [r14 + 0x30]
xor r15d, r15d
cmp r13, r15
je 0x12e7b
cmp word [r13 + 0x58], r15w
je 0x12e7b
mov qword [rax + 0x20], r15
lea rdx, [r13 + 0x58]
lea rcx, [rax - 0x68]
call fcn.00014ad0
lea r8, [rsp + 0x178]
mov rdx, qword [rax]
mov rcx, r12
call fcn.0001399c
mov edi, eax
lea rcx, [rsp + 0xf0]
call fcn.00011564
lea esi, [r15 + 1]
sub edi, esi
je 0x12bb6
cmp edi, esi
je 0x12a54
add byte [rbx + 0x43], sil
add qword [rbx + 0xb8], 0x48
mov rdx, rbx
mov rcx, qword [r12 + 0x48]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
jmp 0x12e99
cmp word [r12 + 0xa0], 0x5c
jne 0x12a83
xor eax, eax
or r15, 0xffffffffffffffff
mov rcx, r15
lea rdi, [0x000209e0]
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
mov qword [rsp + 0x168], rcx
jmp 0x12a8f
mov word [rsp + 0x168], si
or r15, 0xffffffffffffffff
lea rdx, [r13 + 0x58]
lea rcx, [rsp + 0xc8]
call fcn.00014ad0
xor eax, eax
mov rcx, r15
mov r8, qword [rsp + 0xc8]
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
mov r14, rcx
mov rcx, r15
lea rdi, [0x000209f0]
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
add r14w, cx
add r14w, word [rsp + 0x168]
add r14w, si
add r14w, r14w
cmp word [r13 + 0x5a], r14w
jae 0x12b14
xor edx, edx
mov rcx, qword [r13 + 0x60]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
movzx edx, r14w
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [r13 + 0x60], rax
mov word [r13 + 0x5a], r14w
mov r8, qword [rsp + 0xc8]
movzx eax, word [r12 + 0xa0]
cmp ax, 0x5c
jne 0x12b3f
movzx edx, r14w
shr rdx, 1
mov r9, r8
lea r8, [0x00020a20]
mov rcx, qword [r13 + 0x60]
call fcn.000159d4
jmp 0x12b5f
movzx r9d, ax
movzx edx, r14w
shr rdx, 1
mov qword [rsp + 0x20], r8
lea r8, [0x00020a60]
mov rcx, qword [r13 + 0x60]
call fcn.000159d4
xor eax, eax
mov rcx, r15
mov rdi, qword [r13 + 0x60]
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
add cx, cx
mov word [r13 + 0x58], cx
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 0x30]
and qword [rax + 0x40], 0
mov edi, 0x104
mov dword [rbx + 0x30], edi
and qword [rbx + 0x38], 0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea rcx, [rsp + 0xc8]
call fcn.00011564
mov eax, edi
jmp 0x12e99
mov rdx, qword [rbx + 0xb8]
lea rdi, [rdx - 0x48]
mov rcx, rdi
mov r8d, 0x38
call fcn.0001f690
mov byte [rdi + 3], r15b
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov rdx, qword [rbx + 0xb8]
lea rax, [0x0001348c]
mov qword [rdx - 0x10], rax
lea rax, [rsp + 0xa0]
mov qword [rdx - 8], rax
mov byte [rdx - 0x45], 0xe0
mov rdx, rbx
mov rcx, qword [r12 + 0x48]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0x170], eax
cmp eax, 0x103
jne 0x12c46
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov dword [rsp + 0x170], eax
cmp eax, r15d
je 0x12c6a
lea rdx, [0x00012c5e]
mov rcx, qword [rsp + 0x60]
call sub.ntoskrnl.exe__local_unwind
nop
nop
mov eax, dword [rsp + 0x170]
jmp 0x12e99
lea rdi, [r12 + 0x130]
mov qword [rsp + 0x50], rdi
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
mov dl, sil
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExAcquireResourceSharedLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
mov r11, qword [r14 + 0x30]
lea rdi, [r12 + 0x70]
mov rax, rdi
mov qword [rsp + 0x48], rax
mov rdx, qword [rdi + 8]
cmp rdx, r15
je 0x12cc7
mov rcx, qword [r11 + 0x18]
cmp qword [rdx + 0x20], rcx
jb 0x12cc1
mov rax, rdx
mov qword [rsp + 0x48], rdx
mov rdx, qword [rdx + 0x10]
jmp 0x12cc5
mov rdx, qword [rdx + 0x18]
jmp 0x12ca4
cmp rax, rdi
je 0x12cdd
mov rcx, qword [rax + 0x20]
cmp qword [r11 + 0x18], rcx
cmovb rax, rdi
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rax
lea rbx, [r12 + 0x70]
mov qword [rsp + 0x80], rbx
cmp rax, rbx
jne 0x12e46
mov r13, qword [r11 + 0x18]
mov qword [rsp + 0x88], r13
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], rax
mov rdi, rbx
mov rax, qword [rbx + 8]
mov cl, sil
cmp rax, r15
je 0x12d48
mov rdi, rax
cmp r13, qword [rax + 0x20]
setb cl
cmp cl, r15b
je 0x12d42
mov rax, qword [rax + 0x10]
jmp 0x12d46
mov rax, qword [rax + 0x18]
jmp 0x12d28
mov rax, rdi
mov qword [rsp + 0x170], rax
cmp cl, r15b
je 0x12da7
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0xc0], rax
cmp rdi, rax
jne 0x12d97
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x68]
mov r8, rdi
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.00015458
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
mov byte [rsp + 0x40], sil
jmp 0x12df3
mov rcx, rdi
call fcn.0001581c
mov qword [rsp + 0x170], rax
lea rcx, [rax + 0x20]
mov qword [rsp + 0xb8], rcx
cmp qword [rcx], r13
jae 0x12de9
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x68]
mov r8, rdi
lea rdx, [rsp + 0x98]
mov rcx, rbx
call fcn.00015458
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
mov byte [rsp + 0x40], sil
jmp 0x12df3
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x40], r15b
mov rdi, qword [r14 + 0x30]
add r12, 0x70
mov rax, r12
mov qword [rsp + 0x30], rax
mov rdx, qword [r12 + 8]
cmp rdx, r15
je 0x12e2b
mov rcx, qword [rdi + 0x18]
cmp qword [rdx + 0x20], rcx
jb 0x12e25
mov rax, rdx
mov qword [rsp + 0x30], rdx
mov rdx, qword [rdx + 0x10]
jmp 0x12e29
mov rdx, qword [rdx + 0x18]
jmp 0x12e08
cmp rax, r12
je 0x12e41
mov rcx, qword [rax + 0x20]
cmp qword [rdi + 0x18], rcx
cmovb rax, r12
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x58], rax
mov rcx, qword [rax + 0x28]
lock add dword [rcx], esi
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
lea rdx, [0x00012e77]
mov rcx, qword [rsp + 0x60]
call sub.ntoskrnl.exe__local_unwind
nop
nop
xor eax, eax
jmp 0x12e99
mov esi, 1
add byte [rdx + 0x43], sil
lea rax, [r14 + 0x48]
mov qword [rdx + 0xb8], rax
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret