The curving peroneal nerve goes from the top of the fibula into the muscle below the knee that allows you to pick up your foot. The muscle also stabilizes the ankle.