Function at 0x10a5e
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
push esi
mov esi, dword [eax + 0x38]
push edi
lea edi, [eax + 0x10]
mov ecx, edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
call ebx
mov dl, al
mov eax, dword [ebp + 8]
cmp byte [eax + 0x10], 2
mov byte [ebp + 0xf], dl
jne 0x10a9b
mov ecx, edi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
jmp 0x10cda
mov edi, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
lea ecx, [eax + 0x28]
cmp dword [ecx], ecx
mov byte [eax + 0x10], 2
je 0x10b84
jmp 0x10ab5
mov eax, dword [ebp + 8]
add eax, 0x28
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 8]
and dword [esi + 8], 0
add esi, 0xfffffe1c
add ecx, 0xc0
call ebx
mov ecx, dword [esi + 0xc]
test ecx, ecx
mov dl, al
jne 0x10b0f
and dword [esi + 0x1e0], ecx
mov ecx, dword [ebp - 8]
add ecx, 0xc0
call edi
mov dl, byte [ebp + 0xf]
mov ecx, dword [ebp - 4]
call edi
mov eax, dword [ebp + 8]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10b6b
push eax
call fcn.000108fe
jmp 0x10b6b
or dword [esi + 0x134], 0xffffffff
and dword [esi + 0x150], 0
inc ecx
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 8]
add ecx, 0xc0
call edi
mov dl, byte [ebp + 0xf]
mov ecx, dword [ebp - 4]
call edi
lea ecx, [esi + 4]
call ebx
mov byte [ebp - 0xc], al
push dword [ebp - 0xc]
push 0xc0000141
push esi
call fcn.000148f0
mov ecx, dword [esi + 8]
call ebx
dec dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dl, al
jne 0x10b69
inc dword [esi + 0x154]
call edi
push esi
call fcn.00013c06
jmp 0x10b6b
call edi
mov ecx, dword [ebp - 4]
call ebx
mov byte [ebp + 0xf], al
mov eax, dword [ebp + 8]
add eax, 0x28
cmp dword [eax], eax
jne 0x10ab2
mov esi, dword [ebp - 8]
mov dl, byte [ebp + 0xf]
mov ecx, dword [ebp - 4]
call edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0xc0]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ecx
call ebx
add esi, 0x140
mov edx, dword [esi]
mov byte [ebp + 0xf], al
mov dword [ebp - 0xc], esi
jmp 0x10be0
mov eax, dword [ebp + 8]
lea ecx, [edx - 0x30]
cmp dword [ecx + 0x40], eax
mov edx, dword [edx]
jne 0x10be0
mov esi, dword [ecx + 0x34]
add ecx, 0x30
mov eax, dword [ecx]
mov dword [esi], eax
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x1c]
mov dword [ecx], esi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov dword [eax], ecx
mov dword [ebp - 0x18], ecx
cmp edx, esi
jne 0x10bb3
mov dl, byte [ebp + 0xf]
mov ecx, dword [ebp - 0x10]
call edi
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
cmp esi, eax
je 0x10c45
mov eax, dword [ebp - 8]
add eax, 0x100
mov dword [ebp - 0x10], eax
lea eax, [esi - 0x30]
mov ecx, dword [eax + 0x38]
mov esi, dword [esi]
and dword [ecx + 0x18], 0
mov dl, 2
mov dword [ebp + 0xc], eax
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
add eax, 0xc
lock xadd dword [eax], ecx
jne 0x10c2f
push dword [ebp + 8]
call fcn.000108fe
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
add edx, 0x2c
call dword [sym.imp.ntoskrnl.exe_InterlockedPushEntrySList]
lea eax, [ebp - 0x1c]
cmp esi, eax
jne 0x10c01
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
mov ecx, dword [ebp - 4]
call ebx
mov esi, dword [ebp + 8]
lea ebx, [esi + 0x30]
cmp dword [ebx], ebx
mov byte [ebp + 0xf], al
je 0x10cb0
add esi, 0xc
mov eax, dword [ebx]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
lea edx, [ebp - 0x24]
mov dword [eax], edx
mov dword [ecx], eax
mov dword [ebp - 0x20], eax
and dword [eax - 0x3c], 0
mov dword [eax - 0x40], 0xc00000c9
xor ecx, ecx
add eax, 0xffffffe0
xchg dword [eax], ecx
or eax, 0xffffffff
lock xadd dword [esi], eax
jne 0x10cac
push dword [ebp + 8]
call fcn.000108fe
cmp dword [ebx], ebx
jne 0x10c70
mov dl, byte [ebp + 0xf]
mov ecx, dword [ebp - 4]
call edi
push dword [ebp - 0x14]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
mov esi, dword [ebp - 0x24]
jmp 0x10cd3
lea ecx, [esi - 0x58]
mov esi, dword [esi]
mov dl, 2
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
lea eax, [ebp - 0x24]
cmp esi, eax
jne 0x10cc6
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8