Function at 0x16164
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor ebx, ebx
mov r14, rdx
mov rbp, rcx
mov qword [rax + 0x18], rbx
mov dword [rax + 8], ebx
cmp qword [rcx + 0x10], rbx
je 0x1646f
mov rax, qword [rcx + 0x40]
cmp rax, rbx
je 0x1646f
mov rdi, qword [rax + 0x108]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0x98], rax
cmp rdi, rbx
je 0x1646f
lea r12, [rcx + 0x100]
mov rsi, qword [r12]
cmp rsi, rbx
je 0x1646f
cmp rsi, r12
je 0x1646f
mov rax, qword [rsi + 8]
mov rdx, qword [rsi]
mov r13d, dword [rsi + 0xdc]
mov qword [rax], rdx
mov qword [rdx + 8], rax
cmp dword [rsi + 0x18], ebx
jl 0x161fe
cmp dword [rsi + 0xdc], ebx
jne 0x16216
cmp byte [rcx + 0x180], bl
je 0x16213
mov rcx, rsi
call fcn.00016df4
jmp 0x1646f
mov r13d, ebx
mov r15, qword [rcx + 0x20]
mov edx, 0xc000021b
cmp byte [rcx + 0x125], bl
jne 0x1629d
mov dl, byte [r14]
add rcx, 0x190
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
mov r11d, dword [rsi + 0xd8]
mov r9d, dword [rsi + 0xdc]
lea rax, [r11 + rsi + 0xe4]
lea rcx, [rsp + 0x90]
mov r8d, 0xc20
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x80]
mov rdx, r15
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call rdi
lea rcx, [rbp + 0x190]
mov edi, eax
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov edx, 0xc000021b
mov byte [r14], al
jmp 0x1629f
mov edi, edx
cmp qword [rbp + 0x10], rbx
je 0x16430
cmp qword [rbp + 0x40], rbx
je 0x16430
cmp edi, edx
jne 0x162c2
mov eax, ebx
mov dword [rsp + 0x80], ebx
jmp 0x162e0
mov eax, dword [rsp + 0x80]
cmp edi, ebx
jne 0x162d2
cmp eax, ebx
cmove edi, edx
cmp eax, r13d
cmova eax, r13d
mov dword [rsp + 0x80], eax
mov ecx, dword [rsi + 0xdc]
cmp eax, ecx
jae 0x1631a
sub ecx, eax
mov dword [rsi + 0xdc], ecx
mov eax, dword [rsp + 0x80]
add dword [rsi + 0xd8], eax
mov rax, qword [r12]
mov qword [rsi + 8], r12
mov qword [rsi], rax
mov qword [rax + 8], rsi
mov qword [r12], rsi
cmp edi, ebx
jne 0x16327
mov edi, edx
jmp 0x16327
mov rcx, rsi
call fcn.00016df4
mov edx, 0xc000021b
cmp edi, edx
jne 0x16332
mov byte [rbp + 0x125], 1
cmp edi, 0xc0000016
jne 0x163f6
mov rcx, qword [rsp + 0x90]
cmp rcx, rbx
je 0x16474
mov rdx, r12
call fcn.00015f44
mov rdx, qword [rsp + 0x90]
mov edi, eax
cmp qword [rdx + 0x38], rbx
jbe 0x163a1
mov dl, byte [r14]
lea rcx, [rbp + 0x190]
mov byte [rbp + 0x125], bl
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
mov rcx, qword [rsp + 0x90]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea rcx, [rbp + 0x190]
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
xor ebx, ebx
mov byte [r14], al
jmp 0x163f6
add rdx, 0xa8
lea rcx, [rbp + 0x110]
mov rax, qword [rcx + 8]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov qword [rax], rdx
mov rax, qword [rsp + 0x90]
mov qword [rcx + 8], rdx
mov rcx, qword [rax + 0xb8]
lea rax, [0x00019d74]
or byte [rcx + 3], 1
mov rcx, qword [rsp + 0x90]
xchg qword [rcx + 0x68], rax
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 0x30], 0x103
cmp edi, ebx
jl 0x16474
mov rcx, qword [r12]
cmp rcx, rbx
je 0x16474
cmp rcx, r12
je 0x16474
cmp byte [rbp + 0x180], bl
je 0x16474
cmp dword [rcx + 0x18], ebx
jl 0x1641d
cmp dword [rcx + 0xdc], ebx
jne 0x16474
mov rax, qword [rcx + 8]
mov rdx, qword [rcx]
mov qword [rax], rdx
mov qword [rdx + 8], rax
jmp 0x16209
mov rcx, rsi
call fcn.00016df4
cmp edi, 0xc0000016
jne 0x1646f
mov rax, qword [rsp + 0x90]
cmp rax, rbx
je 0x1646f
mov dword [rax + 0x30], 0xc0000184
mov rax, qword [rsp + 0x90]
xor edx, edx
mov qword [rax + 0x38], rbx
mov rcx, qword [rsp + 0x90]
call fcn.000137e8
mov edi, 0xc000020c
mov eax, edi
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret