Function at 0x256ef
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x48]
call dword [sym.imp.ntoskrnl.exe_InterlockedPopEntrySList]
test eax, eax
je 0x2588a
mov ebx, dword [ebp + 0x14]
add eax, 0xffffff88
mov dword [ebp - 4], eax
xor esi, esi
lea ecx, [eax + 0x18]
xchg dword [ecx], esi
test esi, esi
je 0x25832
xor eax, eax
lea ecx, [esi + 0x38]
xchg dword [ecx], eax
test eax, eax
je 0x2580a
mov edi, dword [esi + 0x60]
mov eax, dword [edi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x6c]
cmp eax, dword [edi + 8]
jbe 0x2575b
mov dword [ebp + 0x14], 0xc0000023
jmp 0x25811
push dword [esi + 4]
call fcn.0001dc35
test eax, eax
mov dword [ebp + 0x14], eax
jl 0x25811
mov ecx, dword [ebp + 0xc]
test byte [ecx + 7], 0x20
jne 0x25893
mov eax, dword [edi + 0xc]
test eax, eax
jbe 0x257a5
push esi
push 0
push 1
push eax
mov eax, dword [esi + 0x3c]
add eax, dword [edi + 4]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
test eax, eax
jne 0x257a2
mov dword [ebp + 0x14], 0xc000009a
jmp 0x25811
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 4]
test byte [eax + 6], 5
je 0x257b3
mov eax, dword [eax + 0xc]
jmp 0x257bf
push 0
push eax
call dword [sym.imp.ntoskrnl.exe_MmMapLockedPages]
mov ecx, dword [ebp + 0xc]
push dword [ecx + 0x6c]
push dword [ecx + 0x68]
mov ecx, dword [edi + 4]
add ecx, dword [edi + 0xc]
add ecx, eax
push ecx
call dword [sym.imp.ntoskrnl.exe_memmove]
add esp, 0xc
push dword [ebp + 0xc]
push dword [ebp - 0xc]
push esi
call fcn.00010a25
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x25811
mov ecx, dword [ebp + 0x10]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add edx, 0x78
add ecx, 0x40
call dword [sym.imp.ntoskrnl.exe_InterlockedPushEntrySList]
jmp 0x2593c
mov dword [ebp + 0x14], 0xc0000120
push dword [ebp + 0x14]
push esi
call fcn.00024dce
mov eax, dword [ebx + 4]
mov edi, dword [ebp + 8]
add esi, 0x58
mov dword [esi + 4], eax
mov dword [esi], ebx
mov dword [eax], esi
mov eax, dword [ebp - 4]
mov dword [ebx + 4], esi
jmp 0x25839
mov dword [ebp + 0x14], 0xc0000120
lea ecx, [edi + 0x50]
cmp dword [ecx], 0
jl 0x25860
cmp dword [ebp + 0x14], 0xc000009a
je 0x25860
cmp word [edi + 0x44], 0x7fff
jae 0x25860
lea edx, [eax + 0x78]
lea ecx, [edi + 0x40]
call dword [sym.imp.ntoskrnl.exe_InterlockedPushEntrySList]
jmp 0x25879
xor edx, edx
inc edx
lock xadd dword [ecx], edx
lea ecx, [eax + 0x20]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x25879
push eax
call fcn.0001c0b1
lea ecx, [edi + 0x48]
call dword [sym.imp.ntoskrnl.exe_InterlockedPopEntrySList]
test eax, eax
jne 0x25711
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
push dword [ebp + 0x10]
push ecx
push dword [ebp - 8]
push esi
call fcn.0002c4e4
cmp eax, 0x103
mov edi, dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jne 0x258c1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
add edx, 0x78
add ecx, 0x40
call dword [sym.imp.ntoskrnl.exe_InterlockedPushEntrySList]
jmp 0x2591b
push eax
push esi
call fcn.00024dce
mov dl, byte [0x12011]
mov ecx, esi
call edi
mov ecx, dword [ebp + 8]
xor edx, edx
lea eax, [ecx + 0x50]
inc edx
lock xadd dword [eax], edx
inc edx
test edx, edx
jle 0x258ed
or edx, 0xffffffff
lock xadd dword [eax], edx
jmp 0x258b0
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x20]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x2591b
push eax
call fcn.0001c0b1
jmp 0x2591b
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
sub ecx, 0x58
mov dword [edx], eax
mov dword [eax + 4], edx
mov dl, byte [0x12011]
call edi
cmp dword [ebx], ebx
je 0x2595d
jmp 0x25904
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
sub ecx, 0x58
mov dword [edx], eax
mov dword [eax + 4], edx
mov dl, byte [0x12011]
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
cmp dword [ebx], ebx
jne 0x25921
mov eax, dword [esi + 4]
and dword [esi + 0x18], 0
push dword [ebp + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
and dword [esi + 4], 0
push esi
mov dword [edi + 0x18], eax
call fcn.000255a2
mov al, 1
jmp 0x2588c