Re:Steam's VAC reads all the domains you visited
by TheAnimus on Monday February 17, 2014 @08:31AM
(#7251975)
As it tests if it it's equal to 0x23dc67e8 after XOR, I'm guessing this is a protection against some patching or similar.
It get's XOR'd once after the GetProcAddress, then XOR'd back before the STDCALL invocation.
This is done for both the GetProcAddress calls, so I'm going to just guess that this is some anti-patching anti-cheat shenanigans.
Re:Steam's VAC reads all the domains you visited
by yoha on Monday February 17, 2014 @08:35AM
(#7251983)
That's just in-memory obfuscation. The value is xored with 0x23dc67e8 when set and the variable xored again whenever is used. Its first use is to check that the symbol was resolved correctly, that implies testing for NULL/0. The compiling-decompiling process made it so that it is actually just comparing the variable to the mask.
Re:Steam's VAC reads all the domains you visited
by yoha on Monday February 17, 2014 @08:23AM
(#7251939)
From the reddit comments:
http://www.reddit.com/r/GlobalOffensive/comments/1y0kc1/vac_...
btw, help me understand the use of the DnsFree variable... why is it often exor'd with 0x23dc67e8? is that the addr of a routine and exor is faster than adding? thank you.