Is there a way to check which files are part of vanilla WordPress?

Most customisations are done in the theme. If it’s a default theme (came with WordPress) I’m hoping someone built a child theme or a custom theme so that customizations will not be deleted when you automatically update the theme. Everything in the child theme and plugins will be your customization.

The theme will be in the wp-content/themes folder.
Plugins will be in the wp-content/plugins folder.

A common theme file where code is added to customize the theme is functions.php. Basically, any file in the theme folder is customization.

The three folders that come with WordPress are wp-content, wp-admin, and wp-includes. There are a few files in the root that are shipped with it also. The main one being the wp-config.php file, which is used to connect with your database and settings outside of the database.

The wp-content folder also contains any uploads. It’s the only folder that should be modified.