attempted to commit hindering prosecution and attempted to commit endangering the welfare of a child (victim of a sexual offense)