Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 07.07.2007, 09:15   #1
ZeniMax
Архивный участник
 
Join Date: May 2006
Posts: 209
Default Help with asm

Im using ida pro... when I analize the file and generate a asm file, allways Ida pro generate bad asm files, because when I use tasm to generate .obj file allways have errors like incorrect sintax, bad hash and a lot of more... How I can generate good asm files?
ZeniMax is offline  
Old 08.07.2007, 00:58   #2
Ra1n0
Архивный участник
 
Join Date: Feb 2007
Posts: 139
Default

Quote:
allways have errors like incorrect sintax
you cant correct syntax?
Ra1n0 is offline  
Old 08.07.2007, 01:44   #3
ZeniMax
Архивный участник
 
Join Date: May 2006
Posts: 209
Default

No because its a looooot of errors...
ZeniMax is offline  
Old 08.07.2007, 15:45   #4
Yui-Ikari
Архивный участник
 
Join Date: Jan 2006
Posts: 58
Default

Quote:
Originally Posted by ZeniMax View Post
Im using ida pro... when I analize the file and generate a asm file, allways Ida pro generate bad asm files, because when I use tasm to generate .obj file allways have errors like incorrect sintax, bad hash and a lot of more... How I can generate good asm files?
Write it with any syntax mistake?is alli can say, hard to help you with no log :P

https://postpacific.loc-online.com/f...ead.php?t=7520
Yui-Ikari is offline  
Old 08.07.2007, 17:17   #5
ZeniMax
Архивный участник
 
Join Date: May 2006
Posts: 209
Default

This is the errors:
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\HP_Administrator>tasm l2server
Turbo Assembler  Version 4.0  Copyright (c) 1988, 1993 Borland International

Assembling file:   l2server.ASM
**Error** l2server.ASM(36) Symbol already defined elsewhere: _PADDING
*Warning* l2server.ASM(41) Pass-dependent construction encountered: RECT
**Error** l2server.ASM(54) Symbol already defined elsewhere: FRESTORE
**Error** l2server.ASM(55) Symbol already defined elsewhere: FINCUPDATE
**Error** l2server.ASM(56) Symbol already defined elsewhere: RGBRESERVED
**Error** l2server.ASM(57) Symbol already defined elsewhere: _PADDING
*Warning* l2server.ASM(73) Reserved word used as symbol: TYPE
**Error** l2server.ASM(74) Symbol already defined elsewhere: _PADDING
**Error** l2server.ASM(114) Symbol already defined elsewhere: _PADDING
**Error** l2server.ASM(152) Symbol already defined elsewhere: _PADDING
*Warning* l2server.ASM(205) Reserved word used as symbol: LOW
*Warning* l2server.ASM(206) Reserved word used as symbol: HIGH
*Warning* l2server.ASM(220) Reserved word used as symbol: SEGCS
*Warning* l2server.ASM(221) Reserved word used as symbol: SEGDS
*Warning* l2server.ASM(222) Reserved word used as symbol: SEGES
*Warning* l2server.ASM(223) Reserved word used as symbol: SEGFS
*Warning* l2server.ASM(224) Reserved word used as symbol: SEGGS
*Warning* l2server.ASM(225) Reserved word used as symbol: SEGSS
*Warning* l2server.ASM(227) Reserved word used as symbol: DR0
*Warning* l2server.ASM(228) Reserved word used as symbol: DR1
*Warning* l2server.ASM(229) Reserved word used as symbol: DR2
*Warning* l2server.ASM(230) Reserved word used as symbol: DR3
*Warning* l2server.ASM(231) Reserved word used as symbol: DR6
*Warning* l2server.ASM(232) Reserved word used as symbol: DR7
**Error** l2server.ASM(295) Symbol already defined elsewhere: _PADDING
**Error** l2server.ASM(328) Symbol already defined elsewhere: _PADDING
*Warning* l2server.ASM(333) Pass-dependent construction encountered: POINT
**Error** l2server.ASM(351) Symbol already defined elsewhere: _PADDING
**Error** l2server.ASM(367) Unknown character
**Error** l2server.ASM(368) Code or data emission to undeclared segment
**Error** l2server.ASM(369) Code or data emission to undeclared segment
**Error** l2server.ASM(370) Unknown character
**Error** l2server.ASM(374) Unknown character
**Error** l2server.ASM(375) Code or data emission to undeclared segment
**Error** l2server.ASM(377) Unknown character
*Warning* l2server.ASM(381) Pass-dependent construction encountered: _SYSTEM_INF
O
**Error** l2server.ASM(382) Directive not allowed inside structure definition
**Error** l2server.ASM(420) Unknown character
**Error** l2server.ASM(421) Code or data emission to undeclared segment
**Error** l2server.ASM(422) Code or data emission to undeclared segment
**Error** l2server.ASM(423) Unknown character
**Error** l2server.ASM(427) Unknown character
**Error** l2server.ASM(428) Code or data emission to undeclared segment
**Error** l2server.ASM(429) Code or data emission to undeclared segment
**Error** l2server.ASM(430) Code or data emission to undeclared segment
**Error** l2server.ASM(431) Code or data emission to undeclared segment
**Error** l2server.ASM(432) Unknown character
**Error** l2server.ASM(436) Unknown character
**Error** l2server.ASM(439) Code or data emission to undeclared segment
**Error** l2server.ASM(440) Unknown character
*Warning* l2server.ASM(444) Pass-dependent construction encountered: IN_ADDR
**Error** l2server.ASM(445) Directive not allowed inside structure definition
**Error** l2server.ASM(494) 32-bit segments not allowed without .386
**Error** l2server.ASM(500) Bad keyword in SEGMENT statement: USE64
**Error** l2server.ASM(503) ASSUME must be segment register
**Error** l2server.ASM(515) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(527) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(528) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(533) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(538) Segment alignment not strict enough
**Error** l2server.ASM(555) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(557) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(558) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(560) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(566) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(567) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(570) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(586) Value out of range
**Error** l2server.ASM(588) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(597) Illegal instruction for currently selected processor
(s)
**Error** l2server.ASM(600) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(601) [Constant] assumed to mean immediate constant
**Error** l2server.ASM(601) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(604) [Constant] assumed to mean immediate constant
**Error** l2server.ASM(604) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(606) Illegal instruction for currently selected processor
(s)
**Error** l2server.ASM(612) Value out of range
**Error** l2server.ASM(614) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(625) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(634) [Constant] assumed to mean immediate constant
**Error** l2server.ASM(634) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(637) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(639) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(640) [Constant] assumed to mean immediate constant
**Error** l2server.ASM(640) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(642) [Constant] assumed to mean immediate constant
**Error** l2server.ASM(642) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(643) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(653) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(657) [Constant] assumed to mean immediate constant
**Error** l2server.ASM(657) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(658) [Constant] assumed to mean immediate constant
**Error** l2server.ASM(658) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(659) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(661) [Constant] assumed to mean immediate constant
**Error** l2server.ASM(661) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(665) Value out of range
**Error** l2server.ASM(666) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(667) Relative jump out of range by 0015h bytes
*Warning* l2server.ASM(669) [Constant] assumed to mean immediate constant
**Error** l2server.ASM(669) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(677) [Constant] assumed to mean immediate constant
**Error** l2server.ASM(677) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(678) [Constant] assumed to mean immediate constant
**Error** l2server.ASM(678) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(679) [Constant] assumed to mean immediate constant
**Error** l2server.ASM(679) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(680) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(685) Segment alignment not strict enough
**Error** l2server.ASM(694) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(695) Value out of range
**Error** l2server.ASM(696) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(701) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(706) Segment alignment not strict enough
**Error** l2server.ASM(707) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(708) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(709) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(710) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(717) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(718) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(721) Segment alignment not strict enough
**Error** l2server.ASM(730) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(773) [Constant] assumed to mean immediate constant
**Error** l2server.ASM(773) Argument to operation or instruction has illegal siz
e
*Warning* l2server.ASM(774) [Constant] assumed to mean immediate constant
**Error** l2server.ASM(774) Argument to operation or instruction has illegal siz
e
**Error** l2server.ASM(775) Too many errors or warnings
Error messages:    101
Warning messages:  39
Passes:            1
Remaining memory:  64 bytes
**Fatal** Out of memory
ZeniMax is offline  
Old 11.07.2007, 17:12   #6
ZeniMax
Архивный участник
 
Join Date: May 2006
Posts: 209
Default

I want to add this code in this l2server:
http://rapidshare.com/files/42341051/L2Server.rar.html

Code:
AuthLoginFixHook:
    cmp ebx, r12d     
    jnz  short InvalidKey
    test    r12d, r12d
    jz  short InvalidKey
    mov rcx, 53E599h 
    jmp rcx
InvalidKey:
    mov  rcx, [rsp+130h]
    mov  DWORD PTR [rcx+450h], 0h 
    mov rcx, 53E973h
    jmp rcx
ZeniMax is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 17:07.