PsQueryProcessAttributes

void __fastcall PsQueryProcessAttributes(__int64 a1, _BYTE *a2, _BYTE *a3){
  struct DMA_ADAPTER *v6; 
  v6 = (struct DMA_ADAPTER *)PsReferencePrimaryToken((PEPROCESS)a1);
  PsQueryProcessAttributesByToken(v6, a2, a3);
  ObFastDereferenceObject((INT64 *)(a1 + 1208), v6);
}

Referenced by:

NtQueryInformationProcess
PfpPrivSourceEnum
PopCreateUserPowerRequest
PspAllocateProcess
PspAssignProcessToJob