The plan concocted by the sons of Israel was to kill Joseph and then lie to their father. On the surface, it seems all of the brothers were in on the plan.
In this passage, Dinah, the daughter of Leah and Israel, goes on an adventure and is discovered by the son of the king who according to this passage had sexual relations with her.