CmpInitializeRegistryNames

VOID __stdcall CmpInitializeRegistryNames(){
  WCHAR v0; 
  WCHAR v1; 
  WCHAR v2; 
  WCHAR v3; 
  WCHAR v4; 
  WCHAR v5; 
  WCHAR v6; 
  WCHAR v7; 
  WCHAR v8; 
  WCHAR v9; 
  WCHAR v10; 
  WCHAR v11; 
  WCHAR v12; 
  WCHAR v13; 
  WCHAR v14; 
  WCHAR v15; 
  WCHAR v16; 
  WCHAR v17; 
  WCHAR v18; 
  WCHAR v19; 
  WCHAR v20; 
  WCHAR v21; 
  WCHAR v22; 
  WCHAR v23; 
  WCHAR v24; 
  WCHAR v25; 
  WCHAR v26; 
  PCWSTR *v27; 
  __int64 v28; 
  struct _UNICODE_STRING *v29; 
  RtlInitUnicodeString(&CmRegistryRootName, L"\\REGISTRY", v0);
  RtlInitUnicodeString(&CmRegistryMachineName, L"\\REGISTRY\\MACHINE", v1);
  RtlInitUnicodeString(&CmRegistryMachineHardwareName, L"\\REGISTRY\\MACHINE\\HARDWARE", v2);
  RtlInitUnicodeString(&CmRegistryMachineHardwareDescriptionName, L"\\REGISTRY\\MACHINE\\HARDWARE\\DESCRIPTION", v3);
  RtlInitUnicodeString(
    &CmRegistryMachineHardwareDescriptionSystemName,
    L"\\REGISTRY\\MACHINE\\HARDWARE\\DESCRIPTION\\SYSTEM",
    v4);
  RtlInitUnicodeString(&CmRegistryMachineHardwareDeviceMapName, L"\\REGISTRY\\MACHINE\\HARDWARE\\DEVICEMAP", v5);
  RtlInitUnicodeString(&CmRegistryMachineHardwareResourceMapName, L"\\REGISTRY\\MACHINE\\HARDWARE\\RESOURCEMAP", v6);
  RtlInitUnicodeString(&CmRegistryMachineHardwareOwnerMapName, L"\\REGISTRY\\MACHINE\\HARDWARE\\OWNERMAP", v7);
  RtlInitUnicodeString(&CmRegistryMachineSystemName, L"\\REGISTRY\\MACHINE\\SYSTEM", v8);
  RtlInitUnicodeString(&CmRegistryMachineSystemCurrentControlSet, L"\\REGISTRY\\MACHINE\\SYSTEM\\CURRENTCONTROLSET", v9);
  RtlInitUnicodeString(&CmRegistryUserName, L"\\REGISTRY\\USER", v10);
  RtlInitUnicodeString(&CmRegistryContainersName, L"\\REGISTRY\\WC", v11);
  RtlInitUnicodeString(&CmRegistryAppName, L"\\REGISTRY\\A", v12);
  RtlInitUnicodeString(&CmpSystemFileName, L"SYSTEM", v13);
  RtlInitUnicodeString(
    &CmRegistryMachineSystemCurrentControlSetEnumName,
    L"\\REGISTRY\\MACHINE\\SYSTEM\\CURRENTCONTROLSET\\ENUM",
    v14);
  RtlInitUnicodeString(
    &CmRegistryMachineSystemCurrentControlSetEnumRootName,
    L"\\REGISTRY\\MACHINE\\SYSTEM\\CURRENTCONTROLSET\\ENUM\\ROOT",
    v15);
  RtlInitUnicodeString(
    (PUNICODE_STRING)CmRegistryMachineSystemCurrentControlSetServices,
    L"\\REGISTRY\\MACHINE\\SYSTEM\\CURRENTCONTROLSET\\SERVICES",
    v16);
  RtlInitUnicodeString(
    &CmRegistryMachineSystemCurrentControlSetHardwareProfilesCurrent,
    L"\\REGISTRY\\MACHINE\\SYSTEM\\CURRENTCONTROLSET\\HARDWARE PROFILES\\CURRENT",
    v17);
  RtlInitUnicodeString(
    &CmRegistryMachineSystemCurrentControlSetControlClass,
    L"\\REGISTRY\\MACHINE\\SYSTEM\\CURRENTCONTROLSET\\CONTROL\\CLASS",
    v18);
  RtlInitUnicodeString(
    &CmRegistryMachineSystemCurrentControlSetControlSafeBoot,
    L"\\REGISTRY\\MACHINE\\SYSTEM\\CURRENTCONTROLSET\\CONTROL\\SAFEBOOT",
    v19);
  RtlInitUnicodeString(
    &CmRegistryMachineSystemCurrentControlSetControlSessionManagerMemoryManagement,
    L"\\REGISTRY\\MACHINE\\SYSTEM\\CURRENTCONTROLSET\\CONTROL\\SESSION MANAGER\\MEMORY MANAGEMENT",
    v20);
  RtlInitUnicodeString(
    &CmRegistryMachineSystemCurrentControlSetControlBootLog,
    L"\\REGISTRY\\MACHINE\\SYSTEM\\CURRENTCONTROLSET\\CONTROL\\BOOTLOG",
    v21);
  RtlInitUnicodeString(
    &CmRegistryMachineSystemCurrentControlSetServicesEventLog,
    L"\\REGISTRY\\MACHINE\\SYSTEM\\CURRENTCONTROLSET\\SERVICES\\EVENTLOG",
    v22);
  RtlInitUnicodeString(&CmSymbolicLinkValueName, L"SymbolicLinkValue", v23);
  RtlInitUnicodeString((PUNICODE_STRING)&CmMpsSvcKeySubstring, L"CONTROLSET001\\SERVICES\\MPSSVC", v24);
  RtlInitUnicodeString(&CmRegistryProcessName, L"Registry", v25);
  v27 = (PCWSTR *)CmTypeString;
  v28 = 42i64;
  v29 = &CmTypeName;
  do
  {
    RtlInitUnicodeString(v29++, *v27++, v26);
    --v28;
  }
  while( v28 );
}

Referenced by:

CmInitSystem1