MmLockLoadedModuleListShared

void __fastcall MmLockLoadedModuleListShared(unsigned __int8 *a1){
  unsigned __int8 CurrentIrql; 

  CurrentIrql = KeGetCurrentIrql();
  *a1 = CurrentIrql;
  if( CurrentIrql < 0xFu )
  {
    KeGetCurrentIrql();
    __writecr8(0xFui64);
  }
  ExAcquireSpinLockSharedAtDpcLevel((PEX_SPIN_LOCK)&PsLoadedModuleSpinLock);
}

Referenced by:

MiIsAddressInDriverView
MiIsDriverPage
MiLockPagableImageSection
MiLookupDataTableEntry
MmIsSessionExecutionValid
RtlPcToFileName
RtlpxLookupFunctionTable