I want to block ports 445 and 135 on the router going to a specific host. Will this access list yield those results if I put this access list on the router's inbound interface:
access-list deny tcp any host 188.8.131.52 0.0.0.255 eq 135
the syntax of you access list is not correct. You should specify a host address after the word HOST instead of a subnet. Also, don't forget to give your ACL a name or number.
Also, this line will only block TCP to port 135, not to 445.
If your host is 184.108.40.206, your ACL will look like this:
access-list 100 deny tcp any host 220.127.116.11 eq 135
access-list 100 deny tcp any host 18.104.22.168 eq 445
access-list 100 permit ip any any