Quadratus plantae muscle
The quadratus plantae (flexor accessorius) is separated from the muscles of the first layer by the lateral plantar vessels and nerve. It acts to aid in flexing the 2nd to 5th toes (offsetting the oblique pull of the flexor digitorum longus) and is one of the few muscles in the foot with no homolog in the hand. Origin and insertion
It arises by two heads, which are separated from each other by the long plantar ligament: the medial or larger head is muscular, and is attached to the medial concave surface of the calcaneus, below the groove which lodges the tendon of the flexor hallucis longus; the lateral head, flat and tendinous, arises from the lateral border of the inferior surface of the calcaneus, in front of the lateral process of its tuberosity, and from the long plantar ligament. The two portions join at an acute angle, and end in a flattened band which is inserted into the lateral margin and upper and under surfaces of the tendon of the flexor digitorum longus, forming a kind of groove, in which the tendon is lodged. It usually sends slips to those tendons of the Flexor digitorum longus which pass to the second, third, and fourth toes. Variations
Lateral head often wanting; entire muscle absent. Variation in the number of digital tendons to which fibers can be traced. Most frequent offsets are sent to the second, third and fourth toes; in many cases to the fifth as well; occasionally to two toes only. Additional images

References

External links
 PTCentral

Foot muscles
Muscles of the lower limb