Dust spots in flat fields

There isn’t any software for dust removal and saving this in RAW, but you have some luck as I see you are using a Nikon. The software of Nikon Capture NX2 can remove dust spots and save the modified photo (flat field) in NEF format.

Hope this helps.