I used several hue/saturation layers with selective masks along with targeted curves adjustment layers with masks to get rid of the stain. I also used a blank layer set to color mode and painted sampled colors on it. I used the healing brush and a dodge and burn layer to get rid of the transitions between the stained and non-stained part of the image