
4.46 patched

.text:00504988                      loc_504988:                             ; CODE XREF: ScanFunc+469j
.text:00504988 A3 18 45 53 00                       mov     dword_534518, eax
.text:0050498D
.text:0050498D                      loc_50498D:                             ; CODE XREF: ScanFunc+3DBj
.text:0050498D A1 18 45 53 00                       mov     eax, dword_534518
.text:00504992 C1 E8 0B                             shr     eax, 0Bh
.text:00504995 3D FF 00 00 00                       cmp     eax, 0FFh
.text:0050499A 76 05                                jbe     short loc_5049A1
.text:0050499C B8 FF 00 00 00                       mov     eax, 0FFh       // <--- original: "call  Error_TRuntimeError"
.text:005049A1
.text:005049A1                      loc_5049A1:                             ; CODE XREF: ScanFunc+482j
.text:005049A1 A2 6B 74 53 00                       mov     _ttt, al
.text:005049A6 A1 80 48 53 00                       mov     eax, lpAccessMode
.text:005049AB 80 38 03                             cmp     byte ptr [eax], 3
.text:005049AE 74 17                                jz      short loc_5049C7
.text:005049B0 A1 08 4A 53 00                       mov     eax, off_534A08
.text:005049B5 8B 00                                mov     eax, [eax]
.text:005049B7 8B 80 D4 06 00 00                    mov     eax, [eax+6D4h]




