All pastes #233716 Raw Edit

Unnamed

public text v1 · immutable
·published 2006-11-02 02:56 UTC
rendered paste body
unsigned int sak1, sak2, sak3, sak4;

unsigned int Kuk(unsigned int bytestofuck, unsigned char MD5Const1, unsigned int MD5Const2) {
	unsigned int retval;
	__asm{
		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, bytestofuck
		add     eax, MD5Const2
		mov     cl, MD5Const1
		rol     eax, cl
		add     eax, sak2
		pop     ecx
		pop     ebx
		mov retval, eax
	}

	return retval;
}