McTemplateK0jzt_EtwWriteTransfer

NTSTATUS __fastcall McTemplateK0jzt_EtwWriteTransfer(INT64 a1, INT64 a2, INT64 a3, INT64 a4, const WCHAR *a5, CHAR a6){
  const WCHAR *v6; 
  __int64 v7; 
  int v8; 
  EVENT_DATA_DESCRIPTOR EventData; 
  INT64 v11; 
  __int64 v12; 
  const WCHAR *v13; 
  int v14; 
  int v15; 
  CHAR *v16; 
  __int64 v17; 
  v6 = a5;
  v11 = a4;
  v12 = 16i64;
  if( a5 )
  {
    v7 = -1i64;
    do
      ++v7;
    while( a5[v7] );
    v8 = 2 * v7 + 2;
  }
  else
  {
    v8 = 10;
  }
  v14 = v8;
  v15 = 0;
  if( !a5 )
    v6 = L"NULL";
  v13 = v6;
  v16 = &a6;
  v17 = 4i64;
  return McGenEventWrite_EtwWriteTransfer(
           &MS_KernelPnP_Provider_Context,
           (EVENT_DESCRIPTOR *)&KMPnPEvt_CfgMgr_DeviceInterfaceList_Start,
           0i64,
           4ui64,
           &EventData);
}

Referenced by:

PiCMGetDeviceInterfaceList