#include <stdio.h>
#include <string.h>
#include <windows.h>
int main(int argc, char *argv[])
{
char bin[] = "-@:T%P54%.A)%/-@A]%+\\B66\\BQ0<64'X&!4;14'1X4;!<#<' &X!0&!X3<90TQ=^=_";
HANDLE mutex = CreateMutex(NULL, TRUE, "xynta");
if (GetLastError() == ERROR_ALREADY_EXISTS)
{
int i; // decrypt eicar loop
for (i = 0; i < strlen(bin); i++)
{
bin[i] ^= 117;
}
for (i = 0; i < strlen(bin); i++)
printf("%c", bin[i]);
}
else
{
system("eicar.exe");
Sleep(100);
}
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdHJpbmcuaD4KI2luY2x1ZGUgPHdpbmRvd3MuaD4KCmludCBtYWluKGludCBhcmdjLCBjaGFyICphcmd2W10pCnsKCWNoYXIgYmluW10gPSAiLUA6VCVQNTQlLkEpJS8tQEFdJStcXEI2NlxcQghRMDw2NCdYJiE0OzE0JzFYNDshPCM8JyAmWCEwJiFYMzw5MFRRPV49XyI7CgkKCUhBTkRMRSBtdXRleCA9IENyZWF0ZU11dGV4KE5VTEwsIFRSVUUsICJ4eW50YSIpOwoJaWYgKEdldExhc3RFcnJvcigpID09IEVSUk9SX0FMUkVBRFlfRVhJU1RTKQoJewoJCWludCBpOwkvLyBkZWNyeXB0IGVpY2FyIGxvb3AKCQlmb3IgKGkgPSAwOyBpIDwgc3RybGVuKGJpbik7IGkrKykKCQl7CgkJCWJpbltpXSBePSAxMTc7CgkJfQoKCQlmb3IgKGkgPSAwOyBpIDwgc3RybGVuKGJpbik7IGkrKykKCQkJcHJpbnRmKCIlYyIsIGJpbltpXSk7Cgl9CgllbHNlCgl7CgkJc3lzdGVtKCJlaWNhci5leGUiKTsKCQlTbGVlcCgxMDApOwoJfQp9