fun code run it.exe Decompiled
A trollware by my friend, but I decompiled it
Filename: fun code run it.exe
By: mintttt131v2
Decompiler: GNU C++ (mingw)
SHA256: 4B57103C56ED307DA3D78E96FC9DA3C42F54E82865A4375F77850BAD4B2DD4F9
SHA1: 2EF23759BBC71E480BBF9497F98677AD82A3CF43
MD5: 71DFCF127556A4F5F8B78EC5BE707743
CRC32: EE0E476B
IDA Pro 7.7.220118 with Hex-Rays Decompiler 7.5.0.200728
Notepad++ 8.4.4
Shadow Defender 1.5.0.726
Code::Block 20.03
Starting with int i, n;
i is for for loop, n is for input
Ask for input: "You want to play the game?[yes = 1, no = 0]"
Even you choose 1, 0 or something else, watch this: n = 1;
"Glad you said yes" you know :)
Open 14 times rick roll link , by using ShellExecute from windows.h
for ( i = 0 ; i <= 14 ; i++ )
ShellExecute (NULL , " open" , " https://www.youtube.com/watch?v=oHg5SJYRHA0" , NULL , NULL , SW_SHOWNORMAL);
Bonus - on IDA (C to C++ so you can understand):
for ( i = 0 ; i <= 0xE ; ++i )
ShellExecuteA (0 , " open" , " https://www.youtube.com/watch?v=oHg5SJYRHA0" , 0 , 0 , 1 );
You don't need int i as first, when in for loop, you can int i it
You also can use system() instead of ShellExecute
for ( int i = 0 ; i <= 14 ; i++ )
system (" start https://www.youtube.com/watch?v=oHg5SJYRHA0" ); // I think this doesn't work :/
And if you don't want to get caught, use UPX or Log0 's nightmare: ZProtect
I recommend using Dev-Cpp to run it. Or Code::Block if you want.
Because my friend still think I'm a dumb guy, so I did it.
You can use my code, but remember: