Function at 0x12140
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x5c], edi
call fcn.00017200
test al, al
jne 0x12174
mov ecx, edi
jmp 0x123d7
lea eax, [ebx + 4]
test eax, eax
je 0x12191
mov eax, dword [eax + 4]
test eax, eax
je 0x12191
mov eax, dword [eax + 0x14]
test eax, eax
je 0x12191
add eax, 4
mov dword [ebp - 0x58], eax
jmp 0x121b5
push 0x4b
lea eax, [ebp - 0x50]
push 0
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
lea eax, [ebp - 0x50]
push 0xe
mov dword [ebp - 0x58], eax
pop eax
push 2
mov word [ebp - 0x50], ax
pop eax
mov word [ebp - 0x4e], ax
mov edi, dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, 0x1abb0
call edi
mov byte [ebp - 0x51], al
mov eax, dword [ebx + 0x18]
cdq
push edx
push eax
push dword [0x1abbc]
call fcn.000104f2
test eax, eax
je 0x123c6
mov ecx, dword [ebp - 0x58]
lea ebx, [eax - 8]
movzx eax, word [ecx]
mov dword [ebp - 0x60], ebx
cmp ax, 0x4b
ja 0x12209
movzx eax, ax
inc eax
inc eax
push eax
add ecx, 2
push ecx
lea eax, [ebx + 0x8b]
push eax
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
push ebx
mov byte [ebx + 0xd6], 2
mov byte [ebx + 0xd7], 1
call fcn.00018778
mov dword [ebx + 0x38], eax
call fcn.00017200
test al, al
je 0x123c6
test byte [ebx + 0x38], 0x10
je 0x12302
push dword [ebx + 0x3c]
call fcn.0001201c
test al, al
jne 0x12302
mov eax, dword [esi + 0x60]
or byte [eax + 3], 1
lea ecx, [ebx + 0x13c]
call edi
lea ecx, [ebx + 0x11c]
mov edx, dword [ecx + 4]
lea edi, [esi + 0x58]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [edx], edi
mov dword [ecx + 4], edi
mov dl, al
lea ecx, [ebx + 0x13c]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
lea ecx, [esi + 0x38]
mov eax, 0x1209c
xchg dword [ecx], eax
push ebx
lea ebx, [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov dword [esi + 0x18], 0x103
call fcn.00011952
push 0x43
mov eax, ebx
mov ebx, dword [ebp - 0x60]
push eax
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push 0x13
call fcn.00017e1e
test eax, eax
jl 0x122c8
mov dl, byte [ebp - 0x51]
mov ecx, 0x1abb0
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, 0x103
jmp 0x123e6
add ebx, 0x13c
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [edx], ecx
mov dword [ecx + 4], edx
mov dword [edi + 4], edi
mov dword [edi], edi
mov edi, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov dl, al
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x58]
lea eax, [esi + 0x38]
xchg dword [eax], ecx
and dword [esi + 0x18], 0
mov ebx, dword [ebp - 0x60]
jmp 0x12308
mov edi, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [ebx + 0x38]
test al, 1
je 0x12338
mov dl, byte [ebp - 0x51]
mov ecx, 0x1abb0
call edi
mov eax, 0xc00000bc
mov dword [esi + 0x18], eax
mov edi, eax
and dword [esi + 0x1c], 0
xor dl, dl
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
jmp 0x123e6
and eax, 0xa
cmp al, 0xa
jne 0x1236f
push ebx
lea ebx, [ebp - 0x48]
call fcn.00011952
push 0x43
mov eax, ebx
push eax
mov eax, dword [ebp - 0x60]
push dword [eax + 0x2c]
push dword [eax + 0x28]
push 0
call fcn.00017e1e
mov dl, byte [ebp - 0x51]
mov ecx, 0x1abb0
call edi
and dword [esi + 0x18], 0
xor edi, edi
jmp 0x12323
mov dl, byte [ebp - 0x51]
mov ecx, 0x1abb0
call edi
push 0x32544c46
push 0x14
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test eax, eax
je 0x123d4
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x1c]
mov dword [eax], edx
mov dword [eax + 8], ebx
mov edx, dword [ecx + 0x20]
mov dword [eax + 4], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xc], edx
mov cl, byte [ecx + 3]
mov byte [eax + 0x10], cl
inc byte [esi + 0x23]
add dword [esi + 0x60], 0x24
mov ecx, dword [esi + 0x60]
mov dword [ecx - 8], 0x11e6c
mov dword [ecx - 4], eax
mov byte [ecx - 0x21], 0xe0
mov ecx, dword [ebp - 0x5c]
jmp 0x123de
mov dl, byte [ebp - 0x51]
mov ecx, 0x1abb0
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ecx, dword [ebp - 0x5c]
inc byte [esi + 0x23]
add dword [esi + 0x60], 0x24
mov edx, esi
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00018ec0
leave
ret 0xc