Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. int __cdecl Java_com_example_sign_MainActivity_en(int a1, int a2, int a3)
  2. {
  3. int v3; // edi
  4. int v4; // ecx
  5. int result; // eax
  6. int v6; // eax
  7. _BYTE *v7; // edi
  8. char v8; // dl
  9. char v9; // si
  10. unsigned __int8 v10; // cl
  11. char v11; // dl
  12. const char *v12; // edi
  13. int v13; // ecx
  14. int v14; // [esp+4h] [ebp-28h]
  15. int v15; // [esp+Ch] [ebp-20h]
  16. char v16; // [esp+17h] [ebp-15h]
  17. unsigned int v17; // [esp+18h] [ebp-14h]
  18.  
  19. v17 = __readgsdword(0x14u);
  20. v3 = (*(int (__cdecl **)(int, int, _DWORD))(*(_DWORD *)a1 + 676))(a1, a3, 0);
  21. v4 = (*(int (__cdecl **)(int, int))(*(_DWORD *)a1 + 672))(a1, a3);
  22. result = 0;
  23. if ( v3 && v4 == 11 )
  24. {
  25. __android_log_print(4, "src:", "%s", v3);
  26. (*(void (__cdecl **)(int, int, int))(*(_DWORD *)a1 + 680))(a1, a3, v3);
  27. v14 = v3;
  28. __android_log_print(4, "src:", "%s", v3);
  29. v6 = -11;
  30. v7 = &unk_7FC;
  31. do
  32. {
  33. v8 = *(_BYTE *)(v14 + v6 + 11);
  34. v9 = v8 - 32;
  35. if ( (unsigned __int8)(*(_BYTE *)(v14 + v6 + 11) - 97) >= 0x1Au )
  36. v9 = *(_BYTE *)(v14 + v6 + 11);
  37. v10 = v8 - 65;
  38. v11 = v8 + 32;
  39. if ( v10 >= 0x1Au )
  40. v11 = v9;
  41. *(&v16 + v6) = *v7 ^ ((v11 ^ 0x28) + 66);
  42. v7 += 4;
  43. ++v6;
  44. }
  45. while ( v6 );
  46. v16 = 0;
  47. v12 = (const char *)malloc(0xDu);
  48. __strncpy_chk2(v12, &v15, 12, 13, 12);
  49. (*(void (__cdecl **)(int, int, int))(*(_DWORD *)a1 + 680))(a1, a3, v14);
  50. __android_log_print(4, "src:", "%s", "777");
  51. v13 = strcmp(v12, cmp);
  52. result = 0;
  53. if ( !v13 )
  54. {
  55. puts("this is flag2");
  56. result = 1;
  57. }
  58. }
  59. return result;
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement