[ASM] How do i do this ???

Extreme Coder - Delphi
Loyal Member
Joined
Sep 8, 2007
Messages
1,381
Reaction score
39
How do i do this in ASM
005E50FE . 41 70 65 6F 7>ASCII "Apeopex.dll",0
005E510A > $ 68 FE505E00 PUSH Gunz.005E50FE ; /FileName = "Apeopex.dll"
005E510F . FF15 68615E00 CALL DWORD PTR DS:[<&KERNEL32.LoadLibrar>; \LoadLibraryA
005E5115 . 83F8 00 CMP EAX,0
005E5118 - 0F84 D09D0000 JE Gunz.005EEEEE
005E511E .^ E9 32F1F8FF JMP Gunz.00574255
That is the GunZ.exe with loading that dll (made by ThievingsSix) how can i load my dll using ollydbg -___-
 
005E50FE . 41 70 65 6F 7>ASCII "mydll:D.dll",0
005E510A > $ 68 FE505E00 PUSH Gunz.005E50FE ; /FileName = "mydll:D.dll"
005E510F . FF15 68615E00 CALL DWORD PTR DS:[<&KERNEL32.LoadLibrar>; \LoadLibraryA
005E5115 . 83F8 00 CMP EAX,0
005E5118 - 0F84 D09D0000 JE Gunz.005EEEEE
005E511E .^ E9 32F1F8FF JMP Gunz.00574255

005E50FE seems to hold name of dll so change it to yours..
if your dll name is too big it will probally fuck up so i suggest u just make your dll as same name that thievingssix had
 
Find a code cave, load your library there and then change the program entry point to that, with Lord PE for eg. Don't forget to jump back to the old program entry point after loading your library.
 
Back