can some one help me understand this assembly

Aug 5, 2017
45
0
6
#1
hope some one can help me understand this code
Code:
RAX=E336871304
RBX=00000004
RCX=00000339
RDX=00000001
RSI=E336876F40
RDI=231B2642910
RBP=E33686DBF0
RSP=E33686DAF0
RIP=7FF6D68AF130

Probable base pointer =E336871304

7FF6D68AF124 - mov [rax-0C],r13
7FF6D68AF128 - mov [rax-04],r13
7FF6D68AF12C - mov [rax+04],r13d
7FF6D68AF130 - lea rax,[rax+1C]
7FF6D68AF134 - sub rcx,01
 

TheyCallMeTim13

I... am an enchanter.
Fearless Donors
Mar 3, 2017
311
11
18
#2
  1. set the address at the value of RAX-0xC to the value of R13 (as quad word)
  2. set the address at the value of RAX-0x4 to the value of R13 (as quad word)
  3. set the address at the value of RAX+0x4 to the value of R13 (as double word)
  4. set the value of RAX to the value of RAX+0x1C (as quad word)
  5. subtract the value of RCX by the immediate value of 0x1 (as quad word)

http://www.felixcloutier.com/x86/
http://wiki.cheatengine.org/index.php?title=Assembler:Commands_Tables
https://en.wikipedia.org/wiki/X86_instruction_listings
 

SunBeam

Administrator
Staff member
Administrative Team
Feb 4, 2018
349
33
28
#3
That doesn't look like a base pointer with that value. And if it is, I'm looking at code from an emulator. PS emulator? You won't be able to find a proper base pointer..