dcsimg
Results 1 to 3 of 3

Thread: we can compile dll in VBA IDE now

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2015
    Posts
    170

    we can compile dll in VBA IDE now

    there are 5 steps:
    1.add a reg item to registry
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Licenses\8804558B-B773-11D1-BC3E-0000F87552E7]
    @="yjwqljkjjjljjjnjwklqqjqjxkrpljlqplvk"
    2.crack VBEx.dll typelib 3
    crack your VBEx.dll, mine is VBE7.dll, and version 7.0.15.90
    just use reshacker to export typelib 3 to tlb
    then use tlbEditor of Matthew Curland, to add this items to EnumInstVbeClass
    Code:
            MultiUse = 5,
            GlobalMultiUse = 6,
    3.crack the limitation of the usage of Activex Designer, use any Activex Designer without limitation.
    we need change only one place in VBEx.dll. that is the function "IsDesignerSupported"
    we can load correct VBEx.pdb file to IDA to see the function.
    and we need change the only 72 0C to EB 0C(seems VBEx.dll lower than office 2013 are quite the same, but 2013 and further i can not get the correct pdb file from microsoft)
    4.replace the VBEx.dll with the one we fixed at step 2 and step 3.
    5.copy mspdb60.dll, link.exe to the folder where VBEx.dll is.
    and then we can enjoy vba to compile dll now.

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Jan 2015
    Posts
    170

    Re: we can compile dll in VBA IDE now

    dumplicated post

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jan 2015
    Posts
    170

    the 3rd fix of office 2016

    i have a 2016 x86 vbe7.dll
    i have found that offset of 72 0C
    need search 3B 1B B0 77 95 in dll, then we jump to the adress of it.
    we can find which is and data of below address.
    Code:
    .rdata:1023F284                         loc_1023F284:                           ; DATA XREF: sub_10171F1F+72↑o
    .rdata:1023F284 3B 1B                                   cmp     ebx, [ebx]
    .rdata:1023F286 B0 77                                   mov     al, 77h
    .rdata:1023F288 95                                      xchg    eax, ebp
    we go to sub_10171F1F+72
    we found the first 72 0C after it is the write place to fix.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width