Pirate's Treasure

At the Pirate Bay, you can find a chest which asks for unlock code:

Sounds like a client-side reversing chall. Search "DLC" in symbols and we find a function named Player::SubmitDLCKey():

This key check is performed via a function named KeyVerifier::VerifyKey():

v3 = !KeyVerifier::VerifyKey(&v7);

So v3 = !KeyVerifier::VerifyKey(&v8) is a DLC unlock code check and the if (v3) {...} block is the failure scenario. If we want to pass the check, we must let the control flow go to the huge else {...} block.

Last updated