I'm trying to reverse engineer an application made in vb6. At a certain point it compares an input number to a constant number, my goal here is to extract that number, now i found where the comparison is taken place:
FCOMP QWORD PTR DS:[402CB0]
Now I understand that FCOMP
Compares the contents of register ST(0) and source value. I don't know if I got this right, but from what I've read
DS:[402CB0] is pointer to an address that's holding the
source value, but using OllyDbg, and while navigating to that address (Ctrl + g), i found out that the value is
DB 00 which is not correct
so my question here is how can I find the real value that is being compared?
and is it possible to make the
FCOMP compare a constant to a pointer of an integer?