McTemplateK0jzt_EtwWriteTransfer

NTSTATUS __stdcall 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 v10; 
  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(
           (REGHANDLE *)&stru_140C00F40 + 588,
           (const _EVENT_DESCRIPTOR *)&CmFcpWnfTypeId.TypeId[5],
           0i64,
           4u,
           &v10);
}

Referenced by:

PiCMGetDeviceInterfaceList