Note: using OllyDbg v1.1
I'm attempting to reverse engineer a subroutine in a program that likely employs some sort of techniques to frustrate the process beyond the basic 'IsDebuggerPresent'.
I have the code disassembled in IDA, but certain instructions aren't being identified as any valid instruction by OllyDbg. This occurs a number of times, and often causes later instructions to mess up their alignment. Note that the code executes, I just can't set breakpoints in the region I need to in order to look at a particular value on the stack before a specific function call.
In particular, the instruction which IDA disassembles as SSE2 movq [ebp+var_DF4], xmm0
seems to be problematic (see below).
Given var_DF4 = -0x0DF4
, I think Olly should be identifying it as
MOVQ QWORD PTR [EBP-0xDF4],XMM0
like IDA does.
I tried to force Olly to do this by manually attempting to assemble the instruction, but I got the error 'Command Does Not Support Given Operands.'
Here is the successfully disassembled code seen in IDA:
Here is what Olly shows: