This formula should do essentially what you're looking for:
X: enemy.x + cos( angle(player.x, player.y, enemy.x, enemy.y) ) * 100
Y: enemy.y + sin( angle(player.x, player.y, enemy.x, enemy.y) ) * 100
This will have the enemy move in the most "away" direction as possible from the player.