This patch works around the 'hanging after 2nd stage install' bug but I don't really understand what's going on here. Basically, It looks like ProcessData is null on the very last call (the one that would seemingly flush the registry and reboot).
If i comment the break, nothing breaks and reactos reboots as expected when i press the reboot button.