Function at 0x17748
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 0x17771
mov dword [ebp + 8], 0xc000020c
jmp 0x179d7
mov eax, dword [edi + 0x34]
cmp eax, edx
je 0x17765
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
cmp ecx, edx
je 0x17765
lea eax, [edi + 0xe4]
push esi
mov esi, dword [eax]
cmp esi, edx
je 0x179cf
cmp esi, eax
je 0x179cf
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 0x177c7
cmp dword [esi + 0x9c], edx
jne 0x177dd
cmp byte [edi + 0x12c], dl
je 0x177da
push esi
call fcn.00011d38
jmp 0x179cf
mov dword [ebp - 0xc], edx
mov eax, dword [edi + 0x18]
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 8], eax
cmp byte [edi + 0xf9], dl
jne 0x17841
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 0x17849
mov edx, 0xc000021b
mov dword [ebp + 8], edx
mov eax, dword [edi + 8]
or eax, dword [edi + 0xc]
je 0x179a1
xor eax, eax
cmp dword [edi + 0x34], eax
je 0x179a1
cmp dword [ebp + 8], edx
je 0x1787a
cmp dword [ebp + 8], eax
jne 0x17872
cmp dword [ebp - 8], eax
jne 0x17872
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 8], eax
jbe 0x1787d
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x9c]
cmp dword [ebp - 8], eax
jae 0x178b7
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 0x178c2
mov dword [ebp + 8], edx
jmp 0x178c2
push esi
call fcn.00011d38
mov edx, 0xc000021b
cmp dword [ebp + 8], edx
jne 0x178ce
mov byte [edi + 0xf9], 1
cmp dword [ebp + 8], 0xc0000016
jne 0x17965
cmp dword [ebp - 4], 0
je 0x179d6
lea eax, [edi + 0xe4]
push eax
push dword [ebp - 4]
call fcn.00017562
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jbe 0x1792e
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 0x17965
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, 0x180c6
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 0x179d6
lea ecx, [edi + 0xe4]
mov eax, dword [ecx]
cmp eax, edx
je 0x179d6
cmp eax, ecx
je 0x179d6
cmp byte [edi + 0x12c], dl
je 0x179d6
cmp dword [eax + 0xc], edx
jl 0x17991
cmp dword [eax + 0x9c], edx
jne 0x179d6
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov dword [ecx + 4], edx
push eax
jmp 0x177d0
push esi
call fcn.00011d38
cmp dword [ebp + 8], 0xc0000016
jne 0x179cf
mov eax, dword [ebp - 4]
test eax, eax
je 0x179cf
mov dword [eax + 0x18], 0xc0000184
mov eax, dword [ebp - 4]
and dword [eax + 0x1c], 0
push 0
push dword [ebp - 4]
call fcn.000142f0
mov dword [ebp + 8], 0xc000020c
pop esi
mov eax, dword [ebp + 8]
pop edi
pop ebx
leave
ret 8