VectoR.360
September 17th, 2006, 21:09
While in the process of reverse engineering a C++ windows application,
and ran across a block of code that has me stumped.
I am not certain, but the code appears to be jumping to a
C++ method based on a VTABLE offset. Has anyone seen
similar code? Can anyone shed some light on this code snippet?
and ran across a block of code that has me stumped.
I am not certain, but the code appears to be jumping to a
C++ method based on a VTABLE offset. Has anyone seen
similar code? Can anyone shed some light on this code snippet?
Code:
SUB_L00A27C60:
push ecx
cmp eax,00001000h
lea ecx,[esp+08h]
jc L00A27C80
L00A27C6C:
sub ecx,00001000h
sub eax,00001000h
test [ecx],eax
cmp eax,00001000h
jnc L00A27C6C
L00A27C80:
sub ecx,eax
mov eax,esp
test [ecx],eax
mov esp,ecx
mov ecx,[eax]
mov eax,[eax+04h]
push eax
retn