ExpKernelExpirationDateCacheProvider

INT64 __fastcall ExpKernelExpirationDateCacheProvider(
        INT64 a1,
        _DWORD *a2,
        _OWORD *a3,
        UINT64 a4,
        _DWORD *a5,
        _BYTE *a6){
  int BuildExpiryTime; 
  struct _TIME_FIELDS TimeFields; 
  union _LARGE_INTEGER Time; 
  __int128 v11; 
  HIDWORD(v11) = 0;
  Time.QuadPart = 0i64;
  *a5 = 16;
  TimeFields = 0i64;
  if( (unsigned int)a4 < 0x10 )
  {
    return(unsigned int)-1073741789;
  }
  else
  {
    if( a2 )
      *a2 = 3;
    BuildExpiryTime = SeCodeIntegrityGetBuildExpiryTime(&Time);
    if( BuildExpiryTime >= 0 )
    {
      RtlTimeToTimeFields(&Time, &TimeFields);
      LOWORD(v11) = TimeFields.Year;
      BYTE2(v11) = TimeFields.Month;
      BYTE11(v11) = HIBYTE(TimeFields.Second);
      *(_QWORD *)((char *)&v11 + 3) = *(_QWORD *)((char *)&TimeFields.Month + 1);
      *a3 = v11;
      *a6 = 1;
    }
  }
  return(unsigned int)BuildExpiryTime;
}

Referenced by:

No references.