-
Notifications
You must be signed in to change notification settings - Fork 261
/
pretty.asm
57 lines (47 loc) · 1.17 KB
/
pretty.asm
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
[BBB] == [ARG]
for MAG, MMM in CONSTS:
[DDD] = [BBB]
[EEE] = 0
[FFF] = [MMM]
while [FFF] != 0:
IF [FFF] & 1:
[HHH] = 0
[GGG] = [EEE]
for ECX in range(0x80):
CF = SHL([GGG; HHH])
IF CF:
continue
[GGG; HHH] += [0; DDD]
[EEE] = 0
for ECX in range(0x100):
CF = SHL [EEE; GGG; HHH]
IF NOT CF:
IF [EEE] < [MAG]:
continue
[EEE] -= [MAG]
[HHH] = 0
[GGG] = [DDD]
for ECX in range(0x80):
CF = SHL [GGG; HHH]
IF CF:
continue
[GGG; HHH] += [0; DDD]
[DDD] = 0
for ECX in range(0x100):
CF = SHL [DDD; GGG; HHH]
IF NOT CF:
IF [DDD] < [MAG]:
continue
[DDD] -= [MAG]
SHR [FFF]
[BBB] = [EEE]
[AAA] = 0
[AAA; BBB] += 0x31337
[CCC] = 0
for ECX in range(0x100):
CF = SHL [CCC; AAA; BBB]
IF NOT CF:
IF [CCC] < [DRG]:
continue
[CCC] -= [DRG]
RETURN [CCC] == 0