KiInterruptSubDispatchNoLockNoEtw
CHAR __fastcall KiInterruptSubDispatchNoLockNoEtw(){
__int64 v0;
_KINTERRUPT *v1;
unsigned __int8 CurrentIrql;
struct _KPRCB *CurrentPrcb;
unsigned __int64 v4;
int v5;
_DWORD *v6;
__int64 v7;
UINT64 v8;
__int64 v9;
UINT64 v10;
int v11;
CHAR result;
CurrentIrql = KeGetCurrentIrql();
__writecr8(v1->SynchronizeIrql);
*(_BYTE *)(v0 - 87) = CurrentIrql;
*(_DWORD *)(v0 - 96) = 0;
CurrentPrcb = KeGetCurrentPrcb();
if( ++*((_BYTE *)CurrentPrcb + 32) == 1 )
{
v4 = __rdtsc();
v5 = *((_DWORD *)CurrentPrcb + 8568);
v6 = (_DWORD *)((char *)CurrentPrcb + 4 * ((unsigned __int16)(v5 & 0x7FF) >> 5) + 34276);
*v6 = v4 ^ __ROR4__(*v6, 5);
*((_DWORD *)CurrentPrcb + 8568) = ++v5;
if( (v5 & 0x3FF) == 0 )
*(_DWORD *)(v0 - 96) = 1;
v7 = *((_QWORD *)CurrentPrcb + 1);
v8 = v4 - *((_QWORD *)CurrentPrcb + 4056);
*(_QWORD *)(v7 + 72) += v8;
v9 = *(unsigned int *)(v7 + 80);
*((_QWORD *)CurrentPrcb + 4056) += v8;
v10 = v8 + v9;
v11 = v10;
if( HIDWORD(v10) )
v11 = -1;
*(_DWORD *)(v7 + 80) = v11;
if( (*(_BYTE *)(v7 + 2) & 0x3E) != 0 )
KiEndThreadAccountingPeriod(KeGetCurrentPrcb(), (_KTHREAD *)v7, v8);
}
_enable();
if( *(_DWORD *)(v0 - 96) )
KiEntropyQueueDpc((__int64)KeGetCurrentPrcb());
v1->TrapFrame = (_KTRAP_FRAME *)(v0 - 128);
result = KiCallInterruptServiceRoutine(v1, 0);
_disable();
return result;
}Referenced by:
No references.