Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int Resolver() // int тк это код из дампа а там он возвращает какое то значение
- {
- auto dwA = ::GetModuleHandleA;
- auto dwB = ::GetProcAddress;
- DWORD a, b;
- //фиксим 2па все анимации тут
- const char aa[19] = { 0x52, 0x74, 0x6C, 0x41, 0x64, 0x6A, 0x75, 0x73, 0x74, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6C, 0x65, 0x67, 0x65, 0x00 };
- const char bb[17] = { 0x4E, 0x74, 0x52, 0x61, 0x69, 0x73, 0x65, 0x48, 0x61, 0x72, 0x64, 0x45, 0x72, 0x72, 0x6F, 0x72, 0x00 };
- const char str_dec[10] = { 0x6E, 0x74, 0x64, 0x6C, 0x6C, 0x2E, 0x64, 0x6C, 0x6C, 0x00 };
- int entindex = 0; // сюда будем сохранять индекс челика
- __asm
- {
- lea ebx, str_dec
- push ebx
- call dwA
- mov ecx, eax
- lea eax, aa
- push eax
- push ecx
- call dwB
- lea ebx, a
- push ebx
- push 0
- push 1
- push 19
- call eax
- lea ebx, str_dec
- push ebx
- call dwA
- mov ecx, eax
- lea eax, bb
- push eax
- push ecx
- call dwB
- lea ebx, a
- push ebx
- push 6
- push 0
- push 0
- push 0
- push 0xC0000420L // тут мы начинаем фиксить челика 2па
- call eax // вызываем созданный resolver
- mov entindex , ecx // ecx - это и есть наш resolver
- }
- return entindex; возвращаем индекс челика которого пофиксили
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement