Function at 0x11379
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
cmp byte [ebx + 0x21], 0
push esi
push edi
je 0x11393
mov eax, dword [ebx + 0x60]
or byte [eax + 3], 1
mov esi, dword [ebp + 0x10]
mov edi, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
lea ecx, [esi + 0x5c]
call edi
cmp dword [ebx + 0x18], 0
mov dl, al
mov byte [ebp + 0xc], dl
jl 0x176bc
mov eax, dword [esi + 0x10]
test eax, eax
je 0x176bc
mov edi, eax
mov eax, dword [ebx + 0x1c]
add dword [edi + 0x54], eax
sub dword [edi + 0x4c], eax
add dword [esi + 0x40], eax
push 0
pop ecx
adc dword [esi + 0x44], ecx
cmp dword [ebx + 0x18], 0x80000005
mov dword [ebp - 8], eax
je 0x1e4c1
cmp dword [edi + 0x4c], ecx
jne 0x17620
cmp word [esi + 0x1c], 2
jne 0x11405
mov eax, dword [esi + 0x2c]
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x44]
test byte [eax + 6], 0x20
jne 0x1e589
mov dword [edi + 0x5c], ecx
mov eax, dword [edi + 0x48]
mov dword [edi + 0x3c], ecx
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x54]
cmp eax, dword [edi + 0x60]
mov dword [ebp + 0x10], ecx
jne 0x176a4
mov dword [edi + 0x54], ecx
mov dword [ebx + 0x18], ecx
cmp dword [edi + 0x58], ecx
mov dword [esi + 0x58], ecx
jne 0x1e59a
mov word [esi + 0x1c], cx
mov dword [esi + 0x50], 0x2a198
cmp dword [edi + 0x50], ecx
jne 0x1dd3c
cmp word [esi + 0x1c], 3
je 0x1dd3c
push dword [ebp + 0xc]
push edi
push esi
call fcn.00011297
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc
mov ecx, dword [edi + 0x54]
mov edx, dword [edi + 0x60]
cmp ecx, edx
je 0x1769d
jae 0x1e527
mov ecx, dword [edi + 0x44]
test byte [ecx + 6], 0x20
mov dword [ebp + 0x10], 0xc0000016
jne 0x1e4e3
mov edx, dword [edi + 0x5c]
mov ecx, dword [edi + 0x40]
add eax, edx
cmp eax, dword [ecx + 0x14]
jae 0x17693
mov dword [edi + 0x5c], eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
cmp dword [edi + 0x1c], 7
jne 0x1e4f5
cmp byte [ebx + 0x24], 0
jne 0x1e4f5
mov eax, 0x2a5f7
lea ecx, [ebx + 0x38]
xchg dword [ecx], eax
mov dword [edi + 0x3c], ebx
mov eax, dword [esi + 0x2c]
push dword [ebp - 4]
mov dword [ebx + 4], eax
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
jmp 0x1144e
push edi
push eax
push ecx
call fcn.0001df01
jmp 0x17654
xor ecx, ecx
jmp 0x113e8
mov dword [ebx + 0x18], 0x80000005
jmp 0x11423
mov dword [ebp + 0x10], 0xc0000016
jmp 0x1144e
cmp word [esi + 0x1c], 2
je 0x1e5fc
jmp 0x1e602
cmp word [esi + 0x1c], 3
je 0x1dd56
mov word [esi + 0x1c], 1
mov dword [esi + 0x50], 0x1df9b
mov dword [esi + 0x58], ecx
mov dword [esi + 0x54], ecx
mov dl, byte [ebp + 0xc]
lea ecx, [esi + 0x5c]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
xor eax, eax
lea ecx, [ebx + 0x38]
xchg dword [ecx], eax
push dword [ebp + 0xc]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
mov dl, 2
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea ebx, [esi + 0x5c]
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebp + 0xc], al
mov ax, word [esi + 0x1c]
cmp ax, 3
je 0x1e5ac
cmp ax, 2
je 0x176b0
push 0x7174624e
push 0x20
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test eax, eax
mov dword [ebp + 0x10], eax
je 0x1e5e1
push esi
push 0x1d8b6
push eax
call dword [sym.imp.ntoskrnl.exe_KeInitializeDpc]
push 4
push 0
push dword [ebp + 0x10]
call dword [sym.imp.ntoskrnl.exe_KeInsertQueueDpc]
mov dl, byte [ebp + 0xc]
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, 0xc0000016
jmp 0x1145b
cmp word [esi + 0x1c], 2
jne 0x1e4ce
mov eax, dword [esi + 0x2c]
mov dword [ebx + 4], eax
mov dword [edi + 0x54], ecx
mov dword [ebp + 0x10], ecx
mov word [esi + 0x1c], 1
mov dword [esi + 0x50], 0x24bf5
jmp 0x1e562
push ecx
push dword [ecx + 0xc]
call dword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov eax, dword [ebp - 8]
jmp 0x17644
and dword [edi + 0x3c], 0
push dword [ebp - 4]
and dword [esi + 0x58], 0
mov word [esi + 0x1c], 1
mov dword [esi + 0x50], 0x24bf5
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
mov dl, byte [ebp + 0xc]
lea ebx, [esi + 0x5c]
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
and dword [ebp + 0x10], 0
jmp 0x1e573
xor ecx, ecx
cmp word [esi + 0x1c], 2
mov dword [ebp + 0x10], ecx
jne 0x1e558
mov eax, dword [esi + 0x2c]
mov dword [ebx + 4], eax
mov dword [ebx + 0x18], 0x80000005
mov dword [ebx + 0x1c], ecx
mov eax, dword [edi + 0x44]
test byte [eax + 6], 0x20
je 0x1e558
push eax
push dword [eax + 0xc]
call dword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
xor ecx, ecx
mov dword [edi + 0x5c], ecx
mov dword [edi + 0x54], ecx
mov word [esi + 0x1c], cx
mov dl, byte [ebp + 0xc]
mov dword [esi + 0x58], ecx
lea ebx, [esi + 0x5c]
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push esi
call fcn.0002a474
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebp + 0xc], al
jmp 0x1144e
push eax
push dword [eax + 0xc]
call dword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
xor ecx, ecx
jmp 0x11402
mov word [esi + 0x1c], 3
mov dword [esi + 0x50], 0x2a1a2
jmp 0x1143a
lea eax, [edi + 0x70]
cmp dword [eax], eax
je 0x176b0
push 0x7074624e
push 0x20
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test eax, eax
mov dword [ebp + 0x10], eax
je 0x1e5e1
push esi
push 0x2a1c4
push eax
call dword [sym.imp.ntoskrnl.exe_KeInitializeDpc]
push 0
jmp 0x1ddd5
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_KefReleaseSpinLockFromDpcLevel]
push esi
call fcn.0002a474
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_KefAcquireSpinLockAtDpcLevel]
jmp 0x176b0
mov eax, dword [esi + 0x2c]
mov dword [ebx + 4], eax
and dword [esi + 0x58], 0
lea ebx, [esi + 0x5c]
mov ecx, ebx
mov word [esi + 0x1c], 1
mov dword [esi + 0x50], 0x24bf5
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push esi
call fcn.0002a474
mov ecx, ebx
call edi
and dword [ebp + 0x10], 0
mov byte [ebp + 0xc], al
mov edi, dword [ebp + 0xc]
jmp 0x1144e