Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void __fastcall CallMe(int *firstValue, int *secondValue)
- {
- 00AA2600 push ebp
- 00AA2601 mov ebp,esp
- 00AA2603 sub esp,0E4h
- 00AA2609 push ebx
- 00AA260A push esi
- 00AA260B push edi
- 00AA260C push ecx
- 00AA260D lea edi,[ebp-0E4h]
- 00AA2613 mov ecx,39h
- 00AA2618 mov eax,0CCCCCCCCh
- 00AA261D rep stos dword ptr es:[edi]
- 00AA261F pop ecx
- 00AA2620 mov dword ptr [ebp-14h],edx
- 00AA2623 mov dword ptr [ebp-8],ecx
- if (*firstValue != *secondValue)
- 00AA2626 mov eax,dword ptr [firstValue]
- 00AA2629 mov ecx,dword ptr [secondValue]
- 00AA262C mov edx,dword ptr [eax]
- 00AA262E cmp edx,dword ptr [ecx]
- 00AA2630 je CallMe+4Ch (0AA264Ch)
- {
- int tempValue = *firstValue;
- 00AA2632 mov eax,dword ptr [firstValue]
- 00AA2635 mov ecx,dword ptr [eax]
- 00AA2637 mov dword ptr [tempValue],ecx
- *firstValue = *secondValue;
- 00AA263A mov eax,dword ptr [firstValue]
- 00AA263D mov ecx,dword ptr [secondValue]
- 00AA2640 mov edx,dword ptr [ecx]
- 00AA2642 mov dword ptr [eax],edx
- *secondValue = tempValue;
- 00AA2644 mov eax,dword ptr [secondValue]
- 00AA2647 mov ecx,dword ptr [tempValue]
- 00AA264A mov dword ptr [eax],ecx
- }
- }
- 00AA264C pop edi
- 00AA264D pop esi
- 00AA264E pop ebx
- 00AA264F mov esp,ebp
- 00AA2651 pop ebp
- 00AA2652 ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement