Function at 0x1d35f
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, 0x38
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x18]
push esi
push edi
mov edi, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
shr eax, 7
and al, 1
test byte [edi + 8], 0x10
mov dword [ebp - 0xc], edi
mov byte [ebp - 4], al
jne 0x23b7c
mov byte [ebp - 2], 1
xor eax, eax
mov dword [ecx + 8], eax
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x1c], eax
test byte [edi + 0xd], 1
jne 0x23b8c
lea ecx, [edi + 0x1c]
lea edx, [ebp - 0x34]
mov dword [ebp - 0x20], eax
call dword [sym.imp.HAL.dll_KeAcquireInStackQueuedSpinLock]
test byte [edi + 0xd], 0x10
jne 0x23b95
mov esi, dword [edi + 0x60]
test esi, esi
je 0x23baa
test byte [esi + 4], 0x10
jne 0x23bbf
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x14], 0x40
jne 0x23bd4
mov dword [ebp - 0x28], eax
and dword [ebp - 0x28], 0x20
je 0x1d400
and dword [edi + 0x24], 0xfffffffe
push 0
push eax
push esi
call fcn.0001d4cd
mov edi, eax
test edi, edi
jne 0x1e0fd
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
and dword [eax + 0x10], 0
mov dword [eax + 0xc], ecx
mov ecx, dword [ebx + 0x18]
mov dword [eax + 4], ecx
mov eax, dword [eax + 8]
test eax, eax
jne 0x1d448
test byte [esi + 5], 1
jne 0x1dffd
test eax, eax
jne 0x1d448
mov eax, dword [ebp - 0xc]
test byte [eax + 0xc], 0x10
jne 0x1feaf
mov edx, dword [ebx + 8]
lea ecx, [esi + 0x28]
mov edi, dword [ecx + 4]
lea eax, [edx + 0x58]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [edi], eax
mov dword [ecx + 4], eax
and dword [edx + 0x18], 0
lea ecx, [edx + 0x38]
mov edi, 0x298cb
xchg dword [ecx], edi
cmp byte [edx + 0x24], 0
jne 0x23da2
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x60]
or byte [eax + 3], 1
lea ecx, [ebp - 0x34]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x23e04
mov eax, 0x103
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x23deb
mov ecx, dword [ebx + 8]
mov esi, dword [ebp - 8]
mov dword [ecx + 0x18], esi
mov dl, byte [0x12011]
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, esi
jmp 0x1d499
xor edx, edx
cmp dword [ebp - 0x28], edx
je 0x1dfc7
test byte [esi + 4], 1
jne 0x23cf0
xor eax, eax
cmp word [esi + 0x40], dx
setne al
cmp eax, edx
jne 0x1e0a0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0xc]
test al, 0x10
jne 0x1dfc7
or eax, 0x10000000
mov dword [ecx + 0xc], eax
xor edx, edx
cmp dword [ebp - 0x14], edx
jne 0x23d1c
lea ecx, [ebp - 0x34]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
mov eax, dword [ebp - 0xc]
test byte [eax + 8], 0x10
jne 0x23d78
and dword [ebp - 8], 0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [ebx + 8]
mov dword [ecx + 0x1c], eax
jmp 0x1d4a4
lea ecx, [ebp - 0x34]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 8]
and al, 0x10
neg al
sbb eax, eax
and eax, 0xc0000237
mov dword [ebp - 8], eax
jmp 0x1d4a4
push edx
push 1
push dword [ebp - 0xc]
call fcn.000103d2
jmp 0x1dfc7
or ecx, 0xffffffff
lock xadd dword [eax], ecx
je 0x1e17f
jmp 0x1e188
cmp byte [ebp - 3], 0
je 0x1e1b7
jmp 0x1df93
lea ecx, [ebp - 0x34]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
jmp 0x1d4a4
test byte [ebp - 1], 1
jne 0x23c04
sub dword [esi + 0x38], edx
mov eax, dword [ebp - 0x10]
add dword [edi + 8], eax
mov eax, dword [ebp - 0x10]
sub dword [edi + 0x20], eax
jmp 0x1e18a
mov eax, dword [ebx + 8]
mov eax, dword [eax + 4]
xor edx, edx
cmp eax, edx
je 0x23bdd
mov ecx, dword [ebx + 0xc]
cmp dword [ecx + 8], edx
je 0x1e1ee
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x20]
mov eax, dword [ebx + 0xc]
push dword [edi + 8]
push dword [edi + 0x1c]
push dword [eax + 8]
mov eax, dword [ebx + 8]
push dword [eax + 4]
call fcn.0001dae3
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov cl, byte [edi + 0x28]
mov byte [ebp - 1], cl
shr cl, 4
not cl
and cl, 1
cmp byte [ebp - 4], 0
mov byte [ebp - 3], cl
jne 0x1e198
test eax, eax
jne 0x1e0df
test byte [ebp - 1], 1
jne 0x23bf4
sub dword [esi + 0x38], edx
dec word [esi + 0x40]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
lea eax, [edi + 0xc]
cmp dword [eax], 1
jne 0x1e0b0
push dword [esi + 0x14]
push edi
call fcn.0001b3a0
xor edi, edi
mov ecx, dword [esi + 0x44]
test ecx, ecx
ja 0x23c0c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0xc]
add dword [eax + 8], edx
push edi
push dword [ebx + 0x10]
push esi
call fcn.0001d4cd
mov edi, eax
mov eax, dword [ebp - 0xc]
test byte [eax + 8], 0x10
jne 0x1e0c2
cmp dword [ebp - 8], 0x80000005
je 0x1df93
cmp byte [ebp - 2], 0
mov eax, dword [ebx + 0xc]
je 0x1e1e1
mov ecx, dword [eax + 8]
cmp dword [ebx + 0x18], ecx
je 0x1df93
test edi, edi
je 0x1df93
test edi, edi
jne 0x1e0fd
jmp 0x1d416
push eax
call fcn.0001dc35
test eax, eax
mov dword [ebp - 8], eax
jge 0x1e119
jmp 0x1e0d1
test byte [ebx + 0x14], 2
jne 0x1d448
lea ecx, [ebp - 0x34]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
mov dword [ebp - 8], 0xc00000a3
jmp 0x1d4a4
mov al, byte [ebx + 0x10]
shr al, 4
and al, 1
mov byte [ebp - 2], al
jmp 0x1d3a0
or dword [ebx + 0x10], 0x60
jmp 0x1d3b5
lea ecx, [ebp - 0x34]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
mov dword [ebp - 8], 0xc0000120
jmp 0x1d4af
lea ecx, [ebp - 0x34]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
mov dword [ebp - 8], 0xc0000140
jmp 0x1d4af
lea ecx, [ebp - 0x34]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
mov dword [ebp - 8], 0xc000020d
jmp 0x1d4af
and dword [edi + 0x24], 0xfffffffd
jmp 0x1d3f3
mov eax, dword [edi + 0x20]
neg eax
sbb eax, eax
and eax, 0x80000005
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edx
jmp 0x1e13d
sub dword [esi + 0x3c], edx
dec word [esi + 0x42]
and byte [edi + 0x28], 0xfe
jmp 0x1e169
sub dword [esi + 0x3c], edx
jmp 0x1e0ec
mov eax, dword [esi + 0x38]
cmp eax, dword [esi + 0x60]
jae 0x1e195
mov eax, dword [0x1278c]
cmp ecx, eax
mov dword [ebp - 0x24], ecx
ja 0x23c27
mov dword [ebp - 0x24], eax
push dword [esi + 0x14]
push 0
push dword [ebp - 0x24]
call fcn.0001b320
test eax, eax
mov dword [ebp - 0x20], eax
je 0x23cb0
and dword [esi + 0x44], 0
mov ecx, eax
xor edx, edx
mov dword [ecx + 0x18], esi
lea eax, [esi + 0x20]
inc edx
lock xadd dword [eax], edx
mov edx, fcn.000203b1
mov eax, edx
test eax, eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x60]
je 0x23c6b
sub eax, 0x24
mov dword [eax + 0x20], ecx
mov byte [eax + 3], 0xe0
jmp 0x23c76
sub eax, 0x24
xor edx, edx
mov dword [eax + 0x20], edx
mov byte [eax + 3], dl
mov dword [eax + 0x1c], edx
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x60]
sub eax, 0x24
mov byte [eax], 0xf
mov byte [eax + 1], 8
mov edx, dword [esi + 0x10]
mov dword [eax + 0x14], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 8], 0x20
mov dword [eax + 4], edx
mov eax, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 4], ecx
jmp 0x1e195
cmp dword [esi + 0x38], 0
jne 0x1e195
mov eax, dword [esi + 4]
test eax, 0x10000000
jne 0x1e195
or eax, 0x10000000
xor ecx, ecx
mov dword [esi + 4], eax
lea eax, [esi + 0x20]
inc ecx
lock xadd dword [eax], ecx
push 0x2994f
lea eax, [esi + 0x88]
push eax
call fcn.00028734
jmp 0x1e195
mov ecx, dword [esi + 0x38]
add ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x3c]
adc eax, dword [esi + 0x34]
mov edi, dword [esi + 0x2c]
cmp edi, eax
jg 0x1e0a0
jl 0x23d14
mov eax, dword [esi + 0x28]
cmp eax, ecx
ja 0x1e0a0
cmp byte [esi + 0x59], dl
jmp 0x1dfaf
test byte [esi + 4], 1
je 0x23d48
mov ecx, dword [esi + 0x50]
add ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x54]
adc eax, dword [esi + 0x4c]
mov edi, dword [esi + 0x44]
cmp edi, eax
jg 0x23d59
jl 0x1dfd2
mov eax, dword [esi + 0x40]
cmp eax, ecx
jbe 0x1dfd2
jmp 0x23d59
xor eax, eax
cmp word [esi + 0x42], dx
setne al
cmp eax, edx
je 0x1dfd2
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
and ecx, 0x100
neg ecx
sbb ecx, ecx
inc ecx
push edx
inc ecx
push ecx
push eax
call fcn.000103d2
jmp 0x1dfd2
cmp dword [ebp - 8], 0x80000005
je 0x23d8b
cmp byte [ebp - 3], 0
jne 0x1dfec
xor eax, eax
cmp dword [ebp - 0x14], eax
setne al
lea eax, [eax + eax + 0x4000000f]
mov dword [ebp - 8], eax
jmp 0x1dfec
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov dword [edi], edx
mov dword [edx + 4], edi
xor edx, edx
xchg dword [ecx], edx
test edx, edx
je 0x23dfc
lea ecx, [ebp - 0x34]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x23ddf
mov ecx, dword [ebp - 0xc]
test byte [ecx + 0xd], 0x10
jne 0x23ddf
mov ecx, dword [ebx + 8]
and dword [ebp - 8], 0
mov dword [ecx + 0x1c], eax
jmp 0x1d4a4
mov dword [ebp - 8], 0xc0000120
jmp 0x1d4a4
mov edx, dword [eax + 0x30]
mov ecx, dword [esi + 0x10]
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
jmp 0x1d4af
and dword [eax], 0
jmp 0x1d476
mov edx, dword [eax + 0x30]
mov ecx, dword [esi + 0x10]
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
jmp 0x1d494