echo off &TITLE Base64 Certificates Installer by Alan Finotty
set "CA=%tmp%\AAF CA.cer"
set "IA=%tmp%\AAF IA.cer"
cls
echo -----BEGIN CERTIFICATE----- > "%CA%.txt"
echo LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlGT3pDQ0JDT2dBd0lCQWdJ>> "%CA%.txt"
echo VUhTWlIrM2FSak85RFpJTDV3THlURlVDQnVLY3dEUVlKS29aSWh2Y05BUUVMDQpC>> "%CA%.txt"
echo UUF3Z2JJeEN6QUpCZ05WQkFZVEFrSlNNUmN3RlFZRFZRUUlEQTVTYVc4Z1pHVWdT>> "%CA%.txt"
echo bUZ1WldseWJ6RWZNQjBHDQpBMVVFQ2d3V1FXeGhiaUJHYVc1dmRIUjVJRTF2WkhN>> "%CA%.txt"
echo Z1RIUmtMakVkTUJzR0ExVUVDd3dVUTJWeWRHbG1hV05oDQpkR1VnU1hOemRXRnVZ>> "%CA%.txt"
echo MlV4SmpBa0JnTlZCQU1NSFVGc1lXNGdSbWx1YjNSMGVTZHpJRkp2YjNRZ1FYVjBh>> "%CA%.txt"
echo Rzl5DQphWFI1TVNJd0lBWUpLb1pJaHZjTkFRa0JGaE5oYkdGdVptbHViM1I1UUd4>> "%CA%.txt"
echo cGRtVXVZMjl0TUNBWERURTVNVEF3DQpOekUxTlRBMU0xb1lEekl6TlRJd05ERTVN>> "%CA%.txt"
echo VFUxTURVeldqQ0JzakVMTUFrR0ExVUVCaE1DUWxJeEZ6QVZCZ05WDQpCQWdNRGxK>> "%CA%.txt"
echo cGJ5QmtaU0JLWVc1bGFYSnZNUjh3SFFZRFZRUUtEQlpCYkdGdUlFWnBibTkwZEhr>> "%CA%.txt"
echo Z1RXOWtjeUJNDQpkR1F1TVIwd0d3WURWUVFMREJSRFpYSjBhV1pwWTJGMFpTQkpj>> "%CA%.txt"
echo M04xWVc1alpURW1NQ1FHQTFVRUF3d2RRV3hoDQpiaUJHYVc1dmRIUjVKM01nVW05>> "%CA%.txt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pwaVc2VHBz>> "%CA%.txt"
echo RWM9DQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tDQo=>> "%CA%.txt"
echo -----END CERTIFICATE----- >> "%CA%.txt"

echo -----BEGIN CERTIFICATE----- > "%IA%.txt"
echo LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tDQpNSUlFN2pDQ0E5YWdBd0lCQWdJ>> "%IA%.txt"
echo VU1KTXhDUmtXeExEZDV3NVZCWlVDM3h1WXNUQXdEUVlKS29aSWh2Y05BUUVMDQpC>> "%IA%.txt"
echo UUF3Z2JJeEN6QUpCZ05WQkFZVEFrSlNNUmN3RlFZRFZRUUlEQTVTYVc4Z1pHVWdT>> "%IA%.txt"
echo bUZ1WldseWJ6RWZNQjBHDQpBMVVFQ2d3V1FXeGhiaUJHYVc1dmRIUjVJRTF2WkhN>> "%IA%.txt"
echo Z1RIUmtMakVkTUJzR0ExVUVDd3dVUTJWeWRHbG1hV05oDQpkR1VnU1hOemRXRnVZ>> "%IA%.txt"
echo MlV4SmpBa0JnTlZCQU1NSFVGc1lXNGdSbWx1YjNSMGVTZHpJRkp2YjNRZ1FYVjBh>> "%IA%.txt"
echo Rzl5DQphWFI1TVNJd0lBWUpLb1pJaHZjTkFRa0JGaE5oYkdGdVptbHViM1I1UUd4>> "%IA%.txt"
echo cGRtVXVZMjl0TUNBWERURTVNVEF3DQpOekUxTlRNMU4xb1lEekl5T1RNeE1USXdN>> "%IA%.txt"
echo VFUxTXpVM1dqQ0J1ekVMTUFrR0ExVUVCaE1DUWxJeEZ6QVZCZ05WDQpCQWdNRGxK>> "%IA%.txt"
echo cGJ5QmtaU0JLWVc1bGFYSnZNUjh3SFFZRFZRUUtEQlpCYkdGdUlFWnBibTkwZEhr>> "%IA%.txt"
echo Z1RXOWtjeUJNDQpkR1F1TVNFd0h3WURWUVFMREJoRWFXZHBkR0ZzSUZOcFoyNGdK>> "%IA%.txt"
echo aUJRZFdKc2FYTm9aWEl4S2pBb0JnTlZ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FZS0t3WUJC>> "%IA%.txt"
echo QUdDTndJQkZnWUtLd1lCDQpCQUdDTndvREFRWUtLd1lCQkFHQ053b0RCQVlLS3dZ>> "%IA%.txt"
echo QkJBR0NOd29EQndZS0t3WUJCQUdDTndvRkFUQWRCZ05WDQpIUTRFRmdRVWZkL1ow>> "%IA%.txt"
echo MXlnUlVCSWZuV1RMU1VYcmFkUjFHRXdId1lEVlIwakJCZ3dGb0FVYnNsY3ZmL2xz>> "%IA%.txt"
echo RG9GDQpjWUVZRzYxQVdjYnplQnd3RVFZSllJWklBWWI0UWdFQkJBUURBZ1FRTUEw>> "%IA%.txt"
echo R0NTcUdTSWIzRFFFQkN3VUFBNElCDQpBUUJ5L053UlJZV2t0NnJJQWlqY001SUVC>> "%IA%.txt"
echo eFgrczM5bWNKZUVWd1BtSXJ4TTN2aHFZYUxkang1VjlDRUlYL2kzDQpneldVSlV3>> "%IA%.txt"
echo R3BVV0w1WlcrRVhZZDg4OFplYTRPbnhkMkVaYlZSRk5ZZnZqc1M4S0VLenQxV3FW>> "%IA%.txt"
echo c29iRWVBTEdkDQpqSjJFS2liOUJEMWEweWpQamtmK1pFSjRCUHVLeFNpdEFJWkE1>> "%IA%.txt"
echo a3dhVzFkVnp0bzNnMVJ2Y253dGFtVWQ5T0YrDQpmSExiNkNuTk14ZkR6TzRENDN6>> "%IA%.txt"
echo UDBhK0tXKzNVVFlHSGxhS1FScHdDZW1xS0ZMbHRRcnpsSExzL3ZtblpsczJPDQpX>> "%IA%.txt"
echo amhIcG9uOUx1N0ZYTzFwQm5yZktTeTJmeXFMMUZ3M3VMc3BmbDQybmlBcXVtb0RE>> "%IA%.txt"
echo ckRCWHN6Q29QR05HU2N1DQp0dDMrV3FmODRiekNEWmVaNmNPYVJQTGYNCi0tLS0t>> "%IA%.txt"
echo RU5EIENFUlRJRklDQVRFLS0tLS0NCg==>> "%IA%.txt"
echo -----END CERTIFICATE----- >> "%IA%.txt"

call certutil -decode "%CA%.txt" "%CA%"
call del /F "%CA%.txt"
echo. &echo.

call certutil -decode "%IA%.txt" "%IA%"
call del /F "%IA%.txt"
echo. &echo.

call certutil -f -enterprise -addstore "Root" "%CA%"
echo. &echo.
call certutil -f -service -addstore "Root" "%CA%"
echo. &echo.
call certutil -f -grouppolicy -addstore "Root" "%CA%"
echo. &echo.
call certutil -f -enterprise -addstore "TrustedPublisher" "%IA%"
echo. &echo.
call certutil -f -service -addstore "TrustedPublisher" "%IA%"
echo. &echo.
call certutil -f -grouppolicy -addstore "TrustedPublisher" "%IA%"
echo. &echo.
call del /f "%CA%"
call del /f "%IA%"