KiIntRedirectConnnect

__int64 __fastcall KiIntRedirectConnnect(__int64 *a1, unsigned int a2, __int64 a3){
  _WORD *PoolWithTag; 
  unsigned int v7; 
  _WORD *v8; 
  __int64 v9; 
  __int64 v10; 
  PoolWithTag = ExAllocatePoolWithTag(NonPagedPoolNx, 0x18ui64, 0x5249654Bui64);
  v7 = 0;
  v8 = PoolWithTag;
  if( PoolWithTag )
  {
    *(_OWORD *)PoolWithTag = 0i64;
    PoolWithTag[4] = *(_WORD *)(a3 + 32);
    *(_QWORD *)PoolWithTag = *(_QWORD *)(a3 + 24);
    *((_BYTE *)PoolWithTag + 16) = 0;
    if( a2 )
    {
      v9 = a2;
      do
      {
        v10 = *a1++;
        *(_QWORD *)(v10 + 272) = v8;
        --v9;
      }
      while( v9 );
    }
  }
  else
  {
    return(unsigned int)-1073741670;
  }
  return v7;
}

Referenced by:

KiIntSteerChooseInitialTargetProcessors