Green’s Dictionary of Slang

what in Cain...? phr.

[euph. for what in hell...? phr.]

a general intensifier of a question.

[US]Knickerbocker (N.Y.) XLVI 83: What in Cain did you play that for? [DA].