AntiMalware Scan Interface (AMSI) is a component of Microsoft Windows that integrates with antivirus/antimalware software and scans for malware in applications, services, and data.
https://learn.microsoft.com/en-us/windows/win32/amsi/antimalware-scan-interface-portal