Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void CallMe(int *firstValue, int *secondValue)
- {
- 00CB2600 push ebp
- 00CB2601 mov ebp,esp
- 00CB2603 sub esp,0CCh
- 00CB2609 push ebx
- 00CB260A push esi
- 00CB260B push edi
- 00CB260C lea edi,[ebp-0CCh]
- 00CB2612 mov ecx,33h
- 00CB2617 mov eax,0CCCCCCCCh
- 00CB261C rep stos dword ptr es:[edi]
- if (*firstValue != *secondValue)
- 00CB261E mov eax,dword ptr [firstValue]
- 00CB2621 mov ecx,dword ptr [secondValue]
- 00CB2624 mov edx,dword ptr [eax]
- 00CB2626 cmp edx,dword ptr [ecx]
- 00CB2628 je CallMe+44h (0CB2644h)
- {
- int tempValue = *firstValue;
- 00CB262A mov eax,dword ptr [firstValue]
- 00CB262D mov ecx,dword ptr [eax]
- 00CB262F mov dword ptr [tempValue],ecx
- *firstValue = *secondValue;
- 00CB2632 mov eax,dword ptr [firstValue]
- 00CB2635 mov ecx,dword ptr [secondValue]
- 00CB2638 mov edx,dword ptr [ecx]
- 00CB263A mov dword ptr [eax],edx
- *secondValue = tempValue;
- 00CB263C mov eax,dword ptr [secondValue]
- 00CB263F mov ecx,dword ptr [tempValue]
- 00CB2642 mov dword ptr [eax],ecx
- }
- }
- 00CB2644 pop edi
- 00CB2645 pop esi
- 00CB2646 pop ebx
- 00CB2647 mov esp,ebp
- 00CB2649 pop ebp
- 00CB264A ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement