You are a professional Python software engineer with experience in desktop application development (preferably PyQt5 or PySide2 for GUI) and Windows system utilities. Your task is to generate a professional-grade Windows system utility app called "HC Doctor App" with the following detailed specifications.

---

## Project Overview

- Platform: Windows 7, 10, 11 (primarily)
- Programming Language: Python 3.8+  
- GUI Toolkit: PyQt5 or PySide2 with a clean, modern, intuitive UI/UX  
- Packaging: Should support packaging into a Windows .exe (via PyInstaller or similar)  
- Code Quality: Modular, maintainable, robust, fully documented, with exception handling  
- Code Protection: Should support later obfuscation/tooling, keep sensitive operations suitable for server verification  
- Multithreaded UI: Long running tasks should NOT freeze UI and show progress indicators/logs

---

## Features

### Core Dashboard
- Displays system info: CPU usage, RAM usage, Disk usage/free space, battery health/wear %, CPU temperature, HDD/SSD SMART health, fan speed  
- Right sidebar collapsible menu with icons and labels: Dashboard, Duplicate File Finder, Windows Tweaks, One Click Apps Installer, Windows Updates, Bloatware Removal, License & Subscription, Settings  
- Notifications and alerts on system health (disk space low, high CPU temp)  

### Duplicate File Finder
- Free: Folder selection, scan based on file size and hash, list duplicates  
- Pro: Advanced scan with fuzzy hashing, preview, multi-selection actions (delete/move), detailed UI with progress  

### Windows Tweaks
- Free (safe tweaks): One click disable USB storage, enable classic Photo Viewer, enable “Open with” context menu, basic UI toggles  
- Pro (advanced tweaks): Registry tweaks to enable/disable animations, telemetry, paging file optimization, taskbar left alignment for Windows 11, spyware settings, full tweak UI with apply/revert and progress  

### One Click Apps Installer (using Chocolatey)
- UI modeled on Ninite website: icon grid selection of popular apps + "Install selected" button  
- Install apps silently via Chocolatey, show progress bar and detailed installation logs in UI panel  
- Background threaded processing with live updates avoiding UI blocking  

### Windows Maintenance Tools
- Run SFC and DISM scans from GUI with progress output, logs, and repair options  
- Show Windows Update status, allow triggers for update check/install with logs  

### Windows Bloatware Removal
- Show preinstalled Windows apps; allow safe uninstall and restore options  
- Only partial free version; full version supports batch removal and scheduled uninstall  

### Licensing & Subscription System
- Integrate Razorpay subscriptions (monthly, 3-month, 6-month, yearly, 3-year plans)  
- After successful payment, generate encoded license keys tied to unique hardware fingerprint (CPU+Motherboard+Disk hashed)  
- License activation with online server verification, license stored encrypted locally, periodic online refresh and validation  
- One license can activate only one PC; changing hardware requires manual reactivation and license transfer process  
- Licensing system must prevent offline tampering and multi-device license abuse  

### Additional Features
- Scheduled automatic maintenance jobs (cleanup, updates, optimizations)  
- Privacy cleaning (browser caches and Windows telemetry)  
- System restore point creation before critical actions  
- Dark mode support and internationalization-ready UI foundations  
- In-app developer contact, logs export, and error reporting system  

---

## Technical Requirements

- Use `psutil`, `wmi`, `subprocess` for system info and commands  
- Use `cryptography` library for license encryption  
- Use threading or async tasks for long running operations  
- Use proper exception handling with retries/logging  
- All external dependencies must be open-source and installable via pip  
- Provide clean separation of UI and business logic  
- Provide modular code folder structure  
- Logs and progress must be displayed real-time inside the UI  
- UI elements cross-linked so that status updates in one module reflect in dashboard notifications  

---

## Deliverables

- A complete Python project structure with multiple modules as needed  
- PyQt5/PySide UI code for all screens and dialogs, including license activation and payment integration placeholder UI  
- Backend license verification logic sample  
- Razorpay subscription payment integration workflow outline and backend snippet  
- Chocolatey app installation example with progress reporting  
- Example of hardware fingerprint code snippet  
- Exception-safe subprocess calls for Windows maintenance commands with result parsing  
- Code comments and docstrings for all functions, classes, and modules  
- Instructions on packaging the app for Windows (PyInstaller script example)  
- Suggestions for further code obfuscation and protection best practices  

---

## Additional Guidance

- Emphasize UX responsiveness and progress feedback  
- Use friendly error messages for end-users  
- Provide localization keys in UI code (no hard-coded strings)  
- Secure local license storage with encryption keys hidden/not hardcoded  
- Use appropriate design patterns for maintainability (MVC or MVP recommended)  
- For Razorpay integration, scaffold client-server communication, you can use Flask/Django backend if needed  
- Provide comments on security considerations and potential attack surfaces  

---

Please respond with:

1. The full project folder and file structure with brief descriptions  
2. Key complete code snippets for each major functionality module, including sample UI code and backend license integration  
3. Explanations for multi-threading and subprocess usage inside the UI framework  
4. Additional advice on testing and deployment  
5. Any limitations or necessary manual steps for deployment (eg. setting up Razorpay webhook or provisioning Google Drive license backend)  

Generate clean, production-ready code framed towards easy extension and maintenance.

---

**End of prompt**