All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger. We ask Allaah to exalt his mention as well as that of his family and all his companions.
If the facts are as mentioned by the questioner that your husband abuses you, is addicted to pornography, wants to have anal sex and likes to do the other disgraceful acts, then it becomes compulsory on you to separate from him and seek divorce, especially if he abandons prayers, since abandoning prayers takes one out of Islam. The Prophet,
, said: "The pact between us and them is prayer, so whoever abandons it is a disbeliever." [An-Nasaa'ee and others] Death is better than continuing life with such a husband.
Moreover, if he has divorced you thrice in one go then this is a irrevocable divorce unless he only intended by repeating the word confirmation or clarification that he is divorcing you. This is the opinion of the majority of Muslim scholars. In this case, one cannot take his wife back unless she marries another man and separates from him legally (by divorce or death). The questioner made a mistake by going back to him.
If the separation occurred then this father does not have right of raising his daughter due to his dissoluteness and lewdness. In addition, he has touched her, so he is no longer trustworthy. Muslim jurists have mentioned explicitly that the care of a child cannot be granted to the one who does not protect him/her and does not raise him Islamicly.
We advise the questioner to separate from her husband immediately. You have to take your case to a trustworthy Islamic center that is known for following Sunnah and aware of Islamic rulings in such matters. They will look into the case from all its aspects and will decide after collecting the details, whether it was an irrevocable divorce or not.
If he does not agree to divorce you then you may sue him in the civil courts to get rid of the harms.
Allaah Knows best.