tlgCreate1Sz_char

NTSTATUS __fastcall tlgCreate1Sz_char(INT64 a1, const CHAR *a2){
  __int64 v2; 
  NTSTATUS result; 

  if( a2 )
  {
    v2 = -1i64;
    do
      ++v2;
    while( a2[v2] );
    result = v2 + 1;
  }
  else
  {
    a2 = &File;
    result = 1;
  }
  *(_DWORD *)(a1 + 12) = 0;
  *(_QWORD *)a1 = a2;
  *(_DWORD *)(a1 + 8) = result;
  return result;
}

Referenced by:

EtwTelemetryCoverageReport
EtwpCoverageRecord
MiAgeWorkingSet
MiFlushStrongCodeDriverLoadFailures
MiLogCreateImageFileMapFailure
MiLogHotPatchOperation
MiLogHotPatchOperationStatus
MiLogHotPatchRundown
MiLogOutswappedProcessCommitReacquire
MiLogOutswappedProcessCommitRelease
MiLogResetPagesCommitRelease
MiLogStrongCodeDriverLoadFailure
MiLogTrimWs
MiLogWsEmptyControl
MmNotifyProcessInSwapTrigger
PopAccountBatteryEnergyChange
PopAccountCbEnergyChange
PopBatteryApplyCompositeState
PopBatteryCheckCompositeCapacity
PopBatteryWorker
PopDiagTraceBatteryAlarmStatus
PopDiagTraceBatteryTriggerFlags
PopLogPowerRequestAction
PopPlNotifyDeviceDState
PopPlNotifyDeviceFState
TtmiLogError