Function at 0x10064930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], edx
mov edx, dword [ecx + 0x18]
mov eax, edx
shr eax, 2
add eax, edx
mov dword [ebp - 0x24], edx
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x2c], eax
push ebx
mov ebx, dword [ecx + 0x1c]
mov eax, ebx
shr eax, 2
add eax, ebx
mov dword [ebp - 0x30], ebx
mov ebx, dword [ecx]
mov dword [ebp - 0x18], eax
push esi
mov esi, dword [ecx + 0x20]
mov eax, esi
shr eax, 2
add eax, esi
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], esi
mov dword [ebp - 8], edx
push edi
mov edi, dword [ecx + 0xc]
mov dword [ebp - 0x34], edi
cmp eax, 0x10
jb 0x10064b3c
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
add esi, 8
shr eax, 4
mov dword [ebp - 0x28], esi
mov dword [ebp + 8], eax
nop dword [eax]
mov edi, dword [esi - 8]
xor eax, eax
mov esi, dword [esi - 4]
add edi, ebx
mov ebx, dword [ebp - 0x28]
adc eax, eax
mov dword [ebp - 0x1c], edi
xor edx, edx
add esi, eax
adc edx, edx
add esi, dword [ebp - 0x20]
mov dword [ebp - 0x20], esi
adc edx, 0
xor eax, eax
add edx, dword [ebp - 0x14]
adc eax, eax
add edx, dword [ebx]
mov ebx, dword [ebx + 4]
adc eax, 0
mov dword [ebp - 0x14], edx
xor edx, edx
add ebx, eax
mov eax, esi
adc edx, edx
add ebx, dword [ebp - 0x34]
mov dword [ebp - 0x34], ebx
adc edx, 0
add edx, dword [ebp + 0xc]
add dword [ebp - 8], edx
mul ecx
mov dword [ebp - 4], eax
mov esi, edx
mov eax, dword [ebp - 0x14]
mul dword [ebp - 0x18]
add dword [ebp - 4], eax
mov eax, ebx
adc esi, edx
mul dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, edi
adc esi, edx
mul dword [ebp - 0xc]
add dword [ebp - 4], eax
mov eax, dword [ebp - 8]
adc esi, edx
imul eax, dword [ebp - 0x2c]
xor edi, edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mul ecx
add dword [ebp - 0x10], eax
mov eax, ebx
mov ebx, dword [ebp - 0x10]
adc edi, edx
mul dword [ebp - 0x18]
add ebx, eax
mov eax, dword [ebp - 0x1c]
adc edi, edx
mul dword [ebp - 0x24]
add ebx, eax
mov eax, dword [ebp - 0x20]
adc edi, edx
mul dword [ebp - 0xc]
add ebx, eax
mov eax, dword [ebp - 0x34]
adc edi, edx
add ebx, esi
mov esi, dword [ebp - 8]
adc edi, 0
mov dword [ebp - 0x10], ebx
imul esi, dword [ebp - 0x18]
xor ebx, ebx
mul ecx
add esi, eax
mov eax, dword [ebp - 0x1c]
adc ebx, edx
mul dword [ebp - 0x30]
add esi, eax
mov eax, dword [ebp - 0x20]
adc ebx, edx
mul dword [ebp - 0x24]
add esi, eax
mov eax, dword [ebp - 0x14]
adc ebx, edx
mul dword [ebp - 0xc]
add esi, eax
mov eax, dword [ebp - 0x1c]
adc ebx, edx
add esi, edi
mov edi, dword [ebp - 8]
adc ebx, 0
mov dword [ebp - 0x3c], esi
mul dword [ebp - 0x38]
imul edi, ecx
xor esi, esi
add edi, eax
mov eax, dword [ebp - 0x20]
adc esi, edx
mul dword [ebp - 0x30]
add edi, eax
mov eax, dword [ebp - 0x14]
adc esi, edx
mul dword [ebp - 0x24]
add edi, eax
mov eax, dword [ebp - 0x34]
adc esi, edx
mul dword [ebp - 0xc]
add edi, eax
mov eax, dword [ebp - 8]
adc esi, edx
add edi, ebx
adc esi, 0
imul eax, dword [ebp - 0xc]
add esi, eax
mov edx, esi
mov eax, esi
shr edx, 2
and eax, 0xfffffffc
add edx, eax
and esi, 3
mov eax, dword [ebp - 4]
lea ebx, [eax + edx]
xor eax, edx
xor edx, ebx
or eax, edx
mov edx, dword [ebp - 0x10]
xor eax, ebx
shr eax, 0x1f
add eax, edx
or edx, eax
mov dword [ebp - 0x20], eax
xor edx, eax
mov eax, dword [ebp - 0x3c]
shr edx, 0x1f
add edx, eax
or eax, edx
mov dword [ebp - 0x14], edx
xor eax, edx
mov edx, edi
shr eax, 0x1f
lea edi, [edx + eax]
or edx, edi
mov dword [ebp - 0x34], edi
xor edx, edi
shr edx, 0x1f
add edx, esi
mov esi, dword [ebp - 0x28]
add esi, 0x10
mov dword [ebp - 8], edx
sub dword [ebp + 8], 1
mov dword [ebp - 0x28], esi
jne 0x100649b0
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0xc], edi
pop edi
mov dword [ecx], ebx
mov ebx, dword [ebp - 0x14]
pop esi
mov dword [ecx + 8], ebx
mov dword [ecx + 4], eax
mov dword [ecx + 0x10], edx
pop ebx
mov esp, ebp
pop ebp
ret