Satellite capture mechanism in a sun-planet-binary four-body system