How to switch to child theme if the theme is already set up

Hi, I have my client's site build with some template which is pretty complicated. I need to change some code (functions.php and add some page-templates files), so I wanted to create a child theme. The problem is that the theme is pretty complicated and I don't want to spent hours to set it back. Is there any way how to do that? Thanks in advance for your answer