Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Steam Games Hacks & Cheats › Counter-Strike 2 Hacks › Counter-Strike 2 Coding & Resources › C/C++ Encrypt/Decrypt Functions & Memory At Runtime

PostC/C++ Encrypt/Decrypt Functions & Memory At Runtime

Posts 31–39 of 39 · Page 3 of 3
WE
WeRRoo
Hi everyone, I've got a question like how to use a variable from C ++ to asm here is an example of what I want

void XorBlock(DWORD dwStartAddress, DWORD dwSize, BYTE Byte)
{
__asm
{
push eax
push ecx
mov ecx, dwStartAddress // Move Start Address to ECX
add ecx, dwSize // Add the size of the function to ECX
mov eax, dwStartAddress // Copy the Start Address to EAX



crypt_loop : // Start of the loop
xor byte ptr ds : [eax], Byte // XOR The current byte with 0x4D


inc eax // Increment EAX with dwStartAddress++
cmp eax, ecx // Check if every byte is XORed
jl crypt_loop; // Else jump back to the start label

pop ecx // pop ECX from stack
pop eax // pop EAX from stack
}
}
#31 · 9y ago
certmemer
certmemer
While I have no idea what are you trying to achieve, just don't use it, it's useless.
#32 · 9y ago
WE
WeRRoo
Okay, and thanks at least on this one
#33 · 9y ago
YA
yashine59fr
lol Encrypt/Decrypt is 100% useless for vac
#34 · 9y ago
certmemer
certmemer
Quote Originally Posted by yashine59fr View Post
lol Encrypt/Decrypt is 100% useless for vac
haha sure lets think theyll never bother to check strings haha
#35 · 9y ago
WA
WasserEsser
Quote Originally Posted by certmemer View Post
haha sure lets think theyll never bother to check strings haha
How has this anything to do with the detection?
They are never, _never_ ever going to ban you for having a string called "Aimbot" in it.
#36 · 9y ago
Adsvunu
Adsvunu
Quote Originally Posted by certmemer View Post
haha sure lets think theyll never bother to check strings haha
what? lol /2short
#37 · 9y ago
certmemer
certmemer
Quote Originally Posted by WasserEsser View Post
How has this anything to do with the detection?
They are never, _never_ ever going to ban you for having a string called "Aimbot" in it.
not saying they would ban solely for having a suspicious string in your file, but theyd have an additional detection vector.
#38 · 9y ago
WA
WasserEsser
Quote Originally Posted by certmemer View Post
not saying they would ban solely for having a suspicious string in your file, but theyd have an additional detection vector.
String encryption is the most useless thing on planet earth against an anti-cheat.
#39 · edited 9y ago · 9y ago
Posts 31–39 of 39 · Page 3 of 3

Post a Reply

Similar Threads

  • C/C++ Polymorphic Code (Encrypt/Decrypt Functions & Memory At Runtime)By nullptr_t in C++/C Programming
    30Last post 9y ago
  • Encrypt/Decrypt FunctionsBy CodeDemon in Combat Arms Hack Coding / Programming / Source Code
    7Last post 16y ago
  • Mods Encrypt/Decrypt???By SPA777174 in Call of Duty Modern Warfare 2 Help
    0Last post 16y ago
  • [TUT]Basic Encrypter\DecrypterBy Bombsaway707 in Visual Basic Programming
    30Last post 16y ago
  • Encrypt/Decrypt vb.Net?By o0OpurezO0o in Visual Basic Programming
    24Last post 15y ago

Tags for this Thread

#c++#crypter#polymorphism#runtime#self-modyfying code