PnpAllocateDeviceInstancePath

__int64 __fastcall PnpAllocateDeviceInstancePath(__int64 a1, unsigned int a2){
  VOID *PoolWithTag; 
  *(_WORD *)(a1 + 42) = a2;
  *(_WORD *)(a1 + 40) = 0;
  PoolWithTag = ExAllocatePoolWithTag(NonPagedPoolNx, a2, 0x49706E50ui64);
  *(_QWORD *)(a1 + 48) = PoolWithTag;
  return PoolWithTag == 0i64 ? 0xC000009A : 0;
}

Referenced by:

IoReportDetectedDevice
IopInitializeDeviceInstanceKey
IopInitializePlugPlayServices
PiInitializeDevice