Function at 0x154fe
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.00017200
test al, al
jne 0x15533
mov ecx, esi
jmp 0x15700
lea eax, [ebx + 4]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x15550
mov eax, dword [eax + 4]
test eax, eax
je 0x15550
mov eax, dword [eax + 0x14]
test eax, eax
je 0x15550
add eax, 4
jmp 0x15571
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 0x15586
cmp ax, 0x17
jne 0x1552c
mov esi, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, 0x1abb0
call esi
mov byte [ebp - 0x51], al
mov eax, dword [ebx + 0x18]
cdq
push edx
push eax
push dword [0x1abd8]
call fcn.000104f2
test eax, eax
je 0x156de
push dword [ebp - 0x58]
lea ebx, [eax - 8]
push 2
push ebx
call fcn.00018916
test al, 1
je 0x155ec
mov dl, byte [ebp - 0x51]
mov ecx, 0x1abb0
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 0x1570f
test al, 2
je 0x156de
cmp byte [ebx + 0x15d], 0
jne 0x156de
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 4]
test eax, eax
je 0x156de
cmp dword [eax], 0
jne 0x156de
lea ecx, [ebx + 0x1a0]
mov dword [ebp - 0x58], ecx
call esi
mov byte [ebp - 0x59], al
lea eax, [ebx + 0x188]
push eax
call fcn.00016024
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 0x156de
cmp dword [ebp - 0x60], 5
jge 0x156de
mov ecx, dword [ebp - 0x58]
call esi
lea ecx, [ebx + 0x188]
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, 0x1545a
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.00017d8e
test eax, eax
jge 0x156de
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, 0x1abb0
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [ebp - 0x64]
cmp eax, 0x103
je 0x1570f
cmp eax, 0xc000009a
je 0x1570f
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.00018ec0
leave
ret 0xc