Question: This is binary bomb lab phase 3 , please solve Dump of assembler code for function phase _ 3 : 0 x 0 0 0

This is binary bomb lab phase 3, please solve
Dump of assembler code for function phase_3:
0x0000000000400f53<+0>: sub $0x18,%rsp
0x0000000000400f57<+4>: lea 0x8(%rsp),%rcx
0x0000000000400f5c <+9>: lea 0xc(%rsp),%rdx
0x0000000000400f61<+14>: mov $0x402705,%esi
0x0000000000400f66<+19>: mov $0x0,%eax
0x0000000000400f6b <+24>: callq 0x400c30<__isoc99_sscanf@plt>
0x0000000000400f70<+29>: cmp $0x1,%eax
0x0000000000400f73<+32>: jle 0x400f87
0x0000000000400f75<+34>: cmpl $0x7,0xc(%rsp)
0x0000000000400f7a <+39>: ja 0x400fbf
0x0000000000400f7c <+41>: mov 0xc(%rsp),%eax
0x0000000000400f80<+45>: jmpq *0x402490(,%rax,8)
0x0000000000400f87<+52>: callq 0x401512
0x0000000000400f8c <+57>: jmp 0x400f75
0x0000000000400f8e <+59>: mov $0x276,%eax
0x0000000000400f93<+64>: jmp 0x400fd0
0x0000000000400f95<+66>: mov $0x2a5,%eax
0x0000000000400f9a <+71>: jmp 0x400fd0
0x0000000000400f9c <+73>: mov $0x137,%eax
0x0000000000400fa1<+78>: jmp 0x400fd0
0x0000000000400fa3<+80>: mov $0x255,%eax
0x0000000000400fa8<+85>: jmp 0x400fd0
0x0000000000400faa <+87>: mov $0xf3,%eax
0x0000000000400faf <+92>: jmp 0x400fd0
0x0000000000400fb1<+94>: mov $0x14a,%eax
0x0000000000400fb6<+99>: jmp 0x400fd0
0x0000000000400fb8<+101>: mov $0x6b,%eax
0x0000000000400fbd <+106>: jmp 0x400fd0
0x0000000000400fbf <+108>: callq 0x401512
0x0000000000400fc4<+113>: mov $0x0,%eax
0x0000000000400fc9<+118>: jmp 0x400fd0
0x0000000000400fcb <+120>: mov $0x2ad,%eax
0x0000000000400fd0<+125>: cmp %eax,0x8(%rsp)
0x0000000000400fd4<+129>: jne 0x400fdb
0x0000000000400fd6<+131>: add $0x18,%rsp
0x0000000000400fda <+135>: retq
0x0000000000400fdb <+136>: callq 0x401512
0x0000000000400fe0<+141>: jmp 0x400fd6

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 Databases Questions!