Quick introduction to reverse engineering for beginners
Quick introduction to reverse engineering for beginners
Quick introduction to reverse engineering for beginners
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
ja loc_8048433<br />
mov ebx, [ebp+var_120]<br />
loc_804864C: ; CODE XREF: f+2A<br />
mov eax, [ebp+arg_4]<br />
mov ecx, [ebp+arg_0]<br />
add ecx, [ebp+var_130]<br />
dec eax<br />
imul eax, ebx<br />
add eax, [ebp+arg_0]<br />
cmp ecx, eax<br />
mov [ebp+var_120], eax<br />
jbe short loc_804866B<br />
mov ecx, eax<br />
loc_804866B: ; CODE XREF: f+2B3<br />
mov esi, [ebp+arg_0]<br />
mov edi, [ebp+arg_0]<br />
add esi, ebx<br />
mov edx, esi<br />
jmp short loc_80486A3<br />
; ---------------------------------------------------------------------------<br />
loc_8048677: ; CODE XREF: f+2F1<br />
push eax<br />
push [ebp+arg_10]<br />
mov [ebp+var_138], edx<br />
mov [ebp+var_13C], ecx<br />
push edi<br />
push edx<br />
call [ebp+arg_C]<br />
add esp, 10h<br />
mov edx, [ebp+var_138]<br />
mov ecx, [ebp+var_13C]<br />
test eax, eax<br />
jns short loc_80486A1<br />
mov edi, edx<br />
loc_80486A1: ; CODE XREF: f+2E9<br />
add edx, ebx<br />
loc_80486A3: ; CODE XREF: f+2C1<br />
cmp edx, ecx<br />
jbe short loc_8048677<br />
cmp edi, [ebp+arg_0]<br />
jz loc_8048762<br />
xor eax, eax<br />
loc_80486B2: ; CODE XREF: f+313<br />
mov ecx, [ebp+arg_0]<br />
mov dl, [edi+eax]<br />
mov cl, [ecx+eax]<br />
mov [edi+eax], cl<br />
mov ecx, [ebp+arg_0]<br />
142