Function at 0x289b3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x12620]
cmp eax, dword [ebp + 8]
jne 0x289e7
call dword [sym.imp.ntoskrnl.exe_KeQueryInterruptTime]
sub eax, dword [0x12628]
sbb edx, dword [0x1262c]
mov dword [ebp - 0xc], edx
jne 0x289e7
cmp eax, 0x1c9c380
jbe 0x28c36
push esi
call dword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
push 1
push dword [0x127fc]
call dword [sym.imp.ntoskrnl.exe_ExAcquireResourceExclusiveLite]
mov esi, 0x127f0
cmp dword [0x127f0], esi
je 0x28c23
mov cl, 2
call dword [sym.imp.HAL.dll_KfRaiseIrql]
mov byte [ebp - 1], al
mov eax, dword [0x127f0]
cmp eax, esi
je 0x28c1a
push ebx
push edi
jmp 0x28a2c
mov eax, dword [ebp - 8]
lea edi, [eax - 0xa0]
mov eax, dword [eax]
mov dword [ebp - 8], eax
movzx eax, word [edi]
sub eax, 0xafd2
je 0x28b40
dec eax
dec eax
je 0x28a51
dec eax
dec eax
jne 0x28c0b
mov eax, dword [edi + 4]
shr eax, 9
test al, 1
jne 0x28c0b
lea eax, [ebp - 0x18]
lea ecx, [edi + 0x1c]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLockAtDpcLevel]
lea eax, [edi + 0x28]
mov esi, dword [eax]
jmp 0x28ab7
push dword [ebp + 8]
lea ebx, [esi - 0x78]
mov esi, dword [esi]
push ebx
call fcn.0002895a
test al, al
je 0x28ab4
lea eax, [ebx + 0x78]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov dword [ecx], eax
xor ecx, ecx
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x50]
inc ecx
lock xadd dword [eax], ecx
lea eax, [edi + 0x28]
cmp esi, eax
jne 0x28a7b
lea eax, [edi + 0x30]
mov esi, dword [eax]
jmp 0x28afe
push dword [ebp + 8]
lea ebx, [esi - 0x78]
mov esi, dword [esi]
push ebx
call fcn.0002895a
test al, al
je 0x28afb
lea eax, [ebx + 0x78]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
lea edx, [ebp - 0x18]
mov dword [eax], edx
mov dword [ecx], eax
xor ecx, ecx
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x50]
inc ecx
lock xadd dword [eax], ecx
lea eax, [edi + 0x30]
cmp esi, eax
jne 0x28ac2
lea ecx, [ebp - 0x24]
call dword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLockFromDpcLevel]
jmp 0x28b21
mov eax, dword [ecx]
add ecx, 0xffffff88
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
push ecx
mov dword [eax + 4], edx
call fcn.00025b90
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x18]
cmp ecx, eax
jne 0x28b0d
cmp dword [edi + 0x50], 0
jle 0x28c0b
push edi
call fcn.0002547a
jmp 0x28c0b
mov ebx, dword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLockAtDpcLevel]
lea ecx, [edi + 0x1c]
lea edx, [ebp - 0x24]
mov dword [ebp - 0xc], ecx
call ebx
cmp byte [edi + 2], 3
mov esi, dword [edi + 0x60]
jne 0x28c02
mov eax, dword [edi + 4]
shr eax, 9
test al, 1
jne 0x28c02
xor edi, edi
cmp esi, edi
je 0x28c02
push dword [ebp + 8]
push esi
call fcn.0002895a
test al, al
je 0x28c02
xor ecx, ecx
lea eax, [esi + 0x20]
inc ecx
lock xadd dword [eax], ecx
lea ecx, [ebp - 0x24]
call dword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLockFromDpcLevel]
push esi
call fcn.0001fb6b
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 0x24]
call ebx
mov dword [esi + 0x38], edi
mov word [esi + 0x40], di
mov dword [esi + 0x3c], edi
mov word [esi + 0x42], di
mov dword [esi + 0x44], edi
lea edi, [esi + 0x30]
jmp 0x28be1
mov eax, dword [edi]
mov ecx, dword [eax]
mov dword [edi], ecx
mov dword [ecx + 4], edi
lea ecx, [eax + 0xc]
cmp dword [ecx], 1
je 0x28bd4
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x28be1
and byte [eax + 0x28], 0xfe
push dword [esi + 0x14]
push eax
call fcn.0001b3a0
cmp dword [edi], edi
jne 0x28bba
lea ecx, [ebp - 0x24]
call dword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLockFromDpcLevel]
or ecx, 0xffffffff
lea eax, [esi + 0x20]
lock xadd dword [eax], ecx
jne 0x28c0b
push esi
call fcn.0001c0b1
jmp 0x28c0b
lea ecx, [ebp - 0x24]
call dword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLockFromDpcLevel]
cmp dword [ebp - 8], 0x127f0
jne 0x28a29
pop edi
pop ebx
mov cl, byte [ebp - 1]
call dword [sym.imp.HAL.dll_KfLowerIrql]
mov ecx, dword [0x127fc]
call dword [sym.imp.ntoskrnl.exe_ExReleaseResourceLite]
call dword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
pop esi
mov eax, dword [ebp + 8]
mov dword [0x12620], eax
call dword [sym.imp.ntoskrnl.exe_KeQueryInterruptTime]
mov dword [0x12628], eax
mov dword [0x1262c], edx
leave
ret 4