debugxv - how to use I/O watchpoint? (Users)
> I have quickly found the code I'm fighting with:
>
> PROC Cyrix52method
> cmp [CPUclass],4
> jnz Not486instrSupport
> xor ax,ax
> sahf
> mov ax,5
> mov bl,2
> div bl
> lahf
> cmp ah,bl
> jne Not486instrSupport
> mov [cyrix52detect],1
> mov si,offset cyrix
> mov [NumRepCPUVendor],si
> call colorstr6x8
> cli
> mov al,0FEh
> out 22h,al
> in al,23h
> sti
>
Link to that code in the repo: https://github.com/bttrx/speedsys/blob/6e070ee29f0...d50d818793b6f51e4a68441/src/SPEEDSYS.ASM#L10669
You mentioned that the executable that you've used is packed:
> Now I'd like to know how to patch (skip)
> this IO access at runtime by some TSR or
> loader as I cannot patch the EXE coz it's
> encrypted or packed by unknown exe
> packer... Speedsys checks for V86 mode and
> complains about it (can run but very
> limitest tests available)
If it's created by speedin1 then it's just a DOS/EXE UPX with the "UPX!" signature (offset 55h) and the depacked size (offset 6Bh) hacked. You can restore the signature manually then adjust the checksum (offset 6Fh). UPXDUMP can tell you the current and expected checksum. After hacking the size and checksum to mirror the speedin1 modification I was able to unpack an executable using upx-ucl -d test.exe
, despite the wrong size field.
---
l
Complete thread:
- debugxv - how to use I/O watchpoint? - RayeR, 08.04.2025, 10:44 (Users)
- debugxv - how to use I/O watchpoint? - Japheth, 08.04.2025, 12:30
- debugxv - how to use I/O watchpoint? - RayeR, 08.04.2025, 14:11
- debugxv - how to use I/O watchpoint? - Japheth, 09.04.2025, 05:53
- debugxv - how to use I/O watchpoint? - RayeR, 09.04.2025, 11:19
- debugxv - how to use I/O watchpoint? - Japheth, 09.04.2025, 16:33
- debugxv - how to use I/O watchpoint? - RayeR, 09.04.2025, 20:08
- debugxv - how to use I/O watchpoint? - RayeR, 11.04.2025, 06:14
- debugxv - how to use I/O watchpoint? - Japheth, 11.04.2025, 09:10
- debugxv - how to use I/O watchpoint? - RayeR, 12.04.2025, 05:59
- debugxv - how to use I/O watchpoint? - Japheth, 12.04.2025, 09:16
- debugxv - how to use I/O watchpoint? - RayeR, 12.04.2025, 15:02
- debugxv - how to use I/O watchpoint? - Japheth, 12.04.2025, 16:58
- debugxv - how to use I/O watchpoint? - rr, 12.04.2025, 18:10
- debugxv - how to use I/O watchpoint? - rr, 12.04.2025, 19:05
- debugxv - how to use I/O watchpoint? - rr, 12.04.2025, 20:11
- debugxv - how to use I/O watchpoint? - RayeR, 13.04.2025, 07:12
- debugxv - how to use I/O watchpoint? - ecm, 13.04.2025, 14:13
- speedsys.exe packed - ecm, 13.04.2025, 14:25
- speedsys.exe packed - ecm, 13.04.2025, 14:32
- speedsys.exe packed - RayeR, 15.04.2025, 06:43
- speedsys.exe packed - ecm, 13.04.2025, 14:32
- speedsys.exe packed - ecm, 13.04.2025, 14:25
- debugxv - how to use I/O watchpoint? - ecm, 13.04.2025, 14:13
- debugxv - how to use I/O watchpoint? - rr, 12.04.2025, 19:05
- debugxv - how to use I/O watchpoint? - Japheth, 12.04.2025, 09:16
- debugxv - how to use I/O watchpoint? - RayeR, 12.04.2025, 05:59
- debugxv - how to use I/O watchpoint? - Japheth, 11.04.2025, 09:10
- debugxv - how to use I/O watchpoint? - Japheth, 09.04.2025, 16:33
- debugxv - how to use I/O watchpoint? - tom, 09.04.2025, 21:06
- debugxv - how to use I/O watchpoint? - Japheth, 10.04.2025, 13:14
- debugxv - how to use I/O watchpoint? - tom, 10.04.2025, 18:27
- debugxv - how to use I/O watchpoint? - Japheth, 10.04.2025, 13:14
- debugxv - how to use I/O watchpoint? - RayeR, 09.04.2025, 11:19
- debugxv - how to use I/O watchpoint? - Japheth, 09.04.2025, 05:53
- debugxv - how to use I/O watchpoint? - RayeR, 09.04.2025, 02:58
- debugxv - how to use I/O watchpoint? - Japheth, 09.04.2025, 05:50
- debugxv - how to use I/O watchpoint? - RayeR, 08.04.2025, 14:11
- debugxv - how to use I/O watchpoint? - Japheth, 08.04.2025, 12:30