|I empathize with you re.: Microsoft website... But you have to be aware that your installation of the XP system is valid contingent on certain factors (mostly, or perhaps even limited to: original hardware state).|
In a nutshell, the original installation was "validated' using a "point" grading system, which allows limited hardware alterations/upgrades, etc.
This quickly becomes too long a discussion for a single post on this forum, that is why I directed you to the Microsoft site in the first place. However, judicious use of "the Google" will direct you to sensible non-Microsoft sites where this "validation" is well-defined.
The upshot is: most likely, a hard-drive replacement will probably not permanently disqualify you from re-installing XP using the original COA number (stuck on a label on the underside of this laptop.
Your concern about compatibility is best addressed to/by the manufacturer (Averatec). You can view, or even download the manual for your laptop at: