its an expression you say when you are surprised and Shocked at the same time.
person 1 : i took your gold and sold it so i can buy a carperson 2 : Have you lost your fucking mind ! who did you ask !