# MainErrorHandler

## Function Table

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

---
*Generated by HR650X BIOS Decompilation Project*
