Your friend is not beyond the reach of the atoning sacrifice of Jesus Christ, he can still repent. Speaking as someone who has committed many sins of grievous nature in the past and recently went to the temple to receive my endowment, there is hope, it's there for him if he chooses to accept it. Pray for your friend, it's the adversary who places thoughts of being a lost cause into our hearts.