1. Vanity mirror light: Illuminates the mirror.
2. Visor release: Allows the visor to be swung down.
There isn't a standard third button on that visor. If you're seeing three, it's likely something aftermarket or a modification.