Function at 0x612a00
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, edx
shr eax, 4
xor eax, ecx
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edx, eax
mov eax, ecx
shr eax, 0x10
xor eax, edx
and eax, 0xffff
xor edx, eax
shl eax, 0x10
xor ecx, eax
mov eax, edx
shr eax, 2
xor eax, ecx
and eax, 0x33333333
xor ecx, eax
shl eax, 2
xor edx, eax
mov eax, ecx
shr eax, 8
xor eax, edx
and eax, 0xff00ff
xor edx, eax
shl eax, 8
xor ecx, eax
mov eax, edx
shr eax, 1
xor eax, ecx
and eax, 0x55555555
mov ebx, eax
lea edi, [eax + eax]
xor ebx, ecx
xor edi, edx
ror ebx, 0x1d
ror edi, 0x1d
cmp dword [esp + 0x1c], 0
je 0x612b9c
add ebp, 8
mov dword [esp + 0x18], 8
lea ecx, [ecx]
mov edx, dword [ebp - 4]
lea ebp, [ebp + 0x10]
mov esi, dword [ebp - 0x18]
xor edx, ebx
ror edx, 4
xor esi, ebx
mov ecx, edx
mov eax, edx
shr eax, 0xa
and eax, 0x3f
shr ecx, 0x12
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x7236a8]
xor ecx, dword [eax*4 + 0x7234a8]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x7232a8]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x7235a8]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x7233a8]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x7231a8]
xor ecx, dword [edx*4 + 0x7238a8]
xor ecx, dword [esi*4 + 0x7237a8]
mov edx, dword [ebp - 0xc]
xor edi, ecx
mov esi, dword [ebp - 0x10]
xor edx, edi
ror edx, 4
xor esi, edi
mov ecx, edx
mov eax, edx
shr eax, 0xa
shr ecx, 0x12
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x7236a8]
xor ecx, dword [eax*4 + 0x7234a8]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x7232a8]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x7235a8]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x7233a8]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x7231a8]
xor ecx, dword [edx*4 + 0x7238a8]
xor ecx, dword [esi*4 + 0x7237a8]
xor ebx, ecx
dec dword [esp + 0x18]
jne 0x612a90
jmp 0x612cae
add ebp, 0x70
mov dword [esp + 0x18], 8
mov edx, dword [ebp + 0xc]
lea ebp, [ebp - 0x10]
mov esi, dword [ebp + 0x18]
xor edx, ebx
ror edx, 4
xor esi, ebx
mov ecx, edx
mov eax, edx
shr eax, 0xa
and eax, 0x3f
shr ecx, 0x12
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x7236a8]
xor ecx, dword [eax*4 + 0x7234a8]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x7232a8]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x7235a8]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x7233a8]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x7231a8]
xor ecx, dword [edx*4 + 0x7238a8]
xor ecx, dword [esi*4 + 0x7237a8]
mov edx, dword [ebp + 0x14]
xor edi, ecx
mov esi, dword [ebp + 0x10]
xor edx, edi
ror edx, 4
xor esi, edi
mov ecx, edx
mov eax, edx
shr eax, 0xa
shr ecx, 0x12
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x7236a8]
xor ecx, dword [eax*4 + 0x7234a8]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x7232a8]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x7235a8]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x7233a8]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x7231a8]
xor ecx, dword [edx*4 + 0x7238a8]
xor ecx, dword [esi*4 + 0x7237a8]
xor ebx, ecx
dec dword [esp + 0x18]
jne 0x612ba7
ror ebx, 3
mov eax, ebx
ror edi, 3
shr eax, 1
xor eax, edi
mov edx, dword [esp + 0x14]
and eax, 0x55555555
xor edi, eax
add eax, eax
xor ebx, eax
mov eax, edi
shr eax, 8
xor eax, ebx
and eax, 0xff00ff
xor ebx, eax
shl eax, 8
xor edi, eax
mov eax, ebx
shr eax, 2
xor eax, edi
and eax, 0x33333333
xor edi, eax
shl eax, 2
xor ebx, eax
mov eax, edi
shr eax, 0x10
xor eax, ebx
and eax, 0xffff
xor ebx, eax
shl eax, 0x10
xor edi, eax
mov ecx, ebx
shr ecx, 4
xor ecx, edi
and ecx, 0xf0f0f0f
mov eax, ecx
shl ecx, 4
xor eax, edi
xor ecx, ebx
pop edi
pop esi
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
ret