VB Decompiler Forum Index VB Decompiler
Hosted by TheAutomaters.com
 
  MemberlistMemberlist
 

12 ThisVCallAd / ThisVCallI2

 
   VB Decompiler Forum Index -> Base
Author Message
Anonymous
New User


Joined: 10 Feb 2008
Posts: 0

Posted: Tue Nov 19, 2002 7:27 pm     Post subject: 12 ThisVCallAd / ThisVCallI2

NumBytes: 3
ArgStr:
SrcStr:
Comments:

Runtime engine:
[asm:3re0n41c]
  1. mov   edx, [ebp-44h]                ; edx = "me"
  2. or    word ptr [edx+74h], 1         ; ?
  3. mov   ebx, [ebp+8]                  ; ebx = me.vtable (?)
  4. movzx eax, word ptr [esi]           ; eax = arg0
  5. push  ebx                           ; save me.vtable (?)
  6. cmp   _g_EventMonitorsEnabled, 0    ; if EventMonitors are enabled
  7. jnz   short lblEventMonitorsEnabled
  8. add   eax, [ebx]                    ; eax = me.vtable(arg0) (?)
  9. call  dword ptr [eax]               ; call proc at vtable
  10.  
  11. lblEndProc:
  12.   push  eax                           ; save this method
  13.  
  14. lblNextOpCode:
  15.   xor   eax, eax
  16.   mov   al, [esi+2]
  17.   add   esi, 3
  18.   jmp   ds:_tblByteDisp[eax*4]
  19.  
  20. lblEventMonitorsEnabled:
  21.   pusha
  22.   push  esp
  23.   push  eax
  24.   push  ebx
  25.   call  _VBAEventVtableCall@12        ; VBAEventVtableCall(x,x,x)
  26.   popa
  27.   add   eax, [ebx]
  28.   call  dword ptr [eax]
  29.   pusha
  30.   push  esp
  31.   call  _VBAEventProcExit@4           ; VBAEventProcExit(x)
  32.   popa
  33.   jmp   short lblEndProc
[/asm:3re0n41c]
Back to top
_aLfa_
Site Admin


Joined: 21 Sep 2002
Posts: 233
Location: Aveiro, Portugal

Posted: Wed Mar 19, 2008 4:52 pm     Post subject: Re: 12 ThisVCallAd / ThisVCallI2

Microsoft calls this ThisVCallI2.
_________________
One thing only I know, and that is that I know nothing. (Socrates)
Back to top
   VB Decompiler Forum Index -> Base All times are GMT
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group