PfSnLogHelper

struct _EX_RUNDOWN_REF *__fastcall PfSnLogHelper(__int64 a1, UINT64 a2, _QWORD *a3){
  unsigned int v4; 
  struct _EX_RUNDOWN_REF *v5; 
  struct _EX_RUNDOWN_REF *v6; 
  struct _EX_RUNDOWN_REF *v7; 
  v4 = a2;
  v5 = 0i64;
  v6 = PfSnReferenceProcessTrace(a1, a2);
  v7 = v6;
  if( v6 )
  {
    if( (int)PfSnTraceGetLogEntry((INT64)v6, v4, a3) < 0 )
    {
      PfSnFailProcessTrace((INT64)v7);
    }
    else
    {
      v5 = v7;
      v7 = 0i64;
    }
    if( v7 )
      ExReleaseRundownProtection(v7 + 45);
  }
  return v5;
}

Referenced by:

PfSnLogStreamCreate
PfSnLogVolumeCreate