Question: This is binary bomb lab phase 6 , please give me solution to defuse the bomb Dump of assembler code for function phase _ 6

This is binary bomb lab phase 6, please give me solution to defuse the bomb
Dump of assembler code for function phase_6:
0x00000000004010ca <+0>: push %r14
0x00000000004010cc <+2>: push %r13
0x00000000004010ce <+4>: push %r12
0x00000000004010d0<+6>: push %rbp
0x00000000004010d1<+7>: push %rbx
0x00000000004010d2<+8>: sub $0x50,%rsp
0x00000000004010d6<+12>: lea 0x30(%rsp),%rsi
0x00000000004010db <+17>: callq 0x401548
0x00000000004010e0<+22>: lea 0x30(%rsp),%r12
0x00000000004010e5<+27>: lea 0x14(%r12),%r14
0x00000000004010ea <+32>: mov $0x1,%r13d
0x00000000004010f0<+38>: jmp 0x40111a
0x00000000004010f2<+40>: callq 0x401512
0x00000000004010f7<+45>: jmp 0x401129
0x00000000004010f9<+47>: callq 0x401512
0x00000000004010fe <+52>: add $0x1,%rbx
0x0000000000401102<+56>: cmp $0x5,%ebx
0x0000000000401105<+59>: jg 0x401112
0x0000000000401107<+61>: mov 0x30(%rsp,%rbx,4),%eax
0x000000000040110b <+65>: cmp %eax,0x0(%rbp)
0x000000000040110e <+68>: jne 0x4010fe
0x0000000000401110<+70>: jmp 0x4010f9
0x0000000000401112<+72>: add $0x1,%r13
0x0000000000401116<+76>: add $0x4,%r12
0x000000000040111a <+80>: mov %r12,%rbp
0x000000000040111d <+83>: mov (%r12),%eax
0x0000000000401121<+87>: sub $0x1,%eax
0x0000000000401124<+90>: cmp $0x5,%eax
0x0000000000401127<+93>: ja 0x4010f2
0x0000000000401129<+95>: cmp %r14,%r12
0x000000000040112c <+98>: je 0x401133
0x000000000040112e <+100>: mov %r13,%rbx
0x0000000000401131<+103>: jmp 0x401107
0x0000000000401133<+105>: mov $0x0,%esi
0x0000000000401138<+110>: mov 0x30(%rsp,%rsi,4),%ecx
0x000000000040113c <+114>: mov $0x1,%eax
0x0000000000401141<+119>: mov $0x6042f0,%edx
0x0000000000401146<+124>: cmp $0x1,%ecx
0x0000000000401149<+127>: jle 0x401156
0x000000000040114b <+129>: mov 0x8(%rdx),%rdx
0x000000000040114f <+133>: add $0x1,%eax
0x0000000000401152<+136>: cmp %ecx,%eax
0x0000000000401154<+138>: jne 0x40114b
0x0000000000401156<+140>: mov %rdx,(%rsp,%rsi,8)
0x000000000040115a <+144>: add $0x1,%rsi
0x000000000040115e <+148>: cmp $0x6,%rsi
0x0000000000401162<+152>: jne 0x401138
0x0000000000401164<+154>: mov (%rsp),%rbx
0x0000000000401168<+158>: mov 0x8(%rsp),%rax
0x000000000040116d <+163>: mov %rax,0x8(%rbx)
0x00

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!