Question: 7. Gi ven the following function, show the arrows indicating the program's nonlinear flow 00401020 00401020 Attributes: ebp-based frame 00401020 00401020 function 00401020 00401020 var
7. Gi ven the following function, show the arrows indicating the program's nonlinear flow 00401020 00401020 Attributes: ebp-based frame 00401020 00401020 function 00401020 00401020 var C proc near CODE XREF: main 1Cp -dword ptr -och 00401020 var 8 dword ptr -8 00401020 var 4 00401020 arg o 00401020 arg 4 00401020 00401020 00401021 00401023 00401026 0040102D 00401034 00401037 0040103A 0040103D 00401043 00401043 00401046 00401049 00401048 loc_401048: 0040104B dword ptr -4 -dword ptr8 dword ptr och push ebp mov ebp, esp esp, och mov ebp var 8], 5 mov [ebp-var_C), 3 mov eax, [ebp+var 8] add eax, 22h mov [ebp+arg o], eax cmp [ebp+argo],64h jnz short loc 401048 mov ecx, [ebp+arg 4] nov [ebp-var-4], ecx jmp short loc 401050 CODE XREF: function+21) CODE XREF: function+29j call sub 401000 00401050 loc 401050: 00401050 00401053 00401055 00401056 00401056 function mov eax, [ebp+arg.4] mov esp, ebp pop ebp retn What is happing at (describe in words): 0040102D: 00401050: 00401053: 00401020: 7. Gi ven the following function, show the arrows indicating the program's nonlinear flow 00401020 00401020 Attributes: ebp-based frame 00401020 00401020 function 00401020 00401020 var C proc near CODE XREF: main 1Cp -dword ptr -och 00401020 var 8 dword ptr -8 00401020 var 4 00401020 arg o 00401020 arg 4 00401020 00401020 00401021 00401023 00401026 0040102D 00401034 00401037 0040103A 0040103D 00401043 00401043 00401046 00401049 00401048 loc_401048: 0040104B dword ptr -4 -dword ptr8 dword ptr och push ebp mov ebp, esp esp, och mov ebp var 8], 5 mov [ebp-var_C), 3 mov eax, [ebp+var 8] add eax, 22h mov [ebp+arg o], eax cmp [ebp+argo],64h jnz short loc 401048 mov ecx, [ebp+arg 4] nov [ebp-var-4], ecx jmp short loc 401050 CODE XREF: function+21) CODE XREF: function+29j call sub 401000 00401050 loc 401050: 00401050 00401053 00401055 00401056 00401056 function mov eax, [ebp+arg.4] mov esp, ebp pop ebp retn What is happing at (describe in words): 0040102D: 00401050: 00401053: 00401020
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
