This does not prove ANYTHING. You are looking at STATIC strings. Those discord strings are to remove a token logger that was spread by acdiamond and other competitors under cobalts name to try ruin their reputation. Fff has even posted the source code for the strings u are looking at and has proven that it is nothing malicious.
You've literally just figured out how to look at program strings and now you think you're a reverse engineering god. When infact you are just a retard with a pumped up ego.
Here is the source code and IDA disassembly for the strings in question. As you can see they are clearly
. I find it quite sad that when a cheat developers tries to help his userbase by implementing something to remove a potential virus, they get called out for being "rats", "miners" and "scum".
Code:
/// original 1KB discord file in hex array form.
unsigned char discord[ 40 ] = {
0x6D, 0x6F, 0x64, 0x75, 0x6C, 0x65, 0x2E, 0x65, 0x78, 0x70, 0x6F, 0x72,
0x74, 0x73, 0x20, 0x3D, 0x20, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
0x28, 0x27, 0x2E, 0x2F, 0x63, 0x6F, 0x72, 0x65, 0x2E, 0x61, 0x73, 0x61,
0x72, 0x27, 0x29, 0x3B
};
std::vector<std::string> get_file_directories( const std::string& s )
{
std::vector<std::string> r;
if ( std::filesystem::exists( s ) ) {
for ( auto& p : std::filesystem::recursive_directory_iterator( s ) )
if ( p.is_directory() ) {
r.push_back( p.path().string() );
}
}
return r;
}
void clean_discord_files( std::vector<std::string> s ) {
for ( auto&& item : s )
{
if ( item.find( "\\discord_desktop_core-3\\discord_desktop_core" ) != std::string::npos )
{
item = item + "\\index.js";
FILE* file = fopen( item.c_str(), "wb" );
/// Write original index file back into discord.
fwrite( discord, sizeof( char ), sizeof( discord ), file );
/// Close file handle
fclose( file );
break;
}
}
}
int WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd )
{
#ifdef _DEBUG
AllocConsole();
freopen_s( (FILE**)stdout, "CONOUT$", "w", stdout );
#endif
std::string localAppData = getenv("LOCALAPPDATA" );
std::vector<std::string> discordDir = get_file_directories( localAppData + "\\Discord" );
std::vector<std::string> discordPTBDir = get_file_directories( localAppData + "\\DiscordPtb" );
std::vector<std::string> discordCanaryDir = get_file_directories( localAppData + "\\DiscordCanary" );
clean_discord_files( discordDir );
clean_discord_files( discordPTBDir );
clean_discord_files( discordCanaryDir );
if ( std::filesystem::exists( XOR( "C:\\ProgramData\\AMD\\drm.exe" ) ) )
{
std::filesystem::remove( XOR( "C:\\ProgramData\\AMD\\drm.exe" ) );
}
if ( std::filesystem::exists( XOR( "C:\\ProgramData\\NVIDIA\\drm.exe" ) ) )
{
std::filesystem::remove( XOR( "C:\\ProgramData\\NVIDIA\\drm.exe" ) );
}
...