Regularizing thermo and magnetic contributions within nonrenormalizable theories