Function at 0x1de16
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 0x20649
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 0x23fce
test byte [esi + 0x80], 2
jne 0x24272
test byte [esi + 0xd], 0x10
jne 0x24272
xor eax, eax
cmp byte [ebp - 2], al
jne 0x24222
mov dword [edi + 0x44], eax
lea eax, [edi + 0x28]
cmp dword [eax], eax
jne 0x23ffd
mov edx, dword [ebx + 0x18]
mov ecx, dword [edi + 0x38]
cmp ecx, dword [edi + 0x60]
jae 0x2062d
cmp word [edi + 0x40], 0xffff
je 0x2062d
xor ecx, ecx
cmp byte [ebp - 1], cl
je 0x201a7
cmp dword [ebx + 0x14], edx
jne 0x201a7
cmp dword [eax], eax
jne 0x201a7
push dword [edi + 0x14]
push ecx
push edx
call fcn.0001b320
test eax, eax
je 0x241d2
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 0x2005c
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 0x2004d
lea eax, [esi + 0x20]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
je 0x241cc
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 0x1df76
lea ecx, [ebp - 0x28]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
jmp 0x1df76
mov eax, dword [0x1278c]
cmp eax, edx
jae 0x2060a
mov eax, edx
mov dword [ebp - 8], edx
push dword [edi + 0x14]
push 0
push eax
call fcn.0001b320
test eax, eax
mov dword [ebp - 0x18], eax
je 0x241d2
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.000203b1
mov ecx, edx
test ecx, ecx
mov dword [eax + 0x18], edi
je 0x24246
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 0x1df88
cmp byte [0x1255c], cl
jne 0x201b4
mov ecx, dword [esi + 4]
shr ecx, 0xd
test cl, 1
jne 0x201b4
mov dword [ebp - 8], eax
jmp 0x201b9
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 0x24217
mov eax, 0xc000021b
jmp 0x1df88
cmp dword [edi + 8], esi
je 0x1de85
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 0x1de85
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 0x241b5
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0xc]
test cl, cl
js 0x241b5
test cl, 0x20
je 0x241b5
xor eax, eax
lea ecx, [esi + 0x38]
xchg dword [ecx], eax
test eax, eax
jne 0x2404a
and dword [esi + 0x58], eax
jmp 0x2409b
cmp byte [ebp - 1], 0
je 0x2410a
cmp dword [ebx + 0x14], edx
jne 0x2410a
lea ecx, [ebp - 0x28]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
mov eax, dword [esi + 4]
test eax, eax
je 0x240d4
push eax
call fcn.0001dc35
test eax, eax
jge 0x240ab
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
je 0x241c4
jmp 0x23ffd
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 0x240da
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 0x240fd
push edi
call fcn.0001c0b1
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x1c]
mov dword [ecx], eax
jmp 0x1df86
lea ecx, [ebp - 0x28]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
cmp byte [0x1255c], 0
jne 0x24129
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
shr eax, 0xd
test al, 1
je 0x2412f
mov eax, dword [ebx + 0x18]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 8]
test eax, eax
jbe 0x24151
sub eax, dword [ecx + 0x10]
push eax
push dword [esi + 4]
call fcn.00027528
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
mov dword [eax + 0x10], ecx
mov ecx, 0x206f0
mov eax, ecx
test eax, eax
mov eax, dword [esi + 0x60]
je 0x2416b
sub eax, 0x24
mov dword [eax + 0x20], edi
mov byte [eax + 3], 0xe0
jmp 0x24176
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 0x20248
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 0x1deb8
push esi
jmp 0x2429a
mov eax, dword [ebx + 0x18]
add dword [edi + 0x44], eax
cmp dword [edi + 0x38], 0
jne 0x20630
mov eax, dword [edi + 4]
mov ecx, 0x10000000
test ecx, eax
jne 0x20630
or eax, ecx
xor ecx, ecx
mov dword [edi + 4], eax
lea eax, [edi + 0x20]
inc ecx
lock xadd dword [eax], ecx
push 0x2994f
lea eax, [edi + 0x88]
push eax
call fcn.00028734
jmp 0x20630
push edi
call fcn.0001c0b1
jmp 0x20649
cmp word [edi + 0x42], 0xffff
mov esi, dword [ebx + 0x18]
mov dword [ebp - 8], esi
je 0x2425c
push dword [edi + 0x14]
push eax
push esi
call fcn.0001b320
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x201cf
jmp 0x2425c
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 0x20220
lea ecx, [ebp - 0x28]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
push edi
call fcn.0001fb6b
mov eax, dword [ebx + 0x1c]
mov dword [eax], esi
jmp 0x24289
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.0001fb6b
lea eax, [edi + 0x20]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1df86
push edi
call fcn.0001c0b1
jmp 0x1df86