Function at 0x11168
Capabilities:
Complete processing asynchronous io request

Disassembly:
push 0x44
push 0x1d338
call fcn.0001c2e4
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoGetRelatedDeviceObject]
mov dword [ebp - 0x24], eax
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
push 0x46
call fcn.00015866
mov esi, eax
mov dword [ebp - 0x1c], esi
cmp esi, ebx
jne 0x111a8
mov eax, 0xc000009a
jmp 0x11398
push 0x46
push ebx
push esi
call sub.ntoskrnl.exe_memset
add esp, 0xc
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea eax, [esi + 0x18]
mov dword [ebp - 0x34], eax
mov dword [eax + 0x10], 0x16
lea ecx, [eax + 0x18]
mov dword [eax + 0x14], ecx
mov eax, ecx
mov dword [ebp - 0x28], eax
xor ecx, ecx
inc ecx
mov dword [eax], ecx
push 0xe
pop edx
mov word [eax + 4], dx
push 2
pop edx
mov word [eax + 6], dx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x54]
push eax
push ecx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x24]
push 3
call dword [sym.imp.ntoskrnl.exe_IoBuildDeviceIoControlRequest]
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp edi, ebx
jne 0x1120e
push esi
call fcn.00015880
jmp 0x1119e
mov esi, dword [ebp + 0x18]
cmp esi, ebx
je 0x1128e
push ebx
push ebx
push ebx
push esi
push dword [ebp + 0x14]
call dword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov dword [ebp + 0x14], eax
cmp eax, ebx
jne 0x11235
push edi
call dword [sym.imp.ntoskrnl.exe_IoFreeIrp]
push dword [ebp - 0x1c]
jmp 0x11207
mov dword [ebp - 4], ebx
push 1
push ebx
push eax
call dword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x11286
cmp eax, ebx
jl 0x11398
mov dword [ebp - 0x20], ebx
mov eax, dword [edi + 0x60]
sub eax, 0x24
mov dword [eax + 0x1c], 0x11142
lea ecx, [ebp - 0x20]
mov dword [eax + 0x20], ecx
mov byte [eax + 3], 0xe0
mov eax, dword [edi + 0x60]
sub eax, 0x24
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov byte [eax + 3], bl
mov eax, dword [edi + 0x60]
sub eax, 0x24
mov byte [eax], 0xf
mov byte [eax + 1], 0xa
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp + 8]
mov dword [eax + 0x18], edx
mov dword [eax + 4], esi
mov edx, dword [ebp - 0x1c]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x34]
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0x10], edx
neg esi
sbb esi, esi
and esi, dword [ebp + 0x14]
mov dword [edi + 4], esi
mov edx, edi
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov esi, eax
cmp esi, 0x103
jne 0x11367
mov dword [ebp - 0x44], 0xf4143e00
or dword [ebp - 0x40], 0xffffffff
lea eax, [ebp - 0x44]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov esi, eax
cmp esi, 0x102
jne 0x11364
xor eax, eax
inc eax
lea ecx, [ebp - 0x20]
xchg dword [ecx], eax
test eax, eax
jne 0x11351
push edi
call dword [sym.imp.ntoskrnl.exe_IoCancelIrp]
push 2
pop eax
lea ecx, [ebp - 0x20]
xchg dword [ecx], eax
cmp eax, 3
jne 0x11351
xor dl, dl
mov ecx, edi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov dword [ebp - 0x3c], ebx
jmp 0x11367
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x11376
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx + 0xa]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x11387
mov ecx, dword [ebp - 0x28]
mov cx, word [ecx + 8]
mov word [eax], cx
push dword [ebp - 0x1c]
call fcn.00015880
cmp esi, ebx
mov eax, dword [ebp - 0x38]
jge 0x11398
mov eax, esi
call fcn.0001c329
ret 0x18