DecodeProviderTraits

NTSTATUS __stdcall DecodeProviderTraits(UINT16 *a1, CHAR a2, _WORD *a3, UINT16 **a4){
  NTSTATUS result; 
  UINT16 *v6; 

  result = 0;
  if( a1 )
  {
    if( a2 )
    {
      v6 = a1 + 3;
    }
    else
    {
      v6 = 0i64;
      result = *a1;
    }
  }
  else
  {
    v6 = 0i64;
  }
  *a3 = result;
  *a4 = v6;
  return result;
}

Referenced by:

EtwpWriteUserEvent