As one of the four muscles of the rotator cuff, the main function of the infraspinatus is to externally rotate the humerus and stabilize the shoulder joint.