Lets say you got this code and all you want to do is simply relocate the EP from old address to new one and thats all.
004074ED >/$ 55 PUSH EBP <==== EP and you want to move it
you can nop this later or just leave it like it is your call..
004074EE |. 8BEC MOV EBP,ESP( you can nop this and replace it just after the new ep down, used to work 3-4 years ago very well against all AVs
004074F0 |. 83EC 44 SUB ESP,44 (and this ) *3
004074F3 |. 56 PUSH ESI(etc.. if your just after simple EP change you can just relocate the first line) *4
004074F4 |. FF15 10104000 CALL DWORD PTR DS:[<&KERNEL32.GetCommand>; [GetCommandLineA
004074FA |. 8BF0 MOV ESI,EAX
004074FC |. 8A06 MOV AL,BYTE PTR DS:[ESI]
004074FE |. 3C 22 CMP AL,22
Then find some code cave at ex 00407811 there you gonna put your new EP
00407811 you can add that(004074ED) PUSH EBP here or (JMP 004074ED) if you aint nop'd it up there ^^ and skip all lines down and go to procdump or
00407812 and some of the lines after here *2
00407813 and here *3
00407814 etc. if you like that is
or you can just relocate the (004074ED) and ignore 7812,13,14) *4
00407815 here you can put JMP 004074EE (the line after your orig ep was up^^) or if you replaced *2,*3,*4 JMP 004074F4
00407816 00 DB 00
00407817 00 DB 00
save the file open lord pe or program of your choise ProcDump32 find the ep 004074ED and change it to 00407811 save and your exe has brand new entry point
hope this helps.