Advertisement
namofure

Untitled

Nov 17th, 2024 (edited)
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ARM 6.63 KB | None | 0 0
  1. :021DAF82 2800 cmp r0,#0x0  ;if(0 : 0) r3 = RNG >> 16 % 64
  2. :021DAF84 D00B beq 021DAF9E
  3. :021DAF86 6F69 ldr r1,[r5,#0x74]    ;r5+0x74=*(0x00000074)
  4. :021DAF88 2008 mov r0,#0x8  ;r0 = 8(0x00000008)
  5. :021DAF8A 4301 orr r1,r0    ;r1 = 25(0x00000019)
  6. :021DAF8C 6769 str r1,[r5,#0x74]    ;r5+0x74=*(0x00000074) Boll = 0x8
  7. :021DAF8E 4843 ldr r0,[PC,#0x10c]   ;PC(0x21daf90)+0x10c=*(0x021db09c)=#1184(0x000004a0)
  8. :021DAF90 1828 add r0,r5,r0 ;r0 = 5(0x00000005)
  9. :021DAF92 6801 ldr r1,[r0,#0x0] ;r0+0x0=*(0x00000005)
  10. :021DAF94 1C49 add r1,r1,#0x1   ;r1 = 26(0x0000001a)
  11. :021DAF96 6001 str r1,[r0,#0x0] ;r0+0x0=*(0x00000005)
  12. :021DAF98 2001 mov r0,#0x1  ;r0 = 1(0x00000001)
  13. :021DAF9A B001 add SP,#0x4
  14. :021DAF9C BD30 pop {r4,r5,PC}
  15.  
  16. :021DAF9E 8860 ldrh r0,[r4,#0x2]    ;r4+0x2=*(0x00000003)
  17. :021DAFA0 A900 add r1,SP,#0x0   ;r1 = 25(0x00000019)
  18. :021DAFA2 F000 bl 021DB0E0
  19. :021DAFA4 F89D ----
  20. :021DAFA6 2800 cmp r0,#0x0  ;if(1 : 0)
  21. :021DAFA8 D00B beq 021DAFC2
  22. :021DAFAA 6F69 ldr r1,[r5,#0x74]    ;r5+0x74=*(0x00000074)
  23. :021DAFAC 2004 mov r0,#0x4  ;r0 = 4(0x00000004)
  24. :021DAFAE 4301 orr r1,r0    ;r1 = 29(0x0000001d)
  25. :021DAFB0 6769 str r1,[r5,#0x74]    ;r5+0x74=*(0x00000074) Boll = 0x4
  26. :021DAFB2 483B ldr r0,[PC,#0xec]    ;PC(0x21dafb4)+0xec=*(0x021db0a0)=#1180(0x0000049c)
  27. :021DAFB4 1828 add r0,r5,r0 ;r0 = 5(0x00000005)
  28. :021DAFB6 6801 ldr r1,[r0,#0x0] ;r0+0x0=*(0x00000005)
  29. :021DAFB8 1C49 add r1,r1,#0x1   ;r1 = 30(0x0000001e)
  30. :021DAFBA 6001 str r1,[r0,#0x0] ;r0+0x0=*(0x00000005)
  31. :021DAFBC 2001 mov r0,#0x1  ;r0 = 1(0x00000001)
  32. :021DAFBE B001 add SP,#0x4
  33. :021DAFC0 BD30 pop {r4,r5,PC}
  34.  
  35. :021DAFC2 88A0 ldrh r0,[r4,#0x4]    ;r4+0x4=*(0x00000005)
  36. :021DAFC4 A900 add r1,SP,#0x0   ;r1 = 25(0x00000019)
  37. :021DAFC6 F000 bl 021DB0E0
  38. :021DAFC8 F88B ----
  39. :021DAFCA 2800 cmp r0,#0x0  ;if(1 : 0)
  40. :021DAFCC D00B beq 021DAFE6
  41. :021DAFCE 6F69 ldr r1,[r5,#0x74]    ;r5+0x74=*(0x00000074)
  42. :021DAFD0 2080 mov r0,#0x80 ;r0 = 128(0x00000080)
  43. :021DAFD2 4301 orr r1,r0    ;r1 = 153(0x00000099)
  44. :021DAFD4 6769 str r1,[r5,#0x74]    ;r5+0x74=*(0x00000074) Boll = 080
  45. :021DAFD6 4833 ldr r0,[PC,#0xcc]    ;PC(0x21dafd8)+0xcc=*(0x021db0a4)=#1200(0x000004b0)
  46. :021DAFD8 1828 add r0,r5,r0 ;r0 = 5(0x00000005)
  47. :021DAFDA 6801 ldr r1,[r0,#0x0] ;r0+0x0=*(0x00000005)
  48. :021DAFDC 1C49 add r1,r1,#0x1   ;r1 = 154(0x0000009a)
  49. :021DAFDE 6001 str r1,[r0,#0x0] ;r0+0x0=*(0x00000005)
  50. :021DAFE0 2001 mov r0,#0x1  ;r0 = 1(0x00000001)
  51. :021DAFE2 B001 add SP,#0x4
  52. :021DAFE4 BD30 pop {r4,r5,PC}
  53.  
  54. :021DAFE6 88E0 ldrh r0,[r4,#0x6]    ;r4+0x6=*(0x00000007)
  55. :021DAFE8 A900 add r1,SP,#0x0   ;r1 = 25(0x00000019)
  56. :021DAFEA F000 bl 021DB0E0
  57. :021DAFEC F879 ----
  58. :021DAFEE 2800 cmp r0,#0x0  ;if(1 : 0)
  59. :021DAFF0 D00B beq 021DB00A
  60. :021DAFF2 6F69 ldr r1,[r5,#0x74]    ;r5+0x74=*(0x00000074)
  61. :021DAFF4 2040 mov r0,#0x40 ;r0 = 64(0x00000040)
  62. :021DAFF6 4301 orr r1,r0    ;r1 = 89(0x00000059)
  63. :021DAFF8 6769 str r1,[r5,#0x74]    ;r5+0x74=*(0x00000074) Boll = 0x40
  64. :021DAFFA 482B ldr r0,[PC,#0xac]    ;PC(0x21daffc)+0xac=*(0x021db0a8)=#1196(0x000004ac)
  65. :021DAFFC 1828 add r0,r5,r0 ;r0 = 5(0x00000005)
  66. :021DAFFE 6801 ldr r1,[r0,#0x0] ;r0+0x0=*(0x00000005)
  67. :021DB000 1C49 add r1,r1,#0x1   ;r1 = 90(0x0000005a)
  68. :021DB002 6001 str r1,[r0,#0x0] ;r0+0x0=*(0x00000005)
  69. :021DB004 2001 mov r0,#0x1  ;r0 = 1(0x00000001)
  70. :021DB006 B001 add SP,#0x4
  71. :021DB008 BD30 pop {r4,r5,PC}
  72.  
  73. :021DB00A 8920 ldrh r0,[r4,#0x8]    ;r4+0x8=*(0x00000009)
  74. :021DB00C A900 add r1,SP,#0x0   ;r1 = 25(0x00000019)
  75. :021DB00E F000 bl 021DB0E0
  76. :021DB010 F867 ----
  77. :021DB012 2800 cmp r0,#0x0  ;if(1 : 0)
  78. :021DB014 D00B beq 021DB02E
  79. :021DB016 6F69 ldr r1,[r5,#0x74]    ;r5+0x74=*(0x00000074)
  80. :021DB018 2020 mov r0,#0x20 ;r0 = 32(0x00000020)
  81. :021DB01A 4301 orr r1,r0    ;r1 = 57(0x00000039)
  82. :021DB01C 6769 str r1,[r5,#0x74]    ;r5+0x74=*(0x00000074) Boll = 0x20
  83. :021DB01E 4823 ldr r0,[PC,#0x8c]    ;PC(0x21db020)+0x8c=*(0x021db0ac)=#1192(0x000004a8)
  84. :021DB020 1828 add r0,r5,r0 ;r0 = 5(0x00000005)
  85. :021DB022 6801 ldr r1,[r0,#0x0] ;r0+0x0=*(0x00000005)
  86. :021DB024 1C49 add r1,r1,#0x1   ;r1 = 58(0x0000003a)
  87. :021DB026 6001 str r1,[r0,#0x0] ;r0+0x0=*(0x00000005)
  88. :021DB028 2001 mov r0,#0x1  ;r0 = 1(0x00000001)
  89. :021DB02A B001 add SP,#0x4
  90. :021DB02C BD30 pop {r4,r5,PC}
  91.  
  92. :021DB02E 8960 ldrh r0,[r4,#0xa]    ;r4+0xa=*(0x0000000b)
  93. :021DB030 A900 add r1,SP,#0x0   ;r1 = 25(0x00000019)
  94. :021DB032 F000 bl 021DB0E0
  95. :021DB034 F855 ----
  96. :021DB036 2800 cmp r0,#0x0  ;if(1 : 0)
  97. :021DB038 D00B beq 021DB052
  98. :021DB03A 6F69 ldr r1,[r5,#0x74]    ;r5+0x74=*(0x00000074)
  99. :021DB03C 2010 mov r0,#0x10 ;r0 = 16(0x00000010)
  100. :021DB03E 4301 orr r1,r0    ;r1 = 25(0x00000019)
  101. :021DB040 6769 str r1,[r5,#0x74]    ;r5+0x74=*(0x00000074) Boll = 0x10
  102. :021DB042 481B ldr r0,[PC,#0x6c]    ;PC(0x21db044)+0x6c=*(0x021db0b0)=#1188(0x000004a4)
  103. :021DB044 1828 add r0,r5,r0 ;r0 = 5(0x00000005)
  104. :021DB046 6801 ldr r1,[r0,#0x0] ;r0+0x0=*(0x00000005)
  105. :021DB048 1C49 add r1,r1,#0x1   ;r1 = 26(0x0000001a)
  106. :021DB04A 6001 str r1,[r0,#0x0] ;r0+0x0=*(0x00000005)
  107. :021DB04C 2001 mov r0,#0x1  ;r0 = 1(0x00000001)
  108. :021DB04E B001 add SP,#0x4
  109. :021DB050 BD30 pop {r4,r5,PC}
  110.  
  111. :021DB052 89A0 ldrh r0,[r4,#0xc]    ;r4+0xc=*(0x0000000d)
  112. :021DB054 A900 add r1,SP,#0x0   ;r1 = 25(0x00000019)
  113. :021DB056 F000 bl 021DB0E0
  114. :021DB058 F843 ----
  115. :021DB05A 2800 cmp r0,#0x0  ;if(1 : 0)
  116. :021DB05C D00B beq 021DB076
  117. :021DB05E 6F69 ldr r1,[r5,#0x74]    ;r5+0x74=*(0x00000074)
  118. :021DB060 2002 mov r0,#0x2  ;r0 = 2(0x00000002)
  119. :021DB062 4301 orr r1,r0    ;r1 = 27(0x0000001b)
  120. :021DB064 6769 str r1,[r5,#0x74]    ;r5+0x74=*(0x00000074) Boll = 0x2
  121. :021DB066 4813 ldr r0,[PC,#0x4c]    ;PC(0x21db068)+0x4c=*(0x021db0b4)=#1176(0x00000498)
  122. :021DB068 1828 add r0,r5,r0 ;r0 = 5(0x00000005)
  123. :021DB06A 6801 ldr r1,[r0,#0x0] ;r0+0x0=*(0x00000005)
  124. :021DB06C 1C49 add r1,r1,#0x1   ;r1 = 28(0x0000001c)
  125. :021DB06E 6001 str r1,[r0,#0x0] ;r0+0x0=*(0x00000005)
  126. :021DB070 2001 mov r0,#0x1  ;r0 = 1(0x00000001)
  127. :021DB072 B001 add SP,#0x4
  128. :021DB074 BD30 pop {r4,r5,PC}
  129.  
  130. :021DB076 6F69 ldr r1,[r5,#0x74]    ;r5+0x74=*(0x00000074)
  131. :021DB078 2001 mov r0,#0x1  ;r0 = 1(0x00000001)
  132. :021DB07A 4301 orr r1,r0    ;r1 = 29(0x0000001d)
  133. :021DB07C 6769 str r1,[r5,#0x74]    ;r5+0x74=*(0x00000074) Boll = 0x1
  134. ----------------------------------------------------------------------------------
  135. :021DB0E0 680B ldr r3,[r1,#0x0] ;r1+0x0=*(0x00000019)
  136. :021DB0E2 1A1A sub r2,r3,r0 ;r2 = 3(0x00000003)
  137. :021DB0E4 600A str r2,[r1,#0x0] ;r1+0x0=*(0x00000019)
  138. :021DB0E6 680A ldr r2,[r1,#0x0] ;r1+0x0=*(0x00000019)
  139. :021DB0E8 2A00 cmp r2,#0x0  ;if(3 : 0)
  140. :021DB0EA DA01 bge 021DB0F0
  141. :021DB0EC 2200 mov r2,#0x0  ;r2 = 0(0x00000000)
  142. :021DB0EE 600A str r2,[r1,#0x0] ;r1+0x0=*(0x00000019)
  143. :021DB0F0 4283 cmp r3,r0    ;if(33608022 : 0)
  144. :021DB0F2 D201 bcs 021DB0F8
  145. :021DB0F4 2001 mov r0,#0x1  ;r0 = 1(0x00000001)
  146. :021DB0F6 4770 bx r14   ;jump to addr 219534FA
  147.  
  148. :021DB0F8 2000 mov r0,#0x0  ;r0 = 0(0x00000000)
  149. :021DB0FA 4770 bx r14   ;jump to addr 219534FA
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement