Software Automation for Reverse Engineering Complex Microcircuits