Jump to content
Jacobbuck.net

Recommended Posts

  • Admin
Posted

"C:\Program Files\WindowsApps\Microsoft.SunriseBaseGame_1.478.564.2_x64__8wekyb3d8bbwe"

 

CHE_CorvetteZR1_09.zip

 

"C:\Program Files\WindowsApps\Microsoft.SunriseBaseGame_1.478.564.2_x64__8wekyb3d8bbwe\Media\Cars\CHE_CorvetteZR1_09.zip"

  • Admin
Posted
patches = [
    {"name": "CreativeCloud1", "search": "8378????0F84????????8378????0F84????????8378????0F84????????33C0", "replace": ["C640????0F84????????C640????0F84????????C640????0F84????????33C0"]},
    {"name": "CreativeCloud2", "search": "E8????????85C00F85????????83EC??8BCC89", "replace": ["E8????????FEC00F85????????83EC??8BCC89"]},
    {"name": "CreativeCloud3", "search": "??????0F85890300", "replace": ["??????E98A030000"]},
    {"name": "Acrobat1", "search": "488BCFE8????????85C00F84????????488D??????????488BCFE8????????85C075??8D", "replace": ["488BCFE8????????FFC00F84????????488D??????????488BCFE8????????31C075??8D"]},
    {"name": "Acrobat2", "search": "6685C0740FE8????????6685C07405BB01000000", "replace": ["6685C07400E8????????6685C07400BB01000000"]},
    {"name": "Acrobat3", "search": "6685C0741A6685??0F85??020000", "replace": ["6685C090906685??0F85??020000"]},
    {"name": "Acrobat4", "search": "00E8????E7FF66893D??????03381D??????03751F4533C0488D15??????02488D0D??????02E8????E7FF6685C00F84BAFEFFFF8BDFE9B3FEFFFFB801000000", "replace": ["00E8????E7FF66893D??????03381D??????03EB1F4533C0488D15??????02488D0D??????02E8????E7FF6685C00F84BAFEFFFF8BDFE9B3FEFFFFB801000000"]},
    {"name": "Acrobat5", "search": "753FE8????????6685C0740933C9E8????????EB25488D05????????48894424204C8D0D????????33D2448D423C488D0D??????00E8????????66893D????????381D????????75", "replace": ["EB3FE8????????6685C0740933C9E8????????EB25488D05????????48894424204C8D0D????????33D2448D423C488D0D??????00E8????????66893D????????381D????????EB"]},
    {"name": "Acrodist1", "search": "85C00F84????????E8????????85C00F85????????E8", "replace": ["85C00F84????????E8????????FFC00F85????????E8"]},
    {"name": "Acrodist2", "search": "00908BC8E8??????00CCCCCCCCCCCC48895C24104889", "replace": ["00908BC8E8??????00CCCCCCCCCCCC31C0C324104889"]},
    {"name": "Acrodist3", "search": "5E5B5DC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC4055535657415441554156415748", "replace": ["5E5B5DC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC31C0C35657415441554156415748"]},
    {"name": "Acrodist4", "search": "00005072696E745F447269766572", "replace": ["0000B001906E745F447269766572"]},
    {"name": "Acrodist5", "search": "51??????????????????????????????48895C????????????????????????55", "replace": ["51??????????????????????????????33C0C3????????????????????????55"]},
    {"name": "AcroNew1", "search": "C3488BC1C3CC48895C24084889??2410", "replace": ["C3488BC1C3CCC3895C24084889??2410"]},
    {"name": "AcroRegistry1", "search": "0FB6C3488B5C2458????????????????895C", "replace": ["B801000000909090????????????????895C"]},
    {"name": "AcroTray1", "search": "E8????????84C074??E8????????84C075??33DB", "replace": ["E8????????FEC074??E8????????FEC075??33DB"]},
    {"name": "AcroTray2", "search": "0F8459030000803D??????00000F8545030000", "replace": ["E95A03000090803D??????0000E94603000090"]},
    {"name": "AcroTray3", "search": "0F85A302000048397C24400F84", "replace": ["E9A40200009048397C24400F85"]},
    {"name": "AcroTray4", "search": "244884DB0F84C70100", "replace": ["244884DB0F85C70100"]},
    {"name": "AcroTray5", "search": "????????E86791D9FFE862B2D8FF????", "replace": ["????????9090909090B801000000????"]},
    {"name": "DesktopService1", "search": "68008B40148985CCFEFFFF85C0", "replace": ["68008B40148985CCFEFFFF33C0"]},
    {"name": "Banner1", "search": "72656C6174696F6E7368697050726F66696C65", "replace": ["78656C6174696F6E7368697050726F66696C65"]},
    {"name": "Banner2", "search": "000000000000000072656C6174696F6E", "replace": ["000000000000000078656C6174696F6E"]},
    {"name": "BridgeCamRaw1", "search": "84C074??8B??83??0174??83??0174??83??01", "replace": ["84C074??8B??83??01EB??83??0174??83??01"]},
    {"name": "BridgeCamRaw2", "search": "4084??0F85????????4084??0F84", "replace": ["4084??0F85????????40FEC60F85"]},
    {"name": "CmpEax61", "search": "8B??85C074??83F80674????83????007D", "replace": ["C7??0300000083F8067400??83????00EB"]},
    {"name": "CmpEax62", "search": "8B??85C074??83F80674????83??????007D", "replace": ["C7??0300000083F8067400??83??????00EB"]},
    {"name": "CmpEax63", "search": "8B????85C074??83F80674????83????007D", "replace": ["C7????0300000083F8067400??83????00EB"]},
    {"name": "CmpEax64", "search": "8B????85C074??83F80674????83??????007D", "replace": ["C7????0300000083F8067400??83??????00EB"]},
    {"name": "HevcMpegEnabler1", "search": "FF50100FB6", "replace": ["FFC0900FB6"]},
    {"name": "HevcMpegEnabler2", "search": "FF5010??0FB6", "replace": ["FFC090??0FB6"]},
    {"name": "HevcMpegEnabler3", "search": "FF50??0FB6", "replace": ["FFC0900FB6"]},
    {"name": "HevcMpegEnabler4", "search": "FF50????0FB6", "replace": ["FFC090??0FB6"]},
    {"name": "Profile1", "search": "00007504488D4850", "replace": ["00007500488D4850"]},
    {"name": "Profile2", "search": "00007504488D5050", "replace": ["00007500488D5050"]},
    {"name": "ProfileExpired1", "search": "85C075??????????75??B892010000E9", "replace": ["31C075004883FF0F7500B800000000E9"]},
    {"name": "ProfileExpired2", "search": "85C075??B892010000E9", "replace": ["85C07500B800000000E9"]},
    {"name": "ProfileExpired3", "search": "85C075????????75??B892010000E9", "replace": ["31C075????????7500B800000000E9"]},
    {"name": "TeamProjectEnabler1", "search": "488379????740A488379????7403B001C332C0C3", "replace": ["488379????740A488379????7403B001C3B001C3"]},
    {"name": "ValidateLicense1", "search": "83F80175??BA94010000", "replace": ["83F80175??BA00000000"]},
    {"name": "ValidateLicense2", "search": "83F8040F95C281C293010000", "replace": ["83F8040F95C2BA0000000090"]},
    {"name": "ValidateLicense3", "search": "83F8040F95C181C193010000", "replace": ["83F8040F95C1B90000000090"]},
    {"name": "InstantShutdown1", "search": "00??????????E875000000????????C0", "replace": ["00??????????9090909090????????C0"]},
    {"name": "C4DLicense1", "search": "5556??????????????????????????????????????????????????????????010F85????0000", "replace": ["5556??????????????????????????????????????????????????????????010F84????0000"]},
    {"name": "C4DLicense2", "search": "5556????????????????????????????????????????????????????????????0F85????000080", "replace": ["5556????????????????????????????????????????????????????????????0F84????000080"]},
    {"name": "C4DLicense3", "search": "55415741564155??????????????????????????????????????????????20FEFFFFFF89D6", "replace": ["C3415741564155??????????????????????????????????????????????20FEFFFFFF89D6"]},
    {"name": "C4DLicense4", "search": "8A0D????????????0F84B0000000??C0", "replace": ["8A0D????????????909090909090??C0"]},
    {"name": "C4DLicense5", "search": "F833F00F84??????????7E1C00", "replace": ["F833F00F84??????????7E1000"]},
]

 

  • Admin
Posted
patches += [
    {"name": "CreativeCloud1", "search": "8378????0F84????????8378????0F84????????8378????0F84????????33C0", "replace": ["C640????0F84????????C640????0F84????????C640????0F84????????33C0"]},
    {"name": "CreativeCloud2", "search": "E8????????85C00F85????????83EC??8BCC89", "replace": ["E8????????FEC00F85????????83EC??8BCC89"]},
    {"name": "CreativeCloud3", "search": "??????0F85890300", "replace": ["??????E98A030000"]},
    {"name": "Acrobat1", "search": "488BCFE8????????85C00F84????????488D??????????488BCFE8????????85C075??8D", "replace": ["488BCFE8????????FFC00F84????????488D??????????488BCFE8????????31C075??8D"]},
    {"name": "Acrobat2", "search": "6685C0740FE8????????6685C07405BB01000000", "replace": ["6685C07400E8????????6685C07400BB01000000"]},
    {"name": "Acrobat3", "search": "6685C0741A6685??0F85??020000", "replace": ["6685C090906685??0F85??020000"]},
    {"name": "Acrobat4", "search": "00E8????E7FF66893D??????03381D??????03751F4533C0488D15??????02488D0D??????02E8????E7FF6685C00F84BAFEFFFF8BDFE9B3FEFFFFB801000000", "replace": ["00E8????E7FF66893D??????03381D??????03EB1F4533C0488D15??????02488D0D??????02E8????E7FF6685C00F84BAFEFFFF8BDFE9B3FEFFFFB801000000"]},
    {"name": "Acrobat5", "search": "753FE8????????6685C0740933C9E8????????EB25488D05????????48894424204C8D0D????????33D2448D423C488D0D??????00E8????????66893D????????381D????????75", "replace": ["EB3FE8????????6685C0740933C9E8????????EB25488D05????????48894424204C8D0D????????33D2448D423C488D0D??????00E8????????66893D????????381D????????EB"]},
    {"name": "Acrodist1", "search": "85C00F84????????E8????????85C00F85????????E8", "replace": ["85C00F84????????E8????????FFC00F85????????E8"]},
    {"name": "Acrodist2", "search": "00908BC8E8??????00CCCCCCCCCCCC48895C24104889", "replace": ["00908BC8E8??????00CCCCCCCCCCCC31C0C324104889"]},
    {"name": "Acrodist3", "search": "5E5B5DC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC4055535657415441554156415748", "replace": ["5E5B5DC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC31C0C35657415441554156415748"]},
    {"name": "Acrodist4", "search": "00005072696E745F447269766572", "replace": ["0000B001906E745F447269766572"]},
    {"name": "Acrodist5", "search": "51??????????????????????????????48895C????????????????????????55", "replace": ["51??????????????????????????????33C0C3????????????????????????55"]},
    {"name": "AcroNew1", "search": "C3488BC1C3CC48895C24084889??2410", "replace": ["C3488BC1C3CCC3895C24084889??2410"]},
    {"name": "AcroRegistry1", "search": "0FB6C3488B5C2458????????????????895C", "replace": ["B801000000909090????????????????895C"]},
    {"name": "AcroTray1", "search": "E8????????84C074??E8????????84C075??33DB", "replace": ["E8????????FEC074??E8????????FEC075??33DB"]},
    {"name": "AcroTray2", "search": "0F8459030000803D??????00000F8545030000", "replace": ["E95A03000090803D??????0000E94603000090"]},
    {"name": "AcroTray3", "search": "0F85A302000048397C24400F84", "replace": ["E9A40200009048397C24400F85"]},
    {"name": "AcroTray4", "search": "244884DB0F84C70100", "replace": ["244884DB0F85C70100"]},
    {"name": "AcroTray5", "search": "????????E86791D9FFE862B2D8FF????", "replace": ["????????9090909090B801000000????"]},
    {"name": "DesktopService1", "search": "68008B40148985CCFEFFFF85C0", "replace": ["68008B40148985CCFEFFFF33C0"]},
    {"name": "Banner1", "search": "72656C6174696F6E7368697050726F66696C65", "replace": ["78656C6174696F6E7368697050726F66696C65"]},
    {"name": "Banner2", "search": "000000000000000072656C6174696F6E", "replace": ["000000000000000078656C6174696F6E"]},
    {"name": "BridgeCamRaw1", "search": "84C074??8B??83??0174??83??0174??83??01", "replace": ["84C074??8B??83??01EB??83??0174??83??01"]},
    {"name": "BridgeCamRaw2", "search": "4084??0F85????????4084??0F84", "replace": ["4084??0F85????????40FEC60F85"]},
    {"name": "CmpEax61", "search": "8B??85C074??83F80674????83????007D", "replace": ["C7??0300000083F8067400??83????00EB"]},
    {"name": "CmpEax62", "search": "8B??85C074??83F80674????83??????007D", "replace": ["C7??0300000083F8067400??83??????00EB"]},
    {"name": "CmpEax63", "search": "8B????85C074??83F80674????83????007D", "replace": ["C7????0300000083F8067400??83????00EB"]},
    {"name": "CmpEax64", "search": "8B????85C074??83F80674????83??????007D", "replace": ["C7????0300000083F8067400??83??????00EB"]},
    {"name": "HevcMpegEnabler1", "search": "FF50100FB6", "replace": ["FFC0900FB6"]},
    {"name": "HevcMpegEnabler2", "search": "FF5010??0FB6", "replace": ["FFC090??0FB6"]},
    {"name": "HevcMpegEnabler3", "search": "FF50??0FB6", "replace": ["FFC0900FB6"]},
    {"name": "HevcMpegEnabler4", "search": "FF50????0FB6", "replace": ["FFC090??0FB6"]},
    {"name": "Profile1", "search": "00007504488D4850", "replace": ["00007500488D4850"]},
    {"name": "Profile2", "search": "00007504488D5050", "replace": ["00007500488D5050"]},
    {"name": "ProfileExpired1", "search": "85C075??????????75??B892010000E9", "replace": ["31C075004883FF0F7500B800000000E9"]},
    {"name": "ProfileExpired2", "search": "85C075??B892010000E9", "replace": ["85C07500B800000000E9"]},
    {"name": "ProfileExpired3", "search": "85C075????????75??B892010000E9", "replace": ["31C075????????7500B800000000E9"]},
    {"name": "TeamProjectEnabler1", "search": "488379????740A488379????7403B001C332C0C3", "replace": ["488379????740A488379????7403B001C3B001C3"]},
    {"name": "ValidateLicense1", "search": "83F80175??BA94010000", "replace": ["83F80175??BA00000000"]},
    {"name": "ValidateLicense2", "search": "83F8040F95C281C293010000", "replace": ["83F8040F95C2BA0000000090"]},
    {"name": "ValidateLicense3", "search": "83F8040F95C181C193010000", "replace": ["83F8040F95C1B90000000090"]},
    {"name": "InstantShutdown1", "search": "00??????????E875000000????????C0", "replace": ["00??????????9090909090????????C0"]},
    {"name": "C4DLicense1", "search": "5556??????????????????????????????????????????????????????????010F85????0000", "replace": ["5556??????????????????????????????????????????????????????????010F84????0000"]},
    {"name": "C4DLicense2", "search": "5556????????????????????????????????????????????????????????????0F85????000080", "replace": ["5556????????????????????????????????????????????????????????????0F84????000080"]},
    {"name": "C4DLicense3", "search": "55415741564155??????????????????????????????????????????????20FEFFFFFF89D6", "replace": ["C3415741564155??????????????????????????????????????????????20FEFFFFFF89D6"]},
    {"name": "C4DLicense4", "search": "8A0D????????????0F84B0000000??C0", "replace": ["8A0D????????????909090909090??C0"]},
    {"name": "C4DLicense5", "search": "88????????0F848509??00", "replace": ["88????????E9860900??90"]},
    {"name": "PluginVerification1", "search": "5F5E????????????????????????????48895C2410??8974", "replace": ["5F5E????????????????????????????C390909090??8974"]},
    {"name": "LoginVerification1", "search": "4C8B??????????????????????????????????????742C48", "replace": ["4C8B??????????????????????????????????????EB2C48"]},
    {"name": "DisableRedshift1", "search": "4D5A90000300000004000000FFFF0000", "replace": ["00000000000000000000000000000000"]},
]

 

Posted
[Default]
Path=C:\Program Files

[TargetFiles]
1="Acrobat.dll"
2="acrodistdll.dll"
3="acrotray.exe"
4="Aero.exe"
5="AfterFXLib.dll"
6="Animate.exe"
7="animator.exe"
8="Animator (Beta).exe"
9="AppsPanelBL.dll"
10="auui.dll"
11="Adobe Bridge.exe"
12="Designer.exe"
13="dreamweaver.exe"
14="dvaappsupport.dll"
15="Encoder.exe"
16="Encoder (Beta).exe"
17="euclid-core"
18="gemini_uwp_bridge.dll"
19="illustrator.exe"
20="lightroom.exe"
21="lightroomcc.exe"
22="Modeler.exe"
23="Modeler Beta.exe"
24="ngl-lib.dll"
25="Painter.exe"
26="photoshop.exe"
27="public.dll"
28="registration.dll"
29="Sampler.exe"
30="Sampler Beta.exe"
31="Stager.exe"
32="SweetPeaSupport.dll"
33="XD.exe"
34="Adobe Desktop Service.exe"
35="4.js$\UXP\com.adobe.ccx.start\js\4.js"
36="4.js$\UXP\plugins\com.adobe.ccx.start\js\4.js"
37="manifest.json$\UXP\com.adobe.ccx.start\manifest.json"
38="manifest.json$\UXP\plugins\com.adobe.ccx.start\manifest.json"

[DefaultPatterns]
Values="ProfileExpired1","ProfileExpired3","ProfileExpired4","ProfileExpired5","ProfileExpired6","ValidateLicense1","ValidateLicense2","ValidateLicense3","CmpEax61","CmpEax62","CmpEax63","CmpEax64","Profile1","Profile2","Banner","Banner2","UnlicensedPS","UnlicensedIllustrator2023","UnlicensedIllustrator2023b"

[CustomPatterns]
Acrobat.dll="Acrobat3","Acrobat5"
acrodistdll.dll="Acrodist2","Acrodist3","Acrodist4","AcroNew"
acrotray.exe="AcroTray2","AcroTray3","AcroTray4","AcroNew"
AppsPanelBL.dll="Acc1","Acc2"
Adobe Desktop Service.exe="Ads"
Adobe Bridge.exe="ProfileExpired1","ValidateLicense1","ValidateLicense2","ValidateLicense3","CmpEax61","CmpEax62","CmpEax63","CmpEax64","Profile1","Profile2","Banner","BridgeCamRaw1","BridgeCamRaw2"
dvaappsupport.dll="TeamProjectEnabler"
SweetPeaSupport.dll="HevcMpegEnabler3","HevcMpegEnabler4"
4.js="JS1","JS2","JS3","JS4"
manifest.json="Version"

[Patches]
Acc1="8378????0F84????????8378????0F84????????8378????0F84????????33C0"|"C640????0F84????????C640????0F84????????C640????0F84????????33C0"
Acc2="E8????????85C00F85????????83EC??8BCC89"|"E8????????FEC00F85????????83EC??8BCC89"
Acrobat1="488BCFE8????????85C00F84????????488D??????????488BCFE8????????85C075??8D"|"488BCFE8????????FFC00F84????????488D??????????488BCFE8????????31C075??8D"
Acrobat2="6685C0740FE8????????6685C07405BB01000000"|"6685C07400E8????????6685C07400BB01000000"
Acrobat3="6685C0741A6685??0F85??020000"|"6685C090906685??0F85??020000"
Acrobat4="00E8????E7FF66893D??????03381D??????03751F4533C0488D15??????02488D0D??????02E8????E7FF6685C00F84BAFEFFFF8BDFE9B3FEFFFFB801000000"|"00E8????E7FF66893D??????03381D??????03EB1F4533C0488D15??????02488D0D??????02E8????E7FF6685C00F84BAFEFFFF8BDFE9B3FEFFFFB801000000"
Acrobat5="753FE8????????6685C0740933C9E8????????EB25488D05????????48894424204C8D0D????????33D2448D423C488D0D??????00E8????????66893D????????381D????????75"|"EB3FE8????????6685C0740933C9E8????????EB25488D05????????48894424204C8D0D????????33D2448D423C488D0D??????00E8????????66893D????????381D????????EB"
Acrodist1="85C00F84????????E8????????85C00F85????????E8"|"85C00F84????????E8????????FFC00F85????????E8"
Acrodist2="00908BC8E8??????00CCCCCCCCCCCC48895C24104889"|"00908BC8E8??????00CCCCCCCCCCCC31C0C324104889"
Acrodist3="5E5B5DC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC4055535657415441554156415748"|"5E5B5DC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC31C0C35657415441554156415748"
Acrodist4="00005072696E745F447269766572"|"0000B001906E745F447269766572"
AcroNew="C3488BC1C3CC48895C24084889??2410"|"C3488BC1C3CCC3895C24084889??2410"
AcroTray1="E8????????84C074??E8????????84C075??33DB"|"E8????????FEC074??E8????????FEC075??33DB"
AcroTray2="0F8459030000803D??????00000F8545030000"|"E95A03000090803D??????0000E94603000090"
AcroTray3="0F85A302000048397C24400F84"|"E9A40200009048397C24400F85"
AcroTray4="244884DB0F84C70100"|"244884DB0F85C70100"
Ads="68008B40148985CCFEFFFF85C0"|"68008B40148985CCFEFFFF33C0"
Banner="72656C6174696F6E7368697050726F66696C65"|"78656C6174696F6E7368697050726F66696C65"
Banner2="000000000000000072656C6174696F6E"|"000000000000000078656C6174696F6E"
BridgeCamRaw1="84C074??8B??83??0174??83??0174??83??01"|"84C074??8B??83??01EB??83??0174??83??01"
BridgeCamRaw2="4084??0F85????????4084??0F84"|"4084??0F85????????40FEC60F85"
CmpEax61="8B??85C074??83F80674????83????007D"|"C7??0300000083F8067400??83????00EB"
CmpEax62="8B??85C074??83F80674????83??????007D"|"C7??0300000083F8067400??83??????00EB"
CmpEax63="8B????85C074??83F80674????83????007D"|"C7????0300000083F8067400??83????00EB"
CmpEax64="8B????85C074??83F80674????83??????007D"|"C7????0300000083F8067400??83??????00EB"
HevcMpegEnabler1="FF50100FB6"|"FFC0900FB6"
HevcMpegEnabler2="FF5010??0FB6"|"FFC090??0FB6"
HevcMpegEnabler3="FF50??0FB6"|"FFC0900FB6"
HevcMpegEnabler4="FF50????0FB6"|"FFC090??0FB6"
Profile1="00007504488D4850"|"00007500488D4850"
Profile2="00007504488D5050"|"00007500488D5050"
ProfileExpired1="85C075??????????75??B892010000E9"|"31C075004883FF0F7500B800000000E9"
ProfileExpired2="85C075??B892010000E9"|"85C07500B800000000E9"
ProfileExpired3="85C075????????75??B892010000E9"|"31C075????????7500B800000000E9"
ProfileExpired4="488D4D??483B??0F??????000048????4889??4885C9"|"488D4D??483B??C700000000004831C94889??4885C9"
ProfileExpired5="488B0B4889034885C974??BA04000000E8????????B00148"|"C7000000000048890348C7C1000000000F1F440000B00148"
ProfileExpired6="E8????????????????4885C974??BA04000000E8????????4C8D5C"|"0F1F440000????????C700000000004889034831C90F1F004C8D5C"
TeamProjectEnabler="488379????740A488379????7403B001C332C0C3"|"488379????740A488379????7403B001C3B001C3"
ValidateLicense1="83F80175??BA94010000"|"83F80175??BA00000000"
ValidateLicense2="83F8040F95C281C293010000"|"83F8040F95C2BA0000000090"
ValidateLicense3="83F8040F95C181C193010000"|"83F8040F95C1B90000000090"
JS1="52656C6174696F6E7368697050726F66696C653A612E??2E6F7074696F6E616C"|"58656C6174696F6E7368697050726F66696C653A612E??2E6F7074696F6E616C"
JS2="52656C6174696F6E7368697050726F66696C652E66696E6428653D3E652E75736564466F724C656761637950726F66696C65293B72657475726E20692E6D61696E53746F7265"|"58656C6174696F6E7368697050726F66696C652E66696E6428653D3E652E75736564466F724C656761637950726F66696C65293B72657475726E20692E6D61696E53746F7265"
JS3="52656C6174696F6E7368697050726F66696C652E66696E6428653D3E652E75736564466F724C656761637950726F66696C65297D7D2929"|"58656C6174696F6E7368697050726F66696C652E66696E6428653D3E652E75736564466F724C656761637950726F66696C65297D7D2929"
JS4="52656C6174696F6E7368697050726F66696C65297C7C766F696420303D3D3D69"|"58656C6174696F6E7368697050726F66696C65297C7C766F696420303D3D3D69"
Version="6363782E7374617274222C0A20202276657273696F6E223A2022372E"|"6363782E7374617274222C0A20202276657273696F6E223A2022392E"
#UnlicensedPS="2470????????????????????C3CCCCCC48895C2418??5741"|"2470????????????????????C3CCCCCCC390909090565741"
#UnlicensedIllustrator2023="0DE3????????????????????????????0F848C????00893D"|"0DE3????????????????????????????E98D00????90893D"
#UnlicensedIllustrator2023b="36FFCCCCCCCCCCCCCCCCCCCCCCCCCCCC4053????????488B"|"36FFCCCCCCCCCCCCCCCCCCCCCCCCCCCCC390????????488B"

[Options]
FindACC=1
EnableMD5=1
OnlyAdobeFolders=1
UseCustomDomains=0
CustomDomains="'8eptecerpq.adobestats.io','xa8g202i4u.adobestats.io'"

current ini for latest version public

Posted

    Local $GeneQuestionMark, $AnyNumOfBytes, $OutStringForRegExp
        For $i = 256 To 1 Step -2 ; limiting to 256 -?-
            $GeneQuestionMark = _StringRepeat("??", $i / 2) ; Repeat the string -??- $i/2 times.
            $AnyNumOfBytes = "(.{" & $i & "})"
            $OutStringForRegExp = StringReplace($PatternToSearch, $GeneQuestionMark, $AnyNumOfBytes)
            $PatternToSearch = $OutStringForRegExp

Posted

Activity Log

2025-01-12 02:49:47.458 C:\Program Files\Adobe\Adobe Photoshop 2024\dvaappsupport.dll
2025-01-12 02:49:47.458 File restored.
2025-01-12 02:49:47.895 C:\Program Files\Adobe\Adobe Photoshop 2024\Photoshop.exe
2025-01-12 02:49:47.895 File restored.
2025-01-12 02:49:48.333 C:\Program Files\Adobe\Adobe Photoshop 2024\Required\DynamicLinkMediaServer\dvaappsupport.dll
2025-01-12 02:49:48.333 File restored.
2025-01-12 02:49:48.770 C:\Program Files\Adobe\Adobe Photoshop 2024\Required\DynamicLinkMediaServer\SweetPeaSupport.dll
2025-01-12 02:49:48.770 File restored.
2025-01-12 02:49:49.208 C:\Program Files\Adobe\Adobe Photoshop 2024\Required\UXP\com.adobe.ccx.start\js\4.js
2025-01-12 02:49:49.208 File restored.
2025-01-12 02:49:49.645 C:\Program Files\Adobe\Adobe Photoshop 2024\Required\UXP\com.adobe.ccx.start\manifest.json
2025-01-12 02:49:49.645 File restored.
2025-01-12 02:49:58.645 8 File(s) were found in 5 second(s)

2025-01-12 02:50:06.598 Checking File: dvaappsupport.dll  - using Custom Patterns
2025-01-12 02:50:06.598 Searching for: TeamProjectEnabler: 488379????740A488379????7403B001C332C0C3
2025-01-12 02:50:06.629 Replacing with: 4883791800740A48837938007403B001C3B001C3
2025-01-12 02:50:06.958 C:\Program Files\Adobe\Adobe Photoshop 2024\dvaappsupport.dll
2025-01-12 02:50:07.208 File patched.
2025-01-12 02:50:07.208 MD5 Checksum: 0x6D0A98C14DE10A50893FC625A34027B7

2025-01-12 02:50:07.333 Checking File: Photoshop.exe  - using Default Patterns
2025-01-12 02:50:07.645 Searching for: ProfileExpired1: 85C075??????????75??B892010000E9
2025-01-12 02:50:09.067 Searching for: ProfileExpired3: 85C075????????75??B892010000E9
2025-01-12 02:50:10.473 Searching for: ProfileExpired4: 488D4D??483B??0F??????000048????4889??4885C9
2025-01-12 02:50:11.786 Replacing with: 488D4DAF483BD9C700000000004831C94889034885C9
2025-01-12 02:50:11.895 Searching for: ProfileExpired5: 488B0B4889034885C974??BA04000000E8????????B00148
2025-01-12 02:50:13.333 Searching for: ProfileExpired6: E8????????????????4885C974??BA04000000E8????????4C8D5C
2025-01-12 02:50:14.504 Searching for: ValidateLicense1: 83F80175??BA94010000
2025-01-12 02:50:15.895 Searching for: ValidateLicense2: 83F8040F95C281C293010000
2025-01-12 02:50:17.176 Replacing with: 83F8040F95C2BA0000000090
2025-01-12 02:50:17.302 Searching for: ValidateLicense3: 83F8040F95C181C193010000
2025-01-12 02:50:18.708 Searching for: CmpEax61: 8B??85C074??83F80674????83????007D
2025-01-12 02:50:20.254 Searching for: CmpEax62: 8B??85C074??83F80674????83??????007D
2025-01-12 02:50:21.770 Searching for: CmpEax63: 8B????85C074??83F80674????83????007D
2025-01-12 02:50:23.208 Replacing with: C743200300000083F806740048837B5800EB
2025-01-12 02:50:23.333 Searching for: CmpEax64: 8B????85C074??83F80674????83??????007D
2025-01-12 02:50:24.895 Searching for: Profile1: 00007504488D4850
2025-01-12 02:50:26.661 Replacing with: 00007500488D4850
2025-01-12 02:50:26.786 Searching for: Profile2: 00007504488D5050
2025-01-12 02:50:28.692 Searching for: Banner: 72656C6174696F6E7368697050726F66696C65
2025-01-12 02:50:29.801 Searching for: Banner2: 000000000000000072656C6174696F6E
2025-01-12 02:50:31.801 Replacing with: 000000000000000078656C6174696F6E
2025-01-12 02:50:32.130 C:\Program Files\Adobe\Adobe Photoshop 2024\Photoshop.exe
2025-01-12 02:50:40.793 File patched.
2025-01-12 02:50:41.559 MD5 Checksum: 0xBC19B052A831FBCD2E74B4F04E1E10DB

2025-01-12 02:50:41.762 Checking File: dvaappsupport.dll  - using Custom Patterns
2025-01-12 02:50:41.762 Searching for: TeamProjectEnabler: 488379????740A488379????7403B001C332C0C3
2025-01-12 02:50:41.777 Replacing with: 4883791800740A48837938007403B001C3B001C3
2025-01-12 02:50:42.105 C:\Program Files\Adobe\Adobe Photoshop 2024\Required\DynamicLinkMediaServer\dvaappsupport.dll
2025-01-12 02:50:42.387 File patched.
2025-01-12 02:50:42.387 MD5 Checksum: 0x39CF058AAB11BE28DE6477CE32CCE4C6

2025-01-12 02:50:42.496 Checking File: SweetPeaSupport.dll  - using Custom Patterns
2025-01-12 02:50:42.496 Searching for: HevcMpegEnabler3: FF50??0FB6
2025-01-12 02:50:42.496 Replacing with: FFC0900FB6
2025-01-12 02:50:42.496 Replacing with: FFC0900FB6
2025-01-12 02:50:42.496 Replacing with: FFC0900FB6
2025-01-12 02:50:42.496 Replacing with: FFC0900FB6
2025-01-12 02:50:42.496 Replacing with: FFC0900FB6
2025-01-12 02:50:42.605 Searching for: HevcMpegEnabler4: FF50????0FB6
2025-01-12 02:50:42.934 C:\Program Files\Adobe\Adobe Photoshop 2024\Required\DynamicLinkMediaServer\SweetPeaSupport.dll
2025-01-12 02:50:43.168 File patched.
2025-01-12 02:50:43.168 MD5 Checksum: 0xAE2ABCF75D5B2C28741DDC97A2768CB3

2025-01-12 02:50:43.277 Checking File: 4.js  - using Custom Patterns
2025-01-12 02:50:43.277 Searching for: JS1: 52656C6174696F6E7368697050726F66696C653A612E??2E6F7074696F6E616C
2025-01-12 02:50:43.340 Replacing with: 58656C6174696F6E7368697050726F66696C653A612E672E6F7074696F6E616C
2025-01-12 02:50:43.449 Searching for: JS2: 52656C6174696F6E7368697050726F66696C652E66696E6428653D3E652E75736564466F724C656761637950726F66696C65293B72657475726E20692E6D61696E53746F7265
2025-01-12 02:50:43.496 Replacing with: 58656C6174696F6E7368697050726F66696C652E66696E6428653D3E652E75736564466F724C656761637950726F66696C65293B72657475726E20692E6D61696E53746F7265
2025-01-12 02:50:43.605 Searching for: JS3: 52656C6174696F6E7368697050726F66696C652E66696E6428653D3E652E75736564466F724C656761637950726F66696C65297D7D2929
2025-01-12 02:50:43.652 Replacing with: 58656C6174696F6E7368697050726F66696C652E66696E6428653D3E652E75736564466F724C656761637950726F66696C65297D7D2929
2025-01-12 02:50:43.762 Searching for: JS4: 52656C6174696F6E7368697050726F66696C65297C7C766F696420303D3D3D69
2025-01-12 02:50:43.809 Replacing with: 58656C6174696F6E7368697050726F66696C65297C7C766F696420303D3D3D69
2025-01-12 02:50:44.137 C:\Program Files\Adobe\Adobe Photoshop 2024\Required\UXP\com.adobe.ccx.start\js\4.js
2025-01-12 02:50:44.637 File patched.
2025-01-12 02:50:44.668 MD5 Checksum: 0xFCBCA7FB10903C63C1725257740E579B

2025-01-12 02:50:44.777 Checking File: manifest.json  - using Custom Patterns
2025-01-12 02:50:44.777 Searching for: Version: 6363782E7374617274222C0A20202276657273696F6E223A2022372E
2025-01-12 02:50:44.777 Replacing with: 6363782E7374617274222C0A20202276657273696F6E223A2022392E
2025-01-12 02:50:45.121 C:\Program Files\Adobe\Adobe Photoshop 2024\Required\UXP\com.adobe.ccx.start\manifest.json
2025-01-12 02:50:45.340 File patched.
2025-01-12 02:50:45.340 MD5 Checksum: 0x7026BBAA3496B25BDEB7E821F4D281ED
 

Posted

2025-01-12 18:11:10.685 Checking File: Photoshop.exe  - using Default Patterns
2025-01-12 18:11:10.998 Searching for: ProfileExpired1: 85C075??????????75??B892010000E9
2025-01-12 18:11:12.779 Searching for: ProfileExpired3: 85C075????????75??B892010000E9
2025-01-12 18:11:14.154 Searching for: ProfileExpired4: 488D4D??483B??0F??????000048????4889??4885C9
2025-01-12 18:11:15.592 Searching for: ProfileExpired5: 488B0B4889034885C974??BA04000000E8????????B00148
2025-01-12 18:11:17.123 Searching for: ProfileExpired6: E8????????????????4885C974??BA04000000E8????????4C8D5C
2025-01-12 18:11:18.295 Searching for: ValidateLicense1: 83F80175??BA94010000
2025-01-12 18:11:19.717 Searching for: ValidateLicense2: 83F8040F95C281C293010000
2025-01-12 18:11:21.170 Searching for: ValidateLicense3: 83F8040F95C181C193010000
2025-01-12 18:11:22.576 Searching for: CmpEax61: 8B??85C074??83F80674????83????007D
2025-01-12 18:11:24.123 Searching for: CmpEax62: 8B??85C074??83F80674????83??????007D
2025-01-12 18:11:25.654 Searching for: CmpEax63: 8B????85C074??83F80674????83????007D
2025-01-12 18:11:27.232 Searching for: CmpEax64: 8B????85C074??83F80674????83??????007D
2025-01-12 18:11:28.810 Searching for: Profile1: 00007504488D4850
2025-01-12 18:11:30.685 Searching for: Profile2: 00007504488D5050
2025-01-12 18:11:32.545 Searching for: Banner: 72656C6174696F6E7368697050726F66696C65
2025-01-12 18:11:33.623 Searching for: Banner2: 000000000000000072656C6174696F6E
2025-01-12 18:11:35.951 C:\Program Files\Adobe\Adobe Photoshop 2024\Photoshop.exe
2025-01-12 18:11:36.170 No patterns were found or file already patched.

Posted

#include <String.au3>
#include <ProgressConstants.au3>
#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
#include <GUITab.au3>
#include <ButtonConstants.au3>
#include <MsgBoxConstants.au3>
#include <EditConstants.au3>
#include <GuiListView.au3>
#include <WinAPIProc.au3>
#include <Misc.au3>
#include <Crypt.au3>

AutoItSetOption("GUICloseOnESC", 0)  ;1=ESC closes, 0=ESC won't close

Global Const $g_AppWndTitle = "AdobeGenP", $g_AppVersion = "Original version by uncia - CGP Community Edition Jakeified - v3.4.2"

If _Singleton($g_AppWndTitle, 1) = 0 Then
	Exit
EndIf

Global $MyLVGroupIsExpanded = True
Global $fInterrupt = 0
Global $FilesToPatch[0][1], $FilesToPatchNull[0][1]
Global $FilesToRestore[0][1], $fFilesListed = 0
Global $MyhGUI, $hTab, $hMainTab, $hLogTab, $idMsg, $idListview, $g_idListview, $idButtonSearch, $idButtonStop
Global $idButtonCustomFolder, $idBtnCure, $idBtnDeselectAll, $ListViewSelectFlag = 1
Global $idBtnBlockPopUp, $idBtnRunasTI, $idMemo, $timestamp, $idLog, $idBtnRestore, $idBtnCopyLog, $idFindACC
Global $idEnableMD5, $idOnlyAdobeFolders, $idBtnSaveOptions, $idUseCustomDomains, $idCustomDomainsInput
Global $hPopupTab, $idBtnDestroyAGS, $idBtnEditHosts, $idLabelEditHosts, $sEditHostsText, $idBtnRestoreHosts
Global $sDestroyAGSText, $idLabelDestroyAGS, $sCleanFirewallText, $idLabelCleanFirewall, $idBtnCleanFirewall, $idBtnOpenWF, $idBtnEnableDisableWF

Global $sINIPath = @ScriptDir & "\config.ini"
If Not FileExists($sINIPath) Then
	FileInstall("config.ini", @ScriptDir & "\config.ini")
EndIf

Global $MyDefPath = IniRead($sINIPath, "Default", "Path", "C:\Program Files")
If Not FileExists($MyDefPath) Or Not StringInStr(FileGetAttrib($MyDefPath), "D") Then
	IniWrite($sINIPath, "Default", "Path", "C:\Program Files")
	$MyDefPath = "C:\Program Files"
EndIf

If (@UserName = "SYSTEM") Then
	FileDelete(@WindowsDir & "\Temp\RunAsTI.exe")
EndIf

Global $MyRegExpGlobalPatternSearchCount = 0, $Count = 0, $idProgressBar
Global $aOutHexGlobalArray[0], $aNullArray[0], $aInHexArray[0]
Global $MyFileToParse = "", $MyFileToParsSweatPea = "", $MyFileToParseEaclient = ""
Global $sz_type, $bFoundAcro32 = False, $aSpecialFiles, $sSpecialFiles = "|"
Global $ProgressFileCountScale, $FileSearchedCount

Global $bFindACC = IniRead($sINIPath, "Options", "FindACC", "1")
Global $bEnableMD5 = IniRead($sINIPath, "Options", "EnableMD5", "1")
Global $bOnlyAdobeFolders = IniRead($sINIPath, "Options", "OnlyAdobeFolder", "1")
Global $bUseCustomDomains = IniRead($sINIPath, "Options", "UseCustomDomains", "0")
Global $sCustomDomains = IniRead($sINIPath, "Options", "CustomDomains", "'8eptecerpq.adobestats.io','xa8g202i4u.adobestats.io'")
If $sCustomDomains = "" Then
	IniWrite($sINIPath, "Options", "CustomDomains", "'8eptecerpq.adobestats.io','xa8g202i4u.adobestats.io'")
	$sCustomDomains = "'8eptecerpq.adobestats.io','xa8g202i4u.adobestats.io'"
EndIf

Local $tTargetFileList_Adobe = IniReadSection($sINIPath, "TargetFiles")
Global $TargetFileList_Adobe[0]
If Not @error Then
	ReDim $TargetFileList_Adobe[$tTargetFileList_Adobe[0][0]]
	For $i = 1 To $tTargetFileList_Adobe[0][0]
		$TargetFileList_Adobe[$i - 1] = StringReplace($tTargetFileList_Adobe[$i][1], '"', "")
	Next
EndIf
;_ArrayDisplay($TargetFileList_Adobe, "TargetFileList_Adobe")

$aSpecialFiles = IniReadSection($sINIPath, "CustomPatterns")
;_ArrayDisplay($aSpecialFiles)
For $i = 1 To UBound($aSpecialFiles) - 1
	$sSpecialFiles = $sSpecialFiles & $aSpecialFiles[$i][0] & "|"
Next
;MsgBox(0, "", $sSpecialFiles)

GUIRegisterMsg($WM_COMMAND, "WM_COMMAND")

MainGui()

Local $bHostsbakExists = False
If FileExists("C:\Windows\System32\drivers\etc\hosts.bak") Then
	GUICtrlSetState($idBtnRestoreHosts, $GUI_ENABLE)
	$bHostsbakExists = True
EndIf

While 1

	Local $bHostsbakExistsNow
	If FileExists("C:\Windows\System32\drivers\etc\hosts.bak") Then
		$bHostsbakExistsNow = True
	Else
		$bHostsbakExistsNow = False
	EndIf

	If $bHostsbakExistsNow <> $bHostsbakExists Then
		If $bHostsbakExistsNow Then
			GUICtrlSetState($idBtnRestoreHosts, $GUI_ENABLE)
		Else
			GUICtrlSetState($idBtnRestoreHosts, $GUI_DISABLE)
		EndIf
		$bHostsbakExists = $bHostsbakExistsNow
	EndIf

	$idMsg = GUIGetMsg()

	Select
		Case $idMsg = $GUI_EVENT_CLOSE
			GUIDelete($MyhGUI)
			_Exit()
		Case $idMsg = $GUI_EVENT_RESIZED
			ContinueCase
		Case $idMsg = $GUI_EVENT_RESTORE
			ContinueCase
		Case $idMsg = $GUI_EVENT_MAXIMIZE
			Local $iWidth
			Local $aGui = WinGetPos($MyhGUI)
			Local $aRect = _GUICtrlListView_GetViewRect($g_idListview)
			If ($aRect[2] > $aGui[2]) Then
				$iWidth = $aGui[2] - 75
			Else
				$iWidth = $aRect[2] - 25
			EndIf
			GUICtrlSendMsg($idListview, $LVM_SETCOLUMNWIDTH, 1, $iWidth)

		Case $idMsg = $idButtonStop
			$ListViewSelectFlag = 0   ; Set Flag to Deselected State
			FillListViewWithInfo()
			MemoWrite(@CRLF & "Path" & @CRLF & "---" & @CRLF & $MyDefPath & @CRLF & "---" & @CRLF & "Waiting for user action.")
			GUICtrlSetState($idButtonStop, $GUI_HIDE)
			GUICtrlSetState($idButtonSearch, $GUI_SHOW)
			GUICtrlSetState($idButtonSearch, 64)
			GUICtrlSetState($idBtnRestore, $GUI_HIDE)
			GUICtrlSetState($idBtnBlockPopUp, $GUI_SHOW)
			GUICtrlSetState($idBtnBlockPopUp, 64)
			GUICtrlSetState($idBtnDeselectAll, 128)
			GUICtrlSetState($idBtnCure, 128)

		Case $idMsg = $idButtonSearch
			$fInterrupt = 0
			GUICtrlSetState($idButtonSearch, $GUI_HIDE)
			GUICtrlSetState($idButtonStop, $GUI_SHOW)
			ToggleLog(0)
			GUICtrlSetState($idBtnDeselectAll, 128)
			GUICtrlSetState($idBtnBlockPopUp, 128)
			GUICtrlSetState($idListview, 128)
			GUICtrlSetState($idBtnCure, 128)
			GUICtrlSetState($idButtonCustomFolder, 128)
			;Search through all files and folders in directory and fill ListView
			_GUICtrlListView_DeleteAllItems($g_idListview)
			_GUICtrlListView_SetExtendedListViewStyle($idListview, BitOR($LVS_EX_FULLROWSELECT, $LVS_EX_GRIDLINES, $LVS_EX_DOUBLEBUFFER))
			_GUICtrlListView_AddItem($idListview, "", 0)
			_GUICtrlListView_AddItem($idListview, "", 1)
			_GUICtrlListView_AddItem($idListview, "", 2)
			_GUICtrlListView_AddItem($idListview, "", 2)

			_GUICtrlListView_RemoveAllGroups($idListview)
			_GUICtrlListView_InsertGroup($idListview, -1, 1, "", 1)    ; Group 1
			_GUICtrlListView_SetGroupInfo($idListview, 1, "Info", 1, $LVGS_COLLAPSIBLE)

			_GUICtrlListView_AddSubItem($idListview, 0, "", 1)
			_GUICtrlListView_AddSubItem($idListview, 1, "Preparing...", 1)
			_GUICtrlListView_AddSubItem($idListview, 2, "", 1)
			_GUICtrlListView_AddSubItem($idListview, 3, "Be patient, please.", 1)
			_GUICtrlListView_SetItemGroupID($idListview, 0, 1)
			_GUICtrlListView_SetItemGroupID($idListview, 1, 1)
			_GUICtrlListView_SetItemGroupID($idListview, 2, 1)
			_GUICtrlListView_SetItemGroupID($idListview, 3, 1)

			_Expand_All_Click()
			_GUICtrlListView_SetGroupInfo($idListview, 1, "Info", 1, $LVGS_COLLAPSIBLE)


			; Clear previous results
			$FilesToPatch = $FilesToPatchNull
			$FilesToRestore = $FilesToPatchNull

			$timestamp = TimerInit()

			Local $FileCount

			If $bFindACC = 1 Then
				Local $sAppsPanelDir = EnvGet('ProgramFiles(x86)') & "\Common Files\Adobe"
				Local $aSize = DirGetSize($sAppsPanelDir, $DIR_EXTENDED)     ; extended mode
				If UBound($aSize) >= 2 Then
					$FileCount = $aSize[1]
					RecursiveFileSearch($sAppsPanelDir, 0, $FileCount)   ;Search through all files and folders
					ProgressWrite(0)
				EndIf
			EndIf

			$aSize = DirGetSize($MyDefPath, $DIR_EXTENDED)     ; extended mode
			If UBound($aSize) >= 2 Then
				$FileCount = $aSize[1]
				$ProgressFileCountScale = 100 / $FileCount
				$FileSearchedCount = 0
				ProgressWrite(0)
				RecursiveFileSearch($MyDefPath, 0, $FileCount)   ;Search through all files and folders
				Sleep(100)
				ProgressWrite(0)
			EndIf

			FillListViewWithFiles()

			If _GUICtrlListView_GetItemCount($idListview) > 0 Then

				_Assign_Groups_To_Found_Files()

				$ListViewSelectFlag = 1   ; Set Flag to Selected State
				GUICtrlSetState($idButtonSearch, 128)
				GUICtrlSetState($idBtnDeselectAll, 128)
				GUICtrlSetState($idBtnCure, 64)
				GUICtrlSetState($idBtnCure, 256)     ; Set focus

				If UBound($FilesToRestore) > 0 Then
					GUICtrlSetState($idBtnBlockPopUp, $GUI_HIDE)
					GUICtrlSetState($idBtnRestore, 64)
					GUICtrlSetState($idBtnRestore, $GUI_SHOW)
				EndIf
			Else
				$ListViewSelectFlag = 0   ; Set Flag to Deselected State
				FillListViewWithInfo()
				GUICtrlSetState($idBtnCure, 128)
				GUICtrlSetState($idBtnDeselectAll, 128)
				GUICtrlSetState($idButtonSearch, 64)
				GUICtrlSetState($idButtonSearch, 256)     ; Set focus
			EndIf

			;_Collapse_All_Click()
			_Expand_All_Click()

			GUICtrlSetState($idBtnDeselectAll, 64)
			GUICtrlSetState($idBtnBlockPopUp, 64)
			GUICtrlSetState($idListview, 64)
			GUICtrlSetState($idButtonCustomFolder, 64)
			GUICtrlSetState($idButtonSearch, $GUI_SHOW)
			GUICtrlSetState($idButtonStop, $GUI_HIDE)

		Case $idMsg = $idButtonCustomFolder     ; Select Custom Path

			ToggleLog(0)

			MyFileOpenDialog()
			_Expand_All_Click()

			If $fFilesListed = 0 Then
				GUICtrlSetState($idBtnCure, 128)
				GUICtrlSetState($idBtnDeselectAll, 128)
				GUICtrlSetState($idButtonSearch, 64)
				GUICtrlSetState($idButtonSearch, 256)     ; Set focus
			Else
				GUICtrlSetState($idButtonSearch, 128)
				GUICtrlSetState($idBtnDeselectAll, 64)
				GUICtrlSetState($idBtnCure, 64)
				GUICtrlSetState($idBtnCure, 256)     ; Set focus
			EndIf

		Case $idMsg = $idBtnDeselectAll     ; Deselect-Select All
			ToggleLog(0)
			If $ListViewSelectFlag = 1 Then
				For $i = 0 To _GUICtrlListView_GetItemCount($idListview) - 1
					_GUICtrlListView_SetItemChecked($idListview, $i, 0)
				Next
				$ListViewSelectFlag = 0   ; Set Flag to Deselected State
			Else
				For $i = 0 To _GUICtrlListView_GetItemCount($idListview) - 1
					_GUICtrlListView_SetItemChecked($idListview, $i, 1)
				Next
				$ListViewSelectFlag = 1   ; Set Flag to Selected State
			EndIf


		Case $idMsg = $idBtnBlockPopUp     ; Add firewall rule button
			ToggleLog(0)
			BlockPopUp()

		Case $idMsg = $idBtnRunasTI     ; Run as TrustedInstaller button
			FileInstall("RunAsTI.exe", @WindowsDir & "\Temp\RunAsTI.exe")
			Exit Run(@WindowsDir & '\Temp\RunAsTI.exe "' & @ScriptFullPath & '"')

		Case $idMsg = $idBtnCure
			ToggleLog(0)
			GUICtrlSetState($idListview, 128)
			GUICtrlSetState($idBtnDeselectAll, 128)
			GUICtrlSetState($idButtonSearch, 128)
			GUICtrlSetState($idBtnCure, 128)
			GUICtrlSetState($idBtnBlockPopUp, 128)
			GUICtrlSetState($idBtnRestore, 128)
			GUICtrlSetState($idButtonCustomFolder, 128)
			_Expand_All_Click()
			_GUICtrlListView_EnsureVisible($idListview, 0, 0)

			Local $ItemFromList
			For $i = 0 To _GUICtrlListView_GetItemCount($idListview) - 1

				If _GUICtrlListView_GetItemChecked($idListview, $i) = True Then

					_GUICtrlListView_SetItemSelected($idListview, $i)
					$ItemFromList = _GUICtrlListView_GetItemText($idListview, $i, 1)

					MyGlobalPatternSearch($ItemFromList)
					ProgressWrite(0)
					Sleep(100)
					MemoWrite(@CRLF & "Path" & @CRLF & "---" & @CRLF & $ItemFromList & @CRLF & "---" & @CRLF & "medication :)")
					LogWrite(1, $ItemFromList)
					Sleep(100)

					MyGlobalPatternPatch($ItemFromList, $aOutHexGlobalArray)


					; Scroll control 10 pixels - 1 line
					_GUICtrlListView_Scroll($idListview, 0, 10)
					_GUICtrlListView_EnsureVisible($idListview, $i, 0)
					Sleep(100)

				EndIf

				_GUICtrlListView_SetItemChecked($idListview, $i, False)
			Next

			_GUICtrlListView_DeleteAllItems($g_idListview)
			_GUICtrlListView_SetExtendedListViewStyle($idListview, BitOR($LVS_EX_FULLROWSELECT, $LVS_EX_GRIDLINES, $LVS_EX_DOUBLEBUFFER))


			_GUICtrlListView_RemoveAllGroups($idListview)
			_GUICtrlListView_InsertGroup($idListview, -1, 1, "", 1)    ; Group 1
			_GUICtrlListView_SetGroupInfo($idListview, 1, "Info", 1, $LVGS_COLLAPSIBLE)

			MemoWrite(@CRLF & "Path" & @CRLF & "---" & @CRLF & $MyDefPath & @CRLF & "---" & @CRLF & "waiting for user action")
			GUICtrlSetState($idListview, 64)
			GUICtrlSetState($idButtonSearch, 64)
			GUICtrlSetState($idButtonCustomFolder, 64)
			GUICtrlSetState($idBtnBlockPopUp, 64)
			GUICtrlSetState($idBtnBlockPopUp, $GUI_SHOW)
			GUICtrlSetState($idBtnRestore, $GUI_HIDE)
			GUICtrlSetState($idBtnCure, 128)
			GUICtrlSetState($idButtonSearch, 256)     ; Set focus
			FillListViewWithInfo()

			If $bFoundAcro32 = True Then
				MsgBox($MB_SYSTEMMODAL, "Information", "GenP does not patch the x32 bit version of Acrobat. Please use the x64 bit version of Acrobat.")
				LogWrite(1, "GenP does not patch the x32 bit version of Acrobat. Please use the x64 bit version of Acrobat.")
			EndIf

			ToggleLog(1)

			GUICtrlSetState($hLogTab, $GUI_SHOW)

		Case $idMsg = $idBtnRestore
			GUICtrlSetData($idLog, "Activity Log" & @CRLF)
			ToggleLog(0)
			GUICtrlSetState($idListview, 128)
			GUICtrlSetState($idBtnDeselectAll, 128)
			GUICtrlSetState($idButtonSearch, 128)
			GUICtrlSetState($idBtnCure, 128)
			GUICtrlSetState($idBtnBlockPopUp, 128)
			GUICtrlSetState($idBtnRestore, 128)
			GUICtrlSetState($idButtonCustomFolder, 128)
			_Expand_All_Click()
			_GUICtrlListView_EnsureVisible($idListview, 0, 0)

			Local $ItemFromList, $iCheckedItems, $iProgress
			For $i = 0 To _GUICtrlListView_GetItemCount($idListview) - 1

				If _GUICtrlListView_GetItemChecked($idListview, $i) = True Then

					_GUICtrlListView_SetItemSelected($idListview, $i)

					$ItemFromList = _GUICtrlListView_GetItemText($idListview, $i, 1)
					$iCheckedItems = _GUICtrlListView_GetSelectedCount($idListview)
					$iProgress = 100 / $iCheckedItems
					ProgressWrite(0)
					RestoreFile($ItemFromList)

					ProgressWrite($iProgress)
					Sleep(100)
					MemoWrite(@CRLF & "Path" & @CRLF & "---" & @CRLF & $ItemFromList & @CRLF & "---" & @CRLF & "restoring :)")
					Sleep(100)

					; Scroll control 10 pixels - 1 line
					_GUICtrlListView_Scroll($idListview, 0, 10)
					_GUICtrlListView_EnsureVisible($idListview, $i, 0)
					Sleep(100)

				EndIf

				_GUICtrlListView_SetItemChecked($idListview, $i, False)
			Next

			_GUICtrlListView_DeleteAllItems($g_idListview)
			_GUICtrlListView_SetExtendedListViewStyle($idListview, BitOR($LVS_EX_FULLROWSELECT, $LVS_EX_GRIDLINES, $LVS_EX_DOUBLEBUFFER))

			_GUICtrlListView_RemoveAllGroups($idListview)
			_GUICtrlListView_InsertGroup($idListview, -1, 1, "", 1)    ; Group 1
			_GUICtrlListView_SetGroupInfo($idListview, 1, "Info", 1, $LVGS_COLLAPSIBLE)

			MemoWrite(@CRLF & "Path" & @CRLF & "---" & @CRLF & $MyDefPath & @CRLF & "---" & @CRLF & "waiting for user action")
			GUICtrlSetState($idListview, 64)
			GUICtrlSetState($idButtonCustomFolder, 64)
			GUICtrlSetState($idBtnBlockPopUp, 64)
			GUICtrlSetState($idBtnBlockPopUp, $GUI_SHOW)
			GUICtrlSetState($idBtnRestore, $GUI_HIDE)
			GUICtrlSetState($idBtnRestore, 64)
			GUICtrlSetState($idBtnCure, 128)
			GUICtrlSetState($idButtonSearch, 64)
			GUICtrlSetState($idButtonSearch, 256)     ; Set focus
			FillListViewWithInfo()

			ToggleLog(1)

		Case $idMsg = $idBtnCopyLog
			SendToClipBoard()

		Case $idMsg = $idFindACC
			If _IsChecked($idFindACC) Then
				$bFindACC = 1
			Else
				$bFindACC = 0
			EndIf

		Case $idMsg = $idEnableMD5
			If _IsChecked($idEnableMD5) Then
				$bEnableMD5 = 1
			Else
				$bEnableMD5 = 0
			EndIf

		Case $idMsg = $idOnlyAdobeFolders
			If _IsChecked($idOnlyAdobeFolders) Then
				$bOnlyAdobeFolders = 1
			Else
				$bOnlyAdobeFolders = 0
			EndIf

		Case $idMsg = $idUseCustomDomains
			GUICtrlSetState($idBtnBlockPopUp, 64)
			If _IsChecked($idUseCustomDomains) Then
				$bUseCustomDomains = 1
				If Not StringInStr(GUICtrlRead($idCustomDomainsInput), ".adobestats.io") Then
					GUICtrlSetData($idCustomDomainsInput, "8eptecerpq.adobestats.io" & @CRLF & "xa8g202i4u.adobestats.io")
				EndIf
			Else
				$bUseCustomDomains = 0
			EndIf

		Case $idMsg = $idBtnSaveOptions
			SaveOptionsToConfig()

		Case $idMsg = $idBtnDestroyAGS
			DestroyAGS()

		Case $idMsg = $idBtnEditHosts
			EditHosts()

		Case $idMsg = $idBtnRestoreHosts
			RestoreHosts()

		Case $idMsg = $idBtnCleanFirewall
			CleanFirewall()

		Case $idMsg = $idBtnOpenWF
			OpenWF()

		Case $idMsg = $idBtnEnableDisableWF
			EnableDisableWFRules()

	EndSelect
WEnd


Func MainGui()
	$MyhGUI = GUICreate($g_AppWndTitle, 595, 710, -1, -1, BitOR($WS_MAXIMIZEBOX, $WS_MINIMIZEBOX, $WS_SIZEBOX, $GUI_SS_DEFAULT_GUI))
	$hTab = GUICtrlCreateTab(0, 1, 597, 710)

	$hMainTab = GUICtrlCreateTabItem("Main")
	$idListview = GUICtrlCreateListView("", 10, 35, 575, 555)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)
	$g_idListview = GUICtrlGetHandle($idListview) ; get the handle for use in the notify events
	_GUICtrlListView_SetExtendedListViewStyle($idListview, BitOR($LVS_EX_FULLROWSELECT, $LVS_EX_GRIDLINES, $LVS_EX_DOUBLEBUFFER, $LVS_EX_CHECKBOXES))

	; Add columns
	_GUICtrlListView_SetItemCount($idListview, UBound($FilesToPatch))
	_GUICtrlListView_AddColumn($idListview, "", 20)
	_GUICtrlListView_AddColumn($idListview, "For collapsing or expanding all groups, please click here", 532, 2)

	; Build groups
	_GUICtrlListView_EnableGroupView($idListview)
	_GUICtrlListView_InsertGroup($idListview, -1, 1, "", 1) ; Group 1
	_GUICtrlListView_SetGroupInfo($idListview, 1, "Info", 1, $LVGS_COLLAPSIBLE)

	FillListViewWithInfo()

	$idButtonCustomFolder = GUICtrlCreateButton("Path", 10, 630, 80, 30)
	GUICtrlSetTip(-1, "Select Path that You want -> press Search -> press Patch button")
	GUICtrlSetImage(-1, "imageres.dll", -4, 0)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idButtonSearch = GUICtrlCreateButton("Search", 110, 630, 80, 30)
	GUICtrlSetTip(-1, "Let GenP find Apps automatically in current path")
	GUICtrlSetImage(-1, "imageres.dll", -8, 0)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idButtonStop = GUICtrlCreateButton("Stop", 110, 630, 80, 30)
	GUICtrlSetState(-1, $GUI_HIDE)
	GUICtrlSetTip(-1, "Stop searching for Apps")
	GUICtrlSetImage(-1, "imageres.dll", -8, 0)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idBtnDeselectAll = GUICtrlCreateButton("De/Select", 210, 630, 80, 30)
	GUICtrlSetState(-1, $GUI_DISABLE)
	GUICtrlSetTip(-1, "De/Select All files")
	GUICtrlSetImage(-1, "imageres.dll", -76, 0)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idBtnCure = GUICtrlCreateButton("Patch", 305, 630, 80, 30)
	GUICtrlSetState(-1, $GUI_DISABLE)
	GUICtrlSetTip(-1, "Patch all selected files")
	GUICtrlSetImage(-1, "imageres.dll", -102, 0)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idBtnBlockPopUp = GUICtrlCreateButton("Pop-up", 405, 630, 80, 30)
	GUICtrlSetTip(-1, "Block Unlicensed Pop-up by creating Windows Firewall Rule")
	GUICtrlSetImage(-1, "imageres.dll", -101, 0)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idBtnRestore = GUICtrlCreateButton("Restore", 405, 630, 80, 30)
	GUICtrlSetState(-1, $GUI_HIDE)
	GUICtrlSetTip(-1, "Restore Original Files")
	GUICtrlSetImage(-1, "imageres.dll", -113, 0)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idBtnRunasTI = GUICtrlCreateButton("Runas TI", 505, 630, 80, 30)
	GUICtrlSetImage(-1, "imageres.dll", -74, 0)
	If (@UserName = "SYSTEM") Then
		GUICtrlSetState(-1, $GUI_DISABLE)
	EndIf
	GUICtrlSetTip(-1, "Run as Trusted Installer")
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idProgressBar = GUICtrlCreateProgress(10, 597, 575, 25, $PBS_SMOOTHREVERSE)
	GUICtrlSetResizing(-1, $GUI_DOCKVCENTER)

	GUICtrlCreateLabel($g_AppVersion, 10, 677, 575, 25, $ES_CENTER)
	GUICtrlSetResizing(-1, $GUI_DOCKBOTTOM)
	GUICtrlCreateTabItem("")

	$hOptionsTab = GUICtrlCreateTabItem("Options")

	$idFindACC = GUICtrlCreateCheckbox("Always search for ACC", 10, 50, 300, 25, BitOR($BS_AUTOCHECKBOX, $BS_LEFT))
	If $bFindACC = 1 Then
		GUICtrlSetState($idFindACC, $GUI_CHECKED)
	Else
		GUICtrlSetState($idFindACC, $GUI_UNCHECKED)
	EndIf
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idEnableMD5 = GUICtrlCreateCheckbox("Enable MD5 Checksum", 10, 90, 300, 25, BitOR($BS_AUTOCHECKBOX, $BS_LEFT))
	If $bEnableMD5 = 1 Then
		GUICtrlSetState($idEnableMD5, $GUI_CHECKED)
	Else
		GUICtrlSetState($idEnableMD5, $GUI_UNCHECKED)
	EndIf
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idOnlyAdobeFolders = GUICtrlCreateCheckbox("Only find files in Adobe or Acrobat folders", 10, 130, 300, 25, BitOR($BS_AUTOCHECKBOX, $BS_LEFT))
	If $bOnlyAdobeFolders = 1 Then
		GUICtrlSetState($idOnlyAdobeFolders, $GUI_CHECKED)
	Else
		GUICtrlSetState($idOnlyAdobeFolders, $GUI_UNCHECKED)
	EndIf
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idUseCustomDomains = GUICtrlCreateCheckbox("Only use domains below for pop-up blocker", 10, 170, 300, 25, BitOR($BS_AUTOCHECKBOX, $BS_LEFT))
	If $bUseCustomDomains = 1 Then
		GUICtrlSetState($idUseCustomDomains, $GUI_CHECKED)
	Else
		GUICtrlSetState($idUseCustomDomains, $GUI_UNCHECKED)
	EndIf
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idCustomDomainsInput = GUICtrlCreateInput("Custom Domains", 10, 195, 288, 150, BitOR($ES_MULTILINE, $ES_LEFT, $ES_WANTRETURN))
	GUICtrlSetResizing(-1, $GUI_DOCKVCENTER)
	GUICtrlSetData($idCustomDomainsInput, StringReplace(StringReplace($sCustomDomains, ",", @CRLF), "'", ""))

	$idBtnSaveOptions = GUICtrlCreateButton("Save Options", 247, 630, 100, 30)
	GUICtrlSetTip(-1, "Save Options to config.ini")
	GUICtrlSetImage(-1, "imageres.dll", 5358, 0)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)
	GUICtrlCreateTabItem("")

	$hPopupTab = GUICtrlCreateTabItem("Pop-up Tools")

	$sDestroyAGSText = "ADOBE GENUINE SERVICES REMOVAL" & @CRLF & @CRLF & _
			"Many times, the unlicensed pop-up you are getting is due to AGS." & @CRLF & _
			"You really don't want it on your system spying on you. So, just nuke it!" & @CRLF & _
			"This runs a quick script to stop and remove the services and files associated with AGS." & @CRLF & _
			"Before you go blocking pop-ups, make sure you need to. Nuke AGS. See if pop-up is gone ;)"

	$idLabelDestroyAGS = GUICtrlCreateLabel($sDestroyAGSText, 10, 50, 575, 90, $ES_CENTER)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idBtnDestroyAGS = GUICtrlCreateButton("Destroy AGS", 235, 150, 140, 30)
	GUICtrlSetTip(-1, "Totally remove AGS from your system.")
	;GUICtrlSetImage(-1, "imageres.dll", 167, 0)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$sEditHostsText = "EDIT HOSTS" & @CRLF & @CRLF & _
			"Before running the pop-up blocker, you need a clean hosts file. (No adobe rules!)" & @CRLF & _
			"Be very careful editing hosts file. You'll find it at C:\Windows\System32\drivers\etc\hosts." & @CRLF & _
			"Disable rules by putting a # in front of the rule (# comments the rule out). If things work as expected, remove the rule." & @CRLF & _
			"Be sure to save the hosts file when done editing. We make a backup just in case you mess up ;)"

	$idLabelEditHosts = GUICtrlCreateLabel($sEditHostsText, 10, 200, 575, 90, $ES_CENTER)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idBtnEditHosts = GUICtrlCreateButton("Edit Hosts", 155, 300, 140, 30)
	GUICtrlSetTip(-1, "Open hosts file for editing in notepad.")
	;GUICtrlSetImage(-1, "imageres.dll", 15, 0)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idBtnRestoreHosts = GUICtrlCreateButton("Restore Hosts", 315, 300, 140, 30)
	GUICtrlSetState($idBtnRestoreHosts, $GUI_DISABLE)
	GUICtrlSetTip(-1, "Restore hosts backup. Available after editing hosts file.")
	;GUICtrlSetImage(-1, "imageres.dll", 15, 0)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$sCleanFirewallText = "CLEAN WINDOWS FIREWALL" & @CRLF & @CRLF & _
			"If you have used GenP in the past, or experience problems with internet access" & @CRLF & _
			"this will remove any OUTBOUND BLOCK rules that GenP created." & @CRLF & _
			"This enables you know you have a clean start, and allows ACC correct access for updates." & @CRLF & _
			"You can always run pop-up blocker to add rules back if necessary ;)"

	$idLabelCleanFirewall = GUICtrlCreateLabel($sCleanFirewallText, 10, 350, 575, 90, $ES_CENTER)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)


	$idBtnCleanFirewall = GUICtrlCreateButton("Clean Firewall", 235, 450, 140, 30)
	GUICtrlSetTip(-1, "Remove all Windows Firewall Rules created by GenP.")
	;GUICtrlSetImage(-1, "imageres.dll", 15, 0)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idBtnOpenWF = GUICtrlCreateButton("Open Windows Firewall", 155, 500, 140, 30)
	GUICtrlSetTip(-1, "Open Windows Firewall to check settings.")
	;GUICtrlSetImage(-1, "imageres.dll", 15, 0)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	$idBtnEnableDisableWF = GUICtrlCreateButton("Enable/Disable Rules", 315, 500, 140, 30)
	GUICtrlSetTip(-1, "Toggle state of Windows Firewall OUTBOUND BLOCK rules with ADOBE in their name.")
	;GUICtrlSetImage(-1, "imageres.dll", 15, 0)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	GUICtrlCreateTabItem("")

	$hLogTab = GUICtrlCreateTabItem("Log")
	$idMemo = GUICtrlCreateEdit("", 10, 35, 575, 555, BitOR($ES_READONLY, $ES_CENTER, $WS_DISABLED))
	GUICtrlSetResizing(-1, $GUI_DOCKVCENTER)

	$idLog = GUICtrlCreateEdit("", 10, 35, 575, 555, BitOR($WS_VSCROLL, $ES_AUTOVSCROLL, $ES_READONLY))
	GUICtrlSetResizing(-1, $GUI_DOCKVCENTER)
	GUICtrlSetState($idLog, $GUI_HIDE)
	GUICtrlSetData($idLog, "Activity Log" & @CRLF)

	$idBtnCopyLog = GUICtrlCreateButton("Copy", 257, 630, 80, 30)
	GUICtrlSetTip(-1, "Copy log to the clipboard")
	GUICtrlSetImage(-1, "imageres.dll", -77, 0)
	GUICtrlSetResizing(-1, $GUI_DOCKAUTO)

	GUICtrlCreateLabel($g_AppVersion, 10, 677, 575, 25, $ES_CENTER)
	GUICtrlSetResizing(-1, $GUI_DOCKBOTTOM)
	GUICtrlCreateTabItem("")

	MemoWrite(@CRLF & "Path" & @CRLF & "---" & @CRLF & $MyDefPath & @CRLF & "---" & @CRLF & "Waiting for user action.")

	GUICtrlSetState($idButtonSearch, 256) ; Set focus
	GUISetState(@SW_SHOW)

	GUIRegisterMsg($WM_NOTIFY, "WM_NOTIFY")
EndFunc   ;==>MainGui

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...