Function at 0x129d4
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 0x12eab
cmp word [r13 + 0x58], r15w
je 0x12eab
mov qword [rax + 0x20], r15
lea rdx, [r13 + 0x58]
lea rcx, [rax - 0x68]
call fcn.00014a78
lea r8, [rsp + 0x178]
mov rdx, qword [rax]
mov rcx, r12
call fcn.000139cc
mov edi, eax
lea rcx, [rsp + 0xf0]
call fcn.00011594
lea esi, [r15 + 1]
sub edi, esi
je 0x12be6
cmp edi, esi
je 0x12a84
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 0x12ec9
cmp word [r12 + 0xa0], 0x5c
jne 0x12ab3
xor eax, eax
or r15, 0xffffffffffffffff
mov rcx, r15
lea rdi, [0x00023210]
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
mov qword [rsp + 0x168], rcx
jmp 0x12abf
mov word [rsp + 0x168], si
or r15, 0xffffffffffffffff
lea rdx, [r13 + 0x58]
lea rcx, [rsp + 0xc8]
call fcn.00014a78
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, [0x00023220]
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 0x12b44
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 0x12b6f
movzx edx, r14w
shr rdx, 1
mov r9, r8
lea r8, [0x00023250]
mov rcx, qword [r13 + 0x60]
call fcn.00015dbc
jmp 0x12b8f
movzx r9d, ax
movzx edx, r14w
shr rdx, 1
mov qword [rsp + 0x20], r8
lea r8, [0x00023290]
mov rcx, qword [r13 + 0x60]
call fcn.00015dbc
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.00011594
mov eax, edi
jmp 0x12ec9
mov rdx, qword [rbx + 0xb8]
lea rdi, [rdx - 0x48]
mov rcx, rdi
mov r8d, 0x38
call fcn.00021e50
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, [0x000134bc]
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 0x12c76
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 0x12c9a
lea rdx, [0x00012c8e]
mov rcx, qword [rsp + 0x60]
call sub.ntoskrnl.exe__local_unwind
nop
nop
mov eax, dword [rsp + 0x170]
jmp 0x12ec9
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 0x12cf7
mov rcx, qword [r11 + 0x18]
cmp qword [rdx + 0x20], rcx
jb 0x12cf1
mov rax, rdx
mov qword [rsp + 0x48], rdx
mov rdx, qword [rdx + 0x10]
jmp 0x12cf5
mov rdx, qword [rdx + 0x18]
jmp 0x12cd4
cmp rax, rdi
je 0x12d0d
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 0x12e76
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 0x12d78
mov rdi, rax
cmp r13, qword [rax + 0x20]
setb cl
cmp cl, r15b
je 0x12d72
mov rax, qword [rax + 0x10]
jmp 0x12d76
mov rax, qword [rax + 0x18]
jmp 0x12d58
mov rax, rdi
mov qword [rsp + 0x170], rax
cmp cl, r15b
je 0x12dd7
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0xc0], rax
cmp rdi, rax
jne 0x12dc7
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.00015640
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
mov byte [rsp + 0x40], sil
jmp 0x12e23
mov rcx, rdi
call fcn.00015a04
mov qword [rsp + 0x170], rax
lea rcx, [rax + 0x20]
mov qword [rsp + 0xb8], rcx
cmp qword [rcx], r13
jae 0x12e19
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.00015640
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
mov byte [rsp + 0x40], sil
jmp 0x12e23
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 0x12e5b
mov rcx, qword [rdi + 0x18]
cmp qword [rdx + 0x20], rcx
jb 0x12e55
mov rax, rdx
mov qword [rsp + 0x30], rdx
mov rdx, qword [rdx + 0x10]
jmp 0x12e59
mov rdx, qword [rdx + 0x18]
jmp 0x12e38
cmp rax, r12
je 0x12e71
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, [0x00012ea7]
mov rcx, qword [rsp + 0x60]
call sub.ntoskrnl.exe__local_unwind
nop
nop
xor eax, eax
jmp 0x12ec9
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