Asymptotics of integrals connected with a generalized cantor ladder