Function at 0x1d780
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x70
mov rbp, qword [rdx + 0xb8]
mov r12d, dword [rdx + 0x10]
mov r13b, byte [rdx + 0x10]
mov rcx, qword [rbp + 0x30]
mov rdi, rdx
lea rdx, [rax + 0x18]
shr r12d, 1
xor r14d, r14d
and r13b, 1
and r12b, 1
mov qword [rax + 0x18], r14
call fcn.00012228
mov rbx, qword [rsp + 0xb0]
cmp rbx, r14
jne 0x1d7f1
mov esi, 0xc0000010
xor edx, edx
mov rcx, rdi
mov dword [rdi + 0x30], esi
mov qword [rdi + 0x38], r14
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp 0x1da0e
movzx ecx, byte [rbp]
sub ecx, 3
je 0x1d82d
cmp ecx, 1
je 0x1d809
mov esi, 0xc0000010
mov dword [rdi + 0x30], esi
jmp 0x1d819
mov r8d, dword [rbp + 8]
cmp r8d, r14d
jne 0x1d85a
mov dword [rdi + 0x30], r14d
mov esi, r14d
xor edx, edx
mov rcx, rdi
mov qword [rdi + 0x38], r14
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp 0x1da05
mov r8d, dword [rbp + 8]
cmp r8d, r14d
jne 0x1d85a
xor edx, edx
mov rcx, rdi
mov dword [rdi + 0x30], r14d
mov qword [rdi + 0x38], r14
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov r11, qword [rbx]
mov rcx, rbx
call qword [r11 + 8]
xor eax, eax
jmp 0x1da10
mov rcx, qword [rdi + 8]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov byte [rsp + 0x60], r14b
cmp rcx, r14
je 0x1d892
mov al, byte [rdi + 0x40]
mov dword [rsp + 0x40], 0x10
mov qword [rsp + 0x50], rcx
mov byte [rsp + 0x60], al
jmp 0x1d8d1
mov r9b, byte [rdi + 0x40]
mov rdx, qword [rdi + 0x70]
lea rcx, [rsp + 0x40]
call fcn.00017a08
mov esi, eax
cmp eax, r14d
je 0x1d8cc
mov dword [rdi + 0x30], eax
xor edx, edx
mov rcx, rdi
mov qword [rdi + 0x38], r14
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea rcx, [rsp + 0x40]
call fcn.00017a98
jmp 0x1da05
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0xa8], r14d
movzx edx, byte [rbp]
sub edx, 3
je 0x1d961
cmp edx, 1
je 0x1d8f1
mov esi, 0xc0000010
mov dword [rdi + 0x30], esi
jmp 0x1d8ae
cmp rcx, r14
jne 0x1d8fb
mov rax, r14
jmp 0x1d923
test byte [rcx + 0xa], 5
je 0x1d907
mov rax, qword [rcx + 0x18]
jmp 0x1d923
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], 0x10
lea r8d, [r9 + 1]
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov rdx, qword [rbp + 0x30]
lea rcx, [rsp + 0xa8]
cmp r13b, r14b
mov qword [rsp + 0x38], rcx
mov ecx, dword [rbp + 8]
mov r9d, r14d
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x18]
sete r9b
mov qword [rsp + 0x28], rcx
mov rcx, rbx
movzx r8d, r12b
mov qword [rsp + 0x20], rax
call fcn.0001f774
jmp 0x1d9cf
cmp rcx, r14
jne 0x1d96b
mov rax, r14
jmp 0x1d993
test byte [rcx + 0xa], 5
je 0x1d977
mov rax, qword [rcx + 0x18]
jmp 0x1d993
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x28], 0x10
lea r8d, [r9 + 1]
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov rdx, qword [rbp + 0x30]
lea rcx, [rsp + 0xa8]
cmp r13b, r14b
mov qword [rsp + 0x38], rcx
mov ecx, dword [rbp + 8]
mov r9d, r14d
mov dword [rsp + 0x30], ecx
mov rcx, qword [rbp + 0x18]
sete r9b
mov qword [rsp + 0x28], rcx
mov rcx, rbx
movzx r8d, r12b
mov qword [rsp + 0x20], rax
call fcn.0001f630
xor edx, edx
mov esi, eax
mov rcx, rdi
cmp eax, r14d
je 0x1d9e3
mov dword [rdi + 0x30], eax
jmp 0x1d8b3
mov eax, dword [rsp + 0xa8]
mov dword [rdi + 0x30], r14d
mov qword [rdi + 0x38], rax
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea rcx, [rsp + 0x40]
call fcn.00017a98
mov esi, r14d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov eax, esi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret