Function at 0x19628
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
xor edx, edx
push edi
mov edi, dword [0x1cf4c]
mov dword [ebp - 4], edx
inc dword [edi + 0x4a0]
lea esi, [ebx + 0x38]
movzx eax, byte [esi + 2]
dec eax
cmp eax, 7
ja case.default.0x19655
jmp dword [eax*4 + 0x199dc]
and byte [esi + 1], 0
cmp byte [esi + 0x44], 0
mov eax, dword [esi + 0x3c]
mov edi, dword [esi + 0x38]
mov dword [ebp + 0xc], eax
jne 0x1968d
mov eax, dword [esi + 0x54]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, edx
je 0x1968d
mov ecx, dword [eax]
push eax
mov dword [ebp - 8], ecx
call dword [sym.imp.ntoskrnl.exe_IoFreeMdl]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x1967a
mov eax, dword [esi + 0x54]
mov eax, dword [eax]
and dword [eax], 0
mov eax, dword [ebx + 8]
test eax, eax
je 0x196a9
jmp 0x196a0
mov eax, ecx
mov ecx, dword [eax]
test ecx, ecx
jne 0x1969e
mov dword [ebx + 0xc], eax
mov ecx, dword [ebp + 0xc]
and byte [ebx + 0x1c], 0
lea eax, [edi + 4]
push eax
add ecx, 0x5c
or edx, 0xffffffff
call dword [sym.imp.ntoskrnl.exe_ExfInterlockedAddUlong]
cmp eax, 1
mov dword [ebp - 8], eax
jne 0x1973c
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x58]
jmp 0x19703
mov ecx, dword [edi + 8]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
dec dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dl, al
jne 0x196f7
inc dword [edi + 0x154]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push edi
call fcn.00013c06
jmp 0x196fd
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ebx, dword [ebx + 0x58]
mov eax, dword [ebp + 0xc]
and dword [eax + 0x18], 0
lea eax, [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
mov ecx, dword [ebp + 0xc]
xor eax, eax
add ecx, 0x38
xchg dword [ecx], eax
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
mov ecx, dword [ebp + 0xc]
mov dl, 2
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
inc dword [edi + 0x238]
test ebx, ebx
mov dword [ebp + 0xc], ebx
jne 0x196d0
cmp byte [esi + 3], 0
je 0x1975a
and byte [edi + 0x269], 0
cmp byte [edi + 0xe9], 0
je 0x19760
push edi
call fcn.0001755a
jmp 0x19760
push esi
call fcn.00017476
cmp dword [ebp - 8], 1
jne case.default.0x19655
mov ecx, dword [edi + 8]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
dec dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov dl, al
jne 0x1987e
inc dword [edi + 0x154]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push edi
jmp 0x1984c
mov ebx, dword [esi + 0x38]
and byte [esi + 1], 0
push esi
call fcn.00017476
test ebx, ebx
je 0x199cf
push ebx
call fcn.00010814
jmp case.default.0x19655
and byte [esi + 1], 0
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.NDIS.SYS_NdisUnchainBufferAtBack]
mov eax, dword [ebp - 4]
xor ebx, ebx
cmp eax, ebx
je 0x199c9
test byte [eax + 6], 5
je 0x197da
mov eax, dword [eax + 0xc]
jmp 0x197e8
push 0x20
push ebx
push ebx
push 1
push ebx
push eax
call dword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
cmp eax, ebx
je 0x199c0
push 1
push 0x26
jmp 0x199ba
and byte [esi + 1], 0
cmp byte [esi + 3], 0
mov ebx, dword [esi + 0x38]
je 0x1981e
and byte [ebx + 0x269], 0
cmp byte [ebx + 0xe9], 0
je 0x19824
push ebx
call fcn.0001755a
jmp 0x19824
push esi
call fcn.00017476
test ebx, ebx
je 0x199cf
mov ecx, dword [ebx + 8]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
dec dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov dl, al
jne 0x1987e
inc dword [ebx + 0x154]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push ebx
call fcn.00013c06
jmp case.default.0x19655
add edi, 0xc0
mov ecx, edi
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
and byte [esi + 1], 0
cmp dword [ebp + 0xc], 0
jne 0x1987a
mov cl, byte [esi + 0x48]
and cl, 0xf
or cl, 0x10
mov byte [esi + 0x48], cl
mov dl, al
mov ecx, edi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
jmp case.default.0x19655
mov eax, dword [esi + 0x44]
and byte [esi + 1], 0
cmp eax, edx
je 0x198e3
inc dword [esi + 0x48]
movzx eax, word [eax + 0x2e]
mov ecx, dword [esi + 0x48]
cmp ecx, eax
jae 0x198e3
inc dword [esi + 0x58]
cmp dword [esi + 0x58], 3
jb 0x198d8
push 1
push 8
push 0x14
call fcn.000169e0
test eax, eax
je 0x198d8
and dword [eax], 0
push 1
push eax
mov dword [eax + 0x10], ebx
mov dword [eax + 8], 0x19604
mov dword [eax + 0xc], eax
call dword [sym.imp.ntoskrnl.exe_ExQueueWorkItem]
jmp case.default.0x19655
push ebx
call fcn.0001952e
jmp case.default.0x19655
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x38]
and byte [ebx + 0x1c], 0
mov dword [ebx + 8], edx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x54]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [esi + 0x54]
jmp 0x19901
mov eax, dword [eax]
cmp dword [eax], edx
jne 0x198ff
mov edx, dword [ebx + 8]
test edx, edx
jne 0x1990f
mov dword [ebx + 0xc], eax
mov dword [eax], edx
mov eax, dword [esi + 0x54]
and byte [ebx + 0x1c], 0
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0xc]
mov dl, 2
mov dword [ecx + 0x18], eax
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov ebx, dword [esi + 0x44]
push esi
call fcn.00017476
test ebx, ebx
je 0x19963
add edi, 0xc0
push edi
lea ecx, [ebx + 0x14]
or edx, 0xffffffff
call dword [sym.imp.ntoskrnl.exe_ExfInterlockedAddUlong]
cmp eax, 1
jne 0x19963
push eax
movzx eax, word [ebx + 0x2c]
add eax, 4
lea eax, [eax + eax*2]
shl eax, 2
push eax
push ebx
call fcn.0001673a
mov eax, dword [ebp - 8]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne case.default.0x19655
push eax
call fcn.000108fe
jmp case.default.0x19655
and byte [esi + 1], 0
jmp 0x199c9
and byte [esi + 1], 0
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.NDIS.SYS_NdisUnchainBufferAtBack]
mov eax, dword [ebp - 4]
xor ebx, ebx
cmp eax, ebx
je 0x199c9
test byte [eax + 6], 5
je 0x199a3
mov eax, dword [eax + 0xc]
jmp 0x199b1
push 0x20
push ebx
push ebx
push 1
push ebx
push eax
call dword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
cmp eax, ebx
je 0x199c0
push 1
push dword [esi + 0x38]
push eax
call fcn.0001673a
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoFreeMdl]
push esi
call fcn.00017476
push edi
call fcn.00016426
pop edi
pop esi
pop ebx
leave
ret 8