Text this: Cryptanalysis of RSA and its variants using continuous midpoint subdivision analysis and lattices