At line #3 of a function, I have a QWORD at address 7FE875F3FE0 which resolves to a value of 85857490416 for which the function returns true. If not, the value is set to 0.
I would like to know how can I modify this QWORD to the said sequence of digits so that the function returns true. I have tried assembling this LoC, but it kills the function due to the non-match of the byte padding.
Code Cave is an option? If so, can somebody help me? Else a MOV statement?
Just started recently with RE and IDA Pro.
push rbx sub rsp, 20h mov rax, cs:qword_7FE875F3FE0 mov rbx, rcx test rax, rax jnz short loc_7FE8728D09D loc_7FE8728D09D: mov [rcx], rax xor eax, eax add rsp, 20h pop rbx retn
.data representation of the QWORD
.data:000007FE875F3FE0 qword_7FE875F3FE0 dq ? .data:000007FE875F3FE0 .data:000007FE875F3FE8 db ? ; .data:000007FE875F3FE9 db ? ; .data:000007FE875F3FEA db ? ; .data:000007FE875F3FEB db ? ;