Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main(int argc, char** argv)
  6. // _cfa_4
  7. {// addr = 0x00401500
  8. char* _a4 = argv[1];
  9. int _v16 = 21212121; // _cfa_fffffff0
  10. char* _v20 = _a4; // _cfa_ffffffec
  11. char _v21; // _cfa_ffffffeb
  12. char _v22 = 12; // _cfa_ffffffea
  13. int _v28 = 13241144; // _cfa_ffffffe4
  14. int _v32 = 31; // _cfa_ffffffe0
  15. int _v36 = 27; // _cfa_ffffffdc
  16. char _v37 = 0; // _cfa_ffffffdb
  17. int _v38; // _cfa_ffffffda
  18. int _v56; // _cfa_ffffffc8
  19.  
  20. while(( *_v20 & 255) != 0) {
  21. _v38 = *_v20 & 255;
  22. if(_v38 <= 96) {
  23. _v21 = _v38 & 255 ^ _v32;
  24. } else {
  25. _v21 = _v38 & 255 ^ _v36;
  26. }
  27. _v21 = (_v21 & 255) + 7;
  28. _v16 = _v16 + _v21;
  29. _v20 = &(_v20[1]);
  30. }
  31. _v16 = _v16 ^ _v28;
  32. _v56 = _v16;
  33.  
  34. std::cout << "Your name: " << argv[1] << std::endl << "Your key: " << _v56 << std::endl;
  35.  
  36. return 0;
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement