[ create a new paste ] login | about

Link: http://codepad.org/8e6RCzlz    [ raw code | fork ]

Plain Text, pasted on Dec 8:
_D26self_referential_sequence37findRecFNbPaPS26self_referential_sequence33RecZPS26self_referential_sequence33Rec	comdat
	assume	CS:_D26self_referential_sequence37findRecFNbPaPS26self_referential_sequence33RecZPS26self_referential_sequence33Rec
L0:		sub	ESP,0Ch
		push	EBX
		push	EBP
		mov	EBP,018h[ESP]
		push	ESI
		mov	ESI,EAX
		push	EDI
		movzx	EBX,byte ptr 0[EBP]
		inc	EBP
		test	EBX,EBX
		je	L130
L1A:		add	EBX,0FFFFFFD0h
		lea	ECX,[EBX*4][ESI]
		mov	EDI,4[ECX]
		test	EDI,EDI
		jne	L121
		inc	dword ptr _D26self_referential_sequence36nNodesi
		mov	EDX,FS:__tls_array
		mov	ECX,[EDX]
		mov	EDX,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯8nextFreeP€¡¸[ECX]
		cmp	EDX,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯8lastFreeP€¡¸[ECX]
		jb	L100
		push	01FFD8h
		push	1
		call	near ptr _calloc
		add	ESP,8
		mov	ECX,FS:__tls_array
		mov	018h[ESP],EAX
		mov	EDX,[ECX]
		lea	ECX,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯6blocksAP€·€Àæ5B€„æ[EDX]
		push	1
		mov	EDX,offset FLAT:_D110TypeInfo_APS26self_referential_sequence350__T10MemoryPoolTS26self_referential_sequence33RecZ10MemoryPool5Block6__initZ
		push	ECX
		push	EDX
		call	near ptr __d_arrayappendcTX
		add	ESP,0Ch
		mov	ECX,018h[ESP]
		mov	010h[ESP],EAX
		mov	014h[ESP],EDX
		mov	EDX,010h[ESP]
		mov	EAX,014h[ESP]
		lea	EDX,[EDX*4][EAX]
		mov	-4[EDX],ECX
		mov	ECX,FS:__tls_array
		mov	EDX,[ECX]
		mov	ECX,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯6blocksAP€·€Àæ5B€„æ[EDX]
		mov	EDX,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯6blocksAP€·€Àæ5B€„æ[04h][EDX]
		lea	ECX,[ECX*4][EDX]
		cmp	dword ptr -4[ECX],0
		jne	LC7
		push	1
		call	near ptr _exit
		add	ESP,4
LC7:		mov	EDX,FS:__tls_array
		mov	ECX,[EDX]
		mov	EDX,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯6blocksAP€·€Àæ5B€„æ[ECX]
		mov	EAX,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯6blocksAP€·€Àæ5B€„æ[04h][ECX]
		lea	EDX,[EDX*4][EAX]
		mov	EDX,-4[EDX]
		mov	_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯8nextFreeP€¡¸[ECX],EDX
		lea	ECX,01FFD8h[EDX]
		mov	EDX,FS:__tls_array
		mov	EDX,[EDX]
		mov	_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯8lastFreeP€¡¸[EDX],ECX
L100:		mov	ECX,FS:__tls_array
		mov	EDX,[ECX]
		mov	EDI,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯8nextFreeP€¡¸[EDX]
		add	EDI,02Ch
		lea	ECX,[EBX*4][ESI]
		mov	_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯8nextFreeP€¡¸[EDX],EDI
		sub	EDI,02Ch
		mov	4[ECX],EDI
L121:		mov	ESI,EDI
		movzx	EBX,byte ptr 0[EBP]
		inc	EBP
		test	EBX,EBX
		jne	L1A
L130:		pop	EDI
		mov	EAX,ESI
		pop	ESI
		pop	EBP
		pop	EBX
		add	ESP,0Ch
		ret	4
_D26self_referential_sequence37findRecFNbPaPS26self_referential_sequence33RecZPS26self_referential_sequence33Rec	ends
_D26self_referential_sequence37nextNumFNbPaZv	comdat
	assume	CS:_D26self_referential_sequence37nextNumFNbPaZv
L0:		sub	ESP,02Ch
		mov	ECX,0Ah
		push	EBX
		mov	EBX,EAX
		xor	EAX,EAX
		push	EDI
		lea	EDI,0Ch[ESP]
		rep
		stosd
		xor	EDX,EDX
		cmp	[EBX],AL
		je	L2C
L1A:		movzx	ECX,[EBX][EDX]
		inc	EDX
		inc	dword ptr -0B4h[ECX*4][ESP]
		cmp	[EBX][EDX],0
		jne	L1A
L2C:		mov	EDI,0Ah
		test	EDI,EDI
		lea	EDI,-1[EDI]
		jle	L5C
L38:		mov	EDX,0Ch[EDI*4][ESP]
		test	EDX,EDX
		je	L56
		lea	ECX,030h[EDI]
		push	ECX
		push	EDX
		mov	EDX,offset FLAT:_DATA[05Ch]
		push	EDX
		push	EBX
		call	near ptr _sprintf
		add	EBX,EAX
		add	ESP,010h
L56:		dec	EDI
		mov	ECX,EDI
		inc	ECX
		jg	L38
L5C:		pop	EDI
		pop	EBX
		add	ESP,02Ch
		ret
_D26self_referential_sequence37nextNumFNbPaZv	ends
_D26self_referential_sequence36getLenFNbPaiZi	comdat
	assume	CS:_D26self_referential_sequence36getLenFNbPaiZi
L0:		push	EBX
		mov	EBX,EAX
		mov	EAX,_D26self_referential_sequence38rec_rootPS26self_referential_sequence33Rec
		push	ESI
		push	EDI
		mov	EDI,010h[ESP]
		push	EDI
		call	near ptr _D26self_referential_sequence37findRecFNbPaPS26self_referential_sequence33RecZPS26self_referential_sequence33Rec
		mov	ECX,[EAX]
		mov	ESI,EAX
		test	ECX,ECX
		jg	L44
		inc	EBX
		test	ECX,ECX
		jne	L29
		mov	EDX,EBX
		neg	EDX
		mov	[ESI],EDX
		jmp short	L2B
L29:		add	[ESI],EBX
L2B:		mov	EAX,EDI
		call	near ptr _D26self_referential_sequence37nextNumFNbPaZv
		mov	EAX,EBX
		push	EDI
		call	near ptr _D26self_referential_sequence36getLenFNbPaiZi
		lea	EBX,1[EAX]
		cmp	dword ptr [ESI],0
		jg	L44
		mov	[ESI],EBX
L44:		mov	EAX,[ESI]
		pop	EDI
		pop	ESI
		pop	EBX
		ret	4
_D26self_referential_sequence36getLenFNbPaiZi	ends
__Dmain	comdat
	assume	CS:__Dmain
L0:		sub	ESP,01D0h
		mov	ECX,064h
		xor	EAX,EAX
		push	EBX
		push	ESI
		push	EDI
		lea	EDI,01Ch[ESP]
		rep
		stosd
		xor	ESI,ESI
		mov	ECX,8
		mov	01B4h[ESP],EAX
		dec	EAX
		lea	EDI,01BCh[ESP]
		rep
		stosd
		mov	ECX,FS:__tls_array
		mov	EDX,[ECX]
		mov	ECX,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯8nextFreeP€¡¸[EDX]
		cmp	ECX,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯8lastFreeP€¡¸[EDX]
		jb	L102
		push	01FFD8h
		push	1
		call	near ptr _calloc
		add	ESP,8
		mov	EDX,FS:__tls_array
		mov	01ACh[ESP],EAX
		mov	ECX,[EDX]
		lea	EDX,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯6blocksAP€·€Àæ5B€„æ[ECX]
		push	1
		mov	ECX,offset FLAT:_D110TypeInfo_APS26self_referential_sequence350__T10MemoryPoolTS26self_referential_sequence33RecZ10MemoryPool5Block6__initZ
		push	EDX
		push	ECX
		call	near ptr __d_arrayappendcTX
		add	ESP,0Ch
		mov	010h[ESP],EDX
		mov	EDX,01ACh[ESP]
		mov	0Ch[ESP],EAX
		mov	ECX,0Ch[ESP]
		mov	EAX,010h[ESP]
		lea	ECX,[ECX*4][EAX]
		mov	-4[ECX],EDX
		mov	EDX,FS:__tls_array
		mov	ECX,[EDX]
		mov	EDX,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯6blocksAP€·€Àæ5B€„æ[ECX]
		mov	ECX,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯6blocksAP€·€Àæ5B€„æ[04h][ECX]
		lea	EDX,[EDX*4][ECX]
		cmp	-4[EDX],ESI
		jne	LC9
		push	1
		call	near ptr _exit
		add	ESP,4
LC9:		mov	ECX,FS:__tls_array
		mov	EDX,[ECX]
		mov	ECX,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯6blocksAP€·€Àæ5B€„æ[EDX]
		mov	EAX,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯6blocksAP€·€Àæ5B€„æ[04h][EDX]
		lea	ECX,[ECX*4][EAX]
		mov	ECX,-4[ECX]
		mov	_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯8nextFreeP€¡¸[EDX],ECX
		lea	EDX,01FFD8h[ECX]
		mov	ECX,FS:__tls_array
		mov	ECX,[ECX]
		mov	_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯8lastFreeP€¡¸[ECX],EDX
L102:		mov	EDX,FS:__tls_array
		mov	ECX,[EDX]
		mov	EDX,_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯8nextFreeP€¡¸[ECX]
		add	EDX,02Ch
		xor	EBX,EBX
		mov	_D26self_refeÙntial_sequence350__T10MemoryPoolTS€œ¯3RecZ€Œ¯8nextFreeP€¡¸[ECX],EDX
		sub	EDX,02Ch
		mov	EDI,01B4h[ESP]
		mov	_D26self_referential_sequence38rec_rootPS26self_referential_sequence33Rec,EDX
L12C:		push	EBX
		mov	ECX,offset FLAT:_DATA[064h]
		push	ECX
		lea	EDX,01C4h[ESP]
		push	EDX
		call	near ptr _sprintf
		add	ESP,0Ch
		lea	ECX,01BCh[ESP]
		push	ECX
		xor	EAX,EAX
		call	near ptr _D26self_referential_sequence36getLenFNbPaiZi
		cmp	EAX,EDI
		mov	01B0h[ESP],EAX
		jl	L171
		mov	EAX,01B0h[ESP]
		cmp	EAX,EDI
		jle	L16C
		xor	ESI,ESI
		mov	EDI,EAX
L16C:		mov	01Ch[ESI*4][ESP],EBX
		inc	ESI
L171:		inc	EBX
		cmp	EBX,0F4240h
		jb	L12C
		push	EDI
		mov	EDX,offset FLAT:_DATA[068h]
		push	EDX
		call	near ptr _printf
		xor	ECX,ECX
		mov	01C0h[ESP],ECX
		add	ESP,8
		test	ESI,ESI
		jle	L20E
		lea	EBX,1[EDI]
L199:		mov	EDX,01B8h[ESP]
		push	dword ptr 01Ch[EDX*4][ESP]
		mov	EDX,offset FLAT:_DATA[064h]
		push	EDX
		lea	EDX,01C4h[ESP]
		push	EDX
		call	near ptr _sprintf
		xor	EDI,EDI
		add	ESP,0Ch
		test	EBX,EBX
		jle	L1F0
L1C0:		lea	ECX,01BCh[ESP]
		xor	EAX,EAX
		push	ECX
		push	ECX
		call	near ptr _D26self_referential_sequence36getLenFNbPaiZi
		mov	EDX,offset FLAT:_DATA[078h]
		push	EAX
		push	EDX
		call	near ptr _printf
		lea	EAX,01C8h[ESP]
		call	near ptr _D26self_referential_sequence37nextNumFNbPaZv
		inc	EDI
		add	ESP,0Ch
		cmp	EDI,EBX
		jl	L1C0
L1F0:		mov	ECX,offset FLAT:_DATA[084h]
		push	ECX
		call	near ptr _printf
		inc	dword ptr 01BCh[ESP]
		add	ESP,4
		cmp	01B8h[ESP],ESI
		jl	L199
L20E:		push	dword ptr _D26self_referential_sequence36nNodesi
		mov	EBX,offset FLAT:_DATA[088h]
		push	EBX
		call	near ptr _printf
		add	ESP,8
		xor	EAX,EAX
		pop	EDI
		pop	ESI
		pop	EBX
		add	ESP,01D0h
		ret




Create a new paste based on this one


Comments: