PopNetSetConnectivityConstraint

char __fastcall PopNetSetConnectivityConstraint(int a1){
  bool v1; 
  signed __int32 v2; 
  char v3; 
  v1 = 0;
  PopNetStandbyStateMask |= 1 << a1;
  if( ((a1 - 2) & 0xFFFFFFFA) == 0 )
    v1 = a1 != 7;
  v2 = _InterlockedExchangeAdd(&PopNetGracePeriodState, 0);
  v3 = v1;
  if( v2 == 2 )
    v3 = 1;
  if( v3 )
    LOBYTE(v2) = PopQueueWorkItem((INT64)&qword_140C20808, DelayedWorkQueue);
  return v2;
}

Referenced by:

PopNetCompliantNicUpdate
PopNetInitialize
PopNetNonCompliantDeviceUpdate
PopPowerAggregatorEngageAggressiveStandbyActions