Question: Come up with a function in C that contains this assembly code. sub mov cmpl 4007e4: 4007e8: 4007ec: 4007f1: 4007f3: 4007f7: 4007fe: 4007ff: 400801: 400805:

Come up with a function in C that contains this assembly code.

Come up with a function in C that contains this assembly code.

sub mov cmpl 4007e4: 4007e8: 4007ec: 4007f1: 4007f3: 4007f7: 4007fe: 4007ff: 400801:

sub mov cmpl 4007e4: 4007e8: 4007ec: 4007f1: 4007f3: 4007f7: 4007fe: 4007ff: 400801: 400805: 400808: 40080c: 40080e: 400812: 400815: 400819: 40081b: 40081f: 400822: 400826: 40082a: 40082C: 400830: 48 83 ec 28 89 7c 24 Oc 83 7c 24 Oc 05 77 6f 8b 44 24 Oc 48 8b 04 c5 30 0a 40 $0x28,%rsp %edi ,0xc (%rsp) $0x5, 0xc (%rsp) 400862 Oxo(%rsp),%eax Ox400a30(,%rax,8),%rax mov mov ff eo 8b 44 24 Oc cl e8 02 89 44 24 1c eb 63 8b 44 24 Oc 89 44 24 1c eb 56 8b 44 24 Oc 8d 50 01 89 54 24 0c 89 44 24 1c eb 45 8b 44 24 0c 89 c7 mov shr mov jmp mov shl mov jmp mov Lea mov mov jmp mov mov Oxo(%rsp ) ,%eax $0x2,%eax %eax,0x1c (%rsp) 400871 Oxo(%rsp),%eax $0x2,seax %eax,0x1c (%rsp) 400871 Oxo(%rsp),%eax Ox1(%rax),%edx %edx,0xc (%rsp) %eax,0x1c (%rsp) 400871 0xc (%rsp ) ,%eax %eax,%edi sub mov cmpl 4007e4: 4007e8: 4007ec: 4007f1: 4007f3: 4007f7: 4007fe: 4007ff: 400801: 400805: 400808: 40080c: 40080e: 400812: 400815: 400819: 40081b: 40081f: 400822: 400826: 40082a: 40082C: 400830: 48 83 ec 28 89 7c 24 Oc 83 7c 24 Oc 05 77 6f 8b 44 24 Oc 48 8b 04 c5 30 0a 40 $0x28,%rsp %edi ,0xc (%rsp) $0x5, 0xc (%rsp) 400862 Oxo(%rsp),%eax Ox400a30(,%rax,8),%rax mov mov ff eo 8b 44 24 Oc cl e8 02 89 44 24 1c eb 63 8b 44 24 Oc 89 44 24 1c eb 56 8b 44 24 Oc 8d 50 01 89 54 24 0c 89 44 24 1c eb 45 8b 44 24 0c 89 c7 mov shr mov jmp mov shl mov jmp mov Lea mov mov jmp mov mov Oxo(%rsp ) ,%eax $0x2,%eax %eax,0x1c (%rsp) 400871 Oxo(%rsp),%eax $0x2,seax %eax,0x1c (%rsp) 400871 Oxo(%rsp),%eax Ox1(%rax),%edx %edx,0xc (%rsp) %eax,0x1c (%rsp) 400871 0xc (%rsp ) ,%eax %eax,%edi

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!