Guest User

Untitled

a guest
Dec 9th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. 00015f4c sub_15F4C:
  2. 00015f4c /* push LR */
  3. 00015f4c /* push R11 */
  4. 00015f4c /* push R10 */
  5. 00015f4c /* push R9 */
  6. 00015f4c /* push R8 */
  7. 00015f4c /* push R7 */
  8. 00015f4c /* push R6 */
  9. 00015f4c /* push R5 */
  10. 00015f4c /* push R4 */
  11. 00015f54 SP = SP + 0xfffffa84;
  12. 00015f5c R3 = * unk_23308;
  13. 00015f60 var_28 = R3;
  14. 00015f68 GetVersionExW(& VersionInformation.szCSDVersion[68]);
  15. 00015f70 R0 = sub_12470(0, R1, R2, R3);
  16. 00015f7c R7 = R0;
  17. 00015f98 var_59C = & var_588;
  18. 00015f9c var_58C = 0;
  19. 00015fa0 var_588 = 4;
  20. 00015fa4 var_5A0 = & var_58C;
  21. 00015fac Cond = sub_12040(0x80000002, L"\\Windows\\Software\\ms", 4, L"releasetype");
  22. 00015fb0 if (Cond == 0) goto loc_15FB4;
  23.  
  24. 00015fb0 R3 = 0;
  25.  
  26. 00015fb4 loc_15FB4:
  27. 00015fb4 if (Cond == 0) goto loc_15FB8;
  28.  
  29. 00015fb4 var_58C = R3;
  30.  
  31. 00015fb8 loc_15FB8:
  32. 00015fb8 R3 = 0;
  33. 00015fd0 var_434 = R3;
  34. 00015fd4 memset(SP + 0x16d, 0, 0xff);
  35. 00015fdc sub_16598(& var_434, R1, R2, R3);
  36. 00015ff4 memset(SP + 0x474, 0, 0x104);
  37. 00015ff8 R6 = unk_23790;
  38. 00016010 var_59C = R6 + 0x40;
  39. 0001602c var_590 = & var_434;
  40. 00016030 var_594 = var_58C;
  41. 00016034 var_598 = VersionInformation.szCSDVersion[80];
  42. 00016038 var_5A0 = R6;
  43. 0001603c sprintf(SP + 0x474, "%s?mv=%d&imsi=%s&imei=%s&build=%d&type=%d&owner=%s\r\n");
  44. 00016040 R4 = 0x100;
  45. 0001605c var_334 = 0;
  46. 00016060 memset(SP + 0x26d, 0, R4 | 3);
  47. 0001607c var_230 = 0;
  48. 00016080 memset(SP + 0x371, 0, R4 | 3);
  49. 00016090 memset(& UrlComponents.lpszUserName, 0, 0x3c);
  50. 000160bc UrlComponents.lpszUrlPath = & var_334;
  51. 000160c4 UrlComponents[36] = 0;
  52. 000160d8 UrlComponents.dwUrlPathLength = 0x104;
  53. 000160e8 UrlComponents[40] = 0;
  54. 000160ec UrlComponents.lpszUserName = 0x3c;
  55. 000160f0 UrlComponents[44] = & var_230;
  56. 000160f4 UrlComponents[48] = 0x104;
  57. 000160f8 UrlComponents.dwUserNameLength = 0;
  58. 000160fc UrlComponents.lpszPassword = 0;
  59. 00016100 UrlComponents.dwPasswordLength = 3;
  60. 00016104 UrlComponents[56] = 0;
  61. 00016108 UrlComponents.lpszExtraInfo = 0;
  62. 0001610c UrlComponents[32] = 0;
  63. 00016110 UrlComponents.dwExtraInfoLength = 0;
  64. 00016114 UrlComponents[52] = 0;
  65. 0001611c R1 = strlen(SP + 0x474);
  66. 00016138 Cond = InternetCrackUrlA(SP + 0x474, R1, 0, & UrlComponents.lpszUserName);
  67. 0001613c if (Cond != 0) goto loc_16154;
  68.  
  69. 00016140 GetLastError();
  70. 00016148 sub_1C844(var_28, R1, R2, R3);
  71. 0001614c R0 = -1;
  72. 00016150 goto loc_1618C;
  73.  
  74. 00016154 loc_16154:
  75. 00016168 var_598 = sub_15600;
  76. 00016174 var_5A0 = UrlComponents.lpszExtraInfo;
  77. 00016178 var_59C = & var_230;
  78. 0001617c _HttpRequest("Content-Type: */*", unk_1F920, unk_1F91C);
  79. 00016184 sub_1C844(var_28, R1, R2, & var_334);
  80. 00016188 R0 = 0;
  81.  
  82. 0001618c loc_1618C:
  83. 00016198 /* pop */
  84. 00016198 /* pop */
  85. 00016198 /* pop */
  86. 00016198 /* pop */
  87. 00016198 /* pop */
  88. 00016198 /* pop */
  89. 00016198 /* pop */
  90. 00016198 /* pop */
  91. 00016198 return R0;
Add Comment
Please, Sign In to add comment