The code in IDA has a try-catch structure. Before retn, it executes mov eax, .
retn
mov eax,
code in IDA
So I had to change t