Question: my task is to find the key phrase that will defuse the bomb within the disassembly code. Here is the code disassembly: Dump of assembler
my task is to find the key phrase that will defuse the bomb within the disassembly code. Here is the code disassembly: Dump of assembler code for function phase:
xf: sub $xrsp
xf: lea xrsprcx
xfd : lea xcrsprdx
xf: mov $xesi
xf: mov $xeax
xfc : callq xcisocsscanf@plt
xf: cmp $xeax
xf: jle xf
xf: cmpl $xxcrsp
xfb : ja xfc
xfd : mov xcrspeax
xf: jmpq xerax,
xf: callq x
xfd : jmp xf
xff : mov $xeax
xf: jmp xfd
xf: mov $xaeax
xfb : jmp xfd
xfd : mov $xeax
xfa: jmp xfd
xfa: mov $xaeax
xfa: jmp xfd
xfab : mov $xbaeax
xfb: jmp xfd
xfb: mov $xeax
xfb: jmp xfd
xfb: mov $xeax
xfbe : jmp xfd
xfc: callq x
xfc: mov $xeax
xfca : jmp xfd
xfcc : mov $xceax
xfd: cmp eax,xrsp
xfd: jne xfdc
xfd: add $xrsp
xfdb : retq
xfdc : callq x
xfe: jmp xfd
End of assembler dump. This is what i know so far:
The return value of isocsscanf must be greater than indicating that two integers were successfully scanned.
The second integer xcrsp must be less than or equal to
The address jumped to based on the value of the second integer must lead to the address range xff to xfbe inclusive.
These conditions ensure that the bomb does not explode. The input format should be two integers separated by a space, where the first integer is can you heldp me find the phrase I need to denote?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
