Catalyzes an NADPH-dependent reduction of FMN, but is also able to reduce FAD or riboflavin. FMNH2 + NADP(+) = FMN + 2 H(+) + NADPH Homodimer. Repressed by sulfate or cysteine. Belongs to the SsuE family.