A rapist is never consciously trying to pass on genes.
A rapist is driven by lust. Lust is the instinctive need to procreate.
In civilized societies, we disdain uncontrolled lust and try to contain rape, even in war time.
Many would differ that rape is not a crime motivated by lust, but motivated by violence and uses sex. So, I disagree with your views.