PnpLogDeviceConflictingResource

void __fastcall PnpLogDeviceConflictingResource(__int64 a1, __int64 a2){
  __int64 v2; 
  __int64 v5; 
  __int64 v6; 
  __int64 v7; 
  VOID **PoolWithTag; 

  v2 = *(_QWORD *)(a1 + 40);
  if( v2 )
  {
    v5 = *(_QWORD *)(v2 + 32);
    if( v5 )
      v6 = *(_QWORD *)(*(_QWORD *)(v5 + 312) + 40i64);
    else
      v6 = 0i64;
    if( v6 )
    {
      v7 = *(_QWORD *)(v6 + 712);
      if( v7
        || (PoolWithTag = ExAllocatePoolWithTag(1ui64, 0x70ui64, 1650807376i64),
            (*(_QWORD *)(v6 + 712) = PoolWithTag) != 0i64)
        && (memset(PoolWithTag, 0i64, 0x70u), (v7 = *(_QWORD *)(v6 + 712)) != 0) )
      {
        if( !*(_QWORD *)(v7 + 96) )
        {
          *(_BYTE *)(v7 + 88) = *(_BYTE *)(a1 + 16);
          *(_DWORD *)(v7 + 92) = *(_DWORD *)(v2 + 16);
          *(_QWORD *)(v7 + 96) = *(_QWORD *)(v2 + 24);
          *(_QWORD *)(v7 + 104) = a2;
        }
      }
    }
  }
}

Referenced by:

IopTestConfiguration