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.

loc_80485AB: ; CODE XREF: f+1E0<br />

; f:loc_8048596<br />

cmp ebx, edi<br />

jbe loc_8048513<br />

loc_80485B3: ; CODE XREF: f+1F5<br />

mov eax, edi<br />

sub eax, esi<br />

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

ja short loc_80485EB<br />

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

mov esi, ebx<br />

sub eax, ebx<br />

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

ja short loc_8048634<br />

sub [ebp+var_11C], 8<br />

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

mov ecx, [edx+4]<br />

mov esi, [edx]<br />

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

jmp short loc_8048634<br />

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

loc_80485EB: ; CODE XREF: f+209<br />

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

sub edx, ebx<br />

cmp edx, [ebp+var_130]<br />

jbe short loc_804862E<br />

cmp eax, edx<br />

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

lea eax, [edx+8]<br />

jle short loc_8048617<br />

mov [edx], esi<br />

mov esi, ebx<br />

mov [edx+4], edi<br />

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

jmp short loc_8048634<br />

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

loc_8048617: ; CODE XREF: f+252<br />

mov ecx, [ebp+var_11C]<br />

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

mov [ecx], ebx<br />

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

mov [ecx+4], ebx<br />

loc_804862E: ; CODE XREF: f+245<br />

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

loc_8048634: ; CODE XREF: f+21B<br />

; f+235 ...<br />

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

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

141

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

Saved successfully!

Ooh no, something went wrong!