Two-point functions of random-length random walk on high-dimensional boxes