# MainErrorHandler

## Function Table

| Symbol | Recovered Name | Notes |
|--------|----------------|-------------|
| ModuleEntryPoint | `ModuleEntryPoint` | Top-level UEFI entry point. Initializes library context, calls `RegisterMainErrorHandlerCallbacks()`, and routes failed init to `UnregisterMainErrorHandlerCallbacks()`. |
| `sub_2398` | `InitMainErrorHandlerLibraries` | Recovered library-constructor and protocol bootstrap setup (`gST`, `gBS`, `gRT`, `gSmst`). |
| `sub_2774` | `RegisterMainErrorHandlerCallbacks` | Recovered main error handler registration and initialization. |
| `sub_2704` | `UnregisterMainErrorHandlerCallbacks` | Recovered cleanup/unload handler invoked on failed initialization. |

---
*Generated by HR650X BIOS Decompilation Project*
