Diego Buonanotte saved Málaga from a potential King's Cup humiliation when he scored twice and created another in a 4-1 comeback win at home to third-tier Eibar that put them through to the last eight.