I'm playing this game, and I'd like to know what this program does? And is it legal to use it?
It's not illegal. This application displays various information about when buildings or armies finish producing or upgrading, battle reports, etc. It does not alter the game's progress and because of that it's not illegal to use it.