If its a small amount, exchange your dollars to ringgits in KL airport. There are bank counters just after you clear immigration and collect bags. Those are open 24x7.
If its a large amount, exchange at Low Yat Plaza in Bukit Bintang. There's a place called Bumi Teraju whose rates are very good...