Proteas drive on to 418-run lead