Need help with phase. Can you please help?
000000000040100f <func4>: 40100f: 53 push %rbx 401010: 89 d0 mov %edx,%eax 401012: 29 f0 sub %esi,%eax 401014: 89 c3 mov %eax,%ebx 401016: c1 eb 1f shr $0x1f,%ebx 401019: 01 c3 add %eax,%ebx 40101b: d1 fb sar %ebx 40101d: 01 f3 add %esi,%ebx 40101f: 39 fb cmp %edi,%ebx 401021: 7f 06 jg 401029 <func4+0x1a> 401023: 7c 10 jl 401035 <func4+0x26> 401025: 89 d8 mov %ebx,%eax 401027: 5b pop %rbx 401028: c3 retq 401029: 8d 53 ff lea -0x1(%rbx),%edx 40102c: e8 de ff ff ff callq 40100f <func4> 401031: 01 c3 add %eax,%ebx 401033: eb f0 jmp 401025 <func4+0x16> 401035: 8d 73 01 lea 0x1(%rbx),%esi 401038: e8 d2 ff ff ff callq 40100f <func4> 40103d: 01 c3 add %eax,%ebx 40103f: eb e4 jmp 401025 <func4+0x16> 000000000401041 <phase_4>: 401041: 48 83 ec 18 sub $0x18,%rsp 401045: 48 8d 4c 24 08 lea 0x8(%rsp),%rcx 40104a: 48 8d 54 24 0c lea 0xc(%rsp),%rdx 40104f: be a5 27 40 00 mov $0x4027a5,%esi 401054: b8 00 00 00 00 mov $0x0,%eax 401059: e8 d2 fb ff ff callq 400c30 <__isoc99_sscanf@plt> 40105e: 83 f8 02 cmp $0x2,%eax 401061: 75 07 jne 40106a <phase_4+0x29> 401063: 83 7c 24 0c 0e cmpl $0xe,0xc(%rsp) 401068: 76 05 jbe 40106f <phase_4+0x2e> 40106a: e8 06 05 00 00 callq 401575 <explode_bomb> 40106f: ba 0e 00 00 00 mov $0xe,%edx 401074: be 00 00 00 00 mov $0x0,%esi 401079: 8b 7c 24 0c mov 0xc(%rsp),%edi 40107d: e8 8d ff ff ff callq 40100f <func4> 401082: 83 f8 0f cmp $0xf,%eax 401085: 75 07 jne 40108e <phase_4+0x4d> 401087: 83 7c 24 08 0f cmpl $0xf,0x8(%rsp) 40108c: 74 05 je 401093 <phase_4+0x52> 40108e: e8 e2 04 00 00 callq 401575 <explode_bomb> 401093: 48 83 c4 18 add $0x18,%rsp 401097: c3 retq
user25172327 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.