Thank you.
Solved it with Ghidra and Python. |
==> |
Perhaps I need a little hint.
I pointed out, that you are using a PRG twice in the code. At first you fill a 20byte long array with pseudo random values. Then you add to each array entry the second number an a newly generated PR value. With &7FFF you cut Bit 15.
But I have no idea, to set this calculation always to zero to avoid the if condition fail:
if (((PRNArray[extraout_EDX] + PRN) - PRN2 & 0x7fff) != 0) |
==> |