Function at 0x25ef3
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
test byte [ebx + 0xb5], 2
push esi
push edi
mov byte [ebp - 1], 0
je 0x25f28
cmp dword [ebp + 0xc], 0x2b10
je 0x26665
cmp dword [ebp + 0xc], 0x2b11
je 0x35f10
push 0x26064
call sub.ntoskrnl.exe_wcslen
mov si, word [ebx + 0xf4]
shl eax, 1
sub si, ax
mov word [ebp - 0x18], si
mov dword [esp], 0x26084
call sub.ntoskrnl.exe_wcslen
mov di, word [ebx + 0xf6]
shl eax, 1
sub di, ax
mov word [ebp - 0x16], di
mov dword [esp], 0x260a4
call sub.ntoskrnl.exe_wcslen
pop ecx
mov ecx, dword [ebx + 0xf8]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x14], eax
xor eax, eax
mov ecx, 0x4ff2c
inc eax
lock xadd dword [ecx], eax
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 5]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
mov eax, dword [0x50568]
test eax, eax
jne 0x35fc1
push dword [ebp - 5]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
mov ecx, 0x4fb80
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov byte [ebp + 0xb], al
mov eax, dword [0x51638]
cmp eax, 0x51638
jne 0x26127
cmp byte [ebp - 1], 0
jne 0x36096
push 0x10
movzx eax, di
push 0x74504354
add eax, 0x1c
push eax
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTagPriority]
test eax, eax
je 0x2604e
mov ecx, dword [ebx + 0xa4]
mov cx, word [ecx + 0x16]
mov word [eax + 0xc], cx
xor edx, edx
mov dx, word [ebx + 0xa0]
add dx, cx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov word [eax + 0x16], di
movzx ecx, si
dec edx
mov word [eax + 0xe], dx
lea edx, [eax + 0x1c]
mov dword [eax + 0x18], edx
mov word [eax + 0x14], si
mov esi, dword [ebp - 0x14]
mov edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x5163c]
mov dword [eax], 0x51638
mov dword [eax + 4], ecx
mov dword [ecx], eax
mov dword [0x5163c], eax
mov dl, byte [ebp + 0xb]
mov ecx, 0x4fb80
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
pop edi
pop esi
pop ebx
leave
ret 8
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov cx, word [eax + 0x14]
cmp cx, si
jne 0x26165
mov edi, dword [ebp - 0x14]
mov esi, dword [eax + 0x18]
movzx ecx, cx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x2615d
mov edx, dword [ebp + 0xc]
mov ecx, 0x2b10
sub edx, ecx
jne 0x36073
cmp dword [eax + 0x10], ecx
je 0x3607e
mov si, word [ebp - 0x18]
mov di, word [ebp - 0x16]
cmp dword [ebp - 0xc], 0x51638
je 0x25fc5
mov eax, dword [ebp - 0xc]
jmp 0x26127
cmp dword [ebp + 0xc], 0x2b13
jne 0x25fcf
jmp 0x2604e
lea eax, [ebx + 0x144]
cmp dword [eax], 0
jne 0x26676
mov dword [eax], 1
mov edi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
push 0x56694354
push 0x2c
push 0
call edi
mov esi, eax
test esi, esi
mov dword [ebp + 8], esi
je 0x2605c
mov eax, dword [ebx + 0xe4]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0xe8]
mov dword [esi + 0x28], eax
movzx eax, word [ebx + 0xe6]
push 0x69504354
push eax
push 0
call edi
mov edx, eax
test edx, edx
mov dword [esi + 0x28], edx
je 0x25f28
movzx ecx, word [ebx + 0xe6]
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
movzx ecx, word [ebx + 0xe4]
mov eax, dword [ebp + 8]
mov esi, dword [ebx + 0xe8]
mov edi, dword [eax + 0x28]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x4fb80
mov ecx, esi
mov dword [eax + 0x20], ebx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
inc dword [ebx + 0xd0]
mov dl, al
mov ecx, esi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push 0x26740
push dword [ebp + 8]
call sub.TDI.SYS_CTEInitEvent
push dword [ebp + 8]
push dword [ebp + 8]
call sub.TDI.SYS_CTEScheduleDelayedEvent
jmp 0x25f28
and dword [ebx + 0x144], 0
push 0x56694354
push 0x2c
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
test esi, esi
mov dword [ebp + 8], esi
je 0x2605c
mov eax, dword [ebx + 0xe4]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0xe8]
mov dword [esi + 0x28], eax
lea edi, [ebx + 0xe6]
movzx eax, word [edi]
push 0x69504354
push eax
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov edx, eax
mov dword [esi + 0x28], edx
movzx ecx, word [edi]
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
movzx ecx, word [ebx + 0xe4]
mov eax, dword [ebp + 8]
mov esi, dword [ebx + 0xe8]
mov edi, dword [eax + 0x28]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x4fb80
mov ecx, esi
mov dword [eax + 0x20], ebx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
inc dword [ebx + 0xd0]
mov dl, al
mov ecx, esi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
push 0x43757
jmp 0x26723
and dword [0x50568], 0
mov dword [ebp + 8], eax
xor ecx, ecx
add eax, 0x38
xchg dword [eax], ecx
push dword [ebp - 5]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
movzx eax, di
lea ecx, [eax + 0x14]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x60]
cmp dword [edx + 4], ecx
mov dword [ebp - 0xc], ecx
jb 0x36058
mov ecx, dword [ebx + 0xa4]
mov cx, word [ecx + 0x16]
mov eax, dword [eax + 0xc]
mov word [eax + 4], cx
mov dx, word [ebx + 0xa0]
add dx, cx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov word [eax + 6], dx
mov word [eax + 0xc], si
mov word [eax + 0xe], di
movzx ecx, si
mov esi, dword [ebp - 0x14]
lea edx, [eax + 0x14]
mov dword [eax + 0x10], edx
mov eax, ecx
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0xc]
and dword [eax + 0x18], 0
mov si, word [ebp - 0x18]
mov di, word [ebp - 0x16]
mov dword [eax + 0x1c], ecx
mov byte [ebp - 1], 1
jmp 0x36063
and dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0xc000000d
mov ecx, dword [ebp + 8]
mov dl, 2
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp 0x25fa7
dec edx
je 0x3607e
dec edx
dec edx
jne 0x2615d
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push 0
mov dword [edx], ecx
push eax
mov dword [ecx + 4], edx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x2615d
cmp dword [ebp + 0xc], 0x2b11
jne 0x26177
jmp 0x2604e