Function at 0x185c3
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
call dword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
mov esi, dword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
push 1
push dword [0x127fc]
call esi
xor ebx, ebx
cmp dword [0x12574], ebx
je 0x1878f
push 1
push dword [0x12578]
call esi
push dword [0x12574]
call sub.TDI.SYS_TdiDeregisterPnPHandlers
mov dword [0x12574], ebx
mov esi, 0x12750
jmp 0x18629
mov eax, dword [ecx]
push 0xf4646641
mov dword [0x12750], eax
push ecx
mov dword [eax + 4], esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov ecx, dword [0x12750]
cmp ecx, esi
jne 0x18613
cmp dword [0x127f0], 0x127f0
je 0x18783
lea eax, [ebp - 0x14]
push edi
lea edx, [ebp - 0x2c]
mov ecx, 0x12740
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.HAL.dll_KeAcquireInStackQueuedSpinLock]
mov edi, dword [0x12748]
cmp edi, 0x12748
je 0x18721
lea eax, [edi + 0xe]
cmp byte [eax], 0
mov dword [ebp - 4], eax
lea eax, [edi + 8]
mov esi, edi
mov dword [ebp - 8], eax
je 0x18687
mov edx, dword [eax]
lea ebx, [edi - 0x10]
jmp 0x18698
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 0x60]
lea ebx, [eax + 4]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 0xc]
mov eax, dword [esi]
mov edi, dword [edi]
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [ebp - 4]
and dword [esi], 0
cmp byte [eax], 0
jne 0x186bd
mov ecx, dword [ebp - 0xc]
xor eax, eax
add ecx, 0x38
xchg dword [ecx], eax
test eax, eax
je 0x18713
lea ecx, [edx + 0x1c]
lea edx, [ebp - 0x20]
call dword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLockAtDpcLevel]
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
je 0x18702
mov ebx, dword [ebx + 4]
mov dword [ebx], eax
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], esi
cmp byte [eax], cl
je 0x1870a
mov eax, dword [ebp - 8]
push ecx
push 0x1000
push dword [eax]
call fcn.000103d2
jmp 0x1870a
cmp dword [ebx + 4], ecx
je 0x1870a
mov dword [ebx + 4], ecx
lea ecx, [ebp - 0x20]
call dword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLockFromDpcLevel]
cmp edi, 0x12748
jne 0x1866d
xor ebx, ebx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
pop edi
jmp 0x18779
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
mov dword [eax + 4], ecx
cmp byte [esi + 0xe], 0
je 0x18764
mov eax, dword [esi + 8]
test byte [eax + 0xe], 1
je 0x18753
push ebx
push 0x1000
push eax
call fcn.00010545
push 0xe8646641
add esi, 0xfffffff0
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x18779
mov ecx, dword [esi + 8]
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], ebx
mov dl, byte [0x12011]
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
cmp esi, eax
jne 0x1872d
mov ecx, dword [0x12578]
call dword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
mov ecx, dword [0x127fc]
call dword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call dword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
pop esi
pop ebx
leave
ret 4