PnpStringFromGuid

void __fastcall PnpStringFromGuid(int *a1, wchar_t *a2){
  UINT64 dwFlags; 
  int v3; 
  int v4; 
  int v5; 
  int v6; 
  int v7; 
  int v8; 
  int v9; 
  int v10; 
  int v11; 
  int v12; 
  int v13; 
  v13 = *((unsigned __int8 *)a1 + 15);
  v12 = *((unsigned __int8 *)a1 + 14);
  v11 = *((unsigned __int8 *)a1 + 13);
  v10 = *((unsigned __int8 *)a1 + 12);
  v9 = *((unsigned __int8 *)a1 + 11);
  v8 = *((unsigned __int8 *)a1 + 10);
  v7 = *((unsigned __int8 *)a1 + 9);
  v6 = *((unsigned __int8 *)a1 + 8);
  v5 = *((unsigned __int16 *)a1 + 3);
  v4 = *((unsigned __int16 *)a1 + 2);
  v3 = *a1;
  LODWORD(dwFlags) = 2048;
  RtlStringCchPrintfExW(
    a2,
    0x27ui64,
    0i64,
    0i64,
    dwFlags,
    L"{%08lx-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}",
    v3,
    v4,
    v5,
    v6,
    v7,
    v8,
    v9,
    v10,
    v11,
    v12,
    v13);
}

Referenced by:

CmBuildDevicePanelId
CmSetDeviceMappedPropertyFromRegProp
IoGetDeviceInterfaceAlias
IopGetDeviceInterfaces
IopRegisterDeviceInterface
PiDcHandleDeviceEvent
PiDcHandleInterfaceEvent
PiDmCacheDataEncode
PiDmGetReferencedObjectFromProperty
PiDmListInitEnumCallback
PiDmObjectGetCachedCmProperty
PiPnpRtlGatherInstallerClassChangeInfo
PiPnpRtlGatherInterfaceDeleteInfo
PiSwPdoPnPDispatch
PipCreateComputerId
PnpDeviceRaisePropertyChangeEventWorker