Question: I am working on an assignment called bomb lab for my computer class where we have to look through assembly language code and find the

I am working on an assignment called bomb lab for my computer class where we have to look through assembly language code and find the passwords. I've been stuck on phase 2 for several days now and I have no idea what to do. I have to find 6 integers in the right order to pass this phase. Can someone please walk me through how to solve this?

0x000000000040106b <+0>: push %rbp 0x000000000040106c <+1>: push %rbx 0x000000000040106d <+2>: sub $0x28,%rsp 0x0000000000401071 <+6>: mov %rsp,%rsi 0x0000000000401074 <+9>: callq 0x401438 0x0000000000401079 <+14>: cmpl $0x0,(%rsp) 0x000000000040107d <+18>: jns 0x401084 0x000000000040107f <+20>: callq 0x401402 0x0000000000401084 <+25>: mov $0x0,%ebx 0x0000000000401089 <+30>: mov %rsp,%rbp 0x000000000040108c <+33>: lea 0x1(%rbx),%eax 0x000000000040108f <+36>: add 0x0(%rbp,%rbx,4),%eax 0x0000000000401093 <+40>: cmp %eax,0x4(%rbp,%rbx,4) 0x0000000000401097 <+44>: je 0x40109e 0x0000000000401099 <+46>: callq 0x401402 0x000000000040109e <+51>: add $0x1,%rbx 0x00000000004010a2 <+55>: cmp $0x5,%rbx 0x00000000004010a6 <+59>: jne 0x40108c 0x00000000004010a8 <+61>: add $0x28,%rsp 0x00000000004010ac <+65>: pop %rbx 0x00000000004010ad <+66>: pop %rbp 0x00000000004010ae <+67>: retq

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!