Function at 0xed47f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [eax + 4]
shr ebx, 3
push edi
mov edi, ecx
mov ecx, dword [eax]
mov dword [ebp - 4], ebx
test ebx, ebx
je 0xed4a2d
inc ecx
and ecx, 0xff
mov ebx, dword [eax + ecx*4 + 8]
add esi, ebx
and esi, 0xff
mov dword [ebp - 8], ebx
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 8]
mov dword [eax + esi*4 + 8], ebx
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0xc]
add esi, ebx
and esi, 0xff
movzx ebx, byte [eax + esi*4 + 8]
xor bl, byte [edi]
lea esi, [ecx + 1]
mov byte [edx], bl
and esi, 0xff
mov ecx, dword [eax + esi*4 + 8]
mov dword [ebp - 8], ecx
add ecx, dword [ebp - 0x10]
inc esi
and ecx, 0xff
mov ebx, dword [eax + ecx*4 + 8]
mov dword [eax + esi*4 + 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 8]
mov dword [eax + ecx*4 + 8], ebx
mov ecx, dword [ebp - 0xc]
add ecx, ebx
and ecx, 0xff
movzx ecx, byte [eax + ecx*4 + 8]
xor cl, byte [edi + 1]
and esi, 0xff
mov byte [edx + 1], cl
mov ecx, dword [eax + esi*4 + 8]
mov dword [ebp - 8], ecx
add ecx, dword [ebp - 0x10]
inc esi
and ecx, 0xff
mov ebx, dword [eax + ecx*4 + 8]
mov dword [eax + esi*4 + 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 8]
mov dword [eax + ecx*4 + 8], ebx
mov ecx, dword [ebp - 0xc]
add ecx, ebx
and ecx, 0xff
movzx ecx, byte [eax + ecx*4 + 8]
xor cl, byte [edi + 2]
and esi, 0xff
mov byte [edx + 2], cl
mov ecx, dword [eax + esi*4 + 8]
mov dword [ebp - 8], ecx
add ecx, dword [ebp - 0x10]
inc esi
and ecx, 0xff
mov ebx, dword [eax + ecx*4 + 8]
mov dword [eax + esi*4 + 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 8]
mov dword [eax + ecx*4 + 8], ebx
mov ecx, dword [ebp - 0xc]
add ecx, ebx
and ecx, 0xff
movzx ecx, byte [eax + ecx*4 + 8]
xor cl, byte [edi + 3]
and esi, 0xff
mov byte [edx + 3], cl
mov ecx, dword [eax + esi*4 + 8]
mov dword [ebp - 8], ecx
add ecx, dword [ebp - 0x10]
and ecx, 0xff
mov ebx, dword [eax + ecx*4 + 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
mov dword [eax + esi*4 + 8], ebx
mov ebx, dword [ebp - 8]
mov dword [eax + ecx*4 + 8], ebx
mov ecx, dword [ebp - 0xc]
add ecx, ebx
and ecx, 0xff
movzx ecx, byte [eax + ecx*4 + 8]
xor cl, byte [edi + 4]
inc esi
mov byte [edx + 4], cl
and esi, 0xff
mov ecx, dword [eax + esi*4 + 8]
mov dword [ebp - 8], ecx
add ecx, dword [ebp - 0x10]
inc esi
and ecx, 0xff
mov ebx, dword [eax + ecx*4 + 8]
mov dword [eax + esi*4 + 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 8]
mov dword [eax + ecx*4 + 8], ebx
mov ecx, dword [ebp - 0xc]
add ecx, ebx
and ecx, 0xff
movzx ecx, byte [eax + ecx*4 + 8]
xor cl, byte [edi + 5]
and esi, 0xff
mov byte [edx + 5], cl
mov ecx, dword [eax + esi*4 + 8]
mov dword [ebp - 8], ecx
add ecx, dword [ebp - 0x10]
add edi, 8
and ecx, 0xff
mov ebx, dword [eax + ecx*4 + 8]
mov dword [eax + esi*4 + 8], ebx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 8]
mov dword [eax + ecx*4 + 8], ebx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0xc]
add ecx, ebx
and ecx, 0xff
movzx ecx, byte [eax + ecx*4 + 8]
xor cl, byte [edi - 2]
mov byte [edx + 6], cl
lea ecx, [esi + 1]
mov esi, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
mov dword [eax + esi*4 + 8], edx
mov edx, dword [ebp + 0xc]
and ebx, 0xff
movzx ebx, byte [eax + ebx*4 + 8]
xor bl, byte [edi - 1]
add edx, 8
dec dword [ebp - 4]
mov byte [edx - 1], bl
mov dword [ebp + 0xc], edx
jne 0xed4814
mov edx, dword [ebp + 8]
and edx, 7
mov dword [ebp - 4], edx
je 0xed4c21
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [edi]
dec dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov byte [ebx], dl
je 0xed4c21
jmp 0xed4a80
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [edi + 1]
dec dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov byte [ebx + 1], dl
je 0xed4c21
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [edi + 2]
dec dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov byte [ebx + 2], dl
je 0xed4c21
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [edi + 3]
dec dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov byte [ebx + 3], dl
je 0xed4c21
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [edi + 4]
dec dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov byte [ebx + 4], dl
je 0xed4c21
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [edi + 5]
dec dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov byte [ebx + 5], dl
je 0xed4c21
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [edi + 6]
dec dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov byte [ebx + 6], dl
je 0xed4c21
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [edi]
dec dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov byte [ebx], dl
jne 0xed4a80
pop edi
mov dword [eax + 4], esi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret