News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

EndPaint placement

Started by dc, June 09, 2017, 06:26:39 AM

Previous topic - Next topic

HSE

I dc!

In this system there is a crash!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"
Equations in Assembly: SmplMath

dc

bet you a dollar thats sposed to be edx's :icon_redface:

dc

click the maze section and it changes the maze

dc

i fixed one xor eax blah blah blah...
first one i found ....

HSE

Quote from: dc on October 06, 2017, 12:25:06 PM
bet you a dollar thats sposed to be edx's :icon_redface:

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

Very nice.  :t
Equations in Assembly: SmplMath

jj2007

Quote from: HSE on October 06, 2017, 11:57:06 PM
"div" work with "edx:eax" pair.

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

Quote from: HSE on October 06, 2017, 11:05:45 AM
After "xor eax, eax", you can write "xor edx, edx"

HSE

Quote from: jj2007 on October 07, 2017, 12:25:51 AM
Right. And to make it work, there is a dedicated instruction: cdq
:t
Equations in Assembly: SmplMath

dc


K_F

'Sire, Sire!... the peasants are Revolting !!!'
'Yes, they are.. aren't they....'

dc

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

First, define your "this", then study this.

dc

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