1
0
mirror of synced 2025-02-01 04:15:50 +01:00
Reaver 71a7640b6e Added KonamiLoader
It boots any Konami game but it is missing I/O dll emulation which I will work on next.
2018-09-11 16:52:05 +03:00

18 lines
532 B
C

#include <windows.h>
#include <WinNT.h>
#define MAX_SECTION_NUM 20
typedef struct _PEStruct
{
DWORD dwRO_first_section;
IMAGE_DOS_HEADER image_dos_header;
char *reservedheader;
IMAGE_NT_HEADERS image_nt_headers;
IMAGE_SECTION_HEADER image_section_header[MAX_SECTION_NUM];
char *image_section[MAX_SECTION_NUM];
void *fileImage;
DWORD fileSize;
DWORD numOfSecs;
} PEStruct, *PPEStruct;
PEStruct getPEFileInformation(char *filename);