Function at 0x1da30
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x50
mov rbp, qword [rdx + 0xb8]
mov rsi, rcx
mov rcx, qword [rdx + 0x18]
mov rdi, rdx
test rcx, rcx
je 0x1da63
mov r8d, dword [rbp + 8]
xor edx, edx
call fcn.00020a10
mov rcx, qword [rbp + 0x30]
and qword [rsp + 0x80], 0
lea rdx, [rsp + 0x80]
call fcn.00012228
mov eax, dword [rbp + 0x10]
sub eax, 1
je 0x1dc4c
sub eax, 2
je 0x1db9b
sub eax, 2
je 0x1db6d
cmp eax, 2
je 0x1dad2
and qword [rdi + 0x38], 0
mov ebx, 0xc0000003
xor edx, edx
mov rcx, rdi
mov dword [rdi + 0x30], ebx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1dacb
mov rdx, qword [rcx]
call qword [rdx + 8]
mov eax, ebx
jmp 0x1dca7
mov eax, dword [rbp + 8]
cmp eax, 0x20
jae 0x1db0d
mov esi, 0x80000005
xor edx, edx
mov rcx, rdi
mov dword [rdi + 0x30], esi
mov qword [rdi + 0x38], rax
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1dbcd
mov rdx, qword [rcx]
call qword [rdx + 8]
jmp 0x1dbcd
mov rbx, qword [rsp + 0x80]
mov rax, qword [rsi]
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x110]
mov r12d, eax
test eax, eax
jne 0x1dbf6
mov eax, dword [rsp + 0x40]
mov rcx, qword [rdi + 0x18]
mov dword [rcx + 0x18], eax
mov eax, dword [rsp + 0x44]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x30]
mov qword [rcx], rax
mov rax, qword [rsp + 0x38]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x38]
mov qword [rcx + 0x10], rax
mov qword [rdi + 0x38], 0x20
jmp 0x1dc88
mov rbx, qword [rsp + 0x80]
mov rax, qword [rsi]
mov r9d, dword [rbp + 8]
mov r8, qword [rdi + 0x18]
lea rcx, [rsp + 0x78]
mov rdx, rbx
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call qword [rax + 0x108]
jmp 0x1dc75
mov eax, dword [rbp + 8]
cmp eax, 0x18
jae 0x1dbd4
mov esi, 0x80000005
xor edx, edx
mov rcx, rdi
mov dword [rdi + 0x30], esi
mov qword [rdi + 0x38], rax
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1dbcd
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, esi
jmp 0x1dca7
mov rbx, qword [rsp + 0x80]
mov rax, qword [rsi]
mov r8, qword [rdi + 0x18]
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x110]
mov r12d, eax
test eax, eax
je 0x1dc42
mov esi, 0x80000005
xor edx, edx
mov rcx, rdi
cmp eax, esi
jne 0x1dc21
mov eax, dword [rbp + 8]
mov dword [rdi + 0x30], esi
mov qword [rdi + 0x38], rax
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
test rbx, rbx
je 0x1dbcd
mov rax, qword [rbx]
mov rcx, rbx
jmp 0x1dbca
and qword [rdi + 0x38], 0
mov dword [rdi + 0x30], eax
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
test rbx, rbx
je 0x1dc3d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov eax, r12d
jmp 0x1dca7
mov qword [rdi + 0x38], 0x18
jmp 0x1dc88
mov rbx, qword [rsp + 0x80]
mov rax, qword [rsi]
mov r9d, dword [rbp + 8]
mov r8, qword [rdi + 0x18]
lea rcx, [rsp + 0x78]
mov rdx, rbx
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call qword [rax + 0x118]
mov r12d, eax
test eax, eax
jne 0x1dbf6
mov eax, dword [rsp + 0x78]
mov qword [rdi + 0x38], rax
and dword [rdi + 0x30], 0
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
test rbx, rbx
je 0x1dca5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret