In this case, "evil" is "bad arts, illegal or immoral" and "had" is in the sense of "achieved".
It is said of everything that someone has obtained illegally or immorally.