All pastes #233674 Raw Edit

kukkeliku

public text v1 · immutable
·published 2006-11-02 02:33 UTC
rendered paste body
MDx proc near

arg_0= dword ptr  8
arg_4= dword ptr  0Ch
arg_8= dword ptr  10h

push	ebp
mov	ebp, esp
push	ebp
push	esi
push	edi
push	ebx
pusha
mov	edi, [ebp+arg_0]
mov	eax, [ebp+arg_4]
inc	eax
add	edi, eax
mov	byte ptr [edi-1], 80h
xor	edx, edx
mov	ebx, 40h
div	ebx
neg	edx
add	edx, 40h
cmp	edx, 8
jnb	short MDx_Init
add	edx, 40h

MDx_Init:
mov	ecx, edx
xor	al, al
rep stosb
mov	eax, [ebp+arg_4]
inc	edx
add	[ebp+arg_4], edx
xor	edx, edx
mov	ebx, 8
mul	ebx
mov	[edi-8], eax
mov	[edi-4], edx
mov	edx, [ebp+arg_4]
mov	edi, [ebp+arg_0]
mov	esi, [ebp+arg_8]
mov	dword ptr [esi], 67452301h
mov	dword ptr [esi+4], 0EFCDAB89h
mov	dword ptr [esi+8], 98BADCFEh
mov	dword ptr [esi+0Ch], 10325476h

tehgay:
mov	eax, [esi]
mov	sak4, eax
mov	eax, [esi+4]
mov	sak2, eax
mov	eax, [esi+8]
mov	sak3, eax
mov	eax, [esi+0Ch]
mov	sak1, eax
push	0D76AA478h
push	7
push	dword ptr [edi]
call	Kuk
mov	sak4, eax
push	0E8C7B756h
push	0Ch
push	dword ptr [edi+4]
call	Kuk
mov	sak1, eax
push	242070DBh
push	11h
push	dword ptr [edi+8]
call	Kuk
mov	sak3, eax
push	0C1BDCEEEh
push	16h
push	dword ptr [edi+0Ch]
call	Kuk
mov	sak2, eax
push	0F57C0FAFh
push	7
push	dword ptr [edi+10h]
call	Kuk
mov	sak4, eax
push	4787C62Ah
push	0Ch
push	dword ptr [edi+14h]
call	Kuk
mov	sak1, eax
push	0A8304613h
push	11h
push	dword ptr [edi+18h]
call	Kuk
mov	sak3, eax
push	0FD469501h
push	16h
push	dword ptr [edi+1Ch]
call	Kuk
mov	sak2, eax
push	698098D8h
push	7
push	dword ptr [edi+20h]
call	Kuk
mov	sak4, eax
push	8B44F7AFh
push	0Ch
push	dword ptr [edi+24h]
call	Kuk
mov	sak1, eax
push	0FFFF5BB1h
push	11h
push	dword ptr [edi+28h]
call	Kuk
mov	sak3, eax
push	895CD7BEh
push	16h
push	dword ptr [edi+2Ch]
call	Kuk
mov	sak2, eax
push	6B901122h
push	7
push	dword ptr [edi+30h]
call	Kuk
mov	sak4, eax
push	0FD987193h
push	0Ch
push	dword ptr [edi+34h]
call	Kuk
mov	sak1, eax
push	0A679438Eh
push	11h
push	dword ptr [edi+38h]
call	Kuk
mov	sak3, eax
push	49B40821h
push	16h
push	dword ptr [edi+3Ch]
call	Kuk
mov	sak2, eax
push	0F61E2562h
push	5
push	dword ptr [edi+4]
call	Fitta
mov	sak4, eax
push	0C040B340h
push	9
push	dword ptr [edi+18h]
call	Fitta
mov	sak1, eax
push	265E5A51h
push	0Eh
push	dword ptr [edi+2Ch]
call	Fitta
mov	sak3, eax
push	0E9B6C7AAh
push	14h
push	dword ptr [edi]
call	Fitta
mov	sak2, eax
push	0D62F105Dh
push	5
push	dword ptr [edi+14h]
call	Fitta
mov	sak4, eax
push	2441453h
push	9
push	dword ptr [edi+28h]
call	Fitta
mov	sak1, eax
push	0D8A1E681h
push	0Eh
push	dword ptr [edi+3Ch]
call	Fitta
mov	sak3, eax
push	0E7D3FBC8h
push	14h
push	dword ptr [edi+10h]
call	Fitta
mov	sak2, eax
push	21E1CDE6h
push	5
push	dword ptr [edi+24h]
call	Fitta
mov	sak4, eax
push	0C33707D6h
push	9
push	dword ptr [edi+38h]
call	Fitta
mov	sak1, eax
push	0F4D50D87h
push	0Eh
push	dword ptr [edi+0Ch]
call	Fitta
mov	sak3, eax
push	455A14EDh
push	14h
push	dword ptr [edi+20h]
call	Fitta
mov	sak2, eax
push	0A9E3E905h
push	5
push	dword ptr [edi+34h]
call	Fitta
mov	sak4, eax
push	0FCEFA3F8h
push	9
push	dword ptr [edi+8]
call	Fitta
mov	sak1, eax
push	676F02D9h
push	0Eh
push	dword ptr [edi+1Ch]
call	Fitta
mov	sak3, eax
push	8D2A4C8Ah
push	14h
push	dword ptr [edi+30h]
call	Fitta
mov	sak2, eax
push	0FFFA3942h
push	4
push	dword ptr [edi+14h]
call	Balle
mov	sak4, eax
push	8771F681h
push	0Bh
push	dword ptr [edi+20h]
call	Balle
mov	sak1, eax
push	6D9D6122h
push	10h
push	dword ptr [edi+2Ch]
call	Balle
mov	sak3, eax
push	0FDE5380Ch
push	17h
push	dword ptr [edi+38h]
call	Balle
mov	sak2, eax
push	0A4BEEA44h
push	4
push	dword ptr [edi+4]
call	Balle
mov	sak4, eax
push	4BDECFA9h
push	0Bh
push	dword ptr [edi+10h]
call	Balle
mov	sak1, eax
push	0F6BB4B60h
push	10h
push	dword ptr [edi+1Ch]
call	Balle
mov	sak3, eax
push	0BEBFBC70h
push	17h
push	dword ptr [edi+28h]
call	Balle
mov	sak2, eax
push	289B7EC6h
push	4
push	dword ptr [edi+34h]
call	Balle
mov	sak4, eax
push	0EAA127FAh
push	0Bh
push	dword ptr [edi]
call	Balle
mov	sak1, eax
push	0D4EF3085h
push	10h
push	dword ptr [edi+0Ch]
call	Balle
mov	sak3, eax
push	4881D05h
push	17h
push	dword ptr [edi+18h]
call	Balle
mov	sak2, eax
push	0D9D4D039h
push	4
push	dword ptr [edi+24h]
call	Balle
mov	sak4, eax
push	0E6DB99E5h
push	0Bh
push	dword ptr [edi+30h]
call	Balle
mov	sak1, eax
push	1FA27CF8h
push	10h
push	dword ptr [edi+3Ch]
call	Balle
mov	sak3, eax
push	0C4AC5665h
push	17h
push	dword ptr [edi+8]
call	Balle
mov	sak2, eax
push	0F4292244h
push	6
push	dword ptr [edi]
call	Stake
mov	sak4, eax
push	432AFF97h
push	0Ah
push	dword ptr [edi+1Ch]
call	Stake
mov	sak1, eax
push	0AB9423A7h
push	0Fh
push	dword ptr [edi+38h]
call	Stake
mov	sak3, eax
push	0FC93A039h
push	15h
push	dword ptr [edi+14h]
call	Stake
mov	sak2, eax
push	655B59C3h
push	6
push	dword ptr [edi+30h]
call	Stake
mov	sak4, eax
push	8F0CCC92h
push	0Ah
push	dword ptr [edi+0Ch]
call	Stake
mov	sak1, eax
push	0FFEFF47Dh
push	0Fh
push	dword ptr [edi+28h]
call	Stake
mov	sak3, eax
push	85845DD1h
push	15h
push	dword ptr [edi+4]
call	Stake
mov	sak2, eax
push	6FA87E4Fh
push	6
push	dword ptr [edi+20h]
call	Stake
mov	sak4, eax
push	0FE2CE6E0h
push	0Ah
push	dword ptr [edi+3Ch]
call	Stake
mov	sak1, eax
push	0A3014314h
push	0Fh
push	dword ptr [edi+18h]
call	Stake
mov	sak3, eax
push	4E0811A1h
push	15h
push	dword ptr [edi+34h]
call	Stake
mov	sak2, eax
push	0F7537E82h
push	6
push	dword ptr [edi+10h]
call	Stake
mov	sak4, eax
push	0BD3AF235h
push	0Ah
push	dword ptr [edi+2Ch]
call	Stake
mov	sak1, eax
push	2AD7D2BBh
push	0Fh
push	dword ptr [edi+8]
call	Stake
mov	sak3, eax
push	0EB86D391h
push	15h
push	dword ptr [edi+24h]
call	Stake
mov	sak2, eax
mov	eax, sak4
add	[esi], eax
mov	eax, sak2
add	[esi+4], eax
mov	eax, sak3
add	[esi+8], eax
mov	eax, sak1
add	[esi+0Ch], eax
add	edi, 40h
sub	edx, 40h
jnz	tehgay
mov	ecx, 4

loopyloop:
mov	eax, [esi]
xchg	al, ah
rol	eax, 10h
xchg	al, ah
mov	[esi], eax
add	esi, 4
loop	loopyloop
popa
mov	eax, [ebp+arg_8]
pop	ebx
pop	edi
pop	esi
pop	ebp
leave
retn	0Ch
MDx endp



; Attributes: bp-based frame

Kuk proc near

arg_0= dword ptr  8
arg_4= byte ptr	 0Ch
arg_8= dword ptr  10h

push	ebp
mov	ebp, esp
push	ebx
push	ecx
mov	eax, sak2
mov	ebx, sak3
mov	ecx, sak1
and	ebx, eax
not	eax
and	eax, ecx
or	eax, ebx
add	eax, sak4
add	eax, [ebp+arg_0]
add	eax, [ebp+arg_8]
mov	cl, [ebp+arg_4]
rol	eax, cl
add	eax, sak2
pop	ecx
pop	ebx
leave
retn	0Ch
Kuk endp



; Attributes: bp-based frame

Fitta proc near

arg_0= dword ptr  8
arg_4= byte ptr	 0Ch
arg_8= dword ptr  10h

push	ebp
mov	ebp, esp
push	ebx
push	ecx
mov	eax, sak2
mov	ebx, sak3
mov	ecx, sak1
and	eax, ecx
not	ecx
and	ecx, ebx
or	eax, ecx
add	eax, sak4
add	eax, [ebp+arg_0]
add	eax, [ebp+arg_8]
mov	cl, [ebp+arg_4]
rol	eax, cl
add	eax, sak2
pop	ecx
pop	ebx
leave
retn	0Ch
Fitta endp



; Attributes: bp-based frame

Balle proc near

arg_0= dword ptr  8
arg_4= byte ptr	 0Ch
arg_8= dword ptr  10h

push	ebp
mov	ebp, esp
push	ebx
push	ecx
mov	eax, sak2
mov	ebx, sak3
mov	ecx, sak1
xor	eax, ebx
xor	eax, ecx
add	eax, sak4
add	eax, [ebp+arg_0]
add	eax, [ebp+arg_8]
mov	cl, [ebp+arg_4]
rol	eax, cl
add	eax, sak2
pop	ecx
pop	ebx
leave
retn	0Ch
Balle endp



; Attributes: bp-based frame

Stake proc near

arg_0= dword ptr  8
arg_4= byte ptr	 0Ch
arg_8= dword ptr  10h

push	ebp
mov	ebp, esp
push	ebx
push	ecx
mov	eax, sak2
mov	ebx, sak3
mov	ecx, sak1
not	ecx
or	eax, ecx
xor	eax, ebx
add	eax, sak4
add	eax, [ebp+arg_0]
add	eax, [ebp+arg_8]
mov	cl, [ebp+arg_4]
rol	eax, cl
add	eax, sak2
pop	ecx
pop	ebx
leave
retn	0Ch
Stake endp