I tried now the patch the programm itself.
HL_LOGIN, HL_AVAIL, HL_READ...
are succesfully patched.
Now I have the problem with the HL_CODE.
I just patched the status register (eax=0).
With dongle the software starts without any problems.
Without dongle it crashs with the messag:
LPM004: Licence could not be found!......
Ollydebugger is showing me a fatal error...
How can I reverse the .dat file of the dongle dump to implement the algo?
Also I don't understand the OUT-IN of the HL_CODE. What registers are used to send the data to the hlvdd.dll? Where is the returned data of the dongle?
Here the Link to the dump:
http://rapidshare.de/files/30697711/RSLogix.rar.html
Please Help!
Code:
HL_CODE
OUT
EAX 0090F990
ECX 04940011 hlvdd.04940011
EDX 00FE0EA8 OFFSET LC32TOOL.u__17LCtHardLockHandle
EBX 0494381A ASCII "VWè¿#"
ESP 0090F95C
EBP 0090F9B0
ESI 0492B0D0
EDI 00FE0EA8 OFFSET LC32TOOL.u__17LCtHardLockHandle
EIP 00F0BFA5 LC32TOOL.00F0BFA5
C 0 ES 0023 32bit 0(FFFFFFFF)
P 0 CS 001B 32bit 0(FFFFFFFF)
A 1 SS 0023 32bit 0(FFFFFFFF)
Z 0 DS 0023 32bit 0(FFFFFFFF)
S 0 FS 003B 32bit 7FFDF000(FFF)
T 0 GS 0000 NULL
D 0
O 0 LastErr ERROR_SUCCESS (00000000)
EFL 00000212 (NO,NB,NE,A,NS,PO,GE,G)
ST0 empty -??? FFFF 00FF00FF 00FF00FF
ST1 empty -??? FFFF 00FF00FF 00FF00FF
ST2 empty -??? FFFF 000000D3 00CF00C7
ST3 empty -??? FFFF 000000D3 00CF00C7
ST4 empty -??? FFFF 00D4D0C8 00D4D0C8
ST5 empty 190.00000000000000000
ST6 empty 258.00000000000000000
ST7 empty 208.50000000000000000
3 2 1 0 E S P U O Z D I
FST 0000 Cond 0 0 0 0 Err 0 0 0 0 0 0 0 0 (GT)
FCW 0362 Prec NEAR,64 Mask 1 0 0 0 1 0
IN
EAX 00000000
ECX 7FFDA000
EDX 0496B920 hlvdd.0496B920
EBX 0492B1D0
ESP 0090F964
EBP 0090F9B0
ESI 0492B0D0
EDI 00FE0EA8 OFFSET LC32TOOL.u__17LCtHardLockHandle
EIP 00F0BFAA LC32TOOL.00F0BFAA
C 0 ES 0023 32bit 0(FFFFFFFF)
P 1 CS 001B 32bit 0(FFFFFFFF)
A 1 SS 0023 32bit 0(FFFFFFFF)
Z 0 DS 0023 32bit 0(FFFFFFFF)
S 1 FS 003B 32bit 7FFDF000(FFF)
T 0 GS 0000 NULL
D 0
O 0 LastErr ERROR_SUCCESS (00000000)
EFL 00000296 (NO,NB,NE,A,S,PE,L,LE)
ST0 empty -??? FFFF 00FF00FF 00FF00FF
ST1 empty -??? FFFF 00FF00FF 00FF00FF
ST2 empty -??? FFFF 000000D3 00CF00C7
ST3 empty -??? FFFF 000000D3 00CF00C7
ST4 empty -??? FFFF 00D4D0C8 00D4D0C8
ST5 empty 190.00000000000000000
ST6 empty 258.00000000000000000
ST7 empty 208.50000000000000000
3 2 1 0 E S P U O Z D I
FST 0000 Cond 0 0 0 0 Err 0 0 0 0 0 0 0 0 (GT)
FCW 0362 Prec NEAR,64 Mask 1 0 0 0 1 0