Function at 0x13b08
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
xor edx, edx
or eax, dword [edi + 0xc]
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
jne 0x13b31
mov dword [ebp + 8], 0xc000020c
jmp 0x13d97
mov eax, dword [edi + 0x34]
cmp eax, edx
je 0x13b25
mov ecx, dword [eax + 0xe0]
cmp ecx, edx
mov eax, dword [eax + 0xe4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
je 0x13b25
lea eax, [edi + 0xe4]
push esi
mov esi, dword [eax]
cmp esi, edx
je 0x13d8f
cmp esi, eax
je 0x13d8f
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
mov dword [ecx], eax
mov dword [eax + 4], ecx
cmp dword [esi + 0xc], edx
jl 0x13b87
cmp dword [esi + 0x9c], edx
jne 0x13b9d
cmp byte [edi + 0x12c], dl
je 0x13b9a
push esi
call fcn.00015d7a
jmp 0x13d8f
mov dword [ebp - 0xc], edx
cmp byte [edi + 0xf9], dl
mov eax, dword [edi + 0x18]
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 8], eax
jne 0x13c01
mov dl, byte [ebx]
lea ecx, [edi + 0x13c]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x98]
lea eax, [eax + esi + 0xa4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [esi + 0x9c]
push 0xc20
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [ebp - 0x14]
lea ecx, [edi + 0x13c]
mov dword [ebp + 8], eax
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebx], al
mov edx, 0xc000021b
jmp 0x13c09
mov edx, 0xc000021b
mov dword [ebp + 8], edx
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
je 0x13d61
xor eax, eax
cmp dword [edi + 0x34], eax
je 0x13d61
cmp dword [ebp + 8], edx
je 0x13c3a
cmp dword [ebp + 8], eax
jne 0x13c32
cmp dword [ebp - 8], eax
jne 0x13c32
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 8], eax
jbe 0x13c3d
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x9c]
cmp dword [ebp - 8], eax
jae 0x13c77
sub eax, dword [ebp - 8]
lea ecx, [edi + 0xe4]
mov dword [esi + 0x9c], eax
mov eax, dword [ebp - 8]
add dword [esi + 0x98], eax
cmp dword [ebp + 8], 0
mov eax, dword [ecx]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [eax + 4], esi
mov dword [ecx], esi
jne 0x13c82
mov dword [ebp + 8], edx
jmp 0x13c82
push esi
call fcn.00015d7a
mov edx, 0xc000021b
cmp dword [ebp + 8], edx
jne 0x13c8e
mov byte [edi + 0xf9], 1
cmp dword [ebp + 8], 0xc0000016
jne 0x13d25
cmp dword [ebp - 4], 0
je 0x13d96
lea eax, [edi + 0xe4]
push eax
push dword [ebp - 4]
call fcn.00013922
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jbe 0x13cee
mov byte [edi + 0xf9], 0
mov dl, byte [ebx]
lea esi, [edi + 0x13c]
mov ecx, esi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ecx, dword [ebp - 4]
xor dl, dl
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov ecx, esi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebx], al
jmp 0x13d25
add eax, 0x58
lea ecx, [edi + 0xec]
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
or byte [eax + 3], 1
mov ecx, dword [ebp - 4]
mov eax, 0x135d2
add ecx, 0x38
xchg dword [ecx], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x103
xor edx, edx
cmp dword [ebp + 8], edx
jl 0x13d96
lea ecx, [edi + 0xe4]
mov eax, dword [ecx]
cmp eax, edx
je 0x13d96
cmp eax, ecx
je 0x13d96
cmp byte [edi + 0x12c], dl
je 0x13d96
cmp dword [eax + 0xc], edx
jl 0x13d51
cmp dword [eax + 0x9c], edx
jne 0x13d96
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov dword [ecx + 4], edx
push eax
jmp 0x13b90
push esi
call fcn.00015d7a
cmp dword [ebp + 8], 0xc0000016
jne 0x13d8f
mov eax, dword [ebp - 4]
test eax, eax
je 0x13d8f
mov dword [eax + 0x18], 0xc0000184
mov eax, dword [ebp - 4]
and dword [eax + 0x1c], 0
push 0
push dword [ebp - 4]
call fcn.00017416
mov dword [ebp + 8], 0xc000020c
pop esi
mov eax, dword [ebp + 8]
pop edi
pop ebx
leave
ret 8