Officials have pilfered funds that could have been spent fighting ISIS.