Function at 0x1b28b
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ObfReferenceObject]
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov dword [ebp - 8], edi
je 0x1b2f0
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [sym.imp.ntoskrnl.exe_IoFileObjectType]
push edi
push dword [eax]
push edi
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
cmp eax, edi
jl 0x1b549
mov eax, dword [ebp - 4]
test byte [eax + 0x2c], 2
je 0x1b330
xor edx, edx
mov ecx, eax
inc edx
add eax, 0x44
xchg dword [eax], edx
test edx, edx
jne 0x1b2fd
call esi
mov eax, dword [ebp - 4]
add eax, 0x5c
push eax
call dword [sym.imp.ntoskrnl.exe_KeClearEvent]
mov byte [ebp + 0xb], 1
jmp 0x1b341
mov ecx, dword [ebp + 0xc]
call esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
jmp 0x1b2c7
lea eax, [ebp + 0xb]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
shr ecx, 2
and ecx, 0xffffff01
push ecx
push edi
push eax
call fcn.0001a1d1
cmp byte [ebp + 0xb], 0
mov esi, eax
je 0x1b2dd
mov ecx, dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, esi
jmp 0x1b549
push edi
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov byte [ebp + 0xb], 0
push dword [ebp - 4]
call fcn.0001a362
cmp byte [ebp + 0xb], 0
mov dword [ebp + 0xc], eax
movsx eax, byte [eax + 0x30]
sete cl
push ecx
push eax
call dword [sym.imp.ntoskrnl.exe_IoAllocateIrp]
mov esi, eax
cmp esi, edi
jne 0x1b378
push edi
push dword [ebp - 4]
call fcn.0001a417
mov eax, 0xc000009a
jmp 0x1b549
mov eax, dword [ebp - 4]
mov dword [esi + 0x64], eax
call sub.ntoskrnl.exe_KeGetCurrentThread
cmp byte [ebp + 0xb], 0
mov dword [esi + 0x50], eax
mov byte [esi + 0x20], 0
je 0x1b395
mov dword [esi + 0x2c], edi
jmp 0x1b3a2
lea eax, [ebp - 0x20]
mov dword [esi + 0x2c], eax
mov dword [esi + 8], 4
mov edi, dword [esi + 0x60]
sub edi, 0x24
lea eax, [ebp - 0x10]
mov dword [esi + 0x28], eax
mov byte [edi], 6
mov eax, dword [ebp - 4]
mov dword [edi + 0x18], eax
or dword [esi + 8], 0x10
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [esi + 0xc], ebx
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [edi + 8], eax
call sub.ntoskrnl.exe_IoEnqueueIrp
mov eax, dword [ebp + 0x10]
cmp eax, 0x10
jne 0x1b43c
mov eax, dword [ebp - 4]
test byte [eax + 0x2c], 8
jne 0x1b3f7
test byte [ebx], 2
je 0x1b3f0
or dword [eax + 0x2c], 0x10
jmp 0x1b3f4
and dword [eax + 0x2c], 0xffffffef
mov eax, dword [ebp - 4]
test byte [ebx], 4
je 0x1b402
or dword [eax + 0x2c], 0x20
jmp 0x1b406
and dword [eax + 0x2c], 0xffffffdf
mov ebx, dword [ebx]
test bl, 2
je 0x1b41f
test bl, 0x10
mov eax, dword [ebp - 4]
je 0x1b41b
or dword [eax + 0x2c], 4
jmp 0x1b41f
and dword [eax + 0x2c], 0xfffffffb
add dword [esi + 0x60], 0xffffffdc
xor ebx, ebx
xor edi, edi
dec byte [esi + 0x23]
xor dl, dl
mov ecx, esi
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp 0x1b4ac
cmp eax, 0xa
je 0x1b45a
cmp eax, 0xb
je 0x1b45a
cmp eax, 0x1f
je 0x1b45f
cmp eax, 0xd
push esi
push dword [ebp + 0xc]
jne 0x1b4a3
and dword [edi + 0x10], 0
jmp 0x1b4a3
cmp eax, 0x1f
jne 0x1b466
mov eax, dword [ebx]
mov dword [edi + 0x10], eax
jmp 0x1b46b
mov al, byte [ebx]
mov byte [edi + 0x10], al
cmp word [ebx + 0xc], 0x5c
je 0x1b478
cmp dword [ebx + 4], 0
je 0x1b49f
push dword [ebp - 4]
lea eax, [ebp - 8]
push ebx
push esi
push eax
call fcn.0001b119
mov edi, eax
test edi, edi
jge 0x1b49f
dec byte [esi + 0x23]
add dword [esi + 0x60], 0xffffffdc
mov dl, 2
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
jmp 0x1b4aa
push esi
push dword [ebp + 0xc]
call fcn.0001a39b
mov edi, eax
xor ebx, ebx
cmp byte [ebp + 0xb], 0
je 0x1b517
cmp edi, 0x103
jne 0x1b4ee
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ebx
shr ecx, 2
and ecx, 0xffffff01
push ecx
push ebx
push ebx
add eax, 0x5c
push eax
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
cmp eax, 0x101
jne 0x1b4eb
mov eax, dword [ebp - 4]
push esi
add eax, 0x5c
push eax
call fcn.0001a4e9
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor eax, eax
add ecx, 0x44
xchg dword [ecx], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x40], ebx
je 0x1b50f
push ebx
push ebx
add ecx, 0x4c
push ecx
call dword [sym.imp.ntoskrnl.exe_KeSetEvent]
mov ecx, dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1b530
cmp edi, 0x103
jne 0x1b530
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov edi, dword [ebp - 0x10]
cmp dword [ebp - 8], ebx
pop ebx
je 0x1b547
push dword [ebp - 8]
call fcn.0001d01e
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
pop edi
pop esi
leave
ret 0x14