 14.6.   ,   
                  

main	proc	near				; CODE XREF: start+AF p
 	mov	cl, byte_0_4078E0 		;    
 	mov	al, 1			
 	test	al, cl			
 	;  ?

 	jnz	short loc_0_40106D			
 	; --> , ,    

 	mov	dl, cl			
 	mov	ecx, offset unk_0_4078E1 	;  
 	;   this

 	or	dl, al			
 	;     TRUE
 	;   

 	mov	byte_0_4078E0, dl 		;    
 	call	constructor			
 	;  .
 	;  ,      
 	; (.  )   .
 	;  ,    !

 	push	offset thunk_destructo			
 	call	_atexit			
 	add	esp, 4			
 	;   _atexit   ,
 	;       

loc_0_40106D:					; CODE XREF: main+A j
 	mov	ecx, offset unk_0_4078E1 	;  
 	;   this

 	jmp	demo			
 	;  demo				
					
main	endp

thunk_destructo:				; DATA XREF: main+20 o
 	;   -

 	mov	ecx, offset unk_0_4078E1 	;  
 	jmp	destructor			

byte_0_4078E0	db 0				; DATA XREF: main r main+15 w
						;    
unk_0_4078E1	db 0				; DATA XREF: main+E o main+2D o
...
						;  
