An inverse map result and some applications to sensitivity of generalized equations