Function at 0x16880
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x64], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x68], esi
call fcn.00018588
test al, al
jne 0x168b5
mov ecx, esi
jmp 0x16a82
lea eax, [ebx + 4]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x168d2
mov eax, dword [eax + 4]
test eax, eax
je 0x168d2
mov eax, dword [eax + 0x14]
test eax, eax
je 0x168d2
add eax, 4
jmp 0x168f3
push 0x4b
lea eax, [ebp - 0x50]
push 0
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
push 0xe
pop ecx
push 2
mov word [ebp - 0x50], cx
pop ecx
lea eax, [ebp - 0x50]
mov word [ebp - 0x4e], cx
add eax, 2
mov dword [ebp - 0x58], eax
movzx eax, word [eax]
cmp ax, 2
je 0x16908
cmp ax, 0x17
jne 0x168ae
mov esi, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, 0x1d338
call esi
mov byte [ebp - 0x51], al
mov eax, dword [ebx + 0x18]
cdq
push edx
push eax
push dword [0x1d360]
call fcn.00011076
test eax, eax
je 0x16a60
push dword [ebp - 0x58]
lea ebx, [eax - 8]
push 2
push ebx
call fcn.0001a18c
test al, 1
je 0x1696e
mov dl, byte [ebp - 0x51]
mov ecx, 0x1d338
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
and dword [edi + 0x1c], 0
mov esi, 0xc00000bc
xor dl, dl
mov ecx, edi
mov dword [edi + 0x18], esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, esi
jmp 0x16a91
test al, 2
je 0x16a60
cmp byte [ebx + 0x165], 0
jne 0x16a60
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 4]
test eax, eax
je 0x16a60
cmp dword [eax], 0
jne 0x16a60
lea ecx, [ebx + 0x3ac]
mov dword [ebp - 0x58], ecx
call esi
mov byte [ebp - 0x59], al
lea eax, [ebx + 0x190]
push eax
call fcn.000173c4
mov dl, byte [ebp - 0x59]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
test byte [ebx + 0x24], 4
jne 0x16a60
cmp dword [ebp - 0x60], 5
jge 0x16a60
mov ecx, dword [ebp - 0x58]
call esi
lea ecx, [ebx + 0x190]
mov edx, dword [ecx + 4]
lea esi, [edi + 0x58]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [edx], esi
mov dword [ecx + 4], esi
mov ecx, dword [ebp - 0x58]
mov dl, al
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [edi + 0x60]
or byte [eax + 3], 1
lea ecx, [edi + 0x38]
mov eax, 0x15d6c
xchg dword [ecx], eax
mov dword [ebp - 0x60], eax
mov eax, 0x103
mov dword [edi + 0x18], eax
push dword [ebx + 0x1c]
mov dword [ebp - 0x64], eax
push dword [ebx + 0x18]
push 3
call fcn.000191c4
test eax, eax
jge 0x16a60
mov ecx, dword [ebp - 0x58]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebx], ecx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 0x58]
mov dl, al
mov dword [esi + 4], esi
mov dword [esi], esi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ecx, dword [ebp - 0x60]
lea eax, [edi + 0x38]
xchg dword [eax], ecx
and dword [edi + 0x18], 0
and dword [ebp - 0x64], 0
mov dl, byte [ebp - 0x51]
mov ecx, 0x1d338
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [ebp - 0x64]
cmp eax, 0x103
je 0x16a91
cmp eax, 0xc000009a
je 0x16a91
mov ecx, dword [ebp - 0x68]
inc byte [edi + 0x23]
add dword [edi + 0x60], 0x24
mov edx, edi
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0001a4c9
leave
ret 0xc