Question: 4 0 1 7 9 0 : 4 8 8 3 ec 1 8 sub $ 0 x 1 8 , % rsp 4 0

401790: 4883 ec 18 sub $0x18,%rsp
401794: 488d 74240c lea 0xc(%rsp),%rsi
401799: e8 de 070000 callq 401f7c
40179e: 488b 0d 5b 4e 0000 mov 0x4e5b(%rip),%rcx # 406600
4017a5: ba 00000000 mov $0x0,%edx
4017aa: be 00000000 mov $0x0,%esi
4017af: eb 1e jmp 4017cf
4017b1: 66662e 0f 1f 8400 data16 nopw %cs:0x0(%rax,%rax,1)
4017b8: 00000000
4017bc: 0f 1f 4000 nopl 0x0(%rax)
4017c0: 488b 4908 mov 0x8(%rcx),%rcx
4017c4: 0331 add (%rcx),%esi
4017c6: d1 f8 sar %eax
4017c8: 8944240c mov %eax,0xc(%rsp)
4017cc: 83 c201 add $0x1,%edx
4017cf: 83 fa 07 cmp $0x7,%edx
4017d2: 7f 0e jg 4017e2
4017d4: 8b 44240c mov 0xc(%rsp),%eax
4017d8: a801 test $0x1,%al
4017da: 74 e4 je 4017c0
4017dc: 488b 4910 mov 0x10(%rcx),%rcx
4017e0: eb e2 jmp 4017c4
4017e2: 83 fe 08 cmp $0x8,%esi
4017e5: 7516 jne 4017fd
4017e7: c7057f 500000 de movl $0xfacade,0x507f(%rip) # 406870
4017ee: ca fa 00
4017f1: 837c 240c 21 cmpl $0x21,0xc(%rsp)
4017f6: 740c je 401804
4017f8: 4883 c418 add $0x18,%rsp
4017fc: c3 retq
4017fd: e8 ac 040000 callq 401cae
401802: eb e3 jmp 4017e7
401804: e8 a5040000 callq 401cae
401809: eb ed jmp 4017f8
Addresses in nodes:
0x406620 :0x004072a00x000000000x004072c00x00000000
0x406630 :0x004072e00x000000000x004073000x00000000
0x406640 :0x004073200x000000000x004073400x00000000
0x406650 :0x004073600x000000000x004073800x00000000
0x406660 :0x004073a00x000000000x004073c00x00000000
0x406670 :0x004073e00x000000000x004074000x00000000
0x406680 :0x004074200x000000000x004074400x00000000
0x406690 : 0x004074600x000000000x004074800x00000000
0x4066a0 : 0x004074a00x000000000x004074c00x00000000
0x4066b0 : 0x004074e00x000000000x004075000x00000000
0x4066c0 : 0x004075200x000000000x004075400x00000000
0x4066d0 : 0x004075600x000000000x004075800x00000000
0x4066e0 : 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 Programming Questions!