As far as I know it’s not possible to retrieve results beyond a certain limit and that’s by design. See e.g. these threads:
https://forum.aws.chdev.org/t/advanced-search-companies-responds-with-500-after-10000-items/4813
There may be other ways to do this e.g. you could perhaps use the streaming API and record when companies are dissolved. Or get this via the bulk data:
https://forum.aws.chdev.org/t/no-dissolved-companies-in-live-data/6248