Question: This is phase 2 of the Binary Bomb Lab Please help to solve the full 6 digits . Dump of assembler code for function phase

This is phase 2of the Binary Bomb Lab
Please help to solve the full 6digits.
Dump of assembler code for function phase_2:
0x0000000000400f10<+0>: push %rbp
0x0000000000400f11<+1>: push %rbx
0x0000000000400f12<+2>: sub $0x28,%rsp
0x0000000000400f16<+6>: mov%rsp,%rsi
0x0000000000400f19<+9>: callq0x40161c
0x0000000000400f1e <+14>: cmpl $0x1,(%rsp)
0x0000000000400f22<+18>: jne0x400f2d
0x0000000000400f24<+20>: mov%rsp,%rbx
0x0000000000400f27<+23>: lea0x14(%rbx),%rbp
0x0000000000400f2b <+27>: jmp0x400f42
0x0000000000400f2d <+29>: callq0x4015e6
0x0000000000400f32<+34>: jmp0x400f24
0x0000000000400f34<+36>: callq0x4015e6
0x0000000000400f39<+41>: add $0x4,%rbx
0x0000000000400f3d <+45>: cmp%rbp,%rbx
0x0000000000400f40<+48>: je 0x400f4d
0x0000000000400f42<+50>: mov(%rbx),%eax
0x0000000000400f44<+52>: add%eax,%eax
0x0000000000400f46<+54>: cmp%eax,0x4(%rbx)
0x0000000000400f49<+57>: je 0x400f39
0x0000000000400f4b <+59>: jmp0x400f34
0x0000000000400f4d <+61>: add $0x28,%rsp
0x0000000000400f51<+65>: pop%rbx
0x0000000000400f52<+66>: pop%rbp
0x0000000000400f53<+67>: retq
End of assembler dump.
Dump of assembler code for function read_six_numbers:
=>0x000000000040161c <+0>: sub $0x8,%rsp
0x0000000000401620<+4>: mov%rsi,%rdx
0x0000000000401623<+7>: lea0x4(%rsi),%rcx
0x0000000000401627<+11>: lea0x14(%rsi),%rax
0x000000000040162b <+15>: push %rax
0x000000000040162c <+16>: lea0x10(%rsi),%rax
0x0000000000401630<+20>: push %rax
0x0000000000401631<+21>: lea0xc(%rsi),%r9
0x0000000000401635<+25>: lea0x8(%rsi),%r8
0x0000000000401639<+29>: mov $0x4028f1,%esi
0x000000000040163e <+34>: mov $0x0,%eax
0x0000000000401643<+39>: callq0x400c30<__isoc99_sscanf@plt>
0x0000000000401648<+44>: add $0x10,%rsp
0x000000000040164c <+48>: cmp $0x5,%eax
0x000000000040164f <+51>: jle0x401656
0x0000000000401651<+53>: add<

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!