Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Programming Tutorials › Converting Dynamically linked library to executable.

Converting Dynamically linked library to executable.

Posts 1–3 of 3 · Page 1 of 1
radnomguywfq3
radnomguywfq3
Converting Dynamically linked library to executable.
I had to do this to unpack one of my target library as it wasn't working out well while loading the library via the executable. And a friend wanted me to show them how to do it, thus I made a video and I don't see any harm in sharing it with you guys :O

First you need to understand, while an executable has a EP, a dll has a defined RVA that is called when it has been loaded(known to most programmers as dllmain). Thus, the goal would be to have code injected into our target. What this code will do is call the dllmain of library, we'll set the executables EP to this point. You could say, we're createing an executable around the dll. It's a fairly simple process and hopefully you'll all find it helpful at later times. However, when we call dllmain we have to provide valid parameters, defined so here:

dllmain - MSDN Search
( I can't provide a direct link, only one that performs a search query, as MSDN is constantly changing their web-page's URLs to prevent direct-linking. Thus a direct link would be unreliable)

In the tutorial I use this webpage, however, I use it backwards D: Since the stack is LIFO. :X I just want to state I remembered the push order was 0,1,0 because I've done it before. I was simply trying to deminstrate how to use the MSN refference page as many people don't know how, and wasn't paying attention to it :S.

View in HD if you want to see anything:

[YOUTUBE]<object width="445" height="364"><param name="movie" value="http://www.youtube.com/v/Fkjf-6lTfAc&hl=en&fs=1&rel=0&color1=0x234900&color2=0x4 e9e00&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Fkjf-6lTfAc&hl=en&fs=1&rel=0&color1=0x234900&color2=0x4 e9e00&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="445" height="364"></embed></object>[/YOUTUBE]
#1 · edited 17y ago · 17y ago
Juan
Juan
thanks jeremy wildsmith. i think i nao understand.
#2 · 17y ago
Toymaker
Toymaker
Oh, hawt post guy.
#3 · 17y ago
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

  • AIL_stream_sample_handle@4 could not be located in the dynamic link library mss32.dllBy lilchat24 in Call of Duty Modern Warfare 2 Help
    0Last post 16y ago
  • Converting Links to Premium Direct Download Links!By Fogest in User Services
    10Last post 14y ago
  • Asseembly Tutorial LinksBy Dave84311 in Assembly
    19Last post 15y ago
  • Extracting classes from dynamically loaded libraries.By radnomguywfq3 in C++/C Programming
    3Last post 17y ago
  • C++ Links of InterestBy Dave84311 in C++/C Programming
    6Last post 20y ago

Tags for this Thread

#converting#dynamically#executable#library#linked