44 Posted Topics
Re: [B]1.[/B]I don't like this printf, i prefere use the library [B]msvcrt.inc[/B] and use the [B]crt_printf[/B], remember that you need to push an offset not a DWORD.. [B]2.[/B]You need to use 3 pushs in the printf because you need to move to the stack the first number, the second number and … | |
Re: Assembly, is the fastest language that exists, because thats the processor "human-undestandable" language, for now, you can't build a faster or smaller application than the assembly ones | |
Re: [CODE]TabControl1.Tabs[0].HideCaret;[/CODE] | |
Re: You could always use typeof () | |
Re: I always prefered the LUA Wrapper from the LUA.org, it's quite simple...Here's an example: static void AddLUAFunction(lua_State* L, char* FuncName, lua_CFunction Func) { //Adds a function to the lua global table //FuncName is the name of the function(in the LUA code) //Func is the function in C++ lua_pushcclosure(L, Func, 0); … | |
![]() | Re: Good engines for advanced members that are free for use: CryEngine(Crysis, Sniper Elite, Warface, Rise), Source Engine(Titanfall, TeamFortress, Counter Strike), but as mike said, if you want to use them for money you'll need to pay. |
Re: push ebp ;Prepare the stack for "local" variables mov ebp, esp mov dword ptr ds:[ebp-4], 10 ;Store the x value mov dword ptr ds:[ebp-8], 90 ;Store the y value mov dword ptr ds:[ebp-10], 2 ;Store the initial b value xor esi, esi ;ESI = count @1: mov eax, dword ptr … | |
Re: First of all, you need to understand that assembly is a very old language(created after the WW2), by that you should understand that in it's time it was a very handy tool, now-a-days it isn't that important because we already have debugging tools with the pre-compiled code. But don't forget … | |
Re: That means that the file @SI + 1 will be stored in BH | |
![]() | Re: In a PE file the base address is always in the same place the Optional Header, in the windows structures [IMAGE_OPTIONAL_HEADER](http://msdn.microsoft.com/en-us/library/windows/desktop/ms680339(v=vs.85).aspx) it is known as **AddressOfEntryPoint**, you just need to fill the structure and take it... |
Re: I think theres a NASM version for linux | |
Re: I have this PDF by a brazilian programmer that he teaches you how to make a simple OS, heres the link: [Click Here](http://www.fergonez.net/files/tut_sistoper.pdf) | |
Re: I use NASM to compile pure assembly on Linux. The program with pure assembly works with some things that looks like the PE Struct, as the definitions must be stored at the .data section, if is a variable, use .data? the code starts at .code, i like to put an … | |
Re: [CODE]xor eax, eax mov eax, 5 ;min value Looping: push eax ;move eax to the stack call crt_printf ;same as C function, use msvcrt library inc eax cmp eax, 9 ;max value jz Looping Final: ret[/CODE] | |
Re: I already tested NASM, MASM, FASM, TASM, but the one i most liked is WinASM, that one was the best of all... | |
Re: Just use a ExitProcess() in another procedure, or in the last action of main() you use a GoTo to another procedure | |
Re: Pascal now is only for beginners, people are using more objetive pascal(Delphi), another great program written all in delphi is the Borland Delphi(compiler), it is a self compiling application, very nice technology | |
Re: I made this function that deletes an array item, and another that edits an array, enjoy :) [CODE]procedure DeleteArrayItem(var ar: array of TData; const Index: Integer); begin if (Index < High(ar)) and (Index > Low(ar)) then begin if (Index = High(ar) then begin SetLength(ar, Length(ar) -1); Exit; end; end; Finilize[ar[Index]); … | |
I need to create a KeyStroke encryption, i studied about it and the theory is this: [LIST] [*]Check the keystate before keyloggers do it [*]Cancel the action of the key [*]get the active window [*]Simulate a virtual key in this window [/LIST] I can make the last three items, but … | |
Re: the Assembly compiler WinASM was created in assembly and it's OpenSource | |
Re: I really didn't understand but, i think you want to know how we Dissassembly a file, well, if you want to dissassembly a closed file, you can try using the WindowsAPIs CreateFile(), WriteFile() and ReadFile()... If you want to dissassembly a opened file i would use a OpenProcess(), WriteProcessMemory() and … | |
Re: This links can help you. [URL="http://duckduckgo.com/?q=TImageList+using+delphi"]Search at DuckDuckGo[/URL] [URL="http://docs.codegear.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/!!MEMBEROVERVIEW_Controls_TImageList.html"]TImageList Members[/URL] [CODE] function Add(Image: TBitmap; Mask: TBitmap): Integer; function AddIcon(Image: TIcon): Integer; procedure AddImages(Value: TCustomImageList); function AddMasked(Image: TBitmap; MaskColor: TColor): Integer; [/CODE] | |
Re: Try to make something like that [CODE]procedure RandomMove; const MoveX : array[0..2] of integer = (-1, 0, 1); MoveY : array[0..2] of integer = (-1. 0, 1); begin Randomize; //you need to use this procedure before you the Random() one Ant.MoveToXY(Random(MoveX), Random(MoveY)); //the value in Random() must be the value … | |
Re: Well, if i undersood corectly, you want to loop that the user puts how many times, so, you can use the register ECX to store how many times you want the loop and then use the LOOP procedure. | |
Re: I made now a simple function explaining everything. [CODE] function Authentificate(user : string;password : string) : boolean; var //Add in uses Registry //if the authentification be success he will return true, else he will return false. reg : TRegistry; begin try Reg := TRegistry.Create; Reg.RootKey := HKEY_LOCAL_MACHINE; //put the RootKey, … | |
Re: I would use a XML to store all the informations that you will need, the font, the text and etc.Try to do something like this: [CODE]<?XML version="1.0"?> <FirstGuy> <font>clRed</font> <content>Hello my friend.</content> </FirstGuy> <SecondGuy> <font>clRed</font> <content>Hello FirstGuy</content> </SecondGuy> [/CODE] [CODE]function StrToColor(Value: string): TColor; begin Value := UpperCase(Value); if Value = … | |
Re: I found a way to "crack" it. Change in: [CODE]CheckRow: mov bl, [edx] cmp bl, [edx+eax] je Fail .if eax<8 inc eax jmp CheckRow .endif[/CODE] for: [CODE]CheckRow: mov bl, [edx] cmp bl, [edx+eax] je CheckRow[/CODE] This way, no matter what you put in the box, you'll always be right. | |
Re: [CODE]; ««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««« * .486 .model flat, stdcall option casemap :none ; case sensitive ; ««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««« include \masm32\include\windows.inc include \masm32\include\kernel32.inc include \masm32\include\msvcrt.inc includelib \masm32\lib\msvcrt.lib includelib \masm32\lib\kernel32.lib ; ««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««« .data Str1 db "Hello, World",0 Str2 db " ",0 Str3 db "Unkown Command ",0 ; ««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««« .code ClearCIn proc PUSH STD_INPUT_HANDLE CALL GetStdHandle … | |
Re: Well, if i understoor correctly you have two integers that are of 16 bits and you need to add those into a new integer of 32 bits. Ok, what you can do, it's not every assembly register that are of 32 bits. [B]EAX, EBX, ECX for example are 32 bits … | |
Re: Try to use the MASM library "msvcrt.inc", in this library you can use the C function Printf e ScanF, like this example: [CODE]PUSH OFFSET Str1 ;move Str1 to the pill CALL crt_printf ;call the printf function ADD ESP,4[/CODE] | |
Re: i'm not with my delphi herw but try this function [CODE]function Potencia(Base, Expoente : Extended) : Extended; begin Potencia := Exp(Expoente * Ln(Base)); end; [/CODE] its the same as Base^Expoente PS:I put Base and Expoente cause im brazilian and that's how me call this parameters of the calc here. | |
Re: [CODE] mov ecx, 18 ;specify the number of timer the loop will loop. ;Now you put your code LOOP multiply_nums ;start the loop [/CODE] | |
Re: [URL="http://www.amazon.com/Breaking-Through-BIOS-Barrier-Optimization/dp/0131455362"]http://www.amazon.com/Breaking-Through-BIOS-Barrier-Optimization/dp/0131455362[/URL] [URL="http://www.amazon.com/Bios-Robert-Charles-Wilson/dp/0812575741"]http://www.amazon.com/Bios-Robert-Charles-Wilson/dp/0812575741[/URL] | |
Hello all, I want to check in a external process if an address X, that i'll call here $00000001 is "NOPPED", i know that an address with NOP its byte is x90, so my question is: Can i use ReadProcessMemory putting the value x90 as the IpBuffer or do you … | |
Re: [CODE] .data Counter dd 0 ... TRYAGAIN: mov cx, 12 mov bx, 0 AGAIN: mov ah, 01h ; read a char from KB with echoing on screen int 21h ; stores the char read in al cmp al, 0dh ; cmp al with <cr>(0dh) je ACTION mov ENTRY[bx], al ; … | |
Re: You can create a game using XNA, its not that tough but i think a job in microsoft you will need to work harder than other 1.000.000 geeks that are trying the same... | |
Re: I already tested a lot of ASM Compilers, and the one which i most liked was WinASM, but you need MASM to use it, and i think its better you use MessageBox in your hello world [CODE]PUSH 0 ;specify that its a MB_OK message PUSH HelloWorld ;text from the message … | |
Re: [CODE] int x = 1; while( x <= 3 ){ x++; printf("Sorry try again!"); }[/CODE] [CODE].data Message001 db "Sorry try again!", 0 X dd 0 ... main: MOV X, 1 CMP X, 3 JNB Func ;jump if is greater than 3 to a function Inc X PUSH OFFSET Message001 CALL … | |
Re: [CODE]RichEdit1.Lines.SaveToFile('C:\txt.txt');[/CODE] [CODE]var i: integer; fSave : TextFile; begin AssignFile(fSave, 'C:\txt.txt'); Rewrite(fSave); for i := 0 to RichEdit1.Lines.Count -1 do begin Write(fSave, RichEdit1.Lines.Strings[i]); end; Append(fSave); end;[/CODE] | |
Re: [CODE] const csfsBold = '|Bold'; csfsItalic = '|Italic'; csfsUnderline = '|Underline'; csfsStrikeout = '|Strikeout'; procedure StringToFont( sFont : string; Font : TFont ); var p : integer; sStyle : string; begin with Font do begin // get font name p := Pos( ',', sFont ); Name := Copy( sFont, 2, … | |
Re: C++ [CODE]void customer (struct data *cust1); void menu(); void printReceipt(struct data *cust1, float &balance); struct data{ char name[20]; int accno; }cust, *cust1;[/CODE] [CODE]procedure customer(cust1 : Data); procedure menu; procedure printReceipt(cust1 : Data;&Balance : Float); type Data = TClass() name : Array[0..20] of char; accno : integer; end; cust, *cust1 //Didnt … | |
Hello!I'm new here, so, in my course i have to crack a program written by my teacher, he said that its a simple crack, this program have a message like:"This is a free program", i need to find the JNZ Short Command in runtime, but de address of this code … | |
Hello!I need help in my program.My program need to disassembly another program and get his ASM code, with this ASM code, i need to search for a address and get the sintax command of this address, if anyone has an unit that does it, i would be very happy |
The End.