Question: This is phase 3 of the Binary Bomb Lab please help solve this: Dump of assembler code for function phase _ 3 : = >

This is phase 3of the Binary Bomb Lab
please help solve this:
Dump of assembler code for function phase_3:
=>0x0000000000400f54<+0>: sub $0x18,%rsp
0x0000000000400f58<+4>: lea0x8(%rsp),%r8
0x0000000000400f5d <+9>: lea0x7(%rsp),%rcx
0x0000000000400f62<+14>: lea0xc(%rsp),%rdx
0x0000000000400f67<+19>: mov $0x4025be,%esi
0x0000000000400f6c <+24>: mov $0x0,%eax
0x0000000000400f71<+29>: callq0x400c30<__isoc99_sscanf@plt>
0x0000000000400f76<+34>: cmp $0x2,%eax
0x0000000000400f79<+37>: jle0x400f91
0x0000000000400f7b <+39>: cmpl $0x7,0xc(%rsp)
0x0000000000400f80<+44>: ja 0x401089
0x0000000000400f86<+50>: mov0xc(%rsp),%eax
0x0000000000400f8a <+54>: jmpq *0x4025e0(,%rax,8)
0x0000000000400f91<+61>: callq0x4015e6
0x0000000000400f96<+66>: jmp0x400f7b
0x0000000000400f98<+68>: mov $0x64,%eax
0x0000000000400f9d <+73>: cmpl $0x155,0x8(%rsp)
0x0000000000400fa5<+81>: je 0x401093
0x0000000000400fab <+87>: callq0x4015e6
0x0000000000400fb0<+92>: mov $0x64,%eax
0x0000000000400fb5<+97>: jmpq 0x401093
0x0000000000400fba <+102>: mov $0x6e,%eax
0x0000000000400fbf <+107>: cmpl $0x1ad,0x8(%rsp)
0x0000000000400fc7<+115>: je 0x401093
0x0000000000400fcd <+121>: callq0x4015e6
0x0000000000400fd2<+126>: mov $0x6e,%eax
0x0000000000400fd7<+131>: jmpq 0x401093
0x0000000000400fdc <+136>: mov $0x6f,%eax
0x0000000000400fe1<+141>: cmpl $0x1c7,0x8(%rsp)
0x0000000000400fe9<+149>: je 0x401093
0x0000000000400fef <+155>: callq0x4015e6
0x0000000000400ff4<+160>: mov $0x6f,%eax
0x0000000000400ff9<+165>: jmpq 0x401093
0x0000000000400ffe <+170>: mov $0x61,%eax
0x0000000000401003<+175>: cmpl $0x32d,0x8(%rsp)
0x000000000040100b <+183>: je 0x401093
0x0000000000401011<+189>: callq0x4015e6
0x0000000000401016<+194>: mov $0x61,%eax
0x000000000040101b <+199>: jmp0x401093
0x00000000004010

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!