- Identify which library contains WinExec and explain why
- Define the required string variables:
winexec_funccontaining"WinExec"calculator_strcontaining"calc.exe"
- Explain how to perform a
lookup_apicall for WinExec:- What value should be loaded into RCX
- What value should be loaded into RDX
- Once the function pointer for WinExec is obtained:
- Explain how to pass the two required parameters to
WinExec - What values should be in RCX and RDX
- Explain how to pass the two required parameters to
- Reference Assignment 3a:
- Identify the first and second parameters originally passed on the stack
- Explain how to replace the
pushinstructions withleainstructions for RCX and RDX
- Provide the exact assembly code that should be added between line 27 (
call rax) and line 51 (; Exit) to spawn the Windows Calculator - Include clear explanations for each step so I can understand the logic, not just the final code
Please make sure the explanation is clear, detailed, and human-written, as this is for a graded lab.
Thank you!
Requirements: 2 answer | Assembly Language

Leave a Reply
You must be logged in to post a comment.