Function at 0x16256
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.00017fca
test al, al
jne 0x1628b
mov ecx, esi
jmp 0x16458
lea eax, [ebx + 4]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x162a8
mov eax, dword [eax + 4]
test eax, eax
je 0x162a8
mov eax, dword [eax + 0x14]
test eax, eax
je 0x162a8
add eax, 4
jmp 0x162c9
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 0x162de
cmp ax, 0x17
jne 0x16284
mov esi, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, 0x1c310
call esi
mov byte [ebp - 0x51], al
mov eax, dword [ebx + 0x18]
cdq
push edx
push eax
push dword [0x1c338]
call fcn.00011072
test eax, eax
je 0x16436
push dword [ebp - 0x58]
lea ebx, [eax - 8]
push 2
push ebx
call fcn.00019776
test al, 1
je 0x16344
mov dl, byte [ebp - 0x51]
mov ecx, 0x1c310
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 0x16467
test al, 2
je 0x16436
cmp byte [ebx + 0x165], 0
jne 0x16436
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 4]
test eax, eax
je 0x16436
cmp dword [eax], 0
jne 0x16436
lea ecx, [ebx + 0x1a8]
mov dword [ebp - 0x58], ecx
call esi
mov byte [ebp - 0x59], al
lea eax, [ebx + 0x190]
push eax
call fcn.00016d7c
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 0x16436
cmp dword [ebp - 0x60], 5
jge 0x16436
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, 0x161b2
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 0xb
call fcn.00018bea
test eax, eax
jge 0x16436
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, 0x1c310
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [ebp - 0x64]
cmp eax, 0x103
je 0x16467
cmp eax, 0xc000009a
je 0x16467
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.000199dd
leave
ret 0xc