Translation
When they have completed their testimony, the BEAST, coming up out of the abyss,
will make war with them,
overpower them
and kill them.
Paraphrase
When they have completed their testimony, the UNCONTROLLABLE BRUTE, coming up from the prison of the dead and the abode of demons,
will attack them [and their influence],
will gain the advantage,
and eliminate their influence.