Author Topic: EndPaint placement  (Read 1728 times)

HSE

  • Member
  • ****
  • Posts: 552
  • <AMD>< 7-32>
Re: EndPaint placement
« Reply #30 on: October 06, 2017, 11:05:45 AM »
I dc!

In this system there is a crash!
Code: [Select]
CPU Disasm
Address   Hex dump          Command                                  Comments
00402E83  |.  33C0          XOR EAX,EAX
00402E85  |.  66:A1 AE58400 MOV AX,WORD PTR DS:[4058AE]
00402E8B  |.  2B05 205E4000 SUB EAX,DWORD PTR DS:[405E20]
00402E91  |.  F735 D0584000 DIV DWORD PTR DS:[4058D0]  <--------------- CRASH
00402E97  |.  A3 BC584000   MOV DWORD PTR DS:[4058BC],EAX
00402E9C  |.  F725 FC5E4000 MUL DWORD PTR DS:[405EFC]
00402EA2  |.  8945 BC       MOV DWORD PTR SS:[LOCAL.17],EAX
After "xor eax, eax", you can write "xor edx, edx"

dc

  • Regular Member
  • *
  • Posts: 20
Re: EndPaint placement
« Reply #31 on: October 06, 2017, 12:25:06 PM »
bet you a dollar thats sposed to be edx's :icon_redface:

dc

  • Regular Member
  • *
  • Posts: 20
Re: EndPaint placement
« Reply #32 on: October 06, 2017, 12:27:59 PM »
click the maze section and it changes the maze

dc

  • Regular Member
  • *
  • Posts: 20
Re: EndPaint placement
« Reply #33 on: October 06, 2017, 01:11:23 PM »
i fixed one xor eax blah blah blah...
first one i found ....

HSE

  • Member
  • ****
  • Posts: 552
  • <AMD>< 7-32>
Re: EndPaint placement
« Reply #34 on: October 06, 2017, 11:57:06 PM »
bet you a dollar thats sposed to be edx's :icon_redface:

 "div" work with "edx:eax" pair.

Very nice.  :t

jj2007

  • Member
  • *****
  • Posts: 7750
  • Assembler is fun ;-)
    • MasmBasic
Re: EndPaint placement
« Reply #35 on: October 07, 2017, 12:25:51 AM »
"div" work with "edx:eax" pair.

Right. And to make it work, there is a dedicated instruction: cdq

After "xor eax, eax", you can write "xor edx, edx"

HSE

  • Member
  • ****
  • Posts: 552
  • <AMD>< 7-32>
Re: EndPaint placement
« Reply #36 on: October 07, 2017, 12:38:27 AM »
Right. And to make it work, there is a dedicated instruction: cdq
:t

dc

  • Regular Member
  • *
  • Posts: 20
Re: EndPaint placement
« Reply #37 on: October 07, 2017, 04:03:28 AM »
i like that

K_F

  • Member
  • *****
  • Posts: 1292
  • Anybody out there?
Re: EndPaint placement
« Reply #38 on: October 14, 2017, 11:14:43 PM »
Maybe here ??

Code: [Select]
.if !sFlag
'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

dc

  • Regular Member
  • *
  • Posts: 20
Re: EndPaint placement
« Reply #39 on: November 18, 2017, 04:43:21 PM »
i put this on my server and when i try to download avast stops it and says infected with Drep - how freaked out should i be?

jj2007

  • Member
  • *****
  • Posts: 7750
  • Assembler is fun ;-)
    • MasmBasic
Re: EndPaint placement
« Reply #40 on: November 18, 2017, 07:01:05 PM »
First, define your "this", then study this.

dc

  • Regular Member
  • *
  • Posts: 20
Re: EndPaint placement
« Reply #41 on: November 19, 2017, 02:28:45 AM »
this:
bmath.net/Game 4.exe
on my system it passes avast but when i download the same from my server avast doesnt like it