View difference between Paste ID: 7GiHuziy and 4N7rtR6G
SHOW: | | - or go back to the newest paste.
1
NoRun = {}
2
3
4
5
6
7
function mycheck(sender)
8
        local id = getProcessIDFromProcessName("RobloxPlayer.exe");
9
        for i,v in pairs(NoRun) do
10
                if v==id or not id then
11
                        return
12
                end
13
        end
14
        table.insert(NoRun, id);
15
        openProcess(id);
16
    autoAssemble([[
17
               alloc(newmem,2048)
18
label(returnhere)
19
label(originalcode)
20
label(loop1)
21
label(endloop1)
22
label(continue)
23
alloc(script,4096)
24
label(exit)
25
26
script:
27
                db 77 61 69 74 28 31 30 29 0D 0A 67 61 6D 65 2E 50 6C 61 79 65 72 73 2E 4C 6F 63 61 6C 50 6C 61 79 65 72 2E 43 68 61 74 74 65 64 3A 63 6F 6E 6E 65 63 74 28 66 75 6E 63 74 69 6F 6E 28 73 74 29 0D 0A 53 70 61 77 6E 28 66 75 6E 63 74 69 6F 6E 28 29 0D 0A 6C 6F 61 64 73 74 72 69 6E 67 28 73 74 29 28 29 20 0D 0A 65 6E 64 29 0D 0A 65 6E 64 29 2D 2D 5B 5B 30 2F 32 39 2F 31 30 0D 0A 2D 2D 20 50 6C 65 61 73 65 20 6E 6F 74 65 20 74 68 61 74 20 74 68 65 73 65 20 61 72 65 20 6C 6F 61 64 65 64 20 69 6E 20 61 20 73 70 65 63 69 66 69 63 20 6F 72 64 65 72 20 74 6F 20 64 69 6D 69 6E 69 73 68 20 65 72 72 6F 72 73 2F 70 65 72 63 65 69 76 65 64 20 6C 6F 61 64 20 74 69 6D 65 20 62 79 20 75 73 65 5D 5D 20
28
29
newmem:
30
31
               
32
33
originalcode:
34
cmp byte ptr[eax+3],43 // CREATED BY ELETRONIX
35
jne continue
36
cmp byte ptr[eax+4],72
37
jne continue
38
39
40
pushad
41
mov ecx,0
42
loop1:
43
mov bl,byte ptr[script+ecx]
44
mov byte ptr [eax+ecx],bl
45
add ecx,1
46
cmp cl,E6
47
jnb endloop1
48
jmp loop1
49
endloop1:
50
popad
51
continue:
52
push edx
53
push ecx
54
push eax
55
push ebx
56
call RobloxPlayer.exe+4CE320
57
58
59
exit:
60
jmp returnhere
61
62
"RobloxPlayer.exe"+31559D:
63
jmp newmem
64
nop
65
nop
66
nop
67
nop
68
returnhere:
69
70
                ]])
71
end
72
73
t=createTimer(nil)
74
timer_setInterval(t, 300)
75
timer_onTimer(t, mycheck)
76
timer_setEnabled(t,true)