#include <stdio.h>
void main()
{
FILE *fr,*fw;
if((fr=fopen("loader.exe","rb"))==NULL)
{
printf("le ficher lo.exe introuvable\n");
return;
}
if((fw=fopen("loader.bin","wb"))==NULL)
{
printf("le ficher loader.exe introuvable\n");
return;
}
fseek(fr,0x200,SEEK_SET);
while(1)
{
char c=fgetc(fr);
if(!feof(fr))
fputc(c,fw);
else
break;
}
fclose(fr);
fclose(fw);
}