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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

mov [edx+eax], bl<br />

mov ebx, edi<br />

mov [ecx+eax], bl<br />

inc eax<br />

cmp [ebp+var_120], eax<br />

jnz short loc_80484AB<br />

push ecx<br />

push [ebp+arg_10]<br />

mov [ebp+var_138], edx<br />

push esi<br />

push edx<br />

call [ebp+arg_C]<br />

add esp, 10h<br />

mov edx, [ebp+var_138]<br />

test eax, eax<br />

jns short loc_80484F6<br />

xor eax, eax<br />

loc_80484E1: ; CODE XREF: f+140<br />

mov cl, [edx+eax]<br />

mov bl, [esi+eax]<br />

mov [edx+eax], bl<br />

mov [esi+eax], cl<br />

inc eax<br />

cmp [ebp+var_120], eax<br />

jnz short loc_80484E1<br />

loc_80484F6: ; CODE XREF: f+ED<br />

; f+129<br />

mov eax, [ebp+var_120]<br />

mov edi, [ebp+var_124]<br />

add edi, [ebp+var_134]<br />

lea ebx, [esi+eax]<br />

jmp short loc_8048513<br />

; ---------------------------------------------------------------------------<br />

loc_804850D: ; CODE XREF: f+17B<br />

add ebx, [ebp+var_120]<br />

loc_8048513: ; CODE XREF: f+157<br />

; f+1F9<br />

push eax<br />

push [ebp+arg_10]<br />

mov [ebp+var_138], edx<br />

push edx<br />

push ebx<br />

call [ebp+arg_C]<br />

add esp, 10h<br />

mov edx, [ebp+var_138]<br />

test eax, eax<br />

jns short loc_8048537<br />

jmp short loc_804850D<br />

; ---------------------------------------------------------------------------<br />

139

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

Saved successfully!

Ooh no, something went wrong!