Function at 0x14936
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 + 0x13c]
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 0x14afe
cmp dword [esi + 0x34], 0
je 0x14afe
mov eax, dword [esi + 0x28]
cmp eax, dword [ebp + 0xc]
jne 0x14afe
mov eax, dword [esi + 0x2c]
cmp eax, dword [ebp + 0x10]
jne 0x14afe
lea eax, [esi + 0xe4]
cmp dword [eax], eax
je 0x14afe
jmp 0x14a62
lea eax, [esi + 0xe4]
cmp dword [eax], eax
je 0x14a70
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 0x149ef
push ecx
push esi
call fcn.0001465a
cmp eax, dword [ebp - 4]
jae 0x149ef
cmp dword [ebp - 4], 0x8000
jbe 0x14a95
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.000144b2
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 0x14afe
mov eax, dword [esi + 0x28]
cmp eax, dword [ebp + 0xc]
jne 0x14afe
mov eax, dword [esi + 0x2c]
cmp eax, dword [ebp + 0x10]
jne 0x14afe
xor edi, edi
cmp dword [ebp - 4], edi
jl 0x14aad
lea eax, [esi + 0xec]
cmp dword [eax], eax
jne 0x149a2
lea edi, [esi + 0xe4]
cmp dword [edi], edi
je 0x14afe
lea eax, [ebp + 8]
push eax
push esi
call fcn.00014698
mov dword [ebp - 4], eax
test eax, eax
jl 0x14aef
cmp dword [edi], edi
jne 0x14a62
jmp 0x14afe
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 0x14afe
cmp dword [ebx], ebx
je 0x14aea
mov eax, dword [ebx]
cmp dword [eax + 0xc], edi
jl 0x14ac0
cmp dword [eax + 0x9c], edi
jne 0x14aea
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 2
call fcn.00018bea
mov dword [ebp - 4], edi
jmp 0x14afe
cmp eax, 0xc000021b
jne 0x14afe
and dword [ebp - 4], 0
and dword [ebp - 0xc], 0
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x14b4e
mov edi, dword [esi + 0x28]
mov ebx, dword [esi + 0x2c]
cmp edi, dword [ebp + 0xc]
jne 0x14b4e
cmp ebx, dword [ebp + 0x10]
jne 0x14b4e
cmp dword [ebp - 4], 0
jl 0x14b54
push 0
push esi
call fcn.0001465a
cmp eax, dword [ebp - 0xc]
jae 0x14b4e
cmp byte [esi + 0xd8], 0
je 0x14b45
cmp dword [esi + 0xf4], 0
jle 0x14b4e
push 1
push esi
call fcn.00013c40
jmp 0x14b4e
push ebx
push edi
push 4
call fcn.00018bea
cmp dword [ebp - 4], 0
jge 0x14b77
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x14b77
mov eax, dword [esi + 0x28]
cmp eax, dword [ebp + 0xc]
jne 0x14b77
mov eax, dword [esi + 0x2c]
cmp eax, dword [ebp + 0x10]
jne 0x14b77
push dword [ebp + 8]
push esi
call fcn.00013a62
jmp 0x14b83
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