Function at 0x12c5a
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.00017fca
test al, al
jne 0x12c8e
mov ecx, edi
jmp 0x12ef6
lea eax, [ebx + 4]
test eax, eax
je 0x12cab
mov eax, dword [eax + 4]
test eax, eax
je 0x12cab
mov eax, dword [eax + 0x14]
test eax, eax
je 0x12cab
add eax, 4
mov dword [ebp - 0x58], eax
jmp 0x12ccf
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, 0x1c310
call edi
mov byte [ebp - 0x51], al
mov eax, dword [ebx + 0x18]
cdq
push edx
push eax
push dword [0x1c31c]
call fcn.00011072
test eax, eax
je 0x12ee5
mov ecx, dword [ebp - 0x58]
lea ebx, [eax - 8]
movzx eax, word [ecx]
mov dword [ebp - 0x60], ebx
cmp ax, 0x4b
ja 0x12d23
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.000195d8
mov dword [ebx + 0x38], eax
call fcn.00017fca
test al, al
je 0x12ee5
mov eax, dword [ebx + 0x38]
test al, 0x10
je 0x12e21
test al, 0x20
jne 0x12d66
push dword [ebx + 0x3c]
call fcn.00012bda
test al, al
jne 0x12e21
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, 0x14162
xchg dword [ecx], eax
push ebx
lea ebx, [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov dword [esi + 0x18], 0x103
call fcn.00012510
push 0x43
mov eax, ebx
mov ebx, dword [ebp - 0x60]
push eax
push dword [ebx + 0x2c]
push dword [ebx + 0x28]
push 0x13
call fcn.00018c7a
test eax, eax
jl 0x12de7
mov dl, byte [ebp - 0x51]
mov ecx, 0x1c310
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, 0x103
jmp 0x12f05
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 0x12e27
mov edi, dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov eax, dword [ebx + 0x38]
test al, 1
je 0x12e57
mov dl, byte [ebp - 0x51]
mov ecx, 0x1c310
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 0x12f05
and eax, 0xa
cmp al, 0xa
jne 0x12e8e
push ebx
lea ebx, [ebp - 0x48]
call fcn.00012510
push 0x43
mov eax, ebx
push eax
mov eax, dword [ebp - 0x60]
push dword [eax + 0x2c]
push dword [eax + 0x28]
push 0
call fcn.00018c7a
mov dl, byte [ebp - 0x51]
mov ecx, 0x1c310
call edi
and dword [esi + 0x18], 0
xor edi, edi
jmp 0x12e42
mov dl, byte [ebp - 0x51]
mov ecx, 0x1c310
call edi
push 0x32544c46
push 0x14
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test eax, eax
je 0x12ef3
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], 0x12a2a
mov dword [ecx - 4], eax
mov byte [ecx - 0x21], 0xe0
mov ecx, dword [ebp - 0x5c]
jmp 0x12efd
mov dl, byte [ebp - 0x51]
mov ecx, 0x1c310
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.000199dd
leave
ret 0xc