Random-matrix modeling of semilinear response, the generalized variable-range hopping picture, and the conductance of mesoscopic rings