annotate compal/c118-newboot.disasm @ 181:bf4286245c74

Pirelli's RF calibration cracked
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 13 Jul 2014 01:11:22 +0000
parents db3b300da465
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
160
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 Everything up to 0x958 is the same as in the C123 and C139 versions
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 RESET entry and exception vectors:
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 0: ea000225 b 0x89c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 4: ea000825 b 0x20a0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 8: ea000825 b 0x20a4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 c: ea000825 b 0x20a8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 10: ea000825 b 0x20ac
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 14: ea000825 b 0x20b0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 18: ea000825 b 0x20b4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 <20-7FF: all FFs>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 00000800: 42 4F 4F 54 2E 39 30 2E 30 34 00 00 00 00 00 00 BOOT.90.04......
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 00000810: 31 30 30 33 01 01 00 00 FF FF FF FF FF FF FF FF 1003............
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 00000820: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 830: 00000006
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 834: 00000000
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 838: 00000000
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21 83c: 00000048
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 840: 00000044
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 844: 00000052
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24 848: 0000001b
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25 84c: 00000005
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
26 850: 00000000
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
27 854: 00000000
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
28 858: 00000000
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
29 85c: 00000000
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
30 860: 000000fa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
31 864: ffff5800
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
32 868: ffff5000
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
33 86c: fffffb00
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
34 870: 02a102a1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
35 874: 028302a1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
36 878: 00c00281
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
37 87c: 002a0040
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
38 880: 00000040
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
39 884: fffffd00
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
40 888: ffff9800
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
41 88c: fffffb10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
42 890: ffffff08
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
43 894: 20061081
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
44 898: 00000800
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
45
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
46 ; RESET entry point
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
47 89c: e51f1020 ldr r1, =0xfffffd00 ; via 0x884
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
48 8a0: e1d120b2 ldrh r2, [r1, #2]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
49 8a4: e51f002c ldr r0, =0x40 ; via 0x880
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
50 8a8: e1800002 orr r0, r0, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
51 8ac: e1c100b2 strh r0, [r1, #2]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
52 8b0: e51f1030 ldr r1, =0xffff9800 ; via 0x888
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
53 8b4: e15f22b6 ldrh r2, =0x2006 ; via 0x896
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
54 8b8: e1c120b0 strh r2, [r1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
55 8bc: e5912000 ldr r2, [r1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
56 8c0: e2022001 and r2, r2, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
57 8c4: e3520001 cmp r2, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
58 8c8: 0afffffb beq 0x8bc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
59 8cc: e51f1050 ldr r1, =0xfffffd00 ; via 0x884
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
60 8d0: e15f24b4 ldrh r2, =0x1081 ; via 0x894
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
61 8d4: e1c120b0 strh r2, [r1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
62 8d8: e51f1054 ldr r1, =0xfffffb10 ; via 0x88c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
63 8dc: e15f24bc ldrh r2, =0x800 ; via 0x898
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
64 8e0: e1d100b0 ldrh r0, [r1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
65 8e4: e1800002 orr r0, r0, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
66 8e8: e1c100b0 strh r0, [r1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
67 8ec: e51f1064 ldr r1, =0xffffff08 ; via 0x890
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
68 8f0: e15f25be ldrh r2, =0x0 ; via 0x89a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
69 8f4: e1c120b0 strh r2, [r1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
70 8f8: e51f1094 ldr r1, =0xfffffb00 ; via 0x86c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
71 8fc: e15f29b4 ldrh r2, =0x2a1 ; via 0x870
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
72 900: e1c120b0 strh r2, [r1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
73 904: e15f29ba ldrh r2, =0x2a1 ; via 0x872
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
74 908: e1c120b2 strh r2, [r1, #2]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
75 90c: e15f2ab0 ldrh r2, =0x2a1 ; via 0x874
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
76 910: e1c120b4 strh r2, [r1, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
77 914: e15f2ab6 ldrh r2, =0x283 ; via 0x876
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
78 918: e1c120b6 strh r2, [r1, #6]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
79 91c: e15f2abc ldrh r2, =0x281 ; via 0x878
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
80 920: e1c120ba strh r2, [r1, #10] ; 0xa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
81 924: e15f2bb2 ldrh r2, =0xc0 ; via 0x87a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
82 928: e1c120bc strh r2, [r1, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
83 92c: e15f2bb8 ldrh r2, =0x40 ; via 0x87c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
84 930: e1c120b8 strh r2, [r1, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
85 934: e15f2bbe ldrh r2, =0x2a ; via 0x87e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
86 938: e1c120be strh r2, [r1, #14] ; 0xe
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
87 93c: e59f0020 ldr r0, =0x83e37c ; via 0x964
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
88 940: e3a01b01 mov r1, #1024 ; 0x400
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
89 944: e2411004 sub r1, r1, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
90 948: e0802001 add r2, r0, r1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
91 94c: e3c22003 bic r2, r2, #3
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
92 950: e1a0d002 mov sp, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
93 954: e92d100f stmdb sp!, {r0, r1, r2, r3, r12}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
94 958: eb000522 bl 0x1de8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
95 95c: e8bd100f ldmia sp!, {r0, r1, r2, r3, r12}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
96 960: ea0005e4 b 0x20f8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
97
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
98 964: 0083e37c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
99
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
100 968: 4961 ldr r1, =0xfffffa08 ; via 0xaf0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
101 96a: 4862 ldr r0, =0xffff ; via 0xaf4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
102 96c: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
103 96e: 4862 ldr r0, =0xfffffa0a ; via 0xaf8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
104 970: 211f mov r1, #31 ; 0x1f
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
105 972: 8001 strh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
106 974: 4861 ldr r0, =0xfffff804 ; via 0xafc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
107 976: 21f5 mov r1, #245 ; 0xf5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
108 978: 8001 strh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
109 97a: 21a0 mov r1, #160 ; 0xa0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
110 97c: 8001 strh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
111 97e: 4860 ldr r0, =0xffff9800 ; via 0xb00
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
112 980: 4960 ldr r1, =0x2002 ; via 0xb04
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
113 982: 8001 strh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
114 984: 485e ldr r0, =0xffff9800 ; via 0xb00
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
115 986: 8800 ldrh r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
116 988: 0840 lsr r0, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
117 98a: d2fb bcs 0x984
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
118 98c: 495e ldr r1, =0xfffffd00 ; via 0xb08
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
119 98e: 485f ldr r0, =0x1001 ; via 0xb0c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
120 990: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
121 992: 46f7 mov pc, lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
122 994: b500 push {lr}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
123 996: b0ff sub sp, #508 ; 0x1fc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
124 998: b0ca sub sp, #296 ; 0x128
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
125 99a: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
126 99c: 9001 str r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
127 99e: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
128 9a0: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
129 9a2: d14e bne 0xa42
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
130 9a4: a846 add r0, sp, #280 ; 0x118
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
131 9a6: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
132 9a8: f001 f84a bl 0x1a40
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
133 9ac: a9c8 add r1, sp, #800 ; 0x320
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
134 9ae: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
135 9b0: a846 add r0, sp, #280 ; 0x118
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
136 9b2: a902 add r1, sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
137 9b4: f000 fb08 bl 0xfc8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
138 9b8: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
139 9ba: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
140 9bc: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
141 9be: d01b beq 0x9f8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
142 9c0: a924 add r1, sp, #144 ; 0x90
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
143 9c2: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
144 9c4: 7a00 ldrb r0, [r0, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
145 9c6: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
146 9c8: 2191 mov r1, #145 ; 0x91
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
147 9ca: 466a mov r2, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
148 9cc: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
149 9ce: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
150 9d0: 5488 strb r0, [r1, r2]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
151 9d2: e01b b 0xa0c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
152 9d4: a802 add r0, sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
153 9d6: a924 add r1, sp, #144 ; 0x90
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
154 9d8: f000 fde4 bl 0x15a4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
155 9dc: e016 b 0xa0c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
156 9de: a802 add r0, sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
157 9e0: a924 add r1, sp, #144 ; 0x90
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
158 9e2: aac8 add r2, sp, #800 ; 0x320
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
159 9e4: 7812 ldrb r2, [r2, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
160 9e6: f000 fdf1 bl 0x15cc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
161 9ea: e00f b 0xa0c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
162 9ec: a802 add r0, sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
163 9ee: a924 add r1, sp, #144 ; 0x90
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
164 9f0: f000 fe23 bl 0x163a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
165 9f4: 90c7 str r0, [sp, #796] ; 0x31c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
166 9f6: e009 b 0xa0c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
167 9f8: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
168 9fa: 7a00 ldrb r0, [r0, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
169 9fc: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
170 9fe: d0e9 beq 0x9d4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
171 a00: 3809 sub r0, #9
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
172 a02: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
173 a04: d0eb beq 0x9de
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
174 a06: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
175 a08: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
176 a0a: d0ef beq 0x9ec
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
177 a0c: a824 add r0, sp, #144 ; 0x90
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
178 a0e: a986 add r1, sp, #536 ; 0x218
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
179 a10: f000 fbbd bl 0x118e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
180 a14: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
181 a16: d111 bne 0xa3c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
182 a18: a886 add r0, sp, #536 ; 0x218
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
183 a1a: a9c8 add r1, sp, #800 ; 0x320
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
184 a1c: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
185 a1e: f000 ffe4 bl 0x19ea
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
186 a22: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
187 a24: d00a beq 0xa3c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
188 a26: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
189 a28: 7a00 ldrb r0, [r0, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
190 a2a: 280a cmp r0, #10 ; 0xa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
191 a2c: d106 bne 0xa3c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
192 a2e: a8c8 add r0, sp, #800 ; 0x320
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
193 a30: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
194 a32: f001 f935 bl 0x1ca0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
195 a36: 98c7 ldr r0, [sp, #796] ; 0x31c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
196 a38: f000 fac4 bl 0xfc4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
197 a3c: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
198 a3e: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
199 a40: d0b0 beq 0x9a4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
200 a42: b07f add sp, #508 ; 0x1fc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
201 a44: b04a add sp, #296 ; 0x128
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
202 a46: bd00 pop {pc}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
203 a48: b500 push {lr}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
204 a4a: b0ff sub sp, #508 ; 0x1fc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
205 a4c: b0c8 sub sp, #288 ; 0x120
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
206 a4e: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
207 a50: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
208 a52: a846 add r0, sp, #280 ; 0x118
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
209 a54: 2101 mov r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
210 a56: f000 fff3 bl 0x1a40
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
211 a5a: a9c6 add r1, sp, #792 ; 0x318
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
212 a5c: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
213 a5e: a8c6 add r0, sp, #792 ; 0x318
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
214 a60: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
215 a62: 28ff cmp r0, #255 ; 0xff
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
216 a64: d031 beq 0xaca
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
217 a66: a846 add r0, sp, #280 ; 0x118
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
218 a68: a902 add r1, sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
219 a6a: f000 faad bl 0xfc8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
220 a6e: 9001 str r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
221 a70: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
222 a72: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
223 a74: d014 beq 0xaa0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
224 a76: a924 add r1, sp, #144 ; 0x90
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
225 a78: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
226 a7a: 7a00 ldrb r0, [r0, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
227 a7c: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
228 a7e: 2291 mov r2, #145 ; 0x91
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
229 a80: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
230 a82: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
231 a84: 7909 ldrb r1, [r1, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
232 a86: 5411 strb r1, [r2, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
233 a88: a824 add r0, sp, #144 ; 0x90
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
234 a8a: a986 add r1, sp, #536 ; 0x218
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
235 a8c: f000 fb7f bl 0x118e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
236 a90: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
237 a92: d11a bne 0xaca
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
238 a94: a886 add r0, sp, #536 ; 0x218
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
239 a96: a9c6 add r1, sp, #792 ; 0x318
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
240 a98: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
241 a9a: f000 ffa6 bl 0x19ea
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
242 a9e: e014 b 0xaca
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
243 aa0: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
244 aa2: 7a00 ldrb r0, [r0, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
245 aa4: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
246 aa6: d110 bne 0xaca
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
247 aa8: a802 add r0, sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
248 aaa: a924 add r1, sp, #144 ; 0x90
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
249 aac: f000 fd7a bl 0x15a4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
250 ab0: a824 add r0, sp, #144 ; 0x90
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
251 ab2: a986 add r1, sp, #536 ; 0x218
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
252 ab4: f000 fb6b bl 0x118e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
253 ab8: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
254 aba: d104 bne 0xac6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
255 abc: a886 add r0, sp, #536 ; 0x218
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
256 abe: a9c6 add r1, sp, #792 ; 0x318
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
257 ac0: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
258 ac2: f000 ff92 bl 0x19ea
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
259 ac6: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
260 ac8: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
261 aca: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
262 acc: b07f add sp, #508 ; 0x1fc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
263 ace: b048 add sp, #288 ; 0x120
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
264 ad0: bd00 pop {pc}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
265
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
266 ad2: b500 push {lr}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
267 ad4: b082 sub sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
268 ad6: f7ff ff47 bl 0x968
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
269 ada: f001 f889 bl 0x1bf0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
270 ade: f000 fd4f bl 0x1580
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
271 ae2: f000 f81f bl 0xb24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
272 ae6: f000 f945 bl 0xd74
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
273 aea: b002 add sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
274 aec: bd00 pop {pc}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
275 aee: 46c0 nop (mov r8, r8)
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
276
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
277 af0: fffffa08
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
278 af4: 0000ffff
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
279 af8: fffffa0a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
280 afc: fffff804
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
281 b00: ffff9800
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
282 b04: 00002002
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
283 b08: fffffd00
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
284 b0c: 00001001
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
285
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
286 b10: e3a0d502 mov sp, #8388608 ; 0x800000
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
287 b14: e28dd802 add sp, sp, #131072 ; 0x20000
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
288 b18: e28fe005 add lr, pc, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
289 b1c: e12fff1e bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
290 b20: e1a00000 mov r0, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
291
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
292 b24: b500 push {lr}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
293 b26: b082 sub sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
294 b28: 49ea ldr r1, =0x83ff00 ; via 0xed4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
295 b2a: 48eb ldr r0, =0xffff5800 ; via 0xed8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
296 b2c: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
297 b2e: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
298 b30: 2102 mov r1, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
299 b32: f000 f9d3 bl 0xedc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
300 b36: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
301 b38: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
302 b3a: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
303 b3c: 2005 mov r0, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
304 b3e: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
305 b40: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
306 b42: d207 bcs 0xb54
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
307 b44: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
308 b46: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
309 b48: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
310 b4a: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
311 b4c: 2005 mov r0, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
312 b4e: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
313 b50: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
314 b52: d3f7 bcc 0xb44
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
315 b54: f000 f82a bl 0xbac
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
316 b58: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
317 b5a: 2107 mov r1, #7
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
318 b5c: f000 f9be bl 0xedc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
319 b60: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
320 b62: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
321 b64: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
322 b66: 2005 mov r0, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
323 b68: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
324 b6a: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
325 b6c: d207 bcs 0xb7e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
326 b6e: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
327 b70: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
328 b72: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
329 b74: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
330 b76: 2005 mov r0, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
331 b78: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
332 b7a: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
333 b7c: d3f7 bcc 0xb6e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
334 b7e: f000 f815 bl 0xbac
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
335 b82: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
336 b84: 9001 str r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
337 b86: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
338 b88: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
339 b8a: 2005 mov r0, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
340 b8c: 0400 lsl r0, r0, #16
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
341 b8e: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
342 b90: d20a bcs 0xba8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
343 b92: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
344 b94: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
345 b96: 9001 str r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
346 b98: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
347 b9a: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
348 b9c: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
349 b9e: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
350 ba0: 2005 mov r0, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
351 ba2: 0400 lsl r0, r0, #16
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
352 ba4: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
353 ba6: d3f4 bcc 0xb92
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
354 ba8: b002 add sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
355 baa: bd00 pop {pc}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
356
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
357 bac: b500 push {lr}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
358 bae: b089 sub sp, #36 ; 0x24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
359 bb0: 48f3 ldr r0, =0x800100 ; via 0xf80
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
360 bb2: 9005 str r0, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
361 bb4: 48f3 ldr r0, =0x2060 ; via 0xf84
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
362 bb6: 9008 str r0, [sp, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
363 bb8: 9808 ldr r0, [sp, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
364 bba: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
365 bbc: 49f2 ldr r1, =0xdddddddd ; via 0xf88
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
366 bbe: 4288 cmp r0, r1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
367 bc0: d000 beq 0xbc4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
368 bc2: e0d5 b 0xd70
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
369 bc4: 201b mov r0, #27 ; 0x1b
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
370 bc6: f000 f932 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
371 bca: 20f6 mov r0, #246 ; 0xf6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
372 bcc: f000 f92f bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
373 bd0: 2002 mov r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
374 bd2: f000 f92c bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
375 bd6: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
376 bd8: f000 f929 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
377 bdc: 2041 mov r0, #65 ; 0x41
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
378 bde: f000 f926 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
379 be2: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
380 be4: f000 f923 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
381 be8: 2040 mov r0, #64 ; 0x40
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
382 bea: f000 f920 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
383 bee: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
384 bf0: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
385 bf2: f000 f934 bl 0xe5e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
386 bf6: 281b cmp r0, #27 ; 0x1b
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
387 bf8: d000 beq 0xbfc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
388 bfa: e0b9 b 0xd70
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
389 bfc: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
390 bfe: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
391 c00: f000 f92d bl 0xe5e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
392 c04: 28f6 cmp r0, #246 ; 0xf6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
393 c06: d000 beq 0xc0a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
394 c08: e0b2 b 0xd70
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
395 c0a: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
396 c0c: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
397 c0e: f000 f926 bl 0xe5e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
398 c12: 2802 cmp r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
399 c14: d000 beq 0xc18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
400 c16: e0ab b 0xd70
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
401 c18: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
402 c1a: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
403 c1c: f000 f91f bl 0xe5e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
404 c20: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
405 c22: d000 beq 0xc26
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
406 c24: e0a4 b 0xd70
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
407 c26: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
408 c28: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
409 c2a: f000 f918 bl 0xe5e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
410 c2e: 2852 cmp r0, #82 ; 0x52
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
411 c30: d000 beq 0xc34
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
412 c32: e09d b 0xd70
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
413 c34: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
414 c36: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
415 c38: f000 f911 bl 0xe5e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
416 c3c: 2801 cmp r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
417 c3e: d000 beq 0xc42
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
418 c40: e096 b 0xd70
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
419 c42: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
420 c44: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
421 c46: f000 f90a bl 0xe5e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
422 c4a: 2853 cmp r0, #83 ; 0x53
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
423 c4c: d000 beq 0xc50
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
424 c4e: e08f b 0xd70
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
425 c50: 201b mov r0, #27 ; 0x1b
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
426 c52: f000 f8ec bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
427 c56: 20f6 mov r0, #246 ; 0xf6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
428 c58: f000 f8e9 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
429 c5c: 2002 mov r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
430 c5e: f000 f8e6 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
431 c62: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
432 c64: f000 f8e3 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
433 c68: 2041 mov r0, #65 ; 0x41
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
434 c6a: f000 f8e0 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
435 c6e: 2002 mov r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
436 c70: f000 f8dd bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
437 c74: 2043 mov r0, #67 ; 0x43
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
438 c76: f000 f8da bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
439 c7a: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
440 c7c: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
441 c7e: f000 f8ee bl 0xe5e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
442 c82: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
443 c84: 7208 strb r0, [r1, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
444 c86: 2002 mov r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
445 c88: 7448 strb r0, [r1, #17] ; 0x11
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
446 c8a: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
447 c8c: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
448 c8e: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
449 c90: 2802 cmp r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
450 c92: d215 bcs 0xcc0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
451 c94: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
452 c96: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
453 c98: f000 f8e1 bl 0xe5e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
454 c9c: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
455 c9e: 9a00 ldr r2, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
456 ca0: 1a89 sub r1, r1, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
457 ca2: 7348 strb r0, [r1, #13] ; 0xd
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
458 ca4: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
459 ca6: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
460 ca8: 1a08 sub r0, r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
461 caa: 7b40 ldrb r0, [r0, #13] ; 0xd
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
462 cac: 7c49 ldrb r1, [r1, #17] ; 0x11
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
463 cae: 4048 eor r0, r1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
464 cb0: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
465 cb2: 7448 strb r0, [r1, #17] ; 0x11
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
466 cb4: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
467 cb6: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
468 cb8: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
469 cba: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
470 cbc: 2802 cmp r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
471 cbe: d3e9 bcc 0xc94
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
472 cc0: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
473 cc2: 8980 ldrh r0, [r0, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
474 cc4: 466a mov r2, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
475 cc6: 1e41 sub r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
476 cc8: 8191 strh r1, [r2, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
477 cca: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
478 ccc: d015 beq 0xcfa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
479 cce: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
480 cd0: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
481 cd2: f000 f8c4 bl 0xe5e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
482 cd6: 9905 ldr r1, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
483 cd8: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
484 cda: 9805 ldr r0, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
485 cdc: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
486 cde: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
487 ce0: 7c49 ldrb r1, [r1, #17] ; 0x11
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
488 ce2: 4048 eor r0, r1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
489 ce4: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
490 ce6: 7448 strb r0, [r1, #17] ; 0x11
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
491 ce8: 9805 ldr r0, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
492 cea: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
493 cec: 9005 str r0, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
494 cee: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
495 cf0: 8982 ldrh r2, [r0, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
496 cf2: 1e50 sub r0, r2, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
497 cf4: 8188 strh r0, [r1, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
498 cf6: 2a00 cmp r2, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
499 cf8: d1e9 bne 0xcce
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
500 cfa: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
501 cfc: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
502 cfe: f000 f8ae bl 0xe5e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
503 d02: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
504 d04: 7408 strb r0, [r1, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
505 d06: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
506 d08: 7c01 ldrb r1, [r0, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
507 d0a: 7c40 ldrb r0, [r0, #17] ; 0x11
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
508 d0c: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
509 d0e: d015 beq 0xd3c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
510 d10: 201b mov r0, #27 ; 0x1b
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
511 d12: f000 f88c bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
512 d16: 20f6 mov r0, #246 ; 0xf6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
513 d18: f000 f889 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
514 d1c: 2002 mov r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
515 d1e: f000 f886 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
516 d22: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
517 d24: f000 f883 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
518 d28: 2045 mov r0, #69 ; 0x45
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
519 d2a: f000 f880 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
520 d2e: 2053 mov r0, #83 ; 0x53
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
521 d30: f000 f87d bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
522 d34: 2016 mov r0, #22 ; 0x16
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
523 d36: f000 f87a bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
524 d3a: e019 b 0xd70
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
525 d3c: 201b mov r0, #27 ; 0x1b
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
526 d3e: f000 f876 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
527 d42: 20f6 mov r0, #246 ; 0xf6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
528 d44: f000 f873 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
529 d48: 2002 mov r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
530 d4a: f000 f870 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
531 d4e: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
532 d50: f000 f86d bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
533 d54: 2041 mov r0, #65 ; 0x41
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
534 d56: f000 f86a bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
535 d5a: 2003 mov r0, #3
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
536 d5c: f000 f867 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
537 d60: 2042 mov r0, #66 ; 0x42
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
538 d62: f000 f864 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
539 d66: 485b ldr r0, =0x83ff00 ; via 0xed4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
540 d68: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
541 d6a: 4991 ldr r1, =0x800100 ; via 0xfb0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
542 d6c: f000 f85e bl 0xe2c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
543 d70: b009 add sp, #36 ; 0x24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
544 d72: bd00 pop {pc}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
545
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
546 d74: b500 push {lr}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
547 d76: b081 sub sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
548 d78: 2066 mov r0, #102 ; 0x66
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
549 d7a: f000 f858 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
550 d7e: 2074 mov r0, #116 ; 0x74
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
551 d80: f000 f855 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
552 d84: 206d mov r0, #109 ; 0x6d
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
553 d86: f000 f852 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
554 d8a: 2074 mov r0, #116 ; 0x74
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
555 d8c: f000 f84f bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
556 d90: 206f mov r0, #111 ; 0x6f
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
557 d92: f000 f84c bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
558 d96: 206f mov r0, #111 ; 0x6f
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
559 d98: f000 f849 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
560 d9c: 206c mov r0, #108 ; 0x6c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
561 d9e: f000 f846 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
562 da2: 4984 ldr r1, =0x83ff80 ; via 0xfb4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
563 da4: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
564 da6: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
565 da8: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
566 daa: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
567 dac: 0c00 lsr r0, r0, #16
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
568 dae: d105 bne 0xdbc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
569 db0: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
570 db2: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
571 db4: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
572 db6: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
573 db8: 0c00 lsr r0, r0, #16
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
574 dba: d0f9 beq 0xdb0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
575 dbc: 2007 mov r0, #7
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
576 dbe: 0400 lsl r0, r0, #16
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
577 dc0: f000 f84d bl 0xe5e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
578 dc4: 2879 cmp r0, #121 ; 0x79
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
579 dc6: d10e bne 0xde6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
580 dc8: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
581 dca: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
582 dcc: f000 f847 bl 0xe5e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
583 dd0: 2865 cmp r0, #101 ; 0x65
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
584 dd2: d108 bne 0xde6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
585 dd4: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
586 dd6: 0300 lsl r0, r0, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
587 dd8: f000 f841 bl 0xe5e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
588 ddc: 2873 cmp r0, #115 ; 0x73
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
589 dde: d102 bne 0xde6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
590 de0: 4874 ldr r0, =0x83ff80 ; via 0xfb4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
591 de2: 2101 mov r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
592 de4: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
593 de6: f000 f8d1 bl 0xf8c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
594 dea: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
595 dec: d00d beq 0xe0a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
596 dee: 206d mov r0, #109 ; 0x6d
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
597 df0: f000 f81d bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
598 df4: 206f mov r0, #111 ; 0x6f
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
599 df6: f000 f81a bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
600 dfa: 2064 mov r0, #100 ; 0x64
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
601 dfc: f000 f817 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
602 e00: 2065 mov r0, #101 ; 0x65
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
603 e02: f000 f814 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
604 e06: 206d mov r0, #109 ; 0x6d
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
605 e08: e00c b 0xe24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
606 e0a: 2065 mov r0, #101 ; 0x65
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
607 e0c: f000 f80f bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
608 e10: 2072 mov r0, #114 ; 0x72
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
609 e12: f000 f80c bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
610 e16: 2072 mov r0, #114 ; 0x72
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
611 e18: f000 f809 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
612 e1c: 206f mov r0, #111 ; 0x6f
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
613 e1e: f000 f806 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
614 e22: 2072 mov r0, #114 ; 0x72
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
615 e24: f000 f803 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
616 e28: b001 add sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
617 e2a: bd00 pop {pc}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
618 e2c: 4708 bx r1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
619 e2e: b081 sub sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
620 e30: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
621 e32: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
622 e34: 4827 ldr r0, =0x83ff00 ; via 0xed4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
623 e36: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
624 e38: 7940 ldrb r0, [r0, #5]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
625 e3a: 0980 lsr r0, r0, #6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
626 e3c: d3fa bcc 0xe34
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
627 e3e: 4825 ldr r0, =0x83ff00 ; via 0xed4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
628 e40: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
629 e42: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
630 e44: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
631 e46: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
632 e48: b001 add sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
633 e4a: 46f7 mov pc, lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
634 e4c: 4821 ldr r0, =0x83ff00 ; via 0xed4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
635 e4e: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
636 e50: 7940 ldrb r0, [r0, #5]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
637 e52: 0840 lsr r0, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
638 e54: d3fa bcc 0xe4c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
639 e56: 481f ldr r0, =0x83ff00 ; via 0xed4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
640 e58: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
641 e5a: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
642 e5c: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
643 e5e: b083 sub sp, #12 ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
644 e60: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
645 e62: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
646 e64: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
647 e66: 481b ldr r0, =0x83ff00 ; via 0xed4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
648 e68: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
649 e6a: 7940 ldrb r0, [r0, #5]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
650 e6c: 0840 lsr r0, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
651 e6e: d20c bcs 0xe8a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
652 e70: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
653 e72: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
654 e74: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
655 e76: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
656 e78: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
657 e7a: d101 bne 0xe80
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
658 e7c: 20ff mov r0, #255 ; 0xff
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
659 e7e: e007 b 0xe90
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
660 e80: 4814 ldr r0, =0x83ff00 ; via 0xed4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
661 e82: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
662 e84: 7940 ldrb r0, [r0, #5]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
663 e86: 0840 lsr r0, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
664 e88: d3f2 bcc 0xe70
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
665 e8a: 4812 ldr r0, =0x83ff00 ; via 0xed4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
666 e8c: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
667 e8e: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
668 e90: b003 add sp, #12 ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
669 e92: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
670 e94: b081 sub sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
671 e96: e001 b 0xe9c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
672 e98: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
673 e9a: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
674 e9c: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
675 e9e: 480d ldr r0, =0x83ff00 ; via 0xed4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
676 ea0: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
677 ea2: 7940 ldrb r0, [r0, #5]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
678 ea4: 0840 lsr r0, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
679 ea6: d202 bcs 0xeae
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
680 ea8: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
681 eaa: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
682 eac: dcf4 bgt 0xe98
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
683 eae: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
684 eb0: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
685 eb2: dd01 ble 0xeb8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
686 eb4: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
687 eb6: e000 b 0xeba
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
688 eb8: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
689 eba: b001 add sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
690 ebc: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
691 ebe: b082 sub sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
692 ec0: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
693 ec2: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
694 ec4: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
695 ec6: 7188 strb r0, [r1, #6]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
696 ec8: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
697 eca: 483b ldr r0, =0xfffef000 ; via 0xfb8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
698 ecc: 8800 ldrh r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
699 ece: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
700 ed0: b002 add sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
701 ed2: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
702 ed4: ff00 <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
703 ed6: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
704 ed8: 5800 ldr r0, [r0, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
705 eda: ffff <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
706 edc: b081 sub sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
707 ede: 466a mov r2, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
708 ee0: 7051 strb r1, [r2, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
709 ee2: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
710 ee4: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
711 ee6: 4935 ldr r1, =0xffff6000 ; via 0xfbc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
712 ee8: 2002 mov r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
713 eea: 880a ldrh r2, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
714 eec: 4310 orr r0, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
715 eee: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
716 ef0: 4832 ldr r0, =0xffff6000 ; via 0xfbc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
717 ef2: 8801 ldrh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
718 ef4: 0849 lsr r1, r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
719 ef6: 0049 lsl r1, r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
720 ef8: 8001 strh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
721 efa: 4930 ldr r1, =0xffff6000 ; via 0xfbc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
722 efc: 8808 ldrh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
723 efe: 2202 mov r2, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
724 f00: 4390 bic r0, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
725 f02: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
726 f04: 482e ldr r0, =0x83ff00 ; via 0xfc0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
727 f06: 6801 ldr r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
728 f08: 2007 mov r0, #7
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
729 f0a: 7208 strb r0, [r1, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
730 f0c: 482c ldr r0, =0x83ff00 ; via 0xfc0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
731 f0e: 6801 ldr r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
732 f10: 20bf mov r0, #191 ; 0xbf
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
733 f12: 70c8 strb r0, [r1, #3]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
734 f14: 482a ldr r0, =0x83ff00 ; via 0xfc0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
735 f16: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
736 f18: 1c80 add r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
737 f1a: 2110 mov r1, #16 ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
738 f1c: 8802 ldrh r2, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
739 f1e: 4311 orr r1, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
740 f20: 8001 strh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
741 f22: 4827 ldr r0, =0x83ff00 ; via 0xfc0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
742 f24: 6801 ldr r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
743 f26: 2080 mov r0, #128 ; 0x80
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
744 f28: 70c8 strb r0, [r1, #3]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
745 f2a: 4825 ldr r0, =0x83ff00 ; via 0xfc0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
746 f2c: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
747 f2e: 2107 mov r1, #7
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
748 f30: 7081 strb r1, [r0, #2]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
749 f32: 4823 ldr r0, =0x83ff00 ; via 0xfc0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
750 f34: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
751 f36: 21bf mov r1, #191 ; 0xbf
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
752 f38: 70c1 strb r1, [r0, #3]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
753 f3a: 4821 ldr r0, =0x83ff00 ; via 0xfc0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
754 f3c: 6801 ldr r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
755 f3e: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
756 f40: 7840 ldrb r0, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
757 f42: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
758 f44: 481e ldr r0, =0x83ff00 ; via 0xfc0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
759 f46: 6801 ldr r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
760 f48: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
761 f4a: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
762 f4c: 7048 strb r0, [r1, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
763 f4e: 481c ldr r0, =0x83ff00 ; via 0xfc0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
764 f50: 6801 ldr r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
765 f52: 2003 mov r0, #3
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
766 f54: 70c8 strb r0, [r1, #3]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
767 f56: 481a ldr r0, =0x83ff00 ; via 0xfc0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
768 f58: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
769 f5a: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
770 f5c: 7201 strb r1, [r0, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
771 f5e: 4818 ldr r0, =0x83ff00 ; via 0xfc0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
772 f60: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
773 f62: 7940 ldrb r0, [r0, #5]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
774 f64: 0840 lsr r0, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
775 f66: d309 bcc 0xf7c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
776 f68: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
777 f6a: 4815 ldr r0, =0x83ff00 ; via 0xfc0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
778 f6c: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
779 f6e: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
780 f70: 7088 strb r0, [r1, #2]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
781 f72: 4813 ldr r0, =0x83ff00 ; via 0xfc0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
782 f74: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
783 f76: 7940 ldrb r0, [r0, #5]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
784 f78: 0840 lsr r0, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
785 f7a: d2f5 bcs 0xf68
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
786 f7c: b001 add sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
787 f7e: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
788 f80: 0100 lsl r0, r0, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
789 f82: 0080 lsl r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
790 f84: 2060 mov r0, #96 ; 0x60
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
791 f86: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
792 f88: dddd ble 0xf46
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
793 f8a: dddd ble 0xf48
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
794 f8c: 4809 ldr r0, =0x83ff80 ; via 0xfb4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
795 f8e: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
796 f90: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
797 f92: b500 push {lr}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
798 f94: b081 sub sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
799 f96: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
800 f98: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
801 f9a: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
802 f9c: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
803 f9e: f7ff ff46 bl 0xe2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
804 fa2: b001 add sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
805 fa4: bd00 pop {pc}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
806 fa6: b500 push {lr}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
807 fa8: f7ff ff50 bl 0xe4c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
808 fac: bd00 pop {pc}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
809 fae: 46c0 nop (mov r8, r8)
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
810 fb0: 0100 lsl r0, r0, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
811 fb2: 0080 lsl r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
812 fb4: ff80 <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
813 fb6: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
814 fb8: f000 fffe bl 0x1fb8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
815 fbc: 6000 str r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
816 fbe: ffff <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
817 fc0: ff00 <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
818 fc2: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
819 fc4: 4700 bx r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
820 fc6: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
821 fc8: b08c sub sp, #48 ; 0x30
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
822 fca: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
823 fcc: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
824 fce: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
825 fd0: 9003 str r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
826 fd2: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
827 fd4: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
828 fd6: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
829 fd8: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
830 fda: 9105 str r1, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
831 fdc: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
832 fde: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
833 fe0: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
834 fe2: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
835 fe4: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
836 fe6: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
837 fe8: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
838 fea: 9004 str r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
839 fec: e0a8 b 0x1140
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
840 fee: 9804 ldr r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
841 ff0: 3002 add r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
842 ff2: 9004 str r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
843 ff4: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
844 ff6: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
845 ff8: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
846 ffa: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
847 ffc: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
848 ffe: 8441 strh r1, [r0, #34] ; 0x22
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
849 1000: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
850 1002: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
851 1004: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
852 1006: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
853 1008: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
854 100a: 8401 strh r1, [r0, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
855 100c: 8c00 ldrh r0, [r0, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
856 100e: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
857 1010: 8c49 ldrh r1, [r1, #34] ; 0x22
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
858 1012: 0209 lsl r1, r1, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
859 1014: 1840 add r0, r0, r1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
860 1016: 9901 ldr r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
861 1018: 8088 strh r0, [r1, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
862 101a: 9804 ldr r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
863 101c: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
864 101e: 9004 str r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
865 1020: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
866 1022: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
867 1024: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
868 1026: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
869 1028: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
870 102a: 7601 strb r1, [r0, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
871 102c: 9901 ldr r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
872 102e: 7e00 ldrb r0, [r0, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
873 1030: 7188 strb r0, [r1, #6]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
874 1032: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
875 1034: 7e00 ldrb r0, [r0, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
876 1036: 2840 cmp r0, #64 ; 0x40
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
877 1038: dc00 bgt 0x103c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
878 103a: e09f b 0x117c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
879 103c: 2004 mov r0, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
880 103e: 9003 str r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
881 1040: e09c b 0x117c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
882 1042: 9804 ldr r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
883 1044: 3002 add r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
884 1046: 9004 str r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
885 1048: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
886 104a: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
887 104c: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
888 104e: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
889 1050: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
890 1052: 8441 strh r1, [r0, #34] ; 0x22
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
891 1054: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
892 1056: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
893 1058: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
894 105a: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
895 105c: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
896 105e: 8401 strh r1, [r0, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
897 1060: 8c00 ldrh r0, [r0, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
898 1062: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
899 1064: 8c49 ldrh r1, [r1, #34] ; 0x22
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
900 1066: 0209 lsl r1, r1, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
901 1068: 1841 add r1, r0, r1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
902 106a: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
903 106c: 8081 strh r1, [r0, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
904 106e: 9804 ldr r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
905 1070: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
906 1072: 9004 str r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
907 1074: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
908 1076: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
909 1078: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
910 107a: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
911 107c: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
912 107e: 7601 strb r1, [r0, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
913 1080: 9901 ldr r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
914 1082: 7e00 ldrb r0, [r0, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
915 1084: 7188 strb r0, [r1, #6]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
916 1086: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
917 1088: 7e00 ldrb r0, [r0, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
918 108a: 2840 cmp r0, #64 ; 0x40
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
919 108c: dcd6 bgt 0x103c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
920 108e: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
921 1090: 3008 add r0, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
922 1092: 9007 str r0, [sp, #28] ; 0x1c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
923 1094: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
924 1096: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
925 1098: 9902 ldr r1, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
926 109a: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
927 109c: 7e00 ldrb r0, [r0, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
928 109e: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
929 10a0: da6c bge 0x117c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
930 10a2: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
931 10a4: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
932 10a6: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
933 10a8: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
934 10aa: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
935 10ac: 84c1 strh r1, [r0, #38] ; 0x26
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
936 10ae: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
937 10b0: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
938 10b2: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
939 10b4: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
940 10b6: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
941 10b8: 8481 strh r1, [r0, #36] ; 0x24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
942 10ba: 9807 ldr r0, [sp, #28] ; 0x1c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
943 10bc: 1c81 add r1, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
944 10be: 9107 str r1, [sp, #28] ; 0x1c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
945 10c0: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
946 10c2: 8c89 ldrh r1, [r1, #36] ; 0x24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
947 10c4: 466a mov r2, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
948 10c6: 8cd2 ldrh r2, [r2, #38] ; 0x26
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
949 10c8: 0212 lsl r2, r2, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
950 10ca: 1889 add r1, r1, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
951 10cc: 8001 strh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
952 10ce: 9804 ldr r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
953 10d0: 3002 add r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
954 10d2: 9004 str r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
955 10d4: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
956 10d6: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
957 10d8: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
958 10da: 9902 ldr r1, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
959 10dc: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
960 10de: 7e00 ldrb r0, [r0, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
961 10e0: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
962 10e2: dbde blt 0x10a2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
963 10e4: e04a b 0x117c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
964 10e6: 9804 ldr r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
965 10e8: 3002 add r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
966 10ea: 9004 str r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
967 10ec: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
968 10ee: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
969 10f0: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
970 10f2: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
971 10f4: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
972 10f6: 8501 strh r1, [r0, #40] ; 0x28
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
973 10f8: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
974 10fa: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
975 10fc: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
976 10fe: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
977 1100: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
978 1102: 8541 strh r1, [r0, #42] ; 0x2a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
979 1104: 8d41 ldrh r1, [r0, #42] ; 0x2a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
980 1106: 8d00 ldrh r0, [r0, #40] ; 0x28
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
981 1108: 0200 lsl r0, r0, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
982 110a: 1809 add r1, r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
983 110c: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
984 110e: 8081 strh r1, [r0, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
985 1110: 9804 ldr r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
986 1112: 3002 add r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
987 1114: 9004 str r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
988 1116: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
989 1118: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
990 111a: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
991 111c: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
992 111e: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
993 1120: 8581 strh r1, [r0, #44] ; 0x2c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
994 1122: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
995 1124: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
996 1126: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
997 1128: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
998 112a: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
999 112c: 85c1 strh r1, [r0, #46] ; 0x2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1000 112e: 8dc1 ldrh r1, [r0, #46] ; 0x2e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1001 1130: 8d80 ldrh r0, [r0, #44] ; 0x2c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1002 1132: 0200 lsl r0, r0, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1003 1134: 1808 add r0, r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1004 1136: 9901 ldr r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1005 1138: 80c8 strh r0, [r1, #6]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1006 113a: e01f b 0x117c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1007 113c: 2008 mov r0, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1008 113e: e77e b 0x103e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1009 1140: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1010 1142: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1011 1144: 290a cmp r1, #10 ; 0xa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1012 1146: d8f9 bhi 0x113c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1013 1148: a001 add r0, pc, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1014 114a: 0089 lsl r1, r1, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1015 114c: 5840 ldr r0, [r0, r1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1016 114e: 4687 mov pc, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1017 1150: 117c asr r4, r7, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1018 1152: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1019 1154: 117c asr r4, r7, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1020 1156: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1021 1158: 117c asr r4, r7, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1022 115a: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1023 115c: 117c asr r4, r7, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1024 115e: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1025 1160: 117c asr r4, r7, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1026 1162: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1027 1164: 117c asr r4, r7, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1028 1166: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1029 1168: 117c asr r4, r7, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1030 116a: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1031 116c: 0fee lsr r6, r5, #31
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1032 116e: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1033 1170: 1042 asr r2, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1034 1172: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1035 1174: 117c asr r4, r7, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1036 1176: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1037 1178: 10e6 asr r6, r4, #3
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1038 117a: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1039 117c: 9905 ldr r1, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1040 117e: 9804 ldr r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1041 1180: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1042 1182: d001 beq 0x1188
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1043 1184: 2004 mov r0, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1044 1186: 9003 str r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1045 1188: 9803 ldr r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1046 118a: b00c add sp, #48 ; 0x30
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1047 118c: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1048 118e: b089 sub sp, #36 ; 0x24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1049 1190: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1050 1192: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1051 1194: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1052 1196: 9003 str r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1053 1198: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1054 119a: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1055 119c: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1056 119e: 9005 str r0, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1057 11a0: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1058 11a2: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1059 11a4: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1060 11a6: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1061 11a8: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1062 11aa: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1063 11ac: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1064 11ae: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1065 11b0: 7408 strb r0, [r1, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1066 11b2: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1067 11b4: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1068 11b6: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1069 11b8: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1070 11ba: 7849 ldrb r1, [r1, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1071 11bc: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1072 11be: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1073 11c0: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1074 11c2: 7c00 ldrb r0, [r0, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1075 11c4: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1076 11c6: 7408 strb r0, [r1, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1077 11c8: e0e4 b 0x1394
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1078 11ca: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1079 11cc: 7840 ldrb r0, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1080 11ce: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1081 11d0: d000 beq 0x11d4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1082 11d2: e0fd b 0x13d0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1083 11d4: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1084 11d6: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1085 11d8: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1086 11da: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1087 11dc: 7909 ldrb r1, [r1, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1088 11de: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1089 11e0: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1090 11e2: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1091 11e4: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1092 11e6: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1093 11e8: 7949 ldrb r1, [r1, #5]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1094 11ea: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1095 11ec: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1096 11ee: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1097 11f0: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1098 11f2: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1099 11f4: 7989 ldrb r1, [r1, #6]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1100 11f6: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1101 11f8: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1102 11fa: 7c00 ldrb r0, [r0, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1103 11fc: 3003 add r0, #3
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1104 11fe: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1105 1200: 7408 strb r0, [r1, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1106 1202: e0e5 b 0x13d0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1107 1204: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1108 1206: 7840 ldrb r0, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1109 1208: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1110 120a: d000 beq 0x120e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1111 120c: e0e0 b 0x13d0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1112 120e: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1113 1210: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1114 1212: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1115 1214: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1116 1216: 7909 ldrb r1, [r1, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1117 1218: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1118 121a: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1119 121c: 7c00 ldrb r0, [r0, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1120 121e: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1121 1220: e7ed b 0x11fe
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1122 1222: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1123 1224: 7840 ldrb r0, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1124 1226: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1125 1228: d000 beq 0x122c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1126 122a: e0d1 b 0x13d0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1127 122c: e7ef b 0x120e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1128 122e: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1129 1230: 7840 ldrb r0, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1130 1232: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1131 1234: d000 beq 0x1238
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1132 1236: e0cb b 0x13d0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1133 1238: e7e9 b 0x120e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1134 123a: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1135 123c: 7840 ldrb r0, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1136 123e: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1137 1240: d000 beq 0x1244
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1138 1242: e0c5 b 0x13d0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1139 1244: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1140 1246: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1141 1248: 8880 ldrh r0, [r0, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1142 124a: 8408 strh r0, [r1, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1143 124c: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1144 124e: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1145 1250: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1146 1252: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1147 1254: 8c09 ldrh r1, [r1, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1148 1256: 0409 lsl r1, r1, #16
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1149 1258: 0e09 lsr r1, r1, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1150 125a: 0209 lsl r1, r1, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1151 125c: 1209 asr r1, r1, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1152 125e: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1153 1260: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1154 1262: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1155 1264: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1156 1266: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1157 1268: 8c09 ldrh r1, [r1, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1158 126a: 0609 lsl r1, r1, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1159 126c: 0e09 lsr r1, r1, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1160 126e: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1161 1270: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1162 1272: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1163 1274: 88c0 ldrh r0, [r0, #6]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1164 1276: 8408 strh r0, [r1, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1165 1278: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1166 127a: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1167 127c: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1168 127e: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1169 1280: 8c09 ldrh r1, [r1, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1170 1282: 0409 lsl r1, r1, #16
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1171 1284: 0e09 lsr r1, r1, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1172 1286: 0209 lsl r1, r1, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1173 1288: 1209 asr r1, r1, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1174 128a: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1175 128c: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1176 128e: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1177 1290: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1178 1292: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1179 1294: 8c09 ldrh r1, [r1, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1180 1296: 0609 lsl r1, r1, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1181 1298: 0e09 lsr r1, r1, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1182 129a: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1183 129c: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1184 129e: 7c00 ldrb r0, [r0, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1185 12a0: 3004 add r0, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1186 12a2: e7ac b 0x11fe
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1187 12a4: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1188 12a6: 7840 ldrb r0, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1189 12a8: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1190 12aa: d000 beq 0x12ae
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1191 12ac: e090 b 0x13d0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1192 12ae: e7ae b 0x120e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1193 12b0: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1194 12b2: 7840 ldrb r0, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1195 12b4: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1196 12b6: d000 beq 0x12ba
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1197 12b8: e08a b 0x13d0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1198 12ba: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1199 12bc: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1200 12be: 7c00 ldrb r0, [r0, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1201 12c0: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1202 12c2: 7408 strb r0, [r1, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1203 12c4: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1204 12c6: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1205 12c8: 7909 ldrb r1, [r1, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1206 12ca: 7601 strb r1, [r0, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1207 12cc: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1208 12ce: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1209 12d0: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1210 12d2: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1211 12d4: 7e09 ldrb r1, [r1, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1212 12d6: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1213 12d8: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1214 12da: 7e00 ldrb r0, [r0, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1215 12dc: 2840 cmp r0, #64 ; 0x40
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1216 12de: dd01 ble 0x12e4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1217 12e0: 2004 mov r0, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1218 12e2: e055 b 0x1390
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1219 12e4: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1220 12e6: 3006 add r0, #6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1221 12e8: 9007 str r0, [sp, #28] ; 0x1c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1222 12ea: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1223 12ec: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1224 12ee: 9902 ldr r1, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1225 12f0: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1226 12f2: 7e00 ldrb r0, [r0, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1227 12f4: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1228 12f6: da6b bge 0x13d0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1229 12f8: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1230 12fa: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1231 12fc: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1232 12fe: 9907 ldr r1, [sp, #28] ; 0x1c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1233 1300: 8809 ldrh r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1234 1302: 0409 lsl r1, r1, #16
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1235 1304: 0e09 lsr r1, r1, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1236 1306: 0209 lsl r1, r1, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1237 1308: 1209 asr r1, r1, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1238 130a: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1239 130c: 9807 ldr r0, [sp, #28] ; 0x1c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1240 130e: 8801 ldrh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1241 1310: 3002 add r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1242 1312: 9007 str r0, [sp, #28] ; 0x1c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1243 1314: 0608 lsl r0, r1, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1244 1316: 0e01 lsr r1, r0, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1245 1318: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1246 131a: 1c42 add r2, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1247 131c: 9201 str r2, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1248 131e: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1249 1320: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1250 1322: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1251 1324: 7c00 ldrb r0, [r0, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1252 1326: 3002 add r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1253 1328: 7408 strb r0, [r1, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1254 132a: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1255 132c: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1256 132e: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1257 1330: 9902 ldr r1, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1258 1332: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1259 1334: 7e00 ldrb r0, [r0, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1260 1336: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1261 1338: dbde blt 0x12f8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1262 133a: e049 b 0x13d0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1263 133c: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1264 133e: 7840 ldrb r0, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1265 1340: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1266 1342: d145 bne 0x13d0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1267 1344: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1268 1346: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1269 1348: 8880 ldrh r0, [r0, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1270 134a: 8408 strh r0, [r1, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1271 134c: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1272 134e: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1273 1350: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1274 1352: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1275 1354: 8c09 ldrh r1, [r1, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1276 1356: 0409 lsl r1, r1, #16
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1277 1358: 0e09 lsr r1, r1, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1278 135a: 0209 lsl r1, r1, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1279 135c: 1209 asr r1, r1, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1280 135e: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1281 1360: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1282 1362: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1283 1364: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1284 1366: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1285 1368: 8c09 ldrh r1, [r1, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1286 136a: 0609 lsl r1, r1, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1287 136c: 0e09 lsr r1, r1, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1288 136e: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1289 1370: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1290 1372: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1291 1374: 88c9 ldrh r1, [r1, #6]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1292 1376: 8401 strh r1, [r0, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1293 1378: 9901 ldr r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1294 137a: 1c48 add r0, r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1295 137c: 9001 str r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1296 137e: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1297 1380: 8c00 ldrh r0, [r0, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1298 1382: 0400 lsl r0, r0, #16
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1299 1384: 0e00 lsr r0, r0, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1300 1386: 0200 lsl r0, r0, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1301 1388: 1200 asr r0, r0, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1302 138a: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1303 138c: e77e b 0x128c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1304 138e: 2008 mov r0, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1305 1390: 9003 str r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1306 1392: e01d b 0x13d0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1307 1394: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1308 1396: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1309 1398: 280a cmp r0, #10 ; 0xa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1310 139a: d8f8 bhi 0x138e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1311 139c: a101 add r1, pc, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1312 139e: 0080 lsl r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1313 13a0: 5808 ldr r0, [r1, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1314 13a2: 4687 mov pc, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1315 13a4: 11ca asr r2, r1, #7
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1316 13a6: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1317 13a8: 1204 asr r4, r0, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1318 13aa: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1319 13ac: 1222 asr r2, r4, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1320 13ae: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1321 13b0: 122e asr r6, r5, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1322 13b2: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1323 13b4: 13d0 asr r0, r2, #15
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1324 13b6: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1325 13b8: 123a asr r2, r7, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1326 13ba: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1327 13bc: 12a4 asr r4, r4, #10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1328 13be: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1329 13c0: 12b0 asr r0, r6, #10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1330 13c2: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1331 13c4: 13d0 asr r0, r2, #15
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1332 13c6: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1333 13c8: 133c asr r4, r7, #12
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1334 13ca: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1335 13cc: 13d0 asr r0, r2, #15
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1336 13ce: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1337 13d0: 9805 ldr r0, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1338 13d2: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1339 13d4: 7c09 ldrb r1, [r1, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1340 13d6: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1341 13d8: 9803 ldr r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1342 13da: b009 add sp, #36 ; 0x24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1343 13dc: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1344 13de: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1345 13e0: b500 push {lr}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1346 13e2: b083 sub sp, #12 ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1347 13e4: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1348 13e6: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1349 13e8: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1350 13ea: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1351 13ec: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1352 13ee: e073 b 0x14d8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1353 13f0: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1354 13f2: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1355 13f4: 28aa cmp r0, #170 ; 0xaa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1356 13f6: d106 bne 0x1406
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1357 13f8: 4965 ldr r1, =0x83ff10 ; via 0x1590
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1358 13fa: 4865 ldr r0, =0x83ff10 ; via 0x1590
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1359 13fc: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1360 13fe: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1361 1400: 07c0 lsl r0, r0, #31
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1362 1402: 0fc0 lsr r0, r0, #31
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1363 1404: e013 b 0x142e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1364 1406: 4862 ldr r0, =0x83ff10 ; via 0x1590
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1365 1408: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1366 140a: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1367 140c: d06b beq 0x14e6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1368 140e: 4961 ldr r1, =0x83ff04 ; via 0x1594
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1369 1410: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1370 1412: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1371 1414: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1372 1416: 4960 ldr r1, =0x83ff0e ; via 0x1598
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1373 1418: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1374 141a: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1375 141c: 495f ldr r1, =0x83ff0c ; via 0x159c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1376 141e: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1377 1420: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1378 1422: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1379 1424: 495a ldr r1, =0x83ff10 ; via 0x1590
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1380 1426: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1381 1428: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1382 142a: 495d ldr r1, =0x83ff08 ; via 0x15a0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1383 142c: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1384 142e: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1385 1430: e059 b 0x14e6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1386 1432: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1387 1434: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1388 1436: 28aa cmp r0, #170 ; 0xaa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1389 1438: d113 bne 0x1462
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1390 143a: 4855 ldr r0, =0x83ff10 ; via 0x1590
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1391 143c: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1392 143e: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1393 1440: d00b beq 0x145a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1394 1442: 4954 ldr r1, =0x83ff04 ; via 0x1594
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1395 1444: 6808 ldr r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1396 1446: 1c42 add r2, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1397 1448: 600a str r2, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1398 144a: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1399 144c: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1400 144e: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1401 1450: 4951 ldr r1, =0x83ff0e ; via 0x1598
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1402 1452: 7808 ldrb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1403 1454: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1404 1456: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1405 1458: e013 b 0x1482
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1406 145a: 2101 mov r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1407 145c: 484c ldr r0, =0x83ff10 ; via 0x1590
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1408 145e: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1409 1460: e01c b 0x149c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1410 1462: 484b ldr r0, =0x83ff10 ; via 0x1590
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1411 1464: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1412 1466: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1413 1468: d00d beq 0x1486
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1414 146a: 494a ldr r1, =0x83ff04 ; via 0x1594
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1415 146c: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1416 146e: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1417 1470: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1418 1472: 4849 ldr r0, =0x83ff0e ; via 0x1598
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1419 1474: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1420 1476: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1421 1478: 4948 ldr r1, =0x83ff0c ; via 0x159c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1422 147a: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1423 147c: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1424 147e: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1425 1480: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1426 1482: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1427 1484: e7ea b 0x145c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1428 1486: 4843 ldr r0, =0x83ff04 ; via 0x1594
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1429 1488: 6801 ldr r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1430 148a: 1c4a add r2, r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1431 148c: 6002 str r2, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1432 148e: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1433 1490: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1434 1492: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1435 1494: 4940 ldr r1, =0x83ff0e ; via 0x1598
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1436 1496: 7808 ldrb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1437 1498: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1438 149a: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1439 149c: 483f ldr r0, =0x83ff0c ; via 0x159c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1440 149e: 8801 ldrh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1441 14a0: 3901 sub r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1442 14a2: 8001 strh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1443 14a4: 483d ldr r0, =0x83ff0c ; via 0x159c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1444 14a6: 8800 ldrh r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1445 14a8: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1446 14aa: d11c bne 0x14e6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1447 14ac: 9901 ldr r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1448 14ae: 483a ldr r0, =0x83ff0e ; via 0x1598
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1449 14b0: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1450 14b2: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1451 14b4: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1452 14b6: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1453 14b8: 4839 ldr r0, =0x83ff08 ; via 0x15a0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1454 14ba: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1455 14bc: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1456 14be: 4834 ldr r0, =0x83ff10 ; via 0x1590
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1457 14c0: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1458 14c2: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1459 14c4: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1460 14c6: 2801 cmp r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1461 14c8: d10d bne 0x14e6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1462 14ca: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1463 14cc: 7840 ldrb r0, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1464 14ce: 28dd cmp r0, #221 ; 0xdd
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1465 14d0: d109 bne 0x14e6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1466 14d2: f7ff fb27 bl 0xb24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1467 14d6: e006 b 0x14e6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1468 14d8: 4831 ldr r0, =0x83ff08 ; via 0x15a0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1469 14da: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1470 14dc: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1471 14de: d087 beq 0x13f0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1472 14e0: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1473 14e2: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1474 14e4: d0a5 beq 0x1432
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1475 14e6: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1476 14e8: b003 add sp, #12 ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1477 14ea: bd00 pop {pc}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1478 14ec: b086 sub sp, #24 ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1479 14ee: 9202 str r2, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1480 14f0: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1481 14f2: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1482 14f4: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1483 14f6: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1484 14f8: 9004 str r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1485 14fa: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1486 14fc: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1487 14fe: 9100 str r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1488 1500: 9005 str r0, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1489 1502: 9901 ldr r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1490 1504: 20aa mov r0, #170 ; 0xaa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1491 1506: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1492 1508: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1493 150a: 3002 add r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1494 150c: 9001 str r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1495 150e: 9902 ldr r1, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1496 1510: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1497 1512: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1498 1514: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1499 1516: 8188 strh r0, [r1, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1500 1518: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1501 151a: 8981 ldrh r1, [r0, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1502 151c: 9805 ldr r0, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1503 151e: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1504 1520: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1505 1522: da23 bge 0x156c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1506 1524: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1507 1526: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1508 1528: 28aa cmp r0, #170 ; 0xaa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1509 152a: d108 bne 0x153e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1510 152c: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1511 152e: 1c41 add r1, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1512 1530: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1513 1532: 21aa mov r1, #170 ; 0xaa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1514 1534: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1515 1536: 9902 ldr r1, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1516 1538: 8808 ldrh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1517 153a: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1518 153c: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1519 153e: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1520 1540: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1521 1542: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1522 1544: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1523 1546: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1524 1548: 1c42 add r2, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1525 154a: 9201 str r2, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1526 154c: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1527 154e: 9902 ldr r1, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1528 1550: 8808 ldrh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1529 1552: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1530 1554: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1531 1556: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1532 1558: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1533 155a: 8980 ldrh r0, [r0, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1534 155c: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1535 155e: 8188 strh r0, [r1, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1536 1560: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1537 1562: 8980 ldrh r0, [r0, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1538 1564: 9905 ldr r1, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1539 1566: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1540 1568: 4288 cmp r0, r1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1541 156a: dbdb blt 0x1524
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1542 156c: 9904 ldr r1, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1543 156e: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1544 1570: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1545 1572: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1546 1574: 9902 ldr r1, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1547 1576: 8808 ldrh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1548 1578: 3002 add r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1549 157a: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1550 157c: b006 add sp, #24 ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1551 157e: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1552 1580: 4907 ldr r1, =0x83ff08 ; via 0x15a0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1553 1582: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1554 1584: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1555 1586: 4802 ldr r0, =0x83ff10 ; via 0x1590
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1556 1588: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1557 158a: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1558 158c: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1559 158e: 46c0 nop (mov r8, r8)
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1560 1590: ff10 <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1561 1592: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1562 1594: ff04 <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1563 1596: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1564 1598: ff0e <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1565 159a: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1566 159c: ff0c <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1567 159e: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1568 15a0: ff08 <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1569 15a2: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1570 15a4: b082 sub sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1571 15a6: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1572 15a8: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1573 15aa: 9901 ldr r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1574 15ac: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1575 15ae: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1576 15b0: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1577 15b2: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1578 15b4: 7041 strb r1, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1579 15b6: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1580 15b8: 2102 mov r1, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1581 15ba: 7101 strb r1, [r0, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1582 15bc: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1583 15be: 2106 mov r1, #6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1584 15c0: 7141 strb r1, [r0, #5]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1585 15c2: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1586 15c4: 2102 mov r1, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1587 15c6: 7181 strb r1, [r0, #6]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1588 15c8: b002 add sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1589 15ca: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1590 15cc: b500 push {lr}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1591 15ce: b084 sub sp, #16 ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1592 15d0: 466b mov r3, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1593 15d2: 721a strb r2, [r3, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1594 15d4: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1595 15d6: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1596 15d8: 9901 ldr r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1597 15da: 2009 mov r0, #9
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1598 15dc: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1599 15de: e015 b 0x160c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1600 15e0: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1601 15e2: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1602 15e4: 7041 strb r1, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1603 15e6: 9901 ldr r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1604 15e8: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1605 15ea: 8940 ldrh r0, [r0, #10] ; 0xa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1606 15ec: 8088 strh r0, [r1, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1607 15ee: 9901 ldr r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1608 15f0: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1609 15f2: 8980 ldrh r0, [r0, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1610 15f4: 80c8 strh r0, [r1, #6]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1611 15f6: e01e b 0x1636
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1612 15f8: 2101 mov r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1613 15fa: e004 b 0x1606
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1614 15fc: 2103 mov r1, #3
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1615 15fe: e002 b 0x1606
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1616 1600: 2105 mov r1, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1617 1602: e000 b 0x1606
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1618 1604: 2106 mov r1, #6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1619 1606: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1620 1608: 7041 strb r1, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1621 160a: e014 b 0x1636
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1622 160c: 200a mov r0, #10 ; 0xa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1623 160e: 4468 add r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1624 1610: a903 add r1, sp, #12 ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1625 1612: 466a mov r2, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1626 1614: 7a12 ldrb r2, [r2, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1627 1616: f000 fb71 bl 0x1cfc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1628 161a: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1629 161c: d0e0 beq 0x15e0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1630 161e: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1631 1620: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1632 1622: d0e9 beq 0x15f8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1633 1624: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1634 1626: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1635 1628: d0e8 beq 0x15fc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1636 162a: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1637 162c: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1638 162e: d0e7 beq 0x1600
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1639 1630: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1640 1632: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1641 1634: d0e6 beq 0x1604
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1642 1636: b004 add sp, #16 ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1643 1638: bd00 pop {pc}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1644 163a: b084 sub sp, #16 ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1645 163c: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1646 163e: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1647 1640: 9901 ldr r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1648 1642: 200a mov r0, #10 ; 0xa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1649 1644: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1650 1646: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1651 1648: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1652 164a: 7041 strb r1, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1653 164c: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1654 164e: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1655 1650: 8880 ldrh r0, [r0, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1656 1652: 8108 strh r0, [r1, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1657 1654: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1658 1656: 88c0 ldrh r0, [r0, #6]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1659 1658: 8148 strh r0, [r1, #10] ; 0xa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1660 165a: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1661 165c: 8941 ldrh r1, [r0, #10] ; 0xa
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1662 165e: 8900 ldrh r0, [r0, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1663 1660: 0400 lsl r0, r0, #16
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1664 1662: 1808 add r0, r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1665 1664: 9003 str r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1666 1666: 9803 ldr r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1667 1668: b004 add sp, #16 ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1668 166a: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1669 166c: b085 sub sp, #20 ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1670 166e: 9303 str r3, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1671 1670: 9202 str r2, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1672 1672: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1673 1674: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1674 1676: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1675 1678: 48ea ldr r0, =0x83ff19 ; via 0x1a24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1676 167a: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1677 167c: 7802 ldrb r2, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1678 167e: 1889 add r1, r1, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1679 1680: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1680 1682: 48e9 ldr r0, =0x83ff1a ; via 0x1a28
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1681 1684: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1682 1686: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1683 1688: d00e beq 0x16a8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1684 168a: 48e8 ldr r0, =0x83ff26 ; via 0x1a2c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1685 168c: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1686 168e: 780a ldrb r2, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1687 1690: 8801 ldrh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1688 1692: 1851 add r1, r2, r1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1689 1694: 8001 strh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1690 1696: 9903 ldr r1, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1691 1698: 48e4 ldr r0, =0x83ff26 ; via 0x1a2c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1692 169a: 8800 ldrh r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1693 169c: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1694 169e: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1695 16a0: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1696 16a2: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1697 16a4: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1698 16a6: e009 b 0x16bc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1699 16a8: 9902 ldr r1, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1700 16aa: 6808 ldr r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1701 16ac: 3002 add r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1702 16ae: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1703 16b0: 49de ldr r1, =0x83ff26 ; via 0x1a2c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1704 16b2: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1705 16b4: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1706 16b6: 0200 lsl r0, r0, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1707 16b8: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1708 16ba: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1709 16bc: 9004 str r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1710 16be: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1711 16c0: 49d9 ldr r1, =0x83ff1a ; via 0x1a28
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1712 16c2: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1713 16c4: 4388 bic r0, r1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1714 16c6: 49d8 ldr r1, =0x83ff1a ; via 0x1a28
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1715 16c8: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1716 16ca: 48d9 ldr r0, =0x83ff24 ; via 0x1a30
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1717 16cc: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1718 16ce: 3901 sub r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1719 16d0: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1720 16d2: 48d7 ldr r0, =0x83ff24 ; via 0x1a30
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1721 16d4: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1722 16d6: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1723 16d8: d102 bne 0x16e0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1724 16da: 48d6 ldr r0, =0x83ff20 ; via 0x1a34
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1725 16dc: 2106 mov r1, #6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1726 16de: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1727 16e0: 9804 ldr r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1728 16e2: b005 add sp, #20 ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1729 16e4: 46f7 mov pc, lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1730 16e6: b083 sub sp, #12 ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1731 16e8: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1732 16ea: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1733 16ec: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1734 16ee: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1735 16f0: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1736 16f2: 48d1 ldr r0, =0x83ff1b ; via 0x1a38
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1737 16f4: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1738 16f6: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1739 16f8: d10a bne 0x1710
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1740 16fa: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1741 16fc: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1742 16fe: 2853 cmp r0, #83 ; 0x53
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1743 1700: d102 bne 0x1708
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1744 1702: 48cd ldr r0, =0x83ff1b ; via 0x1a38
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1745 1704: 2101 mov r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1746 1706: e01a b 0x173e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1747 1708: 2101 mov r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1748 170a: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1749 170c: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1750 170e: e03b b 0x1788
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1751 1710: 49c9 ldr r1, =0x83ff1b ; via 0x1a38
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1752 1712: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1753 1714: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1754 1716: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1755 1718: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1756 171a: 2830 cmp r0, #48 ; 0x30
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1757 171c: d111 bne 0x1742
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1758 171e: 48c7 ldr r0, =0x83ff18 ; via 0x1a3c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1759 1720: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1760 1722: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1761 1724: d006 beq 0x1734
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1762 1726: 9901 ldr r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1763 1728: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1764 172a: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1765 172c: 49c3 ldr r1, =0x83ff18 ; via 0x1a3c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1766 172e: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1767 1730: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1768 1732: e02a b 0x178a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1769 1734: 48bf ldr r0, =0x83ff20 ; via 0x1a34
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1770 1736: 2102 mov r1, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1771 1738: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1772 173a: 48ef ldr r0, =0x83ff1c ; via 0x1af8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1773 173c: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1774 173e: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1775 1740: e024 b 0x178c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1776 1742: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1777 1744: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1778 1746: 2833 cmp r0, #51 ; 0x33
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1779 1748: d105 bne 0x1756
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1780 174a: 48bc ldr r0, =0x83ff18 ; via 0x1a3c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1781 174c: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1782 174e: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1783 1750: d0da beq 0x1708
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1784 1752: 2004 mov r0, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1785 1754: e00c b 0x1770
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1786 1756: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1787 1758: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1788 175a: 2837 cmp r0, #55 ; 0x37
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1789 175c: d10e bne 0x177c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1790 175e: 48b7 ldr r0, =0x83ff18 ; via 0x1a3c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1791 1760: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1792 1762: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1793 1764: d103 bne 0x176e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1794 1766: 9901 ldr r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1795 1768: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1796 176a: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1797 176c: e00c b 0x1788
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1798 176e: 2003 mov r0, #3
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1799 1770: 49b0 ldr r1, =0x83ff20 ; via 0x1a34
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1800 1772: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1801 1774: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1802 1776: 49e0 ldr r1, =0x83ff1c ; via 0x1af8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1803 1778: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1804 177a: e007 b 0x178c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1805 177c: 9901 ldr r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1806 177e: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1807 1780: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1808 1782: 48ae ldr r0, =0x83ff18 ; via 0x1a3c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1809 1784: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1810 1786: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1811 1788: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1812 178a: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1813 178c: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1814 178e: b003 add sp, #12 ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1815 1790: 46f7 mov pc, lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1816 1792: b083 sub sp, #12 ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1817 1794: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1818 1796: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1819 1798: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1820 179a: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1821 179c: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1822 179e: 49d7 ldr r1, =0x830 ; via 0x1afc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1823 17a0: 48d5 ldr r0, =0x83ff1c ; via 0x1af8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1824 17a2: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1825 17a4: 0080 lsl r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1826 17a6: 5808 ldr r0, [r1, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1827 17a8: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1828 17aa: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1829 17ac: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1830 17ae: d10d bne 0x17cc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1831 17b0: 49d1 ldr r1, =0x83ff1c ; via 0x1af8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1832 17b2: 7808 ldrb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1833 17b4: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1834 17b6: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1835 17b8: 48cf ldr r0, =0x83ff1c ; via 0x1af8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1836 17ba: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1837 17bc: 2807 cmp r0, #7
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1838 17be: d10d bne 0x17dc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1839 17c0: 489c ldr r0, =0x83ff20 ; via 0x1a34
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1840 17c2: 2101 mov r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1841 17c4: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1842 17c6: 489d ldr r0, =0x83ff18 ; via 0x1a3c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1843 17c8: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1844 17ca: e007 b 0x17dc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1845 17cc: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1846 17ce: 2101 mov r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1847 17d0: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1848 17d2: 4998 ldr r1, =0x83ff20 ; via 0x1a34
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1849 17d4: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1850 17d6: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1851 17d8: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1852 17da: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1853 17dc: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1854 17de: b003 add sp, #12 ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1855 17e0: 46f7 mov pc, lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1856 17e2: b083 sub sp, #12 ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1857 17e4: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1858 17e6: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1859 17e8: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1860 17ea: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1861 17ec: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1862 17ee: 49c4 ldr r1, =0x84c ; via 0x1b00
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1863 17f0: 48c1 ldr r0, =0x83ff1c ; via 0x1af8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1864 17f2: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1865 17f4: 0080 lsl r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1866 17f6: 5808 ldr r0, [r1, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1867 17f8: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1868 17fa: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1869 17fc: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1870 17fe: d112 bne 0x1826
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1871 1800: 49bd ldr r1, =0x83ff1c ; via 0x1af8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1872 1802: 7808 ldrb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1873 1804: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1874 1806: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1875 1808: 48bb ldr r0, =0x83ff1c ; via 0x1af8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1876 180a: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1877 180c: 2806 cmp r0, #6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1878 180e: d114 bne 0x183a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1879 1810: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1880 1812: 2102 mov r1, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1881 1814: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1882 1816: 4887 ldr r0, =0x83ff20 ; via 0x1a34
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1883 1818: 2101 mov r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1884 181a: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1885 181c: 4887 ldr r0, =0x83ff18 ; via 0x1a3c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1886 181e: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1887 1820: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1888 1822: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1889 1824: e008 b 0x1838
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1890 1826: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1891 1828: 2101 mov r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1892 182a: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1893 182c: 4981 ldr r1, =0x83ff20 ; via 0x1a34
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1894 182e: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1895 1830: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1896 1832: 4982 ldr r1, =0x83ff18 ; via 0x1a3c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1897 1834: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1898 1836: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1899 1838: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1900 183a: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1901 183c: b003 add sp, #12 ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1902 183e: 46f7 mov pc, lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1903 1840: b081 sub sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1904 1842: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1905 1844: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1906 1846: 497a ldr r1, =0x83ff24 ; via 0x1a30
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1907 1848: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1908 184a: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1909 184c: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1910 184e: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1911 1850: 4874 ldr r0, =0x83ff19 ; via 0x1a24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1912 1852: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1913 1854: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1914 1856: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1915 1858: 48a7 ldr r0, =0x83ff1c ; via 0x1af8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1916 185a: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1917 185c: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1918 185e: 48e3 ldr r0, =0x83ff14 ; via 0x1bec
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1919 1860: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1920 1862: 4874 ldr r0, =0x83ff20 ; via 0x1a34
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1921 1864: 2105 mov r1, #5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1922 1866: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1923 1868: b001 add sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1924 186a: 46f7 mov pc, lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1925 186c: b084 sub sp, #16 ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1926 186e: 9202 str r2, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1927 1870: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1928 1872: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1929 1874: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1930 1876: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1931 1878: 9003 str r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1932 187a: 496d ldr r1, =0x83ff24 ; via 0x1a30
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1933 187c: 7808 ldrb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1934 187e: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1935 1880: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1936 1882: 486b ldr r0, =0x83ff24 ; via 0x1a30
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1937 1884: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1938 1886: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1939 1888: d026 beq 0x18d8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1940 188a: 4866 ldr r0, =0x83ff19 ; via 0x1a24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1941 188c: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1942 188e: 780a ldrb r2, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1943 1890: 7801 ldrb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1944 1892: 1851 add r1, r2, r1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1945 1894: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1946 1896: 4998 ldr r1, =0x83ff1c ; via 0x1af8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1947 1898: 7808 ldrb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1948 189a: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1949 189c: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1950 189e: 49d3 ldr r1, =0x83ff14 ; via 0x1bec
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1951 18a0: 2204 mov r2, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1952 18a2: 4895 ldr r0, =0x83ff1c ; via 0x1af8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1953 18a4: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1954 18a6: 1a10 sub r0, r2, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1955 18a8: 00c2 lsl r2, r0, #3
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1956 18aa: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1957 18ac: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1958 18ae: 4090 lsl r0, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1959 18b0: 680a ldr r2, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1960 18b2: 1880 add r0, r0, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1961 18b4: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1962 18b6: 4890 ldr r0, =0x83ff1c ; via 0x1af8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1963 18b8: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1964 18ba: 2804 cmp r0, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1965 18bc: d117 bne 0x18ee
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1966 18be: 9902 ldr r1, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1967 18c0: 48ca ldr r0, =0x83ff14 ; via 0x1bec
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1968 18c2: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1969 18c4: 3802 sub r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1970 18c6: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1971 18c8: 485a ldr r0, =0x83ff20 ; via 0x1a34
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1972 18ca: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1973 18cc: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1974 18ce: 4856 ldr r0, =0x83ff1a ; via 0x1a28
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1975 18d0: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1976 18d2: 4889 ldr r0, =0x83ff1c ; via 0x1af8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1977 18d4: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1978 18d6: e00a b 0x18ee
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1979 18d8: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1980 18da: 2101 mov r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1981 18dc: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1982 18de: 4955 ldr r1, =0x83ff20 ; via 0x1a34
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1983 18e0: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1984 18e2: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1985 18e4: 4855 ldr r0, =0x83ff18 ; via 0x1a3c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1986 18e6: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1987 18e8: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1988 18ea: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1989 18ec: 9003 str r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1990 18ee: 9803 ldr r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1991 18f0: b004 add sp, #16 ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1992 18f2: 46f7 mov pc, lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1993 18f4: b083 sub sp, #12 ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1994 18f6: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1995 18f8: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1996 18fa: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1997 18fc: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1998 18fe: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1999 1900: 494c ldr r1, =0x83ff20 ; via 0x1a34
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2000 1902: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2001 1904: 20ff mov r0, #255 ; 0xff
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2002 1906: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2003 1908: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2004 190a: 4388 bic r0, r1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2005 190c: 4945 ldr r1, =0x83ff19 ; via 0x1a24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2006 190e: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2007 1910: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2008 1912: d007 beq 0x1924
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2009 1914: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2010 1916: 2101 mov r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2011 1918: 6001 str r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2012 191a: 4848 ldr r0, =0x83ff18 ; via 0x1a3c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2013 191c: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2014 191e: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2015 1920: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2016 1922: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2017 1924: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2018 1926: b003 add sp, #12 ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2019 1928: 46f7 mov pc, lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2020 192a: b085 sub sp, #20 ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2021 192c: 466b mov r3, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2022 192e: 719a strb r2, [r3, #6]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2023 1930: 466a mov r2, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2024 1932: 8091 strh r1, [r2, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2025 1934: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2026 1936: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2027 1938: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2028 193a: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2029 193c: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2030 193e: 8880 ldrh r0, [r0, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2031 1940: 8208 strh r0, [r1, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2032 1942: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2033 1944: 8a00 ldrh r0, [r0, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2034 1946: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2035 1948: d01e beq 0x1988
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2036 194a: 49e3 ldr r1, =0x864 ; via 0x1cd8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2037 194c: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2038 194e: 7980 ldrb r0, [r0, #6]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2039 1950: 0080 lsl r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2040 1952: 5808 ldr r0, [r1, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2041 1954: 7941 ldrb r1, [r0, #5]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2042 1956: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2043 1958: 7301 strb r1, [r0, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2044 195a: 7b00 ldrb r0, [r0, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2045 195c: 0980 lsr r0, r0, #6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2046 195e: d3f4 bcc 0x194a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2047 1960: 49dd ldr r1, =0x864 ; via 0x1cd8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2048 1962: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2049 1964: 7980 ldrb r0, [r0, #6]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2050 1966: 0080 lsl r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2051 1968: 5809 ldr r1, [r1, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2052 196a: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2053 196c: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2054 196e: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2055 1970: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2056 1972: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2057 1974: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2058 1976: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2059 1978: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2060 197a: 8a00 ldrh r0, [r0, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2061 197c: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2062 197e: 8208 strh r0, [r1, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2063 1980: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2064 1982: 8a00 ldrh r0, [r0, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2065 1984: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2066 1986: d1e0 bne 0x194a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2067 1988: b005 add sp, #20 ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2068 198a: 46f7 mov pc, lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2069 198c: b082 sub sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2070 198e: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2071 1990: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2072 1992: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2073 1994: 8088 strh r0, [r1, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2074 1996: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2075 1998: 8881 ldrh r1, [r0, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2076 199a: 20ff mov r0, #255 ; 0xff
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2077 199c: 30f5 add r0, #245 ; 0xf5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2078 199e: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2079 19a0: da21 bge 0x19e6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2080 19a2: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2081 19a4: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2082 19a6: 8880 ldrh r0, [r0, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2083 19a8: 3001 add r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2084 19aa: 8088 strh r0, [r1, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2085 19ac: 48ca ldr r0, =0x864 ; via 0x1cd8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2086 19ae: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2087 19b0: 0089 lsl r1, r1, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2088 19b2: 5840 ldr r0, [r0, r1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2089 19b4: 7940 ldrb r0, [r0, #5]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2090 19b6: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2091 19b8: 7048 strb r0, [r1, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2092 19ba: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2093 19bc: 7840 ldrb r0, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2094 19be: 0840 lsr r0, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2095 19c0: d30b bcc 0x19da
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2096 19c2: 49c5 ldr r1, =0x864 ; via 0x1cd8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2097 19c4: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2098 19c6: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2099 19c8: 0080 lsl r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2100 19ca: 5808 ldr r0, [r1, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2101 19cc: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2102 19ce: 0600 lsl r0, r0, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2103 19d0: 0e00 lsr r0, r0, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2104 19d2: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2105 19d4: 7088 strb r0, [r1, #2]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2106 19d6: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2107 19d8: 8088 strh r0, [r1, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2108 19da: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2109 19dc: 8881 ldrh r1, [r0, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2110 19de: 20ff mov r0, #255 ; 0xff
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2111 19e0: 30f5 add r0, #245 ; 0xf5
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2112 19e2: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2113 19e4: dbdd blt 0x19a2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2114 19e6: b002 add sp, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2115 19e8: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2116 19ea: b500 push {lr}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2117 19ec: b08c sub sp, #48 ; 0x30
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2118 19ee: 466a mov r2, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2119 19f0: 7111 strb r1, [r2, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2120 19f2: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2121 19f4: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2122 19f6: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2123 19f8: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2124 19fa: a904 add r1, sp, #16 ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2125 19fc: aa03 add r2, sp, #12 ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2126 19fe: f7ff fd75 bl 0x14ec
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2127 1a02: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2128 1a04: 8980 ldrh r0, [r0, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2129 1a06: 2820 cmp r0, #32 ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2130 1a08: dd02 ble 0x1a10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2131 1a0a: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2132 1a0c: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2133 1a0e: e006 b 0x1a1e
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2134 1a10: a804 add r0, sp, #16 ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2135 1a12: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2136 1a14: 8989 ldrh r1, [r1, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2137 1a16: 466a mov r2, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2138 1a18: 7912 ldrb r2, [r2, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2139 1a1a: f7ff ff86 bl 0x192a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2140 1a1e: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2141 1a20: b00c add sp, #48 ; 0x30
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2142 1a22: bd00 pop {pc}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2143 1a24: ff19 <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2144 1a26: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2145 1a28: ff1a <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2146 1a2a: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2147 1a2c: ff26 <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2148 1a2e: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2149 1a30: ff24 <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2150 1a32: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2151 1a34: ff20 <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2152 1a36: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2153 1a38: ff1b <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2154 1a3a: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2155 1a3c: ff18 <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2156 1a3e: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2157 1a40: b500 push {lr}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2158 1a42: b084 sub sp, #16 ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2159 1a44: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2160 1a46: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2161 1a48: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2162 1a4a: 20ff mov r0, #255 ; 0xff
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2163 1a4c: 7308 strb r0, [r1, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2164 1a4e: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2165 1a50: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2166 1a52: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2167 1a54: 48a1 ldr r0, =0xffff5805 ; via 0x1cdc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2168 1a56: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2169 1a58: 7348 strb r0, [r1, #13] ; 0xd
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2170 1a5a: 48a1 ldr r0, =0xffff5005 ; via 0x1ce0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2171 1a5c: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2172 1a5e: 7388 strb r0, [r1, #14] ; 0xe
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2173 1a60: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2174 1a62: 7b40 ldrb r0, [r0, #13] ; 0xd
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2175 1a64: 0840 lsr r0, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2176 1a66: d206 bcs 0x1a76
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2177 1a68: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2178 1a6a: 7b80 ldrb r0, [r0, #14] ; 0xe
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2179 1a6c: 0840 lsr r0, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2180 1a6e: d202 bcs 0x1a76
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2181 1a70: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2182 1a72: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2183 1a74: d0ed beq 0x1a52
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2184 1a76: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2185 1a78: 7b40 ldrb r0, [r0, #13] ; 0xd
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2186 1a7a: 0840 lsr r0, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2187 1a7c: d316 bcc 0x1aac
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2188 1a7e: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2189 1a80: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2190 1a82: 7308 strb r0, [r1, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2191 1a84: 4994 ldr r1, =0x864 ; via 0x1cd8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2192 1a86: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2193 1a88: 7b00 ldrb r0, [r0, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2194 1a8a: 0080 lsl r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2195 1a8c: 5808 ldr r0, [r1, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2196 1a8e: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2197 1a90: 0600 lsl r0, r0, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2198 1a92: 0e00 lsr r0, r0, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2199 1a94: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2200 1a96: 73c8 strb r0, [r1, #15] ; 0xf
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2201 1a98: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2202 1a9a: 7bc0 ldrb r0, [r0, #15] ; 0xf
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2203 1a9c: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2204 1a9e: f7ff fc9f bl 0x13e0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2205 1aa2: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2206 1aa4: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2207 1aa6: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2208 1aa8: d11c bne 0x1ae4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2209 1aaa: e018 b 0x1ade
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2210 1aac: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2211 1aae: 7b80 ldrb r0, [r0, #14] ; 0xe
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2212 1ab0: 0840 lsr r0, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2213 1ab2: d317 bcc 0x1ae4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2214 1ab4: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2215 1ab6: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2216 1ab8: 7308 strb r0, [r1, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2217 1aba: 4987 ldr r1, =0x864 ; via 0x1cd8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2218 1abc: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2219 1abe: 7b00 ldrb r0, [r0, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2220 1ac0: 0080 lsl r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2221 1ac2: 5808 ldr r0, [r1, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2222 1ac4: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2223 1ac6: 0600 lsl r0, r0, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2224 1ac8: 0e01 lsr r1, r0, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2225 1aca: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2226 1acc: 73c1 strb r1, [r0, #15] ; 0xf
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2227 1ace: 7bc0 ldrb r0, [r0, #15] ; 0xf
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2228 1ad0: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2229 1ad2: f7ff fc85 bl 0x13e0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2230 1ad6: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2231 1ad8: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2232 1ada: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2233 1adc: d102 bne 0x1ae4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2234 1ade: 20ff mov r0, #255 ; 0xff
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2235 1ae0: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2236 1ae2: 7308 strb r0, [r1, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2237 1ae4: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2238 1ae6: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2239 1ae8: d102 bne 0x1af0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2240 1aea: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2241 1aec: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2242 1aee: d0b0 beq 0x1a52
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2243 1af0: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2244 1af2: 7b00 ldrb r0, [r0, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2245 1af4: b004 add sp, #16 ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2246 1af6: bd00 pop {pc}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2247 1af8: ff1c <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2248 1afa: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2249 1afc: 0830 lsr r0, r6, #32
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2250 1afe: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2251 1b00: 084c lsr r4, r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2252 1b02: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2253 1b04: b500 push {lr}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2254 1b06: b086 sub sp, #24 ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2255 1b08: 466b mov r3, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2256 1b0a: 721a strb r2, [r3, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2257 1b0c: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2258 1b0e: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2259 1b10: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2260 1b12: 9004 str r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2261 1b14: 9804 ldr r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2262 1b16: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2263 1b18: d05b beq 0x1bd2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2264 1b1a: 496f ldr r1, =0x864 ; via 0x1cd8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2265 1b1c: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2266 1b1e: 7a00 ldrb r0, [r0, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2267 1b20: 0080 lsl r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2268 1b22: 5808 ldr r0, [r1, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2269 1b24: 7941 ldrb r1, [r0, #5]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2270 1b26: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2271 1b28: 7301 strb r1, [r0, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2272 1b2a: 7b00 ldrb r0, [r0, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2273 1b2c: 0840 lsr r0, r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2274 1b2e: d3f4 bcc 0x1b1a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2275 1b30: 4969 ldr r1, =0x864 ; via 0x1cd8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2276 1b32: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2277 1b34: 7a00 ldrb r0, [r0, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2278 1b36: 0080 lsl r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2279 1b38: 5808 ldr r0, [r1, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2280 1b3a: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2281 1b3c: 0600 lsl r0, r0, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2282 1b3e: 0e01 lsr r1, r0, #24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2283 1b40: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2284 1b42: 7341 strb r1, [r0, #13] ; 0xd
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2285 1b44: e02c b 0x1ba0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2286 1b46: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2287 1b48: 7b40 ldrb r0, [r0, #13] ; 0xd
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2288 1b4a: a905 add r1, sp, #20 ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2289 1b4c: 9a00 ldr r2, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2290 1b4e: 9b01 ldr r3, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2291 1b50: f7ff fd8c bl 0x166c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2292 1b54: 9004 str r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2293 1b56: e039 b 0x1bcc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2294 1b58: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2295 1b5a: 7b40 ldrb r0, [r0, #13] ; 0xd
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2296 1b5c: a905 add r1, sp, #20 ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2297 1b5e: f7ff fdc2 bl 0x16e6
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2298 1b62: e7f7 b 0x1b54
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2299 1b64: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2300 1b66: 7b40 ldrb r0, [r0, #13] ; 0xd
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2301 1b68: a905 add r1, sp, #20 ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2302 1b6a: f7ff fe12 bl 0x1792
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2303 1b6e: e7f1 b 0x1b54
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2304 1b70: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2305 1b72: 7b40 ldrb r0, [r0, #13] ; 0xd
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2306 1b74: a905 add r1, sp, #20 ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2307 1b76: f7ff fe34 bl 0x17e2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2308 1b7a: e7eb b 0x1b54
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2309 1b7c: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2310 1b7e: 7b40 ldrb r0, [r0, #13] ; 0xd
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2311 1b80: f7ff fe5e bl 0x1840
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2312 1b84: e022 b 0x1bcc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2313 1b86: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2314 1b88: 7b40 ldrb r0, [r0, #13] ; 0xd
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2315 1b8a: a905 add r1, sp, #20 ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2316 1b8c: 9a00 ldr r2, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2317 1b8e: f7ff fe6d bl 0x186c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2318 1b92: e7df b 0x1b54
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2319 1b94: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2320 1b96: 7b40 ldrb r0, [r0, #13] ; 0xd
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2321 1b98: a905 add r1, sp, #20 ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2322 1b9a: f7ff feab bl 0x18f4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2323 1b9e: e7d9 b 0x1b54
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2324 1ba0: 4850 ldr r0, =0x83ff20 ; via 0x1ce4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2325 1ba2: 6800 ldr r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2326 1ba4: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2327 1ba6: d0ce beq 0x1b46
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2328 1ba8: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2329 1baa: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2330 1bac: d0d4 beq 0x1b58
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2331 1bae: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2332 1bb0: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2333 1bb2: d0d7 beq 0x1b64
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2334 1bb4: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2335 1bb6: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2336 1bb8: d0da beq 0x1b70
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2337 1bba: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2338 1bbc: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2339 1bbe: d0dd beq 0x1b7c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2340 1bc0: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2341 1bc2: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2342 1bc4: d0df beq 0x1b86
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2343 1bc6: 3801 sub r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2344 1bc8: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2345 1bca: d0e3 beq 0x1b94
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2346 1bcc: 9804 ldr r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2347 1bce: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2348 1bd0: d1a3 bne 0x1b1a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2349 1bd2: 9805 ldr r0, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2350 1bd4: b006 add sp, #24 ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2351 1bd6: bd00 pop {pc}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2352 1bd8: 4942 ldr r1, =0x83ff20 ; via 0x1ce4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2353 1bda: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2354 1bdc: 6008 str r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2355 1bde: 4842 ldr r0, =0x83ff1b ; via 0x1ce8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2356 1be0: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2357 1be2: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2358 1be4: 4841 ldr r0, =0x83ff18 ; via 0x1cec
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2359 1be6: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2360 1be8: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2361 1bea: 46c0 nop (mov r8, r8)
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2362 1bec: ff14 <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2363 1bee: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2364 1bf0: b081 sub sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2365 1bf2: 483f ldr r0, =0xffff5800 ; via 0x1cf0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2366 1bf4: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2367 1bf6: 493f ldr r1, =0xffff6000 ; via 0x1cf4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2368 1bf8: 2002 mov r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2369 1bfa: 880a ldrh r2, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2370 1bfc: 4310 orr r0, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2371 1bfe: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2372 1c00: 483c ldr r0, =0xffff6000 ; via 0x1cf4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2373 1c02: 8801 ldrh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2374 1c04: 0849 lsr r1, r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2375 1c06: 0049 lsl r1, r1, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2376 1c08: 8001 strh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2377 1c0a: 493a ldr r1, =0xffff6000 ; via 0x1cf4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2378 1c0c: 8808 ldrh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2379 1c0e: 2202 mov r2, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2380 1c10: 4390 bic r0, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2381 1c12: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2382 1c14: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2383 1c16: 2007 mov r0, #7
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2384 1c18: 7208 strb r0, [r1, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2385 1c1a: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2386 1c1c: 20bf mov r0, #191 ; 0xbf
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2387 1c1e: 70c8 strb r0, [r1, #3]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2388 1c20: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2389 1c22: 1c81 add r1, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2390 1c24: 2010 mov r0, #16 ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2391 1c26: 880a ldrh r2, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2392 1c28: 4310 orr r0, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2393 1c2a: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2394 1c2c: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2395 1c2e: 2180 mov r1, #128 ; 0x80
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2396 1c30: 70c1 strb r1, [r0, #3]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2397 1c32: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2398 1c34: 2107 mov r1, #7
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2399 1c36: 7081 strb r1, [r0, #2]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2400 1c38: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2401 1c3a: 21bf mov r1, #191 ; 0xbf
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2402 1c3c: 70c1 strb r1, [r0, #3]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2403 1c3e: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2404 1c40: 2107 mov r1, #7
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2405 1c42: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2406 1c44: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2407 1c46: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2408 1c48: 7041 strb r1, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2409 1c4a: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2410 1c4c: 2103 mov r1, #3
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2411 1c4e: 70c1 strb r1, [r0, #3]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2412 1c50: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2413 1c52: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2414 1c54: 7201 strb r1, [r0, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2415 1c56: 4828 ldr r0, =0xffff5000 ; via 0x1cf8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2416 1c58: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2417 1c5a: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2418 1c5c: 2107 mov r1, #7
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2419 1c5e: 7201 strb r1, [r0, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2420 1c60: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2421 1c62: 20bf mov r0, #191 ; 0xbf
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2422 1c64: 70c8 strb r0, [r1, #3]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2423 1c66: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2424 1c68: 1c80 add r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2425 1c6a: 2110 mov r1, #16 ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2426 1c6c: 8802 ldrh r2, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2427 1c6e: 4311 orr r1, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2428 1c70: 8001 strh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2429 1c72: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2430 1c74: 2180 mov r1, #128 ; 0x80
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2431 1c76: 70c1 strb r1, [r0, #3]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2432 1c78: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2433 1c7a: 2107 mov r1, #7
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2434 1c7c: 7081 strb r1, [r0, #2]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2435 1c7e: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2436 1c80: 21bf mov r1, #191 ; 0xbf
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2437 1c82: 70c1 strb r1, [r0, #3]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2438 1c84: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2439 1c86: 2107 mov r1, #7
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2440 1c88: 7001 strb r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2441 1c8a: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2442 1c8c: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2443 1c8e: 7041 strb r1, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2444 1c90: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2445 1c92: 2003 mov r0, #3
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2446 1c94: 70c8 strb r0, [r1, #3]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2447 1c96: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2448 1c98: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2449 1c9a: 7201 strb r1, [r0, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2450 1c9c: b001 add sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2451 1c9e: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2452 1ca0: b081 sub sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2453 1ca2: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2454 1ca4: 7008 strb r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2455 1ca6: 490c ldr r1, =0x864 ; via 0x1cd8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2456 1ca8: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2457 1caa: 7800 ldrb r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2458 1cac: 0080 lsl r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2459 1cae: 5808 ldr r0, [r1, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2460 1cb0: 7941 ldrb r1, [r0, #5]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2461 1cb2: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2462 1cb4: 7041 strb r1, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2463 1cb6: 7840 ldrb r0, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2464 1cb8: 09c0 lsr r0, r0, #7
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2465 1cba: d20b bcs 0x1cd4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2466 1cbc: 4806 ldr r0, =0x864 ; via 0x1cd8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2467 1cbe: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2468 1cc0: 7809 ldrb r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2469 1cc2: 0089 lsl r1, r1, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2470 1cc4: 5840 ldr r0, [r0, r1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2471 1cc6: 7940 ldrb r0, [r0, #5]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2472 1cc8: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2473 1cca: 7048 strb r0, [r1, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2474 1ccc: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2475 1cce: 7840 ldrb r0, [r0, #1]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2476 1cd0: 09c0 lsr r0, r0, #7
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2477 1cd2: d3f3 bcc 0x1cbc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2478 1cd4: b001 add sp, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2479 1cd6: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2480 1cd8: 0864 lsr r4, r4, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2481 1cda: 0000 lsl r0, r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2482 1cdc: 5805 ldr r5, [r0, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2483 1cde: ffff <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2484 1ce0: 5005 str r5, [r0, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2485 1ce2: ffff <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2486 1ce4: ff20 <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2487 1ce6: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2488 1ce8: ff1b <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2489 1cea: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2490 1cec: ff18 <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2491 1cee: 0083 lsl r3, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2492 1cf0: 5800 ldr r0, [r0, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2493 1cf2: ffff <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2494 1cf4: 6000 str r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2495 1cf6: ffff <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2496 1cf8: 5000 str r0, [r0, r0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2497 1cfa: ffff <half-bl>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2498 1cfc: b500 push {lr}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2499 1cfe: b087 sub sp, #28 ; 0x1c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2500 1d00: 466b mov r3, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2501 1d02: 721a strb r2, [r3, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2502 1d04: 9101 str r1, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2503 1d06: 9000 str r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2504 1d08: 9900 ldr r1, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2505 1d0a: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2506 1d0c: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2507 1d0e: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2508 1d10: 2100 mov r1, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2509 1d12: 8001 strh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2510 1d14: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2511 1d16: 9003 str r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2512 1d18: f7ff ff5e bl 0x1bd8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2513 1d1c: a805 add r0, sp, #20 ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2514 1d1e: a906 add r1, sp, #24 ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2515 1d20: 466a mov r2, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2516 1d22: 7a12 ldrb r2, [r2, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2517 1d24: f7ff feee bl 0x1b04
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2518 1d28: 9004 str r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2519 1d2a: 9804 ldr r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2520 1d2c: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2521 1d2e: d11f bne 0x1d70
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2522 1d30: 9803 ldr r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2523 1d32: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2524 1d34: d11c bne 0x1d70
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2525 1d36: 9800 ldr r0, [sp, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2526 1d38: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2527 1d3a: 8b0a ldrh r2, [r1, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2528 1d3c: 8801 ldrh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2529 1d3e: 1851 add r1, r2, r1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2530 1d40: 8001 strh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2531 1d42: 9905 ldr r1, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2532 1d44: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2533 1d46: 8b00 ldrh r0, [r0, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2534 1d48: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2535 1d4a: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2536 1d4c: 9905 ldr r1, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2537 1d4e: 8809 ldrh r1, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2538 1d50: 8802 ldrh r2, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2539 1d52: 1889 add r1, r1, r2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2540 1d54: 8001 strh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2541 1d56: a805 add r0, sp, #20 ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2542 1d58: a906 add r1, sp, #24 ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2543 1d5a: 466a mov r2, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2544 1d5c: 7a12 ldrb r2, [r2, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2545 1d5e: f7ff fed1 bl 0x1b04
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2546 1d62: 9004 str r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2547 1d64: 9804 ldr r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2548 1d66: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2549 1d68: d102 bne 0x1d70
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2550 1d6a: 9803 ldr r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2551 1d6c: 2800 cmp r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2552 1d6e: d0e2 beq 0x1d36
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2553 1d70: 9804 ldr r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2554 1d72: 2801 cmp r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2555 1d74: d101 bne 0x1d7a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2556 1d76: 2004 mov r0, #4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2557 1d78: 9003 str r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2558 1d7a: 9803 ldr r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2559 1d7c: b007 add sp, #28 ; 0x1c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2560 1d7e: bd00 pop {pc}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2561 1d80: b089 sub sp, #36 ; 0x24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2562 1d82: 201a mov r0, #26 ; 0x1a
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2563 1d84: 9005 str r0, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2564 1d86: 2018 mov r0, #24 ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2565 1d88: 9006 str r0, [sp, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2566 1d8a: 2000 mov r0, #0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2567 1d8c: 9008 str r0, [sp, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2568 1d8e: 4669 mov r1, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2569 1d90: 9805 ldr r0, [sp, #20] ; 0x14
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2570 1d92: 8800 ldrh r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2571 1d94: 8008 strh r0, [r1, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2572 1d96: 9806 ldr r0, [sp, #24] ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2573 1d98: 8800 ldrh r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2574 1d9a: 8048 strh r0, [r1, #2]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2575 1d9c: 4668 mov r0, sp
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2576 1d9e: 8841 ldrh r1, [r0, #2]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2577 1da0: 8800 ldrh r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2578 1da2: 0400 lsl r0, r0, #16
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2579 1da4: 1808 add r0, r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2580 1da6: 9001 str r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2581 1da8: 9801 ldr r0, [sp, #4]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2582 1daa: 0200 lsl r0, r0, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2583 1dac: 0a00 lsr r0, r0, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2584 1dae: 0080 lsl r0, r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2585 1db0: 3008 add r0, #8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2586 1db2: 9007 str r0, [sp, #28] ; 0x1c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2587 1db4: 9807 ldr r0, [sp, #28] ; 0x1c
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2588 1db6: 3018 add r0, #24 ; 0x18
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2589 1db8: 9002 str r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2590 1dba: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2591 1dbc: 9004 str r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2592 1dbe: 9802 ldr r0, [sp, #8]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2593 1dc0: 3002 add r0, #2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2594 1dc2: 9003 str r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2595 1dc4: 9803 ldr r0, [sp, #12] ; 0xc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2596 1dc6: 8801 ldrh r1, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2597 1dc8: 4806 ldr r0, =0xffff ; via 0x1de4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2598 1dca: 4281 cmp r1, r0
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2599 1dcc: d104 bne 0x1dd8
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2600 1dce: 9804 ldr r0, [sp, #16] ; 0x10
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2601 1dd0: 8800 ldrh r0, [r0, #0]
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2602 1dd2: 4904 ldr r1, =0xffff ; via 0x1de4
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2603 1dd4: 4288 cmp r0, r1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2604 1dd6: d001 beq 0x1ddc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2605 1dd8: 2001 mov r0, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2606 1dda: 9008 str r0, [sp, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2607 1ddc: 9808 ldr r0, [sp, #32] ; 0x20
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2608 1dde: b009 add sp, #36 ; 0x24
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2609 1de0: 4770 bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2610 1de2: 46c0 nop (mov r8, r8)
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2611
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2612 1de4: 0000ffff
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2613
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2614 1de8: e92d4000 stmdb sp!, {lr}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2615 1dec: e28fe001 add lr, pc, #1
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2616 1df0: e12fff1e bx lr
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2617 1df4: f7fe fe6d bl 0xad2
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2618 1df8: 4778 bx pc
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2619 1dfa: 46c0 nop (mov r8, r8)
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2620 1dfc: e8bd8000 ldmia sp!, {pc}
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2621
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2622 <1E00-1EFF: all FFs>
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2623
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2624 1f00: 00000001
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2625
db3b300da465 malware version of the C118 bootloader reversed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2626 <1F04-end: all FFs>