	.386p
	ifndef	??version
?debug	macro
	endm
publicdll macro	name
	public	name
	endm
	endif
	?debug	V 300h
	?debug	S "REMOTE_N.CPP"
	?debug	C E9BC75AD3A0C52454D4F54455F4E2E435050
	?debug	C E9235C334719433A5C424333315C494E434C554445325C53594D42+
	?debug	C 4F4C2E48
	?debug	C E972A3413919433A5C424333315C494E434C554445325C4249544D+
	?debug	C 41502E48
	?debug	C E91A56CA3417433A5C424333315C494E434C554445325C49434F4E+
	?debug	C 2E48
	?debug	C E9D271443916433A5C424333315C494E434C554445325C4749462E+
	?debug	C 48
	?debug	C E996A48B4219433A5C424333315C494E434C554445325C4D454D4F+
	?debug	C 52592E48
	?debug	C E94019CA1818433A5C424333315C494E434C5544455C5354444C49+
	?debug	C 422E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C5F44454653+
	?debug	C 2E48
	?debug	C E94019CA1815433A5C424333315C494E434C5544455C444F532E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C535444494F+
	?debug	C 2E48
	?debug	C E94019CA1818433A5C424333315C494E434C5544455C5F4E46494C+
	?debug	C 452E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C434F4E494F+
	?debug	C 2E48
	?debug	C E94019CA181B433A5C424333315C494E434C5544455C5359535C5C+
	?debug	C 535441542E48
	?debug	C E98881753917433A5C424333315C494E434C554445325C4A504547+
	?debug	C 2E48
	?debug	C E9E94C7C4F1A433A5C424333315C494E434C554445325C50524956+
	?debug	C 4154452E48
	?debug	C E9E258824F1A433A5C424333315C494E434C554445325C4D594652+
	?debug	C 414D452E48
	?debug	C E94019CA1818433A5C424333315C494E434C5544455C5354444C49+
	?debug	C 422E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C535444494F+
	?debug	C 2E48
	?debug	C E94019CA1816433A5C424333315C494E434C5544455C42494F532E+
	?debug	C 48
	?debug	C E94019CA1814433A5C424333315C494E434C5544455C494F2E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C434F4E494F+
	?debug	C 2E48
	?debug	C E94019CA181A433A5C424333315C494E434C5544455C4752415048+
	?debug	C 4943532E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C414C4C4F43+
	?debug	C 2E48
	?debug	C E94019CA1815433A5C424333315C494E434C5544455C4449522E48
	?debug	C E94019CA1818433A5C424333315C494E434C5544455C535452494E+
	?debug	C 472E48
	?debug	C E94019CA1815433A5C424333315C494E434C5544455C444F532E48
	?debug	C E94019CA1816433A5C424333315C494E434C5544455C54494D452E+
	?debug	C 48
	?debug	C E94019CA1816433A5C424333315C494E434C5544455C4D4154482E+
	?debug	C 48
	?debug	C E94019CA1818433A5C424333315C494E434C5544455C4D414C4C4F+
	?debug	C 432E48
	?debug	C E94019CA1817433A5C424333315C494E434C5544455C414C4C4F43+
	?debug	C 2E48
	?debug	C E9235C334719433A5C424333315C494E434C554445325C53594D42+
	?debug	C 4F4C2E48
	?debug	C E97762234018433A5C424333315C494E434C554445325C4D4F5553+
	?debug	C 452E48
	?debug	C E996A48B4219433A5C424333315C494E434C554445325C4D454D4F+
	?debug	C 52592E48
	?debug	C E93851453A17433A5C424333315C494E434C554445325C464F4E54+
	?debug	C 2E48
	?debug	C E9654661411B433A5C424333315C494E434C554445325C48474C47+
	?debug	C 505249542E48
	?debug	C E996A48B4219433A5C424333315C494E434C554445325C4D454D4F+
	?debug	C 52592E48
	?debug	C E9BC5039391B433A5C424333315C494E434C554445325C52454749+
	?debug	C 535445522E48
	?debug	C E9235C334719433A5C424333315C494E434C554445325C53594D42+
	?debug	C 4F4C2E48
	?debug	C E9D353E23A1A433A5C424333315C494E434C554445325C4C495354+
	?debug	C 494E472E48
	?debug	C E9D353E23A1A433A5C424333315C494E434C554445325C4C495354+
	?debug	C 494E472E48
	?debug	C E9D4A5D9401B433A5C424333315C494E434C554445325C53564741+
	?debug	C 5F4445562E48
	?debug	C E98950FD3E17433A5C424333315C494E434C554445325C56424533+
	?debug	C 2E48
	?debug	C E9235C334719433A5C424333315C494E434C554445325C53594D42+
	?debug	C 4F4C2E48
	?debug	C E9DA89FB4619433A5C424333315C494E434C554445325C4B45524E+
	?debug	C 454C2E48
	?debug	C E94019CA1816433A5C424333315C494E434C5544455C54494D452E+
	?debug	C 48
	?debug	C E9C76B384F18433A5C424333315C494E434C554445325C47524150+
	?debug	C 482E48
	?debug	C E9F8B829451A433A5C424333315C494E434C554445325C534F434B+
	?debug	C 4554332E48
	?debug	C E9235C334719433A5C424333315C494E434C554445325C53594D42+
	?debug	C 4F4C2E48
	?debug	C E996A48B4219433A5C424333315C494E434C554445325C4D454D4F+
	?debug	C 52592E48
	?debug	C E9A454E23A1A433A5C424333315C494E434C554445325C534F434B+
	?debug	C 4554352E48
	?debug	C E92DAB29451A433A5C424333315C494E434C554445325C534F434B+
	?debug	C 4554342E48
	?debug	C E9F8B829451A433A5C424333315C494E434C554445325C534F434B+
	?debug	C 4554332E48
	?debug	C E92258714F1A433A5C424333315C494E434C554445325C4E45574D+
	?debug	C 4154482E48
	?debug	C E9A8548B4319433A5C424333315C494E434C554445325C53504C49+
	?debug	C 4E452E48
	?debug	C E91D51E23A19433A5C424333315C494E434C554445325C57495A41+
	?debug	C 52442E48
	?debug	C E9F8B829451A433A5C424333315C494E434C554445325C534F434B+
	?debug	C 4554332E48
REMOTE_N_TEXT	segment byte public use16 'CODE'
REMOTE_N_TEXT	ends
DGROUP	group	_DATA,_BSS
	assume	cs:REMOTE_N_TEXT,ds:DGROUP
_DATA	segment word public use16 'DATA'
d@	label	byte
d@w	label	word
_DATA	ends
_BSS	segment word public use16 'BSS'
b@	label	byte
b@w	label	word
_BSS	ends
_DATA	segment word public use16 'DATA'
___pRemote_UnknowFc	label	dword
	db	0
	db	0
	db	0
	db	0
___QQ_RECV_FC	label	dword
	db	0
	db	0
	db	0
	db	0
___QQ_RECV_Param	label	word
	db	0
	db	0
	db	0
	db	0
_mIpQQAddr	label	byte
	db	169
	db	254
	db	82
	db	134
_wAfxRemoteSocket	label	word
	db	56
	db	24
_hAfxRemoteSocket	label	word
	db	255
	db	255
_DATA	ends
REMOTE_N_TEXT	segment byte public use16 'CODE'
	assume	cs:REMOTE_N_TEXT
@DoWithReceiveFile$qinxzc	proc	far
	enter	66,0
	push	ds
	push	offset DGROUP:s@+1
	push	ss
	lea	ax,word ptr [bp-66]
	push	ax
	call	far ptr _sprintf
	add	sp,8
	push	dword ptr [bp+8]
	call	far ptr __fstrlen
	add	sp,4
	cmp	ax,30
	jbe	short @1@86
	push	30
	push	dword ptr [bp+8]
	push	ss
	lea	ax,word ptr [bp-60]
	push	ax
	call	far ptr __fmemcpy
	add	sp,10
	mov	byte ptr [bp-33],46
	mov	byte ptr [bp-32],46
	mov	byte ptr [bp-31],46
	mov	byte ptr [bp-30],0
	jmp	short @1@114
@1@86:
	push	dword ptr [bp+8]
	push	ss
	lea	ax,word ptr [bp-66]
	push	ax
	call	far ptr __fstrcat
	add	sp,8
@1@114:
	cmp	word ptr [bp+6],0
	je	short @1@170
	mov	dx,ds
	mov	ax,offset DGROUP:s@+8
	jmp	short @1@198
@1@170:
	mov	dx,ds
	mov	ax,offset DGROUP:s@+17
@1@198:
	mov	word ptr [bp-2],dx
	mov	word ptr [bp-4],ax
	push	large 0
	call	far ptr @CDialog@$bctr$qv
	add	sp,4
	mov	word ptr [bp-6],dx
	mov	word ptr [bp-8],ax
	push	dword ptr [bp-4]
	push	large 0006E0140h
	push	large 0
	push	dx
	push	ax
	call	far ptr @CWindow@CreateWindow$qiiiinxzc
	add	sp,16
	push	dword ptr [bp-8]
	call	far ptr @CWindow@Center$qv
	add	sp,4
	push	dword ptr [bp-8]
	push	large 0
	call	far ptr @CLabel@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-10],dx
	mov	word ptr [bp-12],ax
	push	ss
	lea	ax,word ptr [bp-66]
	push	ax
	push	large 0000C00A8h
	push	large 00028000Dh
	push	dx
	push	word ptr [bp-12]
	call	far ptr @CObject@CreateObject$qiiiinxzc
	add	sp,16
	push	1001
	push	dword ptr [bp-12]
	call	far ptr @@CObject@SetID$qui
	add	sp,6
	push	dword ptr [bp-8]
	push	large 0
	call	far ptr @CProgressCtrl@$bctr$qn7CObject
	add	sp,8
	mov	word ptr [bp-14],dx
	mov	word ptr [bp-16],ax
	push	large 0
	push	large 00018011Dh
	push	large 0003E000Dh
	push	dx
	push	ax
	call	far ptr @CObject@CreateObject$qiiiinxzc
	add	sp,16
	push	25001
	push	dword ptr [bp-16]
	call	far ptr @@CObject@SetID$qui
	add	sp,6
	push	1
	push	dword ptr [bp-16]
	call	far ptr @@CProgressCtrl@SetHorz$qi
	add	sp,6
	push	large 10
	push	large 0
	push	dword ptr [bp-16]
	call	far ptr @CProgressCtrl@SetRange$qll
	add	sp,12
	push	large 1
	push	dword ptr [bp-8]
	call	far ptr @CWindow@ShowWindow$qul
	add	sp,8
	mov	dx,word ptr [bp-6]
	mov	ax,word ptr [bp-8]
	leave	
	ret	
@DoWithReceiveFile$qinxzc	endp
	assume	cs:REMOTE_N_TEXT
@Remote_RegisterUnknow$qnqnv$v	proc	far
	push	bp
	mov	bp,sp
	mov	eax,dword ptr [bp+6]
	mov	dword ptr DGROUP:___pRemote_UnknowFc,eax
	pop	bp
	ret	
@Remote_RegisterUnknow$qnqnv$v	endp
	assume	cs:REMOTE_N_TEXT
@RegisterQQ_RecvFC$qnqnzciulnuc$vul	proc	far
	push	bp
	mov	bp,sp
	mov	eax,dword ptr [bp+10]
	mov	dword ptr DGROUP:___QQ_RECV_Param,eax
	mov	eax,dword ptr [bp+6]
	mov	dword ptr DGROUP:___QQ_RECV_FC,eax
	pop	bp
	ret	
@RegisterQQ_RecvFC$qnqnzciulnuc$vul	endp
	assume	cs:REMOTE_N_TEXT
@SendRemoteOK$quin11sockaddr_in	proc	far
	enter	22,0
	push	large 000140000h
	push	ss
	lea	ax,word ptr [bp-22]
	push	ax
	call	far ptr __fmemset
	add	sp,8
	mov	word ptr [bp-22],00000A5A5h
	mov	word ptr [bp-20],20
	mov	word ptr [bp-18],7
	push	0
	push	word ptr [bp-20]
	push	ss
	lea	ax,word ptr [bp-22]
	push	ax
	call	far ptr @GetEthernetChecksum$qnuiii
	add	sp,8
	mov	word ptr [bp-4],ax
	push	16
	push	dword ptr [bp+8]
	push	0
	push	word ptr [bp-20]
	push	ss
	lea	ax,word ptr [bp-22]
	push	ax
	push	word ptr [bp+6]
	call	far ptr @sendto$quinxzciinx8sockaddri
	add	sp,16
	mov	word ptr [bp-2],ax
	cmp	word ptr [bp-2],-1
	jne	short @4@86
	xor	ax,ax
	jmp	short @4@114
@4@86:
	mov	ax,1
@4@114:
	leave	
	ret	
@SendRemoteOK$quin11sockaddr_in	endp
	assume	cs:REMOTE_N_TEXT
@SendRemoteFail$quin11sockaddr_in	proc	far
	enter	22,0
	push	large 000140000h
	push	ss
	lea	ax,word ptr [bp-22]
	push	ax
	call	far ptr __fmemset
	add	sp,8
	mov	word ptr [bp-22],00000A5A5h
	mov	word ptr [bp-20],20
	mov	word ptr [bp-18],8
	push	0
	push	word ptr [bp-20]
	push	ss
	lea	ax,word ptr [bp-22]
	push	ax
	call	far ptr @GetEthernetChecksum$qnuiii
	add	sp,8
	mov	word ptr [bp-4],ax
	push	16
	push	dword ptr [bp+8]
	push	0
	push	word ptr [bp-20]
	push	ss
	lea	ax,word ptr [bp-22]
	push	ax
	push	word ptr [bp+6]
	call	far ptr @sendto$quinxzciinx8sockaddri
	add	sp,16
	mov	word ptr [bp-2],ax
	cmp	word ptr [bp-2],-1
	jne	short @5@86
	xor	ax,ax
	jmp	short @5@114
@5@86:
	mov	ax,1
@5@114:
	leave	
	ret	
@SendRemoteFail$quin11sockaddr_in	endp
	assume	cs:REMOTE_N_TEXT
@ReceiveRemoteOK$quin11sockaddr_in	proc	far
	enter	40,0
	push	si
	mov	si,word ptr [bp+6]
	push	large 000140000h
	push	ss
	lea	ax,word ptr [bp-40]
	push	ax
	call	far ptr __fmemset
	add	sp,8
	push	large 0
	push	large 0
	push	large 0
	push	large 5000
	push	1
	push	si
	call	far ptr @QueryNetcardPage$quiiulnuln12tagIP_HEADERn15ETHERNET_HEADER
	add	sp,20
	or	ax,ax
	jne	short @6@86
@6@58:
	xor	ax,ax
	jmp	short @6@310
@6@86:
	mov	word ptr [bp-4],16
	push	ss
	lea	ax,word ptr [bp-4]
	push	ax
	push	ss
	lea	ax,word ptr [bp-20]
	push	ax
	push	large 20
	push	ss
	lea	ax,word ptr [bp-40]
	push	ax
	push	si
	call	far ptr @recvfrom$quinzciin8sockaddrni
	add	sp,18
	mov	word ptr [bp-2],ax
	cmp	word ptr [bp-2],20
	jne	short @6@58
	cmp	word ptr [bp-40],00000A5A5h
	jne	short @6@58
	cmp	word ptr [bp-38],20
	jne	short @6@58
	cmp	word ptr [bp-36],7
	jne	short @6@58
	push	0
	push	word ptr [bp-38]
	push	ss
	lea	ax,word ptr [bp-40]
	push	ax
	call	far ptr @GetEthernetChecksum$qnuiii
	add	sp,8
	or	ax,ax
	jne	short @6@58
	les	bx,dword ptr [bp+8]
	mov	ax,word ptr es:[bx+2]
	cmp	ax,word ptr [bp-18]
	jne	short @6@58
	mov	eax,dword ptr es:[bx+4]
	cmp	eax,dword ptr [bp-16]
	jne	short @6@58
	mov	ax,1
@6@310:
	pop	si
	leave	
	ret	
@ReceiveRemoteOK$quin11sockaddr_in	endp
	assume	cs:REMOTE_N_TEXT
@SendFileToEthernet$quinxzcn11sockaddr_inul	proc	far
	enter	36,0
	push	si
	push	di
	mov	si,word ptr [bp+6]
	mov	eax,dword ptr [bp+16]
	mov	dword ptr [bp-4],eax
	push	25001
	push	dword ptr [bp-4]
	call	far ptr @CObject@ObjectFromID$qui
	add	sp,6
	mov	word ptr [bp-6],dx
	mov	word ptr [bp-8],ax
	push	dword ptr [bp+8]
	call	far ptr __fstrlen
	add	sp,4
	mov	dx,ax
	cmp	dx,250
	jge	short @7@114
	cmp	dx,1
	jl	short @7@114
	cmp	dx,256
	jl	short @7@142
@7@114:
	xor	ax,ax
	jmp	@7@786
@7@142:
	push	ds
	push	offset DGROUP:s@+26
	push	dword ptr [bp+8]
	call	far ptr _fopen
	add	sp,8
	mov	word ptr [bp-10],dx
	mov	word ptr [bp-12],ax
	cmp	dword ptr [bp-12],large 0
	jne	short @7@254
	push	dword ptr [bp+12]
	push	si
	push	cs
	call	near ptr @SendRemoteFail$quin11sockaddr_in
	add	sp,6
	or	ax,ax
	jne	short @7@114
	jmp	short @7@114
	jmp	short @7@114
@7@254:
	push	dword ptr [bp+12]
	push	si
	push	cs
	call	near ptr @SendRemoteOK$quin11sockaddr_in
	add	sp,6
	or	ax,ax
	jne	short @7@310
@7@282:
	push	dword ptr [bp-12]
	call	far ptr _fclose
	add	sp,4
	jmp	short @7@114
@7@310:
	push	dword ptr [bp+12]
	push	si
	push	cs
	call	near ptr @ReceiveRemoteOK$quin11sockaddr_in
	add	sp,6
	or	ax,ax
	je	short @7@282
	mov	di,547
	push	di
	call	far ptr @$bnew$qui
	pop	cx
	mov	word ptr [bp-14],dx
	mov	word ptr [bp-16],ax
	push	di
	push	0
	push	dx
	push	ax
	call	far ptr __fmemset
	add	sp,8
	mov	eax,dword ptr [bp-16]
	mov	dword ptr [bp-20],eax
	mov	ax,word ptr [bp-14]
	mov	dx,word ptr [bp-16]
	add	dx,20
	mov	word ptr [bp-22],ax
	mov	word ptr [bp-24],dx
	les	bx,dword ptr [bp-20]
	mov	word ptr es:[bx],00000A5A5h
	mov	word ptr es:[bx+4],11
	les	bx,dword ptr [bp-12]
	mov	al,byte ptr es:[bx+4]
	cbw	
	push	ax
	call	far ptr _filelength
	push	dx
	push	ax
	pop	eax
	pop	cx
	mov	dword ptr [bp-28],eax
	les	bx,dword ptr [bp-24]
	mov	word ptr es:[bx],2
	mov	dword ptr es:[bx+4],eax
	mov	dword ptr es:[bx+8],large -1
	mov	word ptr es:[bx+12],0
	push	dword ptr [bp+8]
	mov	ax,word ptr [bp-24]
	add	ax,15
	push	word ptr [bp-22]
	push	ax
	call	far ptr __fstrcpy
	add	sp,8
	push	dword ptr [bp+8]
	call	far ptr __fstrlen
	add	sp,4
	add	ax,16
	les	bx,dword ptr [bp-24]
	mov	word ptr es:[bx+2],ax
	les	bx,dword ptr [bp-20]
	mov	word ptr es:[bx+18],0
	les	bx,dword ptr [bp-24]
	mov	ax,word ptr es:[bx+2]
	add	ax,20
	les	bx,dword ptr [bp-20]
	mov	word ptr es:[bx+2],ax
	push	0
	push	word ptr es:[bx+2]
	push	dword ptr [bp-16]
	call	far ptr @GetEthernetChecksum$qnuiii
	add	sp,8
	les	bx,dword ptr [bp-20]
	mov	word ptr es:[bx+18],ax
	push	16
	push	dword ptr [bp+12]
	push	0
	push	word ptr es:[bx+2]
	push	word ptr [bp-18]
	push	bx
	push	si
	call	far ptr @sendto$quinxzciinx8sockaddri
	add	sp,16
	push	dword ptr [bp+12]
	push	si
	push	cs
	call	near ptr @ReceiveRemoteOK$quin11sockaddr_in
	add	sp,6
	or	ax,ax
	jne	short @7@394
@7@366:
	push	dword ptr [bp-16]
	call	far ptr @$bdele$qnv
	add	sp,4
	jmp	@7@282
@7@394:
	mov	di,1
	les	bx,dword ptr [bp-24]
	mov	dword ptr es:[bx+8],large 0
	mov	eax,dword ptr [bp-28]
	mov	ebx,large 256
	cdq	
	idiv	ebx
	push	eax
	mov	eax,dword ptr [bp-28]
	cdq	
	idiv	ebx
	cmp	edx,large 0
	je	short @7@450
	mov	ax,1
	jmp	short @7@478
@7@450:
	xor	ax,ax
@7@478:
	movsx	eax,ax
	pop	edx
	add	edx,eax
	mov	dword ptr [bp-32],edx
	mov	eax,dword ptr [bp-32]
	dec	eax
	push	eax
	push	large 0
	push	dword ptr [bp-8]
	call	far ptr @CProgressCtrl@SetRange$qll
	add	sp,12
	mov	dword ptr [bp-36],large 0
	jmp	@7@674
@7@506:
	push	dword ptr [bp-12]
	push	large 001000001h
	mov	ax,word ptr [bp-24]
	add	ax,15
	push	word ptr [bp-22]
	push	ax
	call	far ptr _fread
	add	sp,12
	mov	dx,ax
	or	dx,dx
	je	short @7@562
	cmp	dx,-1
	jne	short @7@590
@7@562:
	xor	di,di
	jmp	@7@702
@7@590:
	les	bx,dword ptr [bp-20]
	mov	word ptr es:[bx],00000A5A5h
	mov	word ptr es:[bx+4],11
	mov	word ptr es:[bx+18],0
	les	bx,dword ptr [bp-24]
	mov	word ptr es:[bx],2
	mov	eax,dword ptr [bp-28]
	mov	dword ptr es:[bx+4],eax
	mov	eax,dword ptr [bp-36]
	mov	dword ptr es:[bx+8],eax
	mov	word ptr es:[bx+12],0
	mov	ax,dx
	add	ax,15
	mov	word ptr es:[bx+2],ax
	mov	ax,word ptr es:[bx+2]
	add	ax,20
	les	bx,dword ptr [bp-20]
	mov	word ptr es:[bx+2],ax
	push	0
	push	word ptr es:[bx+2]
	push	dword ptr [bp-16]
	call	far ptr @GetEthernetChecksum$qnuiii
	add	sp,8
	les	bx,dword ptr [bp-20]
	mov	word ptr es:[bx+18],ax
	push	16
	push	dword ptr [bp+12]
	push	0
	push	word ptr es:[bx+2]
	push	word ptr [bp-18]
	push	bx
	push	si
	call	far ptr @sendto$quinxzciinx8sockaddri
	add	sp,16
	push	dword ptr [bp+12]
	push	si
	push	cs
	call	near ptr @ReceiveRemoteOK$quin11sockaddr_in
	add	sp,6
	or	ax,ax
	jne short	@@5
	jmp	@7@366
@@5:
	push	dword ptr [bp-36]
	push	dword ptr [bp-8]
	call	far ptr @CProgressCtrl@AddShow$qul
	add	sp,8
	inc	dword ptr [bp-36]
@7@674:
	mov	eax,dword ptr [bp-36]
	cmp	eax,dword ptr [bp-32]
	jae short	@@6
	jmp	@7@506
@@6:
@7@702:
	or	di,di
	jne short	@@7
	jmp	@7@758
@@7:
	les	bx,dword ptr [bp-24]
	mov	word ptr es:[bx],2
	mov	word ptr es:[bx+12],0
	mov	eax,dword ptr [bp-28]
	mov	dword ptr es:[bx+4],eax
	mov	word ptr es:[bx+2],15
	mov	dword ptr es:[bx+8],large -2
	les	bx,dword ptr [bp-20]
	mov	word ptr es:[bx+18],0
	les	bx,dword ptr [bp-24]
	mov	ax,word ptr es:[bx+2]
	add	ax,20
	les	bx,dword ptr [bp-20]
	mov	word ptr es:[bx+2],ax
	push	0
	push	word ptr es:[bx+2]
	push	dword ptr [bp-16]
	call	far ptr @GetEthernetChecksum$qnuiii
	add	sp,8
	les	bx,dword ptr [bp-20]
	mov	word ptr es:[bx+18],ax
	push	16
	push	dword ptr [bp+12]
	push	0
	push	word ptr es:[bx+2]
	push	word ptr [bp-18]
	push	bx
	push	si
	call	far ptr @sendto$quinxzciinx8sockaddri
	add	sp,16
	push	dword ptr [bp+12]
	push	si
	push	cs
	call	near ptr @ReceiveRemoteOK$quin11sockaddr_in
	add	sp,6
	or	ax,ax
	jne short	@@8
	jmp	@7@366
@@8:
@7@758:
	push	dword ptr [bp-16]
	call	far ptr @$bdele$qnv
	add	sp,4
	push	dword ptr [bp-12]
	call	far ptr _fclose
	add	sp,4
	mov	ax,1
@7@786:
	pop	di
	pop	si
	leave	
	ret	
@SendFileToEthernet$quinxzcn11sockaddr_inul	endp
	assume	cs:REMOTE_N_TEXT
@ReceiveFileFromEthernet$quinxzcn11sockaddr_inul	proc	far
	enter	60,0
	push	si
	push	di
	mov	si,word ptr [bp+6]
	mov	eax,dword ptr [bp+16]
	mov	dword ptr [bp-4],eax
	push	25001
	push	dword ptr [bp-4]
	call	far ptr @CObject@ObjectFromID$qui
	add	sp,6
	mov	word ptr [bp-6],dx
	mov	word ptr [bp-8],ax
	cmp	word ptr DGROUP:_hAfxRemoteSocket,0
	je	short @8@86
	cmp	word ptr DGROUP:_hAfxRemoteSocket,00000FFFFh
	jne	short @8@114
@8@86:
	xor	ax,ax
	jmp	@8@2130
@8@114:
	push	ds
	push	offset DGROUP:s@+37
	push	ds
	push	offset DGROUP:s@+29
	call	far ptr _fopen
	add	sp,8
	mov	word ptr [bp-10],dx
	mov	word ptr [bp-12],ax
	cmp	dword ptr [bp-12],large 0
	je	short @8@86
	push	dword ptr [bp+12]
	push	si
	push	cs
	call	near ptr @SendRemoteOK$quin11sockaddr_in
	add	sp,6
	or	ax,ax
	jne	short @8@226
	push	dword ptr [bp-12]
	call	far ptr _fclose
@8@198:
	add	sp,4
	jmp	short @8@86
@8@226:
	push	large 000100000h
	push	ss
	lea	ax,word ptr [bp-60]
	push	ax
	call	far ptr _memset
	add	sp,8
	push	dword ptr [bp+8]
	call	far ptr _strlen
	add	sp,4
	add	ax,36
	mov	di,ax
	push	512
	call	far ptr @$bnew$qui
	pop	cx
	mov	word ptr [bp-14],dx
	mov	word ptr [bp-16],ax
	mov	ax,word ptr [bp-14]
	mov	dx,word ptr [bp-16]
	add	dx,20
	mov	word ptr [bp-18],ax
	mov	word ptr [bp-20],dx
	add	dx,15
	mov	word ptr [bp-22],ax
	mov	word ptr [bp-24],dx
	push	large 002000000h
	push	ax
	push	word ptr [bp-16]
	call	far ptr _memset
	add	sp,8
	push	large 0
	push	large 0
	push	large 0
	push	large 5000
	push	1
	push	si
	call	far ptr @QueryNetcardPage$quiiulnuln12tagIP_HEADERn15ETHERNET_HEADER
	add	sp,20
	or	ax,ax
	jne short	@@9
	jmp	@8@646
@@9:
	mov	word ptr [bp-26],16
	push	ss
	lea	ax,word ptr [bp-26]
	push	ax
	push	ss
	lea	ax,word ptr [bp-60]
	push	ax
	push	large 512
	push	dword ptr [bp-16]
	push	word ptr DGROUP:_hAfxRemoteSocket
	call	far ptr @recvfrom$quinzciin8sockaddrni
	add	sp,18
	mov	dx,ax
	or	dx,dx
	jne short	@@10
	jmp	@8@646
@@10:
	cmp	dx,-1
	jne short	@@11
	jmp	@8@646
@@11:
	cmp	dx,di
	je short	@@12
	jmp	@8@646
@@12:
	les	bx,dword ptr [bp-16]
	cmp	word ptr es:[bx],00000A5A5h
	je short	@@13
	jmp	@8@646
@@13:
	cmp	word ptr es:[bx+2],dx
	jne	short @8@646
	cmp	word ptr es:[bx+4],12
	jne	short @8@646
	push	0
	push	ax
	push	word ptr [bp-14]
	push	bx
	call	far ptr @GetEthernetChecksum$qnuiii
	add	sp,8
	or	ax,ax
	jne	short @8@646
	les	bx,dword ptr [bp-20]
	cmp	word ptr es:[bx],2
	jne	short @8@646
	cmp	word ptr es:[bx+12],1
	jne	short @8@646
	push	dword ptr [bp+8]
	call	far ptr _strlen
	add	sp,4
	add	ax,16
	les	bx,dword ptr [bp-20]
	cmp	ax,word ptr es:[bx+2]
	jne	short @8@646
	cmp	dword ptr es:[bx+8],large -1
	jne	short @8@646
	les	bx,dword ptr [bp+12]
	mov	ax,word ptr es:[bx+2]
	cmp	ax,word ptr [bp-58]
	jne	short @8@646
	mov	eax,dword ptr es:[bx+4]
	cmp	eax,dword ptr [bp-56]
	jne	short @8@646
	push	ss
	lea	ax,word ptr [bp-60]
	push	ax
	push	word ptr DGROUP:_hAfxRemoteSocket
	push	cs
	call	near ptr @SendRemoteOK$quin11sockaddr_in
	add	sp,6
	or	ax,ax
	jne	short @8@674
@8@646:
	push	dword ptr [bp-12]
	call	far ptr _fclose
	add	sp,4
	push	dword ptr [bp-16]
	call	far ptr @$bdele$qnv
	jmp	@8@198
@8@674:
	les	bx,dword ptr [bp-20]
	mov	eax,dword ptr es:[bx+4]
	mov	dword ptr [bp-30],eax
	mov	si,1
	mov	ebx,large 256
	cdq	
	idiv	ebx
	push	eax
	mov	eax,dword ptr [bp-30]
	cdq	
	idiv	ebx
	cmp	edx,large 0
	je	short @8@730
	mov	ax,1
	jmp	short @8@758
@8@730:
	xor	ax,ax
@8@758:
	movsx	eax,ax
	pop	edx
	add	edx,eax
	mov	dword ptr [bp-34],edx
	mov	eax,dword ptr [bp-30]
	mov	ebx,large 256
	cdq	
	idiv	ebx
	mov	dword ptr [bp-38],edx
	mov	eax,dword ptr [bp-34]
	dec	eax
	push	eax
	push	large 0
	push	dword ptr [bp-8]
	call	far ptr @CProgressCtrl@SetRange$qll
	add	sp,12
	mov	dword ptr [bp-42],large 0
	jmp	@8@1402
@8@786:
	push	large 0
	push	large 0
	push	large 0
	push	large 5000
	push	1
	push	word ptr DGROUP:_hAfxRemoteSocket
	call	far ptr @QueryNetcardPage$quiiulnuln12tagIP_HEADERn15ETHERNET_HEADER
	add	sp,20
	or	ax,ax
	jne	short @8@842
@8@814:
	xor	si,si
	jmp	@8@1934
@8@842:
	mov	word ptr [bp-26],16
	push	ss
	lea	ax,word ptr [bp-26]
	push	ax
	push	ss
	lea	ax,word ptr [bp-60]
	push	ax
	push	large 512
	push	dword ptr [bp-16]
	push	word ptr DGROUP:_hAfxRemoteSocket
	call	far ptr @recvfrom$quinzciin8sockaddrni
	add	sp,18
	mov	dx,ax
	or	dx,dx
	je	short @8@814
	cmp	dx,-1
	je	short @8@814
	les	bx,dword ptr [bp-16]
	cmp	word ptr es:[bx],00000A5A5h
	jne	short @8@814
	cmp	word ptr es:[bx+2],dx
	jne	short @8@814
	cmp	word ptr es:[bx+4],12
	jne	short @8@814
	push	0
	push	ax
	push	word ptr [bp-14]
	push	bx
	call	far ptr @GetEthernetChecksum$qnuiii
	add	sp,8
	or	ax,ax
	jne	short @8@814
	les	bx,dword ptr [bp-20]
	cmp	word ptr es:[bx],2
	jne	short @8@814
	cmp	word ptr es:[bx+12],1
	jne	short @8@814
	cmp	word ptr es:[bx+2],15
	jbe	short @8@814
	cmp	word ptr es:[bx+2],271
	ja	short @8@814
	mov	eax,dword ptr es:[bx+8]
	cmp	eax,dword ptr [bp-42]
	je short	@@14
	jmp	@8@814
@@14:
	les	bx,dword ptr [bp+12]
	mov	ax,word ptr es:[bx+2]
	cmp	ax,word ptr [bp-58]
	je short	@@15
	jmp	@8@814
@@15:
	mov	eax,dword ptr es:[bx+4]
	cmp	eax,dword ptr [bp-56]
	je short	@@16
	jmp	@8@814
@@16:
	les	bx,dword ptr [bp-20]
	mov	dx,word ptr es:[bx+2]
	sub	dx,15
	mov	eax,dword ptr [bp-42]
	inc	eax
	cmp	eax,dword ptr [bp-34]
	je	short @8@1262
	cmp	dx,256
	je short	@@17
	jmp	@8@814
@@17:
@8@1262:
	mov	eax,dword ptr [bp-42]
	inc	eax
	cmp	eax,dword ptr [bp-34]
	jne	short @8@1346
	cmp	dword ptr [bp-38],large 0
	je	short @8@1346
	cmp	dx,word ptr [bp-38]
	je short	@@18
	jmp	@8@814
@@18:
@8@1346:
	les	bx,dword ptr [bp-20]
	mov	ax,word ptr es:[bx+2]
	sub	ax,15
	mov	word ptr [bp-44],ax
	push	dword ptr [bp-12]
	push	ax
	push	1
	push	dword ptr [bp-24]
	call	far ptr _fwrite
	add	sp,12
	push	dword ptr [bp-42]
	push	dword ptr [bp-8]
	call	far ptr @CProgressCtrl@AddShow$qul
	add	sp,8
	push	ss
	lea	ax,word ptr [bp-60]
	push	ax
	push	word ptr DGROUP:_hAfxRemoteSocket
	push	cs
	call	near ptr @SendRemoteOK$quin11sockaddr_in
	add	sp,6
	or	ax,ax
	jne short	@@19
	jmp	@8@814
@@19:
	inc	dword ptr [bp-42]
@8@1402:
	mov	eax,dword ptr [bp-42]
	cmp	eax,dword ptr [bp-34]
	jae short	@@20
	jmp	@8@786
@@20:
	jmp	@8@1934
@8@1458:
	mov	di,35
	push	large 0
	push	large 0
	push	large 0
	push	large 5000
	push	1
	push	word ptr DGROUP:_hAfxRemoteSocket
	call	far ptr @QueryNetcardPage$quiiulnuln12tagIP_HEADERn15ETHERNET_HEADER
	add	sp,20
	or	ax,ax
	jne	short @8@1514
@8@1486:
	xor	si,si
	jmp	@8@1962
@8@1514:
	mov	word ptr [bp-26],16
	push	ss
	lea	ax,word ptr [bp-26]
	push	ax
	push	ss
	lea	ax,word ptr [bp-60]
	push	ax
	push	large 512
	push	dword ptr [bp-16]
	push	word ptr DGROUP:_hAfxRemoteSocket
	call	far ptr @recvfrom$quinzciin8sockaddrni
	add	sp,18
	mov	dx,ax
	or	dx,dx
	je	short @8@1486
	cmp	dx,-1
	je	short @8@1486
	cmp	dx,di
	jne	short @8@1486
	les	bx,dword ptr [bp-16]
	cmp	word ptr es:[bx],00000A5A5h
	jne	short @8@1486
	cmp	word ptr es:[bx+2],dx
	jne	short @8@1486
	cmp	word ptr es:[bx+4],12
	jne	short @8@1486
	push	0
	push	ax
	push	word ptr [bp-14]
	push	bx
	call	far ptr @GetEthernetChecksum$qnuiii
	add	sp,8
	or	ax,ax
	jne	short @8@1486
	les	bx,dword ptr [bp-20]
	cmp	word ptr es:[bx],2
	jne	short @8@1486
	cmp	word ptr es:[bx+12],1
	jne	short @8@1486
	cmp	word ptr es:[bx+2],15
	jne	short @8@1486
	cmp	dword ptr es:[bx+8],large -2
	je short	@@21
	jmp	@8@1486
@@21:
	les	bx,dword ptr [bp+12]
	mov	ax,word ptr es:[bx+2]
	cmp	ax,word ptr [bp-58]
	je short	@@22
	jmp	@8@1486
@@22:
	mov	eax,dword ptr es:[bx+4]
	cmp	eax,dword ptr [bp-56]
	je short	@@23
	jmp	@8@1486
@@23:
	push	ss
	lea	ax,word ptr [bp-60]
	push	ax
	push	word ptr DGROUP:_hAfxRemoteSocket
	push	cs
	call	near ptr @SendRemoteOK$quin11sockaddr_in
	add	sp,6
	or	ax,ax
	jne	short @8@1962
	jmp	@8@1486
@8@1934:
	or	si,si
	je short	@@24
	jmp	@8@1458
@@24:
@8@1962:
	push	dword ptr [bp-12]
	call	far ptr _fclose
	add	sp,4
	push	dword ptr [bp-16]
	call	far ptr @$bdele$qnv
	add	sp,4
	or	si,si
	je	short @8@2102
	push	0
	push	dword ptr [bp+8]
	push	ds
	push	offset DGROUP:s@+41
	call	far ptr @CopyFile$qnxzct1i
	add	sp,10
	mov	si,ax
	or	si,si
	je	short @8@2046
	push	ss
	lea	ax,word ptr [bp-60]
	push	ax
	push	word ptr DGROUP:_hAfxRemoteSocket
	push	cs
	call	near ptr @SendRemoteOK$quin11sockaddr_in
	jmp	short @8@2074
@8@2046:
	push	ss
	lea	ax,word ptr [bp-60]
	push	ax
	push	word ptr DGROUP:_hAfxRemoteSocket
	push	cs
	call	near ptr @SendRemoteFail$quin11sockaddr_in
@8@2074:
	add	sp,6
@8@2102:
	mov	ax,si
@8@2130:
	pop	di
	pop	si
	leave	
	ret	
@ReceiveFileFromEthernet$quinxzcn11sockaddr_inul	endp
	assume	cs:REMOTE_N_TEXT
@SendRectScreen$quiiiiin11sockaddr_in	proc	far
	enter	34,0
	push	si
	push	di
	mov	word ptr [bp-2],1
	mov	word ptr [bp-4],320
	mov	ax,word ptr [bp-4]
	add	ax,36
	push	ax
	call	far ptr @$bnew$qui
	pop	cx
	mov	word ptr [bp-6],dx
	mov	word ptr [bp-8],ax
	mov	eax,dword ptr [bp-8]
	mov	dword ptr [bp-12],eax
	mov	ax,word ptr [bp-6]
	mov	dx,word ptr [bp-8]
	add	dx,20
	mov	word ptr [bp-14],ax
	mov	word ptr [bp-16],dx
	push	large 000140000h
	push	dword ptr [bp-12]
	call	far ptr __fmemset
	add	sp,8
	push	large 0000C0000h
	push	dword ptr [bp-16]
	call	far ptr __fmemset
	add	sp,8
	les	bx,dword ptr [bp-12]
	mov	word ptr es:[bx],00000A5A5h
	mov	word ptr es:[bx+4],2
	les	bx,dword ptr [bp-16]
	mov	ax,word ptr [bp+8]
	mov	word ptr es:[bx],ax
	mov	ax,word ptr [bp+10]
	mov	word ptr es:[bx+2],ax
	mov	ax,word ptr [bp+12]
	mov	word ptr es:[bx+4],ax
	mov	ax,word ptr [bp+14]
	mov	word ptr es:[bx+6],ax
	mov	word ptr [bp-18],0
	xor	di,di
	mov	ax,word ptr [bp-6]
	mov	dx,word ptr [bp-8]
	add	dx,32
	mov	word ptr [bp-20],ax
	mov	word ptr [bp-22],dx
	mov	dword ptr [bp-26],large 0A0000000h
	mov	ax,word ptr DGROUP:_nAfxScreenPage
	mov	word ptr [bp-28],ax
	mov	word ptr [bp-30],0
	cmp	word ptr DGROUP:_nAfxScreenColor,256
	jne	short @9@86
	push	large 0FFFF0000h
	call	far ptr @KernelChangePage$qii
	add	sp,4
@9@86:
	mov	si,word ptr [bp+10]
	jmp	@9@730
@9@114:
	cmp	word ptr [bp-2],0
	jne short	@@25
	jmp	@9@758
@@25:
	mov	ax,word ptr [bp+8]
	mov	word ptr [bp-32],ax
	jmp	@9@674
@9@170:
	inc	di
	cmp	word ptr DGROUP:_nAfxScreenColor,16
	jne	short @9@254
	push	si
	push	word ptr [bp-32]
	call	far ptr @GetPixel$qii
	add	sp,4
	mov	word ptr [bp-34],ax
	jmp	short @9@310
@9@254:
	les	bx,dword ptr [bp-26]
	mov	al,byte ptr es:[bx]
	mov	ah,0
	mov	word ptr [bp-34],ax
	inc	word ptr [bp-26]
	cmp	word ptr [bp-26],0
	jne	short @9@310
	mov	dword ptr [bp-26],large 0A0000000h
	push	-1
	inc	word ptr [bp-30]
	mov	ax,word ptr [bp-30]
	push	ax
	call	far ptr @KernelChangePage$qii
	add	sp,4
@9@310:
	cmp	word ptr [bp-34],0
	jle	short @9@366
	mov	ax,word ptr [bp-34]
	add	ax,29
	mov	word ptr [bp-34],ax
@9@366:
	les	bx,dword ptr [bp-22]
	mov	al,byte ptr [bp-34]
	mov	byte ptr es:[bx],al
	inc	word ptr [bp-22]
	cmp	di,word ptr [bp-4]
	jge	short @9@450
	cmp	si,word ptr [bp+14]
	je short	@@26
	jmp	@9@646
@@26:
	mov	ax,word ptr [bp-32]
	cmp	ax,word ptr [bp+12]
	je short	@@27
	jmp	@9@646
@@27:
@9@450:
	les	bx,dword ptr [bp-12]
	mov	word ptr es:[bx+18],0
	mov	ax,di
	add	ax,32
	mov	word ptr es:[bx+2],ax
	les	bx,dword ptr [bp-16]
	mov	ax,word ptr [bp-18]
	mov	word ptr es:[bx+8],ax
	push	0
	les	bx,dword ptr [bp-12]
	push	word ptr es:[bx+2]
	push	dword ptr [bp-8]
	call	far ptr @GetEthernetChecksum$qnuiii
	add	sp,8
	les	bx,dword ptr [bp-12]
	mov	word ptr es:[bx+18],ax
	push	16
	push	dword ptr [bp+16]
	push	0
	push	word ptr es:[bx+2]
	push	dword ptr [bp-8]
	push	word ptr [bp+6]
	call	far ptr @sendto$quinxzciinx8sockaddri
	add	sp,16
	or	ax,ax
	je	short @9@506
@9@478:
	mov	word ptr [bp-2],0
	jmp	short @9@702
@9@506:
	push	dword ptr [bp+16]
	push	word ptr [bp+6]
	push	cs
	call	near ptr @ReceiveRemoteOK$quin11sockaddr_in
	add	sp,6
	or	ax,ax
	je	short @9@478
	inc	word ptr [bp-18]
	xor	di,di
	mov	ax,word ptr [bp-6]
	mov	dx,word ptr [bp-8]
	add	dx,32
	mov	word ptr [bp-20],ax
	mov	word ptr [bp-22],dx
	cmp	word ptr DGROUP:_nAfxScreenColor,256
	jne	short @9@646
	mov	ax,si
	sub	ax,word ptr [bp+10]
	mov	bx,10
	cwd	
	idiv	bx
	or	dx,dx
	jne	short @9@646
	cmp	si,word ptr [bp+10]
	je	short @9@646
	push	5966
	call	far ptr @AfxMicroDelay$qui
	pop	cx
@9@646:
	inc	word ptr [bp-32]
@9@674:
	mov	ax,word ptr [bp-32]
	cmp	ax,word ptr [bp+12]
	jg short	@@28
	jmp	@9@170
@@28:
@9@702:
	inc	si
@9@730:
	cmp	si,word ptr [bp+14]
	jg short	@@29
	jmp	@9@114
@@29:
@9@758:
	cmp	word ptr DGROUP:_nAfxScreenColor,256
	jne	short @9@814
	push	-1
	push	word ptr [bp-28]
	call	far ptr @KernelChangePage$qii
	add	sp,4
@9@814:
	push	dword ptr [bp-8]
	call	far ptr @$bdele$qnv
	add	sp,4
	mov	ax,word ptr [bp-2]
	pop	di
	pop	si
	leave	
	ret	
@SendRectScreen$quiiiiin11sockaddr_in	endp
	assume	cs:REMOTE_N_TEXT
@DoWithRemoteNetcard$quinuci11sockaddr_ini	proc	far
	enter	12,0
	push	si
	push	di
	mov	si,word ptr [bp+12]
	mov	eax,dword ptr [bp+8]
	mov	dword ptr [bp-4],eax
	cmp	si,20
	jge	short @10@86
@10@58:
	xor	ax,ax
	jmp	@10@1178
@10@86:
	les	bx,dword ptr [bp-4]
	cmp	word ptr es:[bx],00000A5A5h
	jne	short @10@58
	cmp	word ptr es:[bx+2],si
	jne	short @10@58
	push	0
	push	si
	push	dword ptr [bp+8]
	call	far ptr @GetEthernetChecksum$qnuiii
	add	sp,8
	or	ax,ax
	je	short @10@198
	jmp	short @10@58
@10@198:
	push	4
	push	ss
	lea	ax,word ptr [bp+18]
	push	ax
	push	ds
	push	offset DGROUP:_mIpQQAddr
	call	far ptr __fmemcpy
	add	sp,10
	xor	di,di
	les	bx,dword ptr [bp-4]
	mov	bx,word ptr es:[bx+4]
	dec	bx
	cmp	bx,12
	jbe short	@@30
	jmp	@10@1122
@@30:
	shl	bx,1
	jmp	word ptr cs:@10@C1218[bx]
@10@310:
	cmp	si,20
	je	short @10@366
	jmp	short @10@58
@10@366:
	les	bx,dword ptr [bp-4]
	push	word ptr es:[bx+6]
	call	far ptr @AddKeyboard$qi
	pop	cx
@10@394:
	mov	di,1
	jmp	@10@1150
@10@422:
	push	word ptr [bp+30]
	push	ss
	lea	ax,word ptr [bp+14]
	push	ax
	push	0
	push	si
	push	dword ptr [bp+8]
	push	word ptr [bp+6]
	call	far ptr @sendto$quinxzciinx8sockaddri
	add	sp,16
	jmp	short @10@394
@10@450:
	mov	ax,word ptr [bp+10]
	mov	dx,word ptr [bp+8]
	add	dx,20
	mov	word ptr [bp-6],ax
	mov	word ptr [bp-8],dx
	cmp	si,32
	je short	@@31
	jmp	@10@1150
@@31:
	call	far ptr @GetMouse$qv
	mov	word ptr [bp-10],ax
	call	far ptr @CloseMouse$qv
	push	ss
	lea	ax,word ptr [bp+14]
	push	ax
	les	bx,dword ptr [bp-8]
	push	word ptr es:[bx+6]
	push	word ptr es:[bx+4]
	push	word ptr es:[bx+2]
	push	word ptr es:[bx]
	push	word ptr [bp+6]
	push	cs
	call	near ptr @SendRectScreen$quiiiiin11sockaddr_in
	add	sp,14
	mov	di,ax
	push	word ptr [bp-10]
	call	far ptr @SetMouse$qi
	pop	cx
	jmp	@10@1150
@10@506:
	mov	ax,word ptr [bp+10]
	mov	dx,word ptr [bp+8]
	add	dx,20
	mov	word ptr [bp-6],ax
	mov	word ptr [bp-8],dx
	cmp	si,28
	je short	@@32
	jmp	@10@1150
@@32:
	les	bx,dword ptr [bp-8]
	push	word ptr es:[bx+4]
	push	word ptr es:[bx+2]
	push	word ptr es:[bx]
	call	far ptr @AfxSetRemoteMouse$qiii
	add	sp,6
	jmp	@10@394
@10@562:
	mov	ax,word ptr [bp+10]
	mov	dx,word ptr [bp+8]
	add	dx,20
	mov	word ptr [bp-6],ax
	mov	word ptr [bp-8],dx
	les	bx,dword ptr [bp-8]
	cmp	word ptr es:[bx+12],1
	je short	@@33
	jmp	@10@1150
@@33:
	cmp	word ptr es:[bx],2
	je short	@@34
	jmp	@10@1150
@@34:
	mov	ax,si
	sub	ax,20
	cmp	word ptr es:[bx+2],ax
	je short	@@35
	jmp	@10@1150
@@35:
	cmp	word ptr es:[bx+2],271
	jbe short	@@36
	jmp	@10@1150
@@36:
	mov	ax,si
	sub	ax,20
	cmp	ax,15
	jae short	@@37
	jmp	@10@1150
@@37:
	les	bx,dword ptr [bp-4]
	cmp	word ptr es:[bx+4],9
	jne	short @10@814
	mov	ax,word ptr [bp-8]
	add	ax,15
	push	word ptr [bp-6]
	push	ax
	push	1
	push	cs
	call	near ptr @DoWithReceiveFile$qinxzc
	add	sp,6
	mov	word ptr [bp-10],dx
	mov	word ptr [bp-12],ax
	push	large 1
	push	dx
	push	ax
	call	far ptr @CWindow@ShowWindow$qul
	add	sp,8
	push	dword ptr [bp-12]
	push	ss
	lea	ax,word ptr [bp+14]
	push	ax
	mov	ax,word ptr [bp-8]
	add	ax,15
	push	word ptr [bp-6]
	push	ax
	push	word ptr [bp+6]
	push	cs
	call	near ptr @SendFileToEthernet$quinxzcn11sockaddr_inul
	add	sp,14
	mov	di,ax
	cmp	dword ptr [bp-12],large 0
	jne short	@@38
	jmp	@10@926
@@38:
	push	3
	push	dword ptr [bp-12]
	les	bx,dword ptr [bp-12]
	jmp	short @10@898
	jmp	short @10@926
@10@814:
	les	bx,dword ptr [bp-4]
	cmp	word ptr es:[bx+4],10
	je short	@@39
	jmp	@10@1122
@@39:
	mov	ax,word ptr [bp-8]
	add	ax,15
	push	word ptr [bp-6]
	push	ax
	push	0
	push	cs
	call	near ptr @DoWithReceiveFile$qinxzc
	add	sp,6
	mov	word ptr [bp-10],dx
	mov	word ptr [bp-12],ax
	push	large 1
	push	dx
	push	ax
	call	far ptr @CWindow@ShowWindow$qul
	add	sp,8
	push	dword ptr [bp-12]
	push	ss
	lea	ax,word ptr [bp+14]
	push	ax
	mov	ax,word ptr [bp-8]
	add	ax,15
	push	word ptr [bp-6]
	push	ax
	push	word ptr [bp+6]
	push	cs
	call	near ptr @ReceiveFileFromEthernet$quinxzcn11sockaddr_inul
	add	sp,14
	mov	di,ax
	cmp	dword ptr [bp-12],large 0
	je	short @10@926
	push	3
	push	dword ptr [bp-12]
	les	bx,dword ptr [bp-12]
@10@898:
	mov	bx,word ptr es:[bx]
	call	dword ptr [bx+44]
	add	sp,6
	jmp	short @10@1150
@10@926:
	jmp	short @10@1150
	jmp	short @10@1122
@10@982:
	cmp	si,20
	jg	short @10@1038
	jmp	@10@58
@10@1038:
	mov	ax,word ptr [bp+10]
	mov	dx,word ptr [bp+8]
	add	dx,20
	mov	word ptr [bp-6],ax
	mov	word ptr [bp-8],dx
	cmp	dword ptr DGROUP:___QQ_RECV_FC,large 0
	jne short	@@40
	jmp	@10@394
@@40:
	push	ds
	push	offset DGROUP:_mIpQQAddr
	push	dword ptr DGROUP:___QQ_RECV_Param
	mov	ax,si
	sub	ax,20
	push	ax
	push	word ptr [bp-6]
	push	dx
	call	dword ptr DGROUP:___QQ_RECV_FC
	add	sp,14
	jmp	@10@394
	jmp	@10@394
@10@1122:
	xor	di,di
@10@1150:
	mov	ax,di
@10@1178:
	pop	di
	pop	si
	leave	
	ret	
@DoWithRemoteNetcard$quinuci11sockaddr_ini	endp
@10@C1218	label	word
	dw	@10@310
	dw	@10@450
	dw	@10@422
	dw	@10@506
	dw	@10@506
	dw	@10@506
	dw	@10@1122
	dw	@10@1122
	dw	@10@562
	dw	@10@562
	dw	@10@1122
	dw	@10@1122
	dw	@10@982
	assume	cs:REMOTE_N_TEXT
@RemoteContorlClient$qi	proc	far
	enter	550,0
	push	si
	mov	dx,word ptr [bp+6]
	mov	si,word ptr DGROUP:_hAfxRemoteSocket
	or	dx,dx
	jne	short @11@226
	cmp	word ptr DGROUP:_hAfxRemoteSocket,00000FFFFh
	je	short @11@114
@11@86:
	xor	ax,ax
	jmp	@11@450
@11@114:
	push	large 2
	push	2
	call	far ptr @socket$qiii
	add	sp,6
	mov	si,ax
	push	large 000100000h
	push	ss
	lea	ax,word ptr [bp-550]
	push	ax
	call	far ptr __fmemset
	add	sp,8
	mov	word ptr [bp-550],2
	mov	eax,dword ptr DGROUP:_mAfxIpSelfAddr
	mov	dword ptr [bp-546],eax
	push	word ptr DGROUP:_wAfxRemoteSocket
	call	far ptr @htons$qus
	pop	cx
	mov	word ptr [bp-548],ax
	push	16
	push	ss
	lea	ax,word ptr [bp-550]
	push	ax
	push	si
	call	far ptr @bind$quinx8sockaddri
	add	sp,8
	cmp	ax,-1
	jne	short @11@198
	push	si
	call	far ptr @closesocket$qui
	pop	cx
	jmp	short @11@86
@11@198:
	mov	word ptr DGROUP:_hAfxRemoteSocket,si
	jmp	short @11@310
@11@226:
	cmp	dx,2
	jne	short @11@338
	cmp	si,00000FFFFh
	je	short @11@86
	push	si
	call	far ptr @closesocket$qui
	pop	cx
	mov	word ptr DGROUP:_hAfxRemoteSocket,00000FFFFh
@11@310:
	mov	ax,1
	jmp	@11@450
@11@338:
	cmp	dx,1
	je short	@@41
	jmp	@11@86
@@41:
	cmp	si,00000FFFFh
	jne short	@@42
	jmp	@11@86
@@42:
	push	large 0
	push	large 0
	push	large 0
	push	large 0
	push	1
	push	si
	call	far ptr @QueryNetcardPage$quiiulnuln12tagIP_HEADERn15ETHERNET_HEADER
	add	sp,20
	or	ax,ax
	jne short	@@43
	jmp	@11@86
@@43:
	mov	word ptr [bp-2],16
	push	ss
	lea	ax,word ptr [bp-2]
	push	ax
	push	ss
	lea	ax,word ptr [bp-534]
	push	ax
	push	large 512
	push	ss
	lea	ax,word ptr [bp-518]
	push	ax
	push	si
	call	far ptr @recvfrom$quinzciin8sockaddrni
	add	sp,18
	mov	word ptr [bp-4],ax
	push	word ptr [bp-2]
	lea	ax,word ptr [bp-534]
	mov	dx,ss
	mov	cx,16
	call	far ptr F_SPUSH@
	push	word ptr [bp-4]
	push	ss
	lea	ax,word ptr [bp-518]
	push	ax
	push	si
	push	cs
	call	near ptr @DoWithRemoteNetcard$quinuci11sockaddr_ini
	add	sp,26
	mov	word ptr [bp-6],ax
@11@450:
	pop	si
	leave	
	ret	
@RemoteContorlClient$qi	endp
	assume	cs:REMOTE_N_TEXT
@SendRemoteQQ$qnzciul	proc	far
	enter	20,0
	push	si
	push	di
	mov	si,word ptr [bp+10]
	cmp	word ptr DGROUP:_hAfxRemoteSocket,0
	jne short	@@44
	jmp	@12@198
@@44:
	cmp	word ptr DGROUP:_hAfxRemoteSocket,00000FFFFh
	jne short	@@45
	jmp	@12@198
@@45:
	cmp	si,256
	jl short	@@46
	jmp	@12@198
@@46:
	cmp	dword ptr [bp+12],large 0
	jne	short @12@170
	mov	eax,dword ptr DGROUP:_mIpQQAddr
	mov	dword ptr [bp+12],eax
@12@170:
	mov	di,si
	add	di,20
	push	512
	call	far ptr @$bnew$qui
	pop	cx
	mov	word ptr [bp-2],dx
	mov	word ptr [bp-4],ax
	push	large 002000000h
	push	dx
	push	ax
	call	far ptr _memset
	add	sp,8
	les	bx,dword ptr [bp-4]
	mov	word ptr es:[bx],00000A5A5h
	mov	word ptr es:[bx+4],13
	mov	word ptr es:[bx+18],0
	mov	word ptr es:[bx+6],0
	mov	word ptr es:[bx+2],di
	push	si
	push	dword ptr [bp+6]
	mov	ax,word ptr [bp-4]
	add	ax,20
	push	word ptr [bp-2]
	push	ax
	call	far ptr _memcpy
	add	sp,10
	push	0
	push	di
	push	dword ptr [bp-4]
	call	far ptr @GetEthernetChecksum$qnuiii
	add	sp,8
	les	bx,dword ptr [bp-4]
	mov	word ptr es:[bx+18],ax
	push	large 000100000h
	push	ss
	lea	ax,word ptr [bp-20]
	push	ax
	call	far ptr _memset
	add	sp,8
	mov	word ptr [bp-20],2
	mov	eax,dword ptr [bp+12]
	mov	dword ptr [bp-16],eax
	push	word ptr DGROUP:_wAfxRemoteSocket
	call	far ptr @htons$qus
	pop	cx
	mov	word ptr [bp-18],ax
	push	16
	push	ss
	lea	ax,word ptr [bp-20]
	push	ax
	push	0
	les	bx,dword ptr [bp-4]
	push	word ptr es:[bx+2]
	push	word ptr [bp-2]
	push	bx
	push	word ptr DGROUP:_hAfxRemoteSocket
	call	far ptr @sendto$quinxzciinx8sockaddri
	add	sp,16
	push	dword ptr [bp-4]
	call	far ptr @$bdele$qnv
	add	sp,4
@12@198:
	pop	di
	pop	si
	leave	
	ret	
@SendRemoteQQ$qnzciul	endp
REMOTE_N_TEXT	ends
REMOTE_N_TEXT	segment byte public use16 'CODE'
@CObject@SetID$qui	segment	virtual
	assume	cs:@CObject@SetID$qui
@@CObject@SetID$qui	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	ax,word ptr [bp+10]
	mov	word ptr es:[bx+38],ax
	pop	bp
	ret	
@@CObject@SetID$qui	endp
@CObject@SetID$qui	ends
REMOTE_N_TEXT	ends
REMOTE_N_TEXT	segment byte public use16 'CODE'
@CProgressCtrl@SetHorz$qi	segment	virtual
	assume	cs:@CProgressCtrl@SetHorz$qi
@@CProgressCtrl@SetHorz$qi	proc	far
	push	bp
	mov	bp,sp
	les	bx,dword ptr [bp+6]
	mov	ax,word ptr [bp+10]
	mov	word ptr es:[bx+104],ax
	pop	bp
	ret	
@@CProgressCtrl@SetHorz$qi	endp
	?debug	C E9
	?debug	C FA10010000
@CProgressCtrl@SetHorz$qi	ends
REMOTE_N_TEXT	ends
_DATA	segment word public use16 'DATA'
s@	label	byte
	db	0
	db	206
	db	196
	db	188
	db	254
	db	163
	db	186
	db	0
	db	206
	db	196
	db	188
	db	254
	db	183
	db	162
	db	203
	db	205
	db	0
	db	206
	db	196
	db	188
	db	254
	db	189
	db	211
	db	202
	db	213
	db	0
	db	'rb'
	db	0
	db	'abc.$$$'
	db	0
	db	'w+b'
	db	0
	db	'abc.$$$'
	db	0
_DATA	ends
REMOTE_N_TEXT	segment byte public use16 'CODE'
REMOTE_N_TEXT	ends
	public	@SendRemoteQQ$qnzciul
	extrn	F_SPUSH@:far
	public	@RemoteContorlClient$qi
	public	@DoWithRemoteNetcard$quinuci11sockaddr_ini
	public	@SendRectScreen$quiiiiin11sockaddr_in
	public	@ReceiveFileFromEthernet$quinxzcn11sockaddr_inul
	public	@SendFileToEthernet$quinxzcn11sockaddr_inul
	public	@ReceiveRemoteOK$quin11sockaddr_in
	public	@SendRemoteFail$quin11sockaddr_in
	public	@SendRemoteOK$quin11sockaddr_in
	public	@RegisterQQ_RecvFC$qnqnzciulnuc$vul
	public	@Remote_RegisterUnknow$qnqnv$v
	extrn	@KernelChangePage$qii:far
	extrn	_nAfxScreenColor:word
	extrn	_nAfxScreenPage:word
	public	@DoWithReceiveFile$qinxzc
	public	_hAfxRemoteSocket
	extrn	_mAfxIpSelfAddr:byte
	public	_wAfxRemoteSocket
	public	_mIpQQAddr
	public	___QQ_RECV_Param
	public	___QQ_RECV_FC
	public	___pRemote_UnknowFc
	extrn	@CopyFile$qnxzct1i:far
	extrn	@AddKeyboard$qi:far
	extrn	@CProgressCtrl@$bctr$qn7CObject:far
	extrn	@CProgressCtrl@AddShow$qul:far
	extrn	@CProgressCtrl@SetRange$qll:far
	extrn	@CDialog@$bctr$qv:far
	extrn	@CWindow@ShowWindow$qul:far
	extrn	@CWindow@Center$qv:far
	extrn	@CWindow@CreateWindow$qiiiinxzc:far
	extrn	@CLabel@$bctr$qn7CObject:far
	extrn	@CObject@CreateObject$qiiiinxzc:far
	extrn	@CObject@ObjectFromID$qui:far
	extrn	@QueryNetcardPage$quiiulnuln12tagIP_HEADERn15ETHERNET_HEADER:far
	extrn	@htons$qus:far
	extrn	@closesocket$qui:far
	extrn	@sendto$quinxzciinx8sockaddri:far
	extrn	@recvfrom$quinzciin8sockaddrni:far
	extrn	@bind$quinx8sockaddri:far
	extrn	@socket$qiii:far
	extrn	@GetEthernetChecksum$qnuiii:far
	extrn	@AfxMicroDelay$qui:far
	extrn	@GetPixel$qii:far
	extrn	@AfxSetRemoteMouse$qiii:far
	extrn	@SetMouse$qi:far
	extrn	@GetMouse$qv:far
	extrn	@CloseMouse$qv:far
	extrn	__fstrlen:far
	extrn	__fstrcpy:far
	extrn	__fstrcat:far
	extrn	__fmemset:far
	extrn	__fmemcpy:far
	extrn	_strlen:far
	extrn	_memset:far
	extrn	_memcpy:far
	extrn	_filelength:far
	extrn	_sprintf:far
	extrn	_fwrite:far
	extrn	_fread:far
	extrn	_fopen:far
	extrn	_fclose:far
_pokeb	equ	pokeb
_poke	equ	poke
_peekb	equ	peekb
_peek	equ	peek
_atoi	equ	atoi
_abs	equ	abs
	extrn	@$bdele$qnv:far
	extrn	@$bnew$qui:far
_s@	equ	s@
	end
