# TcgSmm

## Function Table

| Address | Name | Description |
|---------|------|-------------|
| Entry | **ModuleEntryPoint** | Calls `SmiHandlerRegistrationAndProtocolInstall`, then dispatches to `TpmCommandAndEventProcessing(ImageHandle, SystemTable)`, invokes `TcgErrorCleanup` on failure, and returns status. |
| 0x4CC | **SmiHandlerRegistrationAndProtocolInstall** | SMI handler registration and TCG protocol installation. |
| 0x778 | **TpmCommandAndEventProcessing** | Core TPM command processing and TCG event management. |
| 0x1988 | **TcgErrorCleanup** | Error handling and cleanup for failed TCG operations. |

Recovered control flow (from decompiled body):

```text
EFI_STATUS
ModuleEntryPoint(
  EFI_HANDLE        ImageHandle,
  EFI_SYSTEM_TABLE  *SystemTable
)
{
  SmiHandlerRegistrationAndProtocolInstall();
  Status = TpmCommandAndEventProcessing(ImageHandle, SystemTable);
  if (EFI_ERROR(Status)) {
    TcgErrorCleanup();
  }
  return Status;
}
```

---
*Generated by HR650X BIOS Decompilation Project*
