flat assembler
Message board for the users of flat assembler.
Index
> Main > How to call WINAPI without use Invoke??? |
Author |
|
revolution 18 Aug 2014, 16:11
Parameters are pushed in reverse order. And the call target is indirect.
Code: push FIND_STRUCT push file_extension call [FindFirstFile] |
|||
18 Aug 2014, 16:11 |
|
neville 19 Aug 2014, 01:50
jhonny6721 has admitted he is "researching" computer viruses.
Perhaps it can now be inferred that his research might be "delivered" via .fly email files. _________________ FAMOS - the first memory operating system |
|||
19 Aug 2014, 01:50 |
|
revolution 19 Aug 2014, 01:57
Must be a fishing program? Or perhaps an insect database? An airline booking system? Trouser zipper failure analysis?
|
|||
19 Aug 2014, 01:57 |
|
alexfru 19 Aug 2014, 07:17
Invoke GetProcAddress() to obtain the address of FindFirstFile(). Then call it.
Other than that, you'd probably need to construct the .EXE manually or analyze it in memory (i.e. find the import table and the address of FindFirstFile() in it). |
|||
19 Aug 2014, 07:17 |
|
revolution 19 Aug 2014, 09:44
alexfru wrote: Invoke GetProcAddress() to obtain the address of FindFirstFile(). Then call it. |
|||
19 Aug 2014, 09:44 |
|
DOS386 19 Sep 2014, 08:49
> How to call WINAPI without use Invoke???
Lowest level: http://board.flatassembler.net/topic.php?t=11170 |
|||
19 Sep 2014, 08:49 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.