logs archiveIRC Archive / Undernet / #asm / 2006 / June / 9 / 1
terby
(Action) is away, wildatheart, (log\on pager\on)
Leona_K
Hi.
_0x90
hi
Leona_K
so...big night in here, as I can see!
_0x90
as in every channels im afraid
Leona_K
And now, we have to interact with REAL human beings... can you imagine that!?!
_0x90
hehe
REAL? is this an instruction :)
Leona_K
Since the short for my nickname is LEA, I guess i'm REAL
_0x90
hehe
where'r u from ?
         

Leona_K
REAL probably...overheats the CPU, so you have to stop using the computer and go out.
_0x90
its already 4am already, sh*t
i never stop my computers
beside in the plane when the company did not pay business class ;)
Leona_K
You never turned it off for like 2 weeks and then got scared about losing interest for uninteresting things?
_0x90
hardly
i will turn it off saturday, for a trip to montreal though
Leona_K
hm, welcome in my country then
_0x90
thanks
Leona_K
(we DO have internet though, as well as electricity, you CAN bring and turn on your laptop :P)
_0x90
hope so, i am giving a training ;)
Leona_K
about what?
_0x90
Reverse Engineering
Leona_K
nice
LDR
sh*t, disconnected
Leona_K
that's a sign!
_0x90
doh
yoan
ahhh welcome to montreal, _0x90
hope you enjoy our city :)
Leona_K
hey yoan
_0x90
thanks yoan
yoan
salut Leona_K ;)
_0x90
i did last year ;)
yoan
hehe
         

_0x90
you both speak french ?
Leona_K
yep
yoan
i do, i suppose Leona does
but english is my first language
_0x90
bon, alors pas de soucis ;)
yoan
hahaha :)
Leona_K
.fr?
_0x90
oui
yoan
excellent
_0x90
english ain't my first language. :)
ASM is
yoan
hahaha
_0x90
hah ;) ok its late
Leona_K
hehe how cute
yoan
that's the spirit
_0x90
hehe
frenglish style ;) Lundi a mon training
yoan
whats the course for?
training/course
whatever :)
_0x90
there are two trainings.. 3 days starting from monday on advanced Reverse Engineering
analysing polymorphic file infectors
yoan
mais pour qui?
_0x90
c pour une conference. va y avoir du gov, des gens de boites de secu etc
l'année derniere j'ai eu deux symantec, deux microsoft en eleves ;)
yoan
haha :)
training the enemy!
_0x90
as long as they pay big bucks, i don't give a flying fu*k ;)
yoan
sounds fun, though...
haha :)
good answer.
_0x90
le second training est une introduction au reverse, c plus soft.. cours d'assembleur, utilisation d'un debugger,desassembleur etc
pour les enfants ;)
yoan
that's what i need :*(
a little rusty
_0x90
so am i ;)
putain bientot 4h30, tjs debout
je suis aux horraires montreal deja hehe
yoan
haha
ouais
10:30 here
_0x90
au moins je suis pas fatigué quand j'arrive
lol
yoan
;) haha
_0x90
apres fin juin je donne une conf a bruxelle
yoan
busy man
_0x90
ouais
fun though
yoan
:)
_0x90
you should come to recon :)
yoan
no money :*( i saw the website
looked very promising...
_0x90
interesting yes.
yoan
if you come to MTL again, come here to inform me/us :)
_0x90
next year i guess :)
or maybe in november for a virus conference
yoan
ahhh, nice
EwIck
ew.
Leona_K
Ewick!
_0x90
Leona_K!
oops
lo EwIck
Leona_K
'night
Guest36285
hi all
there
i need a little help regarding asm if any one will help?
hello
ThFabba
well, shoot
Guest36285
am learning asm first i programmed asm
vb
when we neede to merge text we do this
text1.text=text1.text & "ajsdsald"
how do i do this in masm
ThFabba
you need to allocate a buffer, copy the old contents there, then append the new contents
Guest36285
here is my code please look at
ThFabba
i hope you pasted it on some website and don't plan to do it in the channel?
Guest36285
few line only
i would like to pase
paste
.IF ax==BN_CLICKED
invoke GetWindowText ,FUNC(GetDlgItem,hWin,1011),addr Text_Buff,255

invoke SetWindowText,FUNC(GetDlgItem,hWin,1011), addr Text_Buff
.ENDIF
this text is in edit box
and i want to show some other text with it also
ike-
if text_buff is big enough, then you just append whatever you want with a memory copy.
Guest36285
but it fails and nothing display in the edit control
how to merge Text_Buff with "1"
ike-
that is, concatenate?
ThFabba
even what you do there - just retrieving and re-entering the text - fails?
Guest36285
no
how to merge it with "1"
ThFabba
k
Guest36285
which i want to display
in vb we do this text1.text=text1.text & "1"
ThFabba
then first make sure your buffer holds at least 256 chars long - as you need one more than the max size of the old text
Guest36285
ok then next what to do i made it dup(?)
Text_Buff dd ?
ThFabba
should be Text_Buff db 256 dup(?) if i recall correctly
Guest36285
yep
true
tell me text1.text=text1.text & "1" replacement in asm
ThFabba
the easiest for appending would probably be calling StrCat from shlwapi.dll
Guest36285
no
i dont need dependency
tell some other way
ThFabba
erm, shlwapi.dll is part of the windows api, it's installed in every version of windows
but well
the "other" way is faster anyway, though a bit harder
Guest36285
tell me that plz
ThFabba
you must first travel through your buffer until you find the terminating null character:
Guest36285
please tell me in form of code asm
so it might be easy for me to understand
ThFabba
mov esi, addr Text_Buff
null_loop:
« prev 1 2 next »