Photochemical dynamics of laser-irradiated semiconductor nanostructures