MmIssueMemoryListCommand

INT64 __stdcall MmIssueMemoryListCommand(PVOID SystemInformation, UINT64 SystemInformationLength, INT8 PreviousMode){
  if( (unsigned int)SystemInformationLength < 4 )
    return 3221225476i64;
  if( *(_DWORD *)SystemInformation > 5u )
    return 3221225485i64;
  if( *(_DWORD *)SystemInformation == 3
    || SeSinglePrivilegeCheck(*(_QWORD *)&SeProfileSingleProcessPrivilege, PreviousMode) )
  {
    return MmPerformMemoryListCommand();
  }
  return 3221225569i64;
}

Referenced by:

NtSetSystemInformation
PfpLogEventRequest