Most of this is support for the microchip PIC 12F629. In order to work it needs power. The diodes and caps and 7805 seem to be doing that, and the 20mhz crystal is needed for the PIC to run.
Unfortunately without knowing the program contained within the PIC 12F629 its very hard to tell what...