Function at 0x191ae
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 0x3a]
dec eax
push edi
mov edi, dword [0x1cf4c]
mov dword [ebp - 0xc], edi
je 0x193bb
dec eax
je 0x19224
dec eax
jne 0x19410
and byte [esi + 0x39], 0
mov ebx, dword [esi + 0x40]
and dword [esi + 8], 0
and byte [esi + 0x1c], 0
lea edx, [esi + 0x50]
lea ecx, [edi + 0x108]
call dword [sym.imp.ntoskrnl.exe_InterlockedPushEntrySList]
cmp dword [ebp + 0xc], 0
jne 0x19204
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x1c], eax
jmp 0x1920f
and dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], 0xc00000c4
mov dl, 2
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
push edi
call fcn.00016426
jmp 0x19410
and byte [esi + 0x39], 0
mov ebx, dword [esi + 0x40]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
lea ecx, [ebx + 4]
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
xor edx, edx
cmp dword [ebp + 0xc], edx
mov byte [ebp - 8], al
je 0x19288
cmp dword [ebx + 0x14], 4
jne 0x1932a
lea esi, [ebx + 0x90]
lea edi, [ebx + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dl, al
lea ecx, [ebx + 4]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x1c], 2
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0xc]
jmp 0x1933c
mov ecx, dword [ebp + 0x10]
add dword [ebx + 0x84], ecx
add dword [ebx + 0x80], ecx
cmp byte [esi + 0x45], 0
jne 0x1930c
cmp dword [ebx + 0x14], 4
jne 0x1930c
mov cl, byte [ebp - 4]
push dword [ebp - 8]
mov byte [ebp + 0xc], cl
mov byte [ebp - 4], al
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
xor eax, eax
cmp dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], 2
je 0x192ff
inc word [ebx + 0x34]
inc word [ebx + 0x36]
cmp byte [ebx + 0xec], al
mov dword [ebx + 0xac], eax
jne 0x192ff
lea ecx, [edi + 0x3a8]
cmp dword [ecx], eax
je 0x192f1
lea eax, [ebx + 0xcc]
inc dword [eax]
mov eax, dword [eax]
cmp eax, dword [ecx]
jae 0x192ff
mov dl, byte [ebp + 0xc]
lea ecx, [ebx + 4]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
jmp 0x1933c
push dword [ebp + 0xc]
push 1
push ebx
call fcn.00017188
jmp 0x1933c
cmp byte [esi + 0x44], 0
je 0x19399
mov dword [ebx + 0x80], edx
inc word [ebx + 0x34]
inc word [ebx + 0x36]
mov dword [ebx + 0xac], edx
push dword [ebp - 8]
xor eax, eax
mov al, byte [esi + 0x44]
push dword [ebp - 4]
push eax
push ebx
call fcn.00018e94
cmp byte [esi + 0x46], 0
jne 0x1935b
mov eax, dword [esi + 8]
test eax, eax
je 0x1935b
mov edi, dword [eax]
push eax
call dword [sym.imp.ntoskrnl.exe_IoFreeMdl]
test edi, edi
mov eax, edi
jne 0x19349
mov edi, dword [ebp - 0xc]
and dword [esi + 8], 0
and byte [esi + 0x1c], 0
lea edx, [esi + 0x50]
lea ecx, [edi + 0x108]
call dword [sym.imp.ntoskrnl.exe_InterlockedPushEntrySList]
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 0x193b3
inc dword [ebx + 0x154]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push ebx
call fcn.00013c06
jmp 0x19410
cmp dword [ebx + 0x20], edx
je 0x1932a
cmp byte [esi + 0x47], 0
je 0x1931c
add dword [ebx + 0xac], ecx
jmp 0x1932a
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
jmp 0x19410
mov ebx, dword [esi + 0x40]
and byte [esi + 0x39], 0
and dword [esi + 0x40], 0
and dword [esi + 8], 0
and byte [esi + 0x1c], 0
lea edx, [esi + 0x50]
lea ecx, [edi + 0x108]
call dword [sym.imp.ntoskrnl.exe_InterlockedPushEntrySList]
cmp dword [ebp + 0xc], 0
jne 0x19401
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x30], eax
lea eax, [edi + 0xc0]
push eax
lea edx, [ebx + 0x14]
lea ecx, [edi + 0x160]
call dword [sym.imp.ntoskrnl.exe_ExfInterlockedInsertHeadList]
jmp 0x19410
mov esi, dword [ebx + 0xc]
push ebx
call fcn.00017cd6
push esi
call fcn.00010814
pop edi
pop esi
pop ebx
leave
ret 0xc