Function at 0x1d79e
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
mov edi, dword [ebx + 0xc]
push edi
call fcn.0001072e
test al, al
je 0x20794
mov esi, dword [edi + 8]
mov eax, dword [ebx + 0x1c]
and dword [eax], 0
mov eax, dword [ebx + 0x10]
shr eax, 6
and al, 1
mov byte [ebp - 2], al
mov eax, dword [ebx + 0x10]
shr eax, 0xa
and al, 1
lea ecx, [esi + 0x1c]
lea edx, [ebp - 0x28]
mov dword [ebp - 0xc], esi
mov byte [ebp - 1], al
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.HAL.dll_KeAcquireInStackQueuedSpinLock]
mov ax, word [esi]
and ax, 0xafd4
cmp ax, 0xafd4
je 0x23fc1
test byte [esi + 0x80], 2
jne 0x24264
test byte [esi + 0xd], 0x10
jne 0x24264
xor eax, eax
cmp byte [ebp - 2], al
jne 0x24215
mov dword [edi + 0x44], eax
lea eax, [edi + 0x28]
cmp dword [eax], eax
jne 0x23ff0
mov edx, dword [ebx + 0x18]
mov ecx, dword [edi + 0x38]
cmp ecx, dword [edi + 0x60]
jae 0x20778
cmp word [edi + 0x40], 0xffff
je 0x20778
xor ecx, ecx
cmp byte [ebp - 1], cl
je 0x2020d
cmp dword [ebx + 0x14], edx
jne 0x2020d
cmp dword [eax], eax
jne 0x2020d
push dword [edi + 0x14]
push ecx
push edx
call fcn.0001b310
test eax, eax
je 0x241c5
mov edi, dword [eax + 0x34]
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
and dword [eax + 8], 0
and byte [eax + 0x28], 0xef
mov esi, dword [ebx + 0xc]
mov dword [eax + 0xc], 1
mov edi, edx
mov dword [eax + 0x20], edi
lea ecx, [esi + 0x30]
mov edx, dword [ecx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ecx + 4], eax
add dword [esi + 0x38], edi
inc word [esi + 0x40]
mov eax, dword [ebx + 0x1c]
mov dword [eax], edi
mov edi, dword [ebp - 0xc]
and byte [edi + 0xf], 0xef
cmp word [esi + 2], 3
jne 0x2014c
push 0
push 1
push edi
call fcn.000103d2
lea ecx, [ebp - 0x28]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
test byte [edi + 0xe], 1
jne 0x2013d
lea eax, [esi + 0x20]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
je 0x241bf
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20
push 0
push 1
push edi
call fcn.00010545
jmp 0x1d8fe
lea ecx, [ebp - 0x28]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
jmp 0x1d8fe
mov eax, dword [0x1278c]
cmp eax, edx
jae 0x20755
mov eax, edx
mov dword [ebp - 8], edx
push dword [edi + 0x14]
push 0
push eax
call fcn.0001b310
test eax, eax
mov dword [ebp - 0x18], eax
je 0x241c5
lea ecx, [ebp - 0x28]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
cmp byte [ebp - 1], 0
mov eax, dword [ebp - 0x18]
mov cl, byte [eax + 0x28]
mov esi, dword [eax + 0x30]
sete dl
and dl, 1
and cl, 0xee
shl dl, 4
or dl, cl
mov cl, byte [ebp - 2]
and cl, 1
or dl, cl
mov byte [eax + 0x28], dl
mov edx, fcn.00020417
mov ecx, edx
test ecx, ecx
mov dword [eax + 0x18], edi
je 0x24238
mov ecx, dword [esi + 0x60]
sub ecx, 0x24
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x20], eax
mov byte [ecx + 3], 0xe0
mov eax, dword [esi + 0x60]
sub eax, 0x24
mov byte [eax], 0xf
mov byte [eax + 1], 8
mov ecx, dword [edi + 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [edi + 0xc]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x10]
and ecx, 0x60
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
dec byte [esi + 0x23]
mov eax, dword [ebx + 0x24]
add dword [esi + 0x60], 0xffffffdc
mov dword [eax], esi
mov eax, 0xc0000016
jmp 0x1d910
cmp byte [0x1255c], cl
jne 0x2021a
mov ecx, dword [esi + 4]
shr ecx, 0xd
test cl, 1
jne 0x2021a
mov dword [ebp - 8], eax
jmp 0x2021f
add dword [edi + 0x44], edx
lea ecx, [ebp - 0x28]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
lea eax, [edi + 0x20]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
je 0x2420a
mov eax, 0xc000021b
jmp 0x1d910
cmp dword [edi + 8], esi
je 0x1d80d
lea ecx, [ebp - 0x28]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
mov eax, dword [edi + 8]
lea ecx, [eax + 0x1c]
lea edx, [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.HAL.dll_KeAcquireInStackQueuedSpinLock]
mov esi, dword [ebp - 0xc]
jmp 0x1d80d
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov edx, dword [esi + 8]
mov ecx, dword [edx + 4]
sub ecx, dword [edx + 8]
add esi, 0xffffffa8
mov dword [ebp - 0x18], edx
mov edx, dword [ebx + 0x18]
cmp ecx, edx
mov dword [ebp - 8], ecx
jb 0x241a8
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0xc]
test cl, cl
js 0x241a8
test cl, 0x20
je 0x241a8
xor eax, eax
lea ecx, [esi + 0x38]
xchg dword [ecx], eax
test eax, eax
jne 0x2403d
and dword [esi + 0x58], eax
jmp 0x2408e
cmp byte [ebp - 1], 0
je 0x240fd
cmp dword [ebx + 0x14], edx
jne 0x240fd
lea ecx, [ebp - 0x28]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
mov eax, dword [esi + 4]
test eax, eax
je 0x240c7
push eax
call fcn.0001d5bd
test eax, eax
jge 0x2409e
and dword [esi + 0x1c], 0
mov dword [esi + 0x18], eax
mov dl, byte [0x12011]
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x28]
call dword [sym.imp.HAL.dll_KeAcquireInStackQueuedSpinLock]
mov edx, dword [ebx + 0x18]
lea eax, [edi + 0x28]
cmp dword [eax], eax
jne 0x23ff0
jmp 0x241b7
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 0x10]
push ecx
push dword [esi + 4]
push dword [ebx + 0x18]
push 0
push dword [ebx + 0x20]
call sub.TDI.SYS_TdiCopyBufferToMdl
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
add eax, dword [ebp - 8]
jmp 0x240cd
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [esi + 0x1c], eax
mov dl, byte [0x12011]
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea eax, [edi + 0x20]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x240f0
push edi
call fcn.0001c24b
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
mov dword [ecx], eax
jmp 0x1d90e
lea ecx, [ebp - 0x28]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
cmp byte [0x1255c], 0
jne 0x2411c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
shr eax, 0xd
test al, 1
je 0x24122
mov eax, dword [ebx + 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 8]
test eax, eax
jbe 0x24144
sub eax, dword [ecx + 0x10]
push eax
push dword [esi + 4]
call fcn.00027519
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
mov dword [eax + 0x10], ecx
mov ecx, 0x2083b
mov eax, ecx
test eax, eax
mov eax, dword [esi + 0x60]
je 0x2415e
sub eax, 0x24
mov dword [eax + 0x20], edi
mov byte [eax + 3], 0xe0
jmp 0x24169
sub eax, 0x24
xor ecx, ecx
mov dword [eax + 0x20], ecx
mov byte [eax + 3], cl
mov dword [eax + 0x1c], ecx
mov eax, dword [esi + 0x60]
sub eax, 0x24
mov byte [eax], 0xf
mov byte [eax + 1], 8
mov ecx, dword [edi + 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [edi + 0xc]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x10]
and ecx, 0x60
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
add eax, 0x84
inc ecx
lock xadd dword [eax], ecx
jmp 0x202ae
mov ecx, dword [eax]
add esi, 0x58
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [ecx + 4], esi
mov dword [eax], esi
mov esi, dword [ebp - 0xc]
jmp 0x1d840
push esi
jmp 0x2428c
mov eax, dword [ebx + 0x18]
add dword [edi + 0x44], eax
cmp dword [edi + 0x38], 0
jne 0x2077b
mov eax, dword [edi + 4]
mov ecx, 0x10000000
test ecx, eax
jne 0x2077b
or eax, ecx
xor ecx, ecx
mov dword [edi + 4], eax
lea eax, [edi + 0x20]
inc ecx
lock xadd dword [eax], ecx
push 0x2993a
lea eax, [edi + 0x88]
push eax
call fcn.0002871f
jmp 0x2077b
push edi
call fcn.0001c24b
jmp 0x20794
cmp word [edi + 0x42], 0xffff
mov esi, dword [ebx + 0x18]
mov dword [ebp - 8], esi
je 0x2424e
push dword [edi + 0x14]
push eax
push esi
call fcn.0001b310
test eax, eax
mov dword [ebp - 0x18], eax
je 0x2424e
jmp 0x20235
mov eax, dword [esi + 0x60]
sub eax, 0x24
xor ecx, ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov byte [eax + 3], cl
jmp 0x20286
lea ecx, [ebp - 0x28]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
push edi
call fcn.0001e328
mov eax, dword [ebx + 0x1c]
mov dword [eax], esi
jmp 0x2427b
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
push edi
call fcn.0001e328
lea eax, [edi + 0x20]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1d90e
push edi
call fcn.0001c24b
jmp 0x1d90e