PfpFileCheckAttributesForPrefetch

NTSTATUS __stdcall PfpFileCheckAttributesForPrefetch(VOID *FileHandle){
  int v1; 
  int v2; 
  NTSTATUS result; 
  _IO_STATUS_BLOCK v4; 
  __int64 v5; 

  v5 = 0i64;
  v2 = v1;
  v4 = 0i64;
  result = NtQueryInformationFile(FileHandle, &v4, &v5, 8ui64, FileAttributeTagInformation);
  if( result >= 0 )
  {
    if( result == 259 )
      KeBugCheckEx(0x191u, (PVOID)0x26DE, 0i64, 0i64, 0i64);
    return(v2 & (unsigned int)v5) != 0 ? 0xC00000A4 : 0;
  }
  return result;
}

Referenced by:

PfSnGetSectionObject
PfpFileBuildReadSupport