In which files are the settings stored?

Suppose I want to get a preconfigured Tor browser for me in which the search engines, the arrangement of icons in the panel, the theme and the level of security (the shield icon) have been changed.

In what files would I look for these settings?