piotrhn Posted March 9, 2017 Posted March 9, 2017 (edited) Hi, How write in assemebler instruction call to resource in other DLL not exported function. I want call from dll to dll procedure. call "FunctionName" ex. call SetLastError RtlSetSecurityObjectEx: push ebp mov ebp,esp push [ebp+1Ch] push [ebp+18h] push 00000001h push [ebp+14h] push [ebp+10h] push [ebp+0Ch] push [ebp+08h] push 00000000h call SUB_L77F9B13A How write in assembler cal to SUB_L77F9B13A pop ebp retn 0018h Edited March 9, 2017 by piotrhn
jumper Posted July 25, 2017 Posted July 25, 2017 > How write in assembler instruction call to resource in other DLL not exported function. To access a resource call LoadResource(): call dword ptr [LoadResource] > I want call from dll to dll procedure. > call "FunctionName" ex. call SetLastError call dword ptr [SetLastError] To call an unexported function that starts 100h (256) bytes after exported function ExportedAPI: call dword ptr [ExportedAPI] + 100h or: mov eax, dword ptr [ExportedAPI] + 100 call eax To call an absolute address (very dangerous as DLLs might be relocated): mov eax, 77F9B13Ah call eax
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now