23.03.2013 Views

Quick introduction to reverse engineering for beginners

Quick introduction to reverse engineering for beginners

Quick introduction to reverse engineering for beginners

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

.text:005410CD add esp, 40h<br />

.text:005410D0 retn<br />

.text:005410D0 rotate1 endp<br />

... this code is placing contents from internal array <strong>to</strong> cube global array via set_bit() function, but, in<br />

different order! Now loop 1 counter is in range 7 <strong>to</strong> 0, decrementing at each iteration!<br />

C code representation looks like:<br />

void rotate1 (int v)<br />

{<br />

bool tmp[8][8]; // internal array<br />

int i, j;<br />

};<br />

<strong>for</strong> (i=0; i

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!