McTemplateK0zd_EtwWriteTransfer

NTSTATUS __fastcall McTemplateK0zd_EtwWriteTransfer(
        INT64 a1,
        const EVENT_DESCRIPTOR *a2,
        INT64 a3,
        const WCHAR *a4,
        CHAR a5){
  __int64 v5; 
  int v6; 
  EVENT_DATA_DESCRIPTOR EventData; 
  const WCHAR *v9; 
  int v10; 
  int v11; 
  CHAR *v12; 
  __int64 v13; 
  if( a4 )
  {
    v5 = -1i64;
    do
      ++v5;
    while( a4[v5] );
    v6 = 2 * v5 + 2;
  }
  else
  {
    v6 = 10;
  }
  v10 = v6;
  v11 = 0;
  if( !a4 )
    a4 = L"NULL";
  v13 = 4i64;
  v9 = a4;
  v12 = &a5;
  return McGenEventWrite_EtwWriteTransfer(
           &MS_KernelPnP_Provider_Context,
           (EVENT_DESCRIPTOR *)a2,
           0i64,
           3ui64,
           &EventData);
}

Referenced by:

PnpLogActionQueueEvent