KsepMatchInitMachineInfo

__int64 __fastcall KsepMatchInitMachineInfo(__int64 a1){
  NTSTATUS matched; 
  int v2; 
  int v3; 
  char v5; 
  __int64 v6; 
  char v7; 
  __int64 v8; 
  char v9; 
  __int64 v10; 
  matched = KsepMatchInitAcpiOemInfo((_LOADER_PARAMETER_BLOCK *)a1);
  if( matched < 0 )
  {
    v5 = KsepDebugFlag;
    v6 = ((unsigned __int8)_InterlockedExchangeAdd(&KsepHistoryErrorsIndex, 1u) + 1) & 0x3F;
    KsepHistoryErrors[2 * v6 + 1] = matched;
    KsepHistoryErrors[2 * v6] = 655516;
    if( (v5 & 2) != 0 )
      KsepDebugPrint(0i64, "KSE: KsepMatchInitAcpiOemInfo failed [0x%08x]\n", (unsigned int)matched);
    KsepLogError(0, "KSE: KsepMatchInitAcpiOemInfo failed [0x%08x]\n", (unsigned int)matched);
  }
  v2 = KsepMatchInitCpuInfo();
  if( v2 < 0 )
  {
    v7 = KsepDebugFlag;
    v8 = ((unsigned __int8)_InterlockedExchangeAdd(&KsepHistoryErrorsIndex, 1u) + 1) & 0x3F;
    KsepHistoryErrors[2 * v8 + 1] = v2;
    KsepHistoryErrors[2 * v8] = 655522;
    if( (v7 & 2) != 0 )
      KsepDebugPrint(0i64, "KSE: KsepMatchInitCpuInfo failed\n [0x%08x]\n", (unsigned int)v2);
    KsepLogError(0, "KSE: KsepMatchInitCpuInfo failed\n [0x%08x]\n", (unsigned int)v2);
  }
  v3 = KsepMatchInitBiosInfo();
  if( v3 < 0 )
  {
    v9 = KsepDebugFlag;
    v10 = ((unsigned __int8)_InterlockedExchangeAdd(&KsepHistoryErrorsIndex, 1u) + 1) & 0x3F;
    KsepHistoryErrors[2 * v10 + 1] = v3;
    KsepHistoryErrors[2 * v10] = 655528;
    if( (v9 & 2) != 0 )
      KsepDebugPrint(0i64, "KSE: KsepMatchInitBiosInfo failed [0x%08x]\n", (unsigned int)v3);
    KsepLogError(0, "KSE: KsepMatchInitBiosInfo failed [0x%08x]\n", (unsigned int)v3);
  }
  KsepMatchMachineInfo = (INT64)&xmmword_140C53CF8;
  qword_140C2AD28 = (__int64)&xmmword_140C53F38;
  qword_140C2AD30 = (__int64)&xmmword_140C53F70;
  qword_140C2AD38 = (__int64)&xmmword_140C53FA8;
  return 0i64;
}

Referenced by:

KsepMatchInitialize