PopDiagGetDriverName

NTSTATUS __stdcall PopDiagGetDriverName(DEVICE_OBJECT *DeviceObject, PWCHAR DriverName, UINT64 DriverNameSize){
  __int64 v3; 
  WCHAR *v4; 
  if( DeviceObject && (v3 = *((_QWORD *)DeviceObject + 1), (v4 = *(WCHAR **)(v3 + 64)) != 0i64) && *(_WORD *)(v3 + 56) )
    return RtlStringCbCopyNW(DriverName, 0x80ui64, v4, *(unsigned __int16 *)(v3 + 56));
  else
    return -1073741823;
}

Referenced by:

PopDiagTraceDeviceAcquireIrp
PopDiagTraceIrpFinish
PopDiagTraceIrpFinishTelemetry
PopRecordPoIrpBlackboxInformation