PspGetProperty

NTSTATUS __stdcall PspGetProperty(PS_PROPERTY_SET *Set, UINT64 Key, VOID **Object){
  NTSTATUS v6; 
  unsigned __int8 CurrentIrql; 
  unsigned __int64 *p_Lock; 
  _QWORD *PropertySetEntry; 
  _QWORD *v10; 

  v6 = 0;
  CurrentIrql = KeGetCurrentIrql();
  __writecr8(2ui64);
  p_Lock = &Set->Lock;
  KxAcquireSpinLock(&Set->Lock);
  PropertySetEntry = PspFindPropertySetEntry(Set, Key);
  v10 = PropertySetEntry;
  if( PropertySetEntry )
    ObfReferenceObjectWithTag((VOID *)PropertySetEntry[3], 0x72507350ui64);
  KxReleaseSpinLock(p_Lock);
  __writecr8(CurrentIrql);
  if( !v10 )
    return -1073741275;
  *Object = (VOID *)v10[3];
  return v6;
}

Referenced by:

PspGetJobProperty