Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to

existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile

and so much more. This message will be removed once you have signed in.

Active Hackers

The best community of active hackers. This community has been working in hacking for more than 10 years.

 

Hacker Forum

Hacker from all countries join this community to share their knowledge and their hacking tools

    Hacking Tools

    You can find thousands of tools shared by hackers. RAT's, Bot's, Crypters FUD, Stealers, Binders, Ransomware, Mallware, Virus, Cracked Accounts, Configs, Guides, Videos and many other things.

      PRIV8

      Become a Priv8 user and access all parts of the forum without restrictions and without limit of download. It only costs 100 dollars, and it will last you for a lifetime.

      Read Rules

      In this community we follow and respect rules, and they are the same for everyone, regardless of the user's rank. Read the rules well not to be prohibited.

      Sign in to follow this  
      top10

      [MASM] Loading API's Dynamically

      Recommended Posts

      [LENGUAJE=ASM].386

      .model flat, stdcall

      option casemap:none

      include \masm32\include\windows.inc

      include \masm32\include\kernel32.inc

      includelib \masm32\lib\kernel32.lib

      .data

       

      Message db "Message",0

      Box db "BoxA",0

      sTest db "MessageBoxA API Call",0

      sDemo db "Demo",0

      sLib db "user32",0

       

       

      .data?

      hLib dd ?

      Func dd ?

      Result db ?

       

      .code

       

      start:

      invoke lstrcat,addr Result,addr Message

      invoke lstrcat,addr Result,addr Box

      invoke LoadLibrary,addr sLib

      mov hLib, eax

      invoke GetProcAddress,hLib,addr Result

      mov Func, eax

      push 0

      push offset sDemo

      push offset sTest

      push 0

      call Func

      invoke ExitProcess,0

      end start[/LENGUAJE]

      Share this post


      Link to post
      Share on other sites
      Guest
      This topic is now closed to further replies.
      Sign in to follow this