Exclamation of surprise, expletive. Бляха (which actually means “steel plate”) is a euphemism for блядь, муха (a fly) is added as rhyming slang.
На улице плюс тридцать, а я, бляха-муха, простыл!
It’s thirty degrees outside and I, bloody hell, I got a cold!
(Михаил Евстафьев, У нас опять задул афганец, 2005)