NOTICE: Registration to this forum requires manual admin activation. After registering, visit https://bitsum.com/contact/ after registration to request account activation.
Func _GetProcAddress($hModule, $FunctionName) $call = DllCall("Kernel32.dll", "ptr", "GetProcAddress", "ptr", $hModule, "str", $FunctionName) Return $call[0]EndFuncFunc _IsPackedWithPECompact() If _GetProcAddress(-1, "PEC2_IsPacked") <> 0 Then Return True Else Return False EndIfEndFunc
FYIpec2hooks_ispacked.dll & AutoItCode: [Select]Func _GetProcAddress($hModule, $FunctionName) $call = DllCall("Kernel32.dll", "ptr", "GetProcAddress", "ptr", $hModule, "str", $FunctionName) Return $call[0]EndFuncFunc _IsPackedWithPECompact() If _GetProcAddress(-1, "PEC2_IsPacked") <> 0 Then Return True Else Return False EndIfEndFunc