Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6364977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:14:07+00:00 2026-05-25T00:14:07+00:00

http://www.security.org.sg/code/loadexe.html http://pastebin.com/QFHASx75 I’ve compiled this but can’t get it to work properly, It runs

  • 0

http://www.security.org.sg/code/loadexe.html

http://pastebin.com/QFHASx75

I’ve compiled this but can’t get it to work properly, It runs fine and shows no errors in the console

console output:

C:\~\~\Documents\Visual Studio 2010\Projects\loadEXE\Debug>loadEXE.exe AcceleratedC++Exe_2-0.exe
Original EXE loaded (PID = 4068).
Original Base Addr = 110000, Size = 29000
Unmapped and Allocated Mem for New EXE at 400000
EIP = 772501C4
EAX = 12141F
EBX = 7EFDE000
ECX = 0
EDX = 0
New EXE Image Size = 25000
New EXE image injected into process.
********> EIP = 772501C4
********> EAX = 411307
Process resumed (PID = 4068).

However I get this application error.

“The application was unable to start correctly (0xc0000005). Click OK to close the application.”

I’m new to the PE format and can’t figure out why this is happening, the article is old so I’m not sure if it even works on 64b but I don’t have a spare 32b CD to test. From what I’ve read of the PE Format, code for 32b should work on 64b.

Can anyone confirm if this works on 32b?
or know why I’m getting this error?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T00:14:07+00:00Added an answer on May 25, 2026 at 12:14 am

    The code modifies the entrypoint of the new process like this:

    ctx.Eax = (DWORD)v + inpeXH->addressOfEntryPoint;
    

    On Windows x64 (both 64-bit and wow64) this doesn’t work anymore, I’m actually surprised this trick was usable for so long.

    To quickly fix this, you’d need to write a small sample project that starts a suspended process and reads all registers from ctx and checks which one is the entrypoint. Try as many exes as you can on as many Windows versions you have.

    This really is undefined behaviour at best, things like weird access violations start happening once that little trick doesn’t work anymore (it will stop working again, sooner than later).
    I suggest you look for a better way to inject code into a process, but then I don’t know what exactly you’re trying to do…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

H Regarding this URL http://www.codeproject.com/KB/aspnet/FlashUpload.aspx User.Identity as System.Web.Security.FormsIdentity is always null, because the Identity
I received this source code: http://www.sbbic.org/split.zip under the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0 It came
http://www.validome.org/xml/validate/?lang=en&viewSourceCode=1&url=http://45143.com/finance-feed/abc.xml&onlyWellFormed=1 check the url above for validator results. Line 171 in the XSD is
http://www.w3.org/QA/Tools/Icons If my code is valid then Should i add logo to all my
I downloaded the selenium-java-2.0a5.zip http://code.google.com/p/selenium/downloads/list and ran the following code: package org.openqa.selenium.example; import org.openqa.selenium.By;
When I run this: <?xml version=1.0 encoding=UTF-8?> <mule xmlns=http://www.mulesource.org/schema/mule/core/2.2 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:http=http://www.mulesource.org/schema/mule/http/2.2 xmlns:https=http://www.mulesource.org/schema/mule/https/2.2 xsi:schemaLocation= http://www.mulesource.org/schema/mule/http/2.2
http://www.codeplex.com/IIRF/Thread/List.aspx My webhost installed IIRF for me and I am convinced that they did
http://www.programmersheaven.com/2/FAQ-ADONET Disconnected architecture is not well suited for desktop clients with multiple updates but
http://www.geocities.com/CapeCanaveral/Hall/2027/alfabeto.txt part of it: procedure f /martina go 20 rt 90 go 10 lt
http://www.izrada-weba.com/orso On mouseover on link NENATKRIVENA TERASA... submenu and image fade in together. Submenu

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.