Misbah-ul-Haq will retain the Pakistan captaincy against South Africa next month despite their poor recent results.