Function at 0x2b3b1
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x60]
push esi
mov esi, dword [ebx + 0xc]
test esi, esi
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 0x18]
push edi
mov edi, dword [eax + 0xc]
mov dword [ebp - 8], edi
je 0x2b48c
call dword [sym.imp.HAL.dll_KeGetCurrentIrql]
mov byte [ebp + 0xb], al
lea eax, [esi + 8]
cmp dword [eax], 0
je 0x2b411
mov dword [esi + 0xc], eax
lea eax, [esi + 0x10]
mov dword [esi + 0x14], eax
mov al, 1
cmp al, byte [ebp + 0xb]
sbb al, al
inc al
push eax
push ebx
call fcn.0002a769
test al, al
jne 0x2b411
push ebx
jmp 0x2b6b6
and dword [ebp - 0xc], 0
cmp word [esi + 0x2c], 0
jbe 0x2b47a
lea edi, [esi + 0x68]
mov eax, dword [edi]
xor ecx, ecx
cmp eax, ecx
je 0x2b468
cmp dword [eax + 4], ecx
je 0x2b462
mov edx, dword [eax + 4]
lea eax, [esi + 8]
mov dword [eax], edx
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + 4], ecx
mov edx, dword [edi]
mov edx, dword [edx + 0x34]
lea eax, [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x14], eax
mov eax, dword [edi]
mov dword [eax + 0x34], ecx
mov al, 1
cmp al, byte [ebp + 0xb]
sbb al, al
inc al
push eax
push ebx
call fcn.0002a769
test al, al
je 0x2b40b
mov eax, dword [edi]
mov byte [eax + 0x24], 0
movzx eax, word [esi + 0x2c]
inc dword [ebp - 0xc]
add edi, 4
cmp dword [ebp - 0xc], eax
jl 0x2b41f
mov edi, dword [ebp - 8]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x2b48c
push eax
call dword [sym.imp.ntoskrnl.exe_IoFreeIrp]
and dword [esi + 0x18], 0
lea ecx, [edi + 0x1c]
lea edx, [ebp - 0x1c]
call dword [sym.imp.HAL.dll_KeAcquireInStackQueuedSpinLock]
mov eax, dword [ebx + 0x18]
test eax, eax
jl 0x2b54c
mov ecx, dword [ebp - 0x10]
test byte [ecx + 0xc], 2
je 0x2b539
mov edi, dword [edi + 0x60]
test edi, edi
je 0x2b536
or word [edi + 6], 0x110
mov eax, dword [ebp - 8]
and dword [eax + 0x60], 0
mov dword [eax + 0xb4], edi
or dword [ebx + 0xc], 0xffffffff
mov eax, 0x100
test dword [ebx + 0x4c], eax
je 0x2b500
mov ecx, dword [edi + 4]
test eax, ecx
jne 0x2b500
test cl, 0x10
jne 0x2b500
lea ecx, [ebp - 0x1c]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
push 4
xor eax, eax
push eax
push eax
push eax
push eax
push edi
push dword [ebp - 8]
call fcn.0001c90a
jmp 0x2b511
push 1
push edi
call fcn.0001c64e
lea ecx, [ebp - 0x1c]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
lea eax, [edi + 0x20]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x2b523
push edi
call fcn.0001c24b
test esi, esi
je 0x2b6e3
push esi
call fcn.0002a3a8
jmp 0x2b6e3
mov edi, dword [ebp - 8]
test eax, eax
jl 0x2b54c
lea eax, [edi + 0xb8]
cmp dword [eax], ebx
jne 0x2b596
and dword [eax], 0
jmp 0x2b596
mov eax, dword [edi + 0xb8]
cmp eax, ebx
jne 0x2b581
lea eax, [ebx + 0x40]
mov ecx, dword [eax]
test ecx, ecx
je 0x2b576
cmp ecx, eax
je 0x2b573
mov edx, dword [eax + 4]
add ecx, 0xffffffc0
mov dword [ebp - 4], ecx
mov ecx, dword [eax]
mov dword [edx], ecx
mov dword [ecx + 4], edx
and dword [eax], 0
mov eax, dword [ebp - 4]
mov dword [edi + 0xb8], eax
jmp 0x2b596
test eax, eax
je 0x2b596
push eax
mov dword [ebp - 4], eax
call fcn.0002a377
test al, al
jne 0x2b596
and dword [ebp - 4], 0
cmp dword [ebx + 0x18], 0
jl 0x2b5cc
test dword [ebx + 0x4c], 0x100
je 0x2b5cc
mov eax, dword [edi + 0x60]
test eax, eax
mov dword [ebp + 8], eax
je 0x2b5cc
xor ecx, ecx
add eax, 0x20
inc ecx
lock xadd dword [eax], ecx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
push dword [ebp + 8]
call fcn.00025b81
jmp 0x2b5d5
lea ecx, [ebp - 0x1c]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
xor eax, eax
lea ecx, [ebx + 0x38]
xchg dword [ecx], eax
test eax, eax
jne 0x2b608
lea eax, [ebp + 8]
push eax
call dword [sym.imp.ntoskrnl.exe_IoAcquireCancelSpinLock]
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IoReleaseCancelSpinLock]
lea edx, [ebp - 0x1c]
lea ecx, [edi + 0x1c]
call dword [sym.imp.HAL.dll_KeAcquireInStackQueuedSpinLock]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.HAL.dll_KeReleaseInStackQueuedSpinLock]
mov eax, dword [ebp - 0x10]
test byte [eax + 0xc], 1
je 0x2b618
and dword [edi + 0xbc], 0
cmp dword [ebx + 0x5c], 0
sete byte [ebp + 0xb]
and dword [ebx + 0xc], 0
test esi, esi
je 0x2b62e
push esi
call fcn.0002a3a8
mov dl, byte [0x12011]
mov ecx, ebx
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
xor ebx, ebx
cmp dword [0x12764], ebx
jbe 0x2b650
cmp byte [ebp + 0xb], bl
je 0x2b650
call fcn.0002b343
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x2b6e3
cmp dword [esi + 0xc], ebx
je 0x2b6bd
mov di, word [edi]
cmp di, 0xafd0
je 0x2b69e
cmp di, 0xafd2
je 0x2b69e
cmp di, 0xafd4
je 0x2b69e
cmp di, 0xafd6
je 0x2b69e
cmp dword [0x12764], ebx
je 0x2b691
push esi
call fcn.0002a2a4
test al, al
jne 0x2b6e3
push esi
push fcn.00019697
call fcn.0002a555
jmp 0x2b6e3
push 0xc0000120
push esi
call fcn.0002a18a
lea eax, [esi + 0x48]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x2b6e3
push esi
push fcn.0002b3b1
jmp 0x2b697
mov eax, dword [esi + 0x60]
test byte [eax + 0xc], 2
jne 0x2b6d1
push 0xc0000120
push esi
call fcn.0002a18a
lea eax, [esi + 0x48]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x2b6e3
push esi
call fcn.0002b3b1
pop edi
pop esi
pop ebx
leave
ret 4