Function at 0x1dd7c
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 0xc]
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
push edi
lea ecx, [ebx + 0xbc]
push 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
pop edx
xor eax, eax
lock cmpxchg dword [ecx], edx
test eax, eax
jne 0x21454
mov al, byte [ebx + 2]
cmp al, 2
jne 0x2145e
lea ecx, [ebx + 0x1c]
lea edx, [ebp - 0x14]
call dword [sym.imp.HAL.dll_KeAcquireInStackQueuedSpinLock]
mov eax, dword [ebx + 0x58]
test eax, eax
jne 0x21470
test eax, eax
mov edi, 0xd2646641
jne 0x21484
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
cmp eax, dword [0x1200c]
ja 0x214b3
mov eax, dword [0x127fc]
add eax, 0x1c8
push eax
call fcn.000104d1
test eax, eax
mov dword [ebx + 0x58], eax
je 0x214c4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov edi, dword [ebx + 0x58]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx ecx, byte [ebp + 0x10]
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x10]
shl ecx, 4
xor ecx, dword [ebx + 0x5c]
mov dword [ebx + 0x54], eax
and ecx, 0x10
xor dword [ebx + 0x5c], ecx
mov ecx, dword [ebx + 4]
xor eax, eax
shr ecx, 0xf
test cl, 1
mov dword [ebx + 0x80], eax
je 0x214d4
and byte [ebx + 0x25], 0xfe
lea ecx, [ebp - 0x14]
mov dword [ebx + 0xe4], eax
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
mov edx, dword [ebp + 0xc]
mov ecx, 0x1ded6
mov eax, ecx
test eax, eax
je 0x21540
mov eax, dword [edx + 0x60]
sub eax, 0x24
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ebx
mov byte [eax + 3], 0xe0
mov eax, dword [edx + 0x60]
sub eax, 0x24
mov byte [eax], 0xf
mov byte [eax + 1], 3
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x18], ecx
mov dword [eax + 8], esi
add esi, 0x18
xor ecx, ecx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], 0x11600
lea eax, [ebx + 0x84]
inc ecx
lock xadd dword [eax], ecx
mov ecx, dword [ebx + 0x14]
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
pop edi
pop esi
pop ebx
leave
ret 0xc
mov edi, 0xc000000d
jmp 0x21509
cmp al, 3
je 0x1ddbb
mov edi, 0xc000000d
jmp 0x21503
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebp - 4]
cmp ecx, dword [edx + 0x10]
jae 0x1de0c
jmp 0x1ddd2
mov ecx, dword [ebx + 0x54]
cmp ecx, dword [0x1200c]
ja 0x214a2
push eax
mov eax, dword [0x127fc]
add eax, 0x1c8
push eax
call fcn.000104a6
jmp 0x214aa
push edi
push eax
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
and dword [ebx + 0x58], 0
jmp 0x1dddf
push 0
push edi
push eax
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTagPriority]
jmp 0x1de01
lea ecx, [ebp - 0x14]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
mov edi, 0xc000009a
jmp 0x21503
or byte [ebx + 0xf], 2
push eax
push 0x44
push ebx
mov byte [ebx + 2], 3
call fcn.000103d2
lea ecx, [ebp - 0x14]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
test byte [ebx + 0xe], 1
je 0x214fe
push 0
push 0x44
push ebx
call fcn.00010545
mov esi, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp - 8]
and dword [eax], 0
mov ecx, dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
push 0xc9646641
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
and dword [esi + 0xc], 0
and dword [esi + 0x1c], 0
mov dword [esi + 0x18], edi
mov dl, byte [0x12011]
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, edi
jmp 0x1deca
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x60]
and dword [eax - 8], 0
sub eax, 0x24
and dword [eax + 0x20], 0
mov byte [eax + 3], 0
jmp 0x1de8b