Rose
April 4th, 2011, 03:31
Hello,
I know their are a lot of genius people here and i'm praying that
one of them will have time to help me in this bad road.
-i have plugins to patch (64bit) where licensing is integrated inside of each files (plugins).
-Protection is watermark "blue bar in the screen".
-File size comes from 240kb to 500kb max.
So shame on me to not be able patching so ridiculous file.
I thought the code that need to be patched was here :
text:000000000000DF0D loc_DF0D: ; CODE XREF: licence_d(char *,CPlugin *)+B70 j
.text:000000000000DF0D xorps xmm0, xmm0
.text:000000000000DF10 mov rax, cs:_ZZN7CSlideraSEiE6Slider_ptr
.text:000000000000DF17 cvtsi2ss xmm0, ebx
.text:000000000000DF1B movss [rsp+5D8h+var_5CC], xmm0
.text:000000000000DF21 mov ebx, [rsp+5D8h+var_5CC]
.text:000000000000DF25 mov rdi, [rbp+80h]
.text:000000000000DF2C mov [rax+34h], ebx
.text:000000000000DF2F mov rax, [rdi]
.text:000000000000DF32 call qword ptr [rax+50h]
.text:000000000000DF35 mov rdi, rax
.text:000000000000DF38 mov rax, [rbp+80h]
.text:000000000000DF3F mov rdx, [rbp+10h]
.text:000000000000DF43 mov rsi, [rax+8]
.text:000000000000DF47 mov [rsp+5D8h+var_5CC], ebx
.text:000000000000DF4B movss xmm0, [rsp+5D8h+var_5CC]
.text:000000000000DF51 mov rax, cs:FuncTBL_ptr
.text:000000000000DF58 call qword ptr [rax+20h]
.text:000000000000DF5B mov rax, cs:cmpt_ptr
.text:000000000000DF62 lea rsi, aLictChecklicOk ; "LicT CheckLic: ok\n"
.text:000000000000DF69 mov dword ptr [rax], 1
.text:000000000000DF6F mov rax, cs:iRunTestLicence_ptr
.text:000000000000DF76 mov dword ptr [rax], 2
code DF6F et DF76 must be executed to validate the license.
So i changed
48 89 5C 24 E8 48 89 6C 24 F0 48 89 FB 4C 89 64
with:
B8 01 00 00 00 C3
Of course it doesn't work and it is why i'm asking bro here to have a look.Please it takes 2 minutes to disassemble a file
Here is one of this plugin file (200kb only):
http://www.megaupload.com/?d=7ZV2ADTT
i will be thankful for ever if someone could help me because i need it to solve a big problem.
I know their are a lot of genius people here and i'm praying that
one of them will have time to help me in this bad road.
-i have plugins to patch (64bit) where licensing is integrated inside of each files (plugins).
-Protection is watermark "blue bar in the screen".
-File size comes from 240kb to 500kb max.
So shame on me to not be able patching so ridiculous file.
I thought the code that need to be patched was here :
text:000000000000DF0D loc_DF0D: ; CODE XREF: licence_d(char *,CPlugin *)+B70 j
.text:000000000000DF0D xorps xmm0, xmm0
.text:000000000000DF10 mov rax, cs:_ZZN7CSlideraSEiE6Slider_ptr
.text:000000000000DF17 cvtsi2ss xmm0, ebx
.text:000000000000DF1B movss [rsp+5D8h+var_5CC], xmm0
.text:000000000000DF21 mov ebx, [rsp+5D8h+var_5CC]
.text:000000000000DF25 mov rdi, [rbp+80h]
.text:000000000000DF2C mov [rax+34h], ebx
.text:000000000000DF2F mov rax, [rdi]
.text:000000000000DF32 call qword ptr [rax+50h]
.text:000000000000DF35 mov rdi, rax
.text:000000000000DF38 mov rax, [rbp+80h]
.text:000000000000DF3F mov rdx, [rbp+10h]
.text:000000000000DF43 mov rsi, [rax+8]
.text:000000000000DF47 mov [rsp+5D8h+var_5CC], ebx
.text:000000000000DF4B movss xmm0, [rsp+5D8h+var_5CC]
.text:000000000000DF51 mov rax, cs:FuncTBL_ptr
.text:000000000000DF58 call qword ptr [rax+20h]
.text:000000000000DF5B mov rax, cs:cmpt_ptr
.text:000000000000DF62 lea rsi, aLictChecklicOk ; "LicT CheckLic: ok\n"
.text:000000000000DF69 mov dword ptr [rax], 1
.text:000000000000DF6F mov rax, cs:iRunTestLicence_ptr
.text:000000000000DF76 mov dword ptr [rax], 2
code DF6F et DF76 must be executed to validate the license.
So i changed
48 89 5C 24 E8 48 89 6C 24 F0 48 89 FB 4C 89 64
with:
B8 01 00 00 00 C3
Of course it doesn't work and it is why i'm asking bro here to have a look.Please it takes 2 minutes to disassemble a file
Here is one of this plugin file (200kb only):
http://www.megaupload.com/?d=7ZV2ADTT
i will be thankful for ever if someone could help me because i need it to solve a big problem.