flat assembler
Message board for the users of flat assembler.
Index
> Windows > Need guidence - looking for a good tutorial |
Author |
|
l_inc 21 May 2016, 21:46
redsimplex
Quote: but it's for MASM and I dont want to switch again to another assembler and learn the syntax all over again Then don't. The WinAPI is the same, the instructions are the same. Translating the examples into fasm is gonna be just a little exercise to get used to fasm syntax. _________________ Faith is a superposition of knowledge and fallacy |
|||
21 May 2016, 21:46 |
|
AsmGuru62 22 May 2016, 14:56
Isn't there a set of FASM examples for Win32 going from a very simple to a complex one?
Just like Iczelion, but using FASM? If not, would anyone please code it for new generation? |
|||
22 May 2016, 14:56 |
|
Mikl___ 23 May 2016, 00:11
Hi, redsimplex!
You have not tried to use the Search button? For: newbies : Iczelion's Assembly Tutorial in FASM |
|||
23 May 2016, 00:11 |
|
bitRAKE 23 May 2016, 02:14
Basically put, everything is a number used internally by Windows to track stuff. There are different types of handles and IDs, but they are all just 32bit numbers. (If you delve deeper, some are memory addresses, or RGB values, or constants which never change.) All the names are confusing at first, but you'll get the hang of it.
"Oh, Windows needs a ThreadID for this API. Do I set the ThreadID, or is there an API that returns it?" You'll find the answer just reading the API's that create/control threads. So, tackle the API in small batches when you are trying to do something. Are you familiar with any other programming languages? |
|||
23 May 2016, 02:14 |
|
redsimplex 23 May 2016, 05:53
AsmGuru62 - There is, but I find it difficelt to understand even the most basic of them 'TEMPLATE'.
For example, I dont understand how the CreateWindowEx with all its parameters works and how the OS transforms this procedure into an actual window. Mikl___ - I already came across this thread. But it looks like the links are broken or that the sites are down. bitRAKE - thanks for the replay. I think I start understanding a little better now. And I learned Java and C# at school, so I am not sure I can say that I am 'familiar' but I do know some very basic stuff. For now, I'll go through Iczelions guide. |
|||
23 May 2016, 05:53 |
|
Mikl___ 23 May 2016, 06:56
Quote: But it looks like the links are broken or that the sites are down redsimplex, catch it
|
|||||||||||
23 May 2016, 06:56 |
|
AsmGuru62 23 May 2016, 13:27
redsimplex:
I see. Well, the Windows API is a set of functions, you pass parameters and you get back the result, in this case the window will appear on screen. Are you trying to understand how the functions work internally? Or you want to understand the parameters to API functions? To understand internals - is, of course, the next stage of Windows Programming. But for now, you can just accept the API function as the black box, which does what you specify in parameters. For more explanation on parameters always go to MSDN, just google the function name and visit link to MSDN: CreateWindowEx Full API is here: Windows API Index And, of course, ask questions here or search this forum - there are code samples for some common problems. |
|||
23 May 2016, 13:27 |
|
El Tangas 28 May 2016, 15:51
The win32 API has become so bloated over time, that I decided to put here a link for the classic win32 help files from Borland, much easier to grasp for someone new to this stuff. Main file is win32.hlp:
http://s000.tinyupload.com/index.php?file_id=38814393278340232853 |
|||
28 May 2016, 15:51 |
|
sleepsleep 29 May 2016, 15:16
i found something cool and nice,
http://www.pentesteracademy.com/course?id=7 Quote: x86_64 Assembly Language and Shellcoding on Linux if you don't like to join the course, you could download the whole stuff from torrent, kat.cr |
|||
29 May 2016, 15:16 |
|
knell 08 Jun 2016, 14:05
You're asking the very question that I wanted to ask. But I refrained to ask because it would be too broad.
I suggest you to try converting your previous code (or some algorithm that you understood before) in other language to FASM. So you can be more comfortable with FASM and assembly in general. I learned on how to write Lisp Interpreter from buildyourownlisp.com (although it's tutorial written in C) using FASM but right now I'm stuck with GC implementation. For example, I didn't know on how to write linked list in FASM before so I looked the example/tutorial on how to write it. From there, it's just snowballing, like on how to read from the console, on how to to parse the input, on how allocate the memory (and releasing it), etc. Good luck in your adventure |
|||
08 Jun 2016, 14:05 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.