OK, So this has been driving me crazy over the last few weeks, All I need to do is edit a file so that it runs without showing any windows (I.E Runs in background) The window is created by means of Delphi, (So WS_EX_TOOLWINDOW Won't work)
The only way to do this is to edit the showwindow API call in assembly, However I can't really get too much information, I've found the appropriate Call however after editing it, It does run but after a second or so the process then exits, But it does run at least, And without any windows, So were semi there.
Here's the troublesome address, If anyone wants to help and needs the actual file PM me.
0048B933 > 8B45 FC MOV EAX,DWORD PTR SS:[EBP-4] 0048B936 . 0FB680 2B02000> MOVZX EAX,BYTE PTR DS:[EAX+22B] 0048B93D . 8B0485 14B3490> MOV EAX,DWORD PTR DS:[EAX*4+49B314] 0048B944 . 50 PUSH EAX 0048B945 . 8B45 FC MOV EAX,DWORD PTR SS:[EBP-4] 0048B948 . E8 17AAFEFF CALL 0048B94E.00476364 0048B94D . 50 PUSH EAX ; |hWnd 0048B94E . E8 09BFF7FF CALL <JMP.&user32.ShowWindow> ; \ShowWindow
I edit the
MOV EAX,DWORD PTR DS:[EAX*4+49B314]
And that's when I get the exiting process. The file isn't mine and their fore I do not have the source code.