Function at 0x14f30
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x140]
push edi
mov dword [ebp - 0xc], 0x8000
mov dword [ebp - 8], ecx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebp + 8], al
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x15116
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x15116
mov eax, dword [esi + 0x28]
cmp eax, dword [ebp + 0xc]
jne 0x15116
mov eax, dword [esi + 0x2c]
cmp eax, dword [ebp + 0x10]
jne 0x15116
lea eax, [esi + 0xe4]
cmp dword [eax], eax
jne 0x1507a
cmp dword [ecx + 0xe0], 0
jne 0x15116
xor eax, eax
inc eax
push eax
push esi
mov dword [esi + 0xf4], eax
call fcn.000141b8
jmp 0x15116
lea eax, [esi + 0xe4]
cmp dword [eax], eax
je 0x15088
lea eax, [esi + 0xec]
mov ebx, dword [eax]
mov ecx, dword [ebx]
mov dword [eax], ecx
mov dword [ecx + 4], eax
lea edi, [ebx - 0x58]
mov eax, dword [edi + 0x60]
add eax, 4
test dword [eax + 4], 0x4000
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
je 0x15007
push ecx
push esi
call fcn.00014c46
cmp eax, dword [ebp - 4]
jae 0x15007
cmp dword [ebp - 4], 0x8000
jbe 0x150ad
lea eax, [edi + 0x58]
mov dword [eax + 4], eax
mov dword [eax], eax
xor eax, eax
lea ecx, [edi + 0x38]
xchg dword [ecx], eax
lea ebx, [esi + 0xe4]
push ebx
push edi
call fcn.00014a90
mov dl, byte [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov byte [esi + 0xf9], 0
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
xor dl, dl
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov ecx, dword [ebp - 8]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebp + 8], al
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x15116
mov eax, dword [esi + 0x28]
cmp eax, dword [ebp + 0xc]
jne 0x15116
mov eax, dword [esi + 0x2c]
cmp eax, dword [ebp + 0x10]
jne 0x15116
xor edi, edi
cmp dword [ebp - 4], edi
jl 0x150c5
lea eax, [esi + 0xec]
cmp dword [eax], eax
jne 0x14fba
lea edi, [esi + 0xe4]
cmp dword [edi], edi
je 0x15116
lea eax, [ebp + 8]
push eax
push esi
call fcn.00014c84
mov dword [ebp - 4], eax
test eax, eax
jl 0x15107
cmp dword [edi], edi
jne 0x1507a
jmp 0x15116
and dword [ebp - 4], 0
lea eax, [esi + 0xec]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov dword [ecx + 4], ebx
mov dword [eax], ebx
jmp 0x15116
cmp dword [ebx], ebx
je 0x15102
mov eax, dword [ebx]
cmp dword [eax + 0xc], edi
jl 0x150d8
cmp dword [eax + 0x9c], edi
jne 0x15102
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov dword [ecx + 4], edx
lea ecx, [esi + 0xdc]
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ecx + 4], eax
push dword [esi + 0x2c]
push dword [esi + 0x28]
push 0xa
call fcn.000191c4
mov dword [ebp - 4], edi
jmp 0x15116
cmp eax, 0xc000021b
jne 0x15116
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x15166
mov edi, dword [esi + 0x28]
mov ebx, dword [esi + 0x2c]
cmp edi, dword [ebp + 0xc]
jne 0x15166
cmp ebx, dword [ebp + 0x10]
jne 0x15166
cmp dword [ebp - 4], 0
jl 0x1516c
push 0
push esi
call fcn.00014c46
cmp eax, dword [ebp - 0xc]
jae 0x15166
cmp byte [esi + 0xd8], 0
je 0x1515d
cmp dword [esi + 0xf4], 0
jle 0x15166
push 1
push esi
call fcn.000141b8
jmp 0x15166
push ebx
push edi
push 0xc
call fcn.000191c4
cmp dword [ebp - 4], 0
jge 0x1518f
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x1518f
mov eax, dword [esi + 0x28]
cmp eax, dword [ebp + 0xc]
jne 0x1518f
mov eax, dword [esi + 0x2c]
cmp eax, dword [ebp + 0x10]
jne 0x1518f
push dword [ebp + 8]
push esi
call fcn.00013fb0
jmp 0x1519b
mov dl, byte [ebp + 8]
mov ecx, dword [ebp - 8]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc