VOID __stdcall KiIncrementConcurrencyCount(_DISPATCHER_HEADER *Queue, _ETHREAD *Thread){
volatile signed __int32 *v2;
if( (*(_BYTE *)Queue & 0x7F) == 21 )
{
Thread->Tcb.QueuePriority = (unsigned __int8)Thread->Tcb.QueuePriority;
v2 = (volatile signed __int32 *)((char *)Queue + 4 * (unsigned int)Thread->Tcb.QueuePriority + 536);
}
else
{
v2 = (volatile signed __int32 *)((char *)Queue + 40);
}
_InterlockedIncrement(v2);
}