A deep dive into government documents released Thursday surrounding the foreign bribery settlement with Walmart Inc. reveals that in-house lawyers at the company played key roles in both executing bribe schemes and exposing them.

The documents also paint a picture of top Walmart executives, including its general counsel at the time, who were more concerned with growth than with exploring the red flags around them. At least eight Walmart executives have left the company in the wake of the scandal.