Function at 0x4edca0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov edx, dword [esp + 0x24]
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, edx
mov dword [esp + 0xc], ecx
shr esi, 2
mov dword [esp + 0x1c], esi
push edi
mov edi, dword [esp + 0x28]
test esi, esi
je 0x4edddc
cmp esi, 8
jb 0x4edd8c
lea eax, [ebp - 4]
mov dword [esp + 0x10], ecx
lea eax, [eax + esi*4]
cmp edi, eax
ja 0x4edcf3
lea eax, [edi - 4]
lea eax, [eax + esi*4]
cmp eax, ebp
jae 0x4edd8c
lea eax, [ebx - 4]
lea eax, [eax + esi*4]
cmp edi, eax
ja 0x4edd0b
lea eax, [edi - 4]
lea eax, [eax + esi*4]
cmp eax, ebx
jae 0x4edd8c
mov eax, esi
mov edx, esi
and eax, 7
sub edx, eax
lea eax, [ebx + 0x10]
mov dword [esp + 0x1c], edx
mov edx, edi
sub edx, ebx
mov dword [esp + 0x10], edx
mov edx, ebp
sub edx, ebx
mov dword [esp + 0x14], edx
mov edx, edi
mov edi, dword [esp + 0x10]
sub edx, ebp
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov edx, ebp
mov esi, dword [esp + 0x18]
movdqu xmm0, xmmword [edx]
add ecx, 8
lea edx, [edx + 0x20]
lea eax, [eax + 0x20]
movdqu xmm1, xmmword [eax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [esi + edx - 0x20], xmm1
movdqu xmm1, xmmword [ebx + eax - 0x20]
movdqu xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [edi + eax - 0x20], xmm1
cmp ecx, dword [esp + 0x1c]
jb 0x4edd41
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
cmp ecx, esi
jae 0x4edddc
mov eax, edi
lea ecx, [ecx*4]
sub eax, ebp
sub ebx, ebp
mov dword [esp + 0x1c], eax
add ecx, ebp
mov eax, dword [esp + 0x10]
mov edx, ebx
sub esi, eax
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x1c]
add eax, esi
mov dword [esp + 0x10], eax
lea esp, [esp]
mov eax, dword [edx + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
mov dword [ecx + ebx - 4], eax
dec esi
jne 0x4eddc0
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
shl ecx, 2
sub edx, ecx
mov dword [esp + 0x34], edx
je 0x4eded1
add edi, ecx
add ebx, ecx
add ebp, ecx
mov dword [esp + 0x28], edi
xor esi, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
test edx, edx
je 0x4eded1
cmp edx, 0x20
jb 0x4edeb4
lea eax, [ebp - 1]
lea ecx, [edi - 1]
add eax, edx
add ecx, edx
cmp edi, eax
ja 0x4ede26
cmp ecx, ebp
jae 0x4edeb4
lea eax, [ebx - 1]
add eax, edx
cmp edi, eax
ja 0x4ede37
cmp ecx, ebx
jae 0x4edeb4
mov eax, edx
mov ecx, edx
mov edx, edi
and eax, 0x1f
sub edx, ebx
sub ecx, eax
mov dword [esp + 0x20], edx
mov eax, ebx
mov edx, ebp
mov dword [esp + 0x14], ecx
sub edx, ebx
lea ecx, [ebp + 0x10]
mov dword [esp + 0x1c], edx
mov edx, edi
mov edi, dword [esp + 0x20]
sub edx, ebp
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x18]
movdqu xmm0, xmmword [eax]
add esi, 0x20
lea eax, [eax + 0x20]
lea ecx, [ecx + 0x20]
movdqu xmm1, xmmword [eax + ebx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [eax + edi - 0x20], xmm1
movdqu xmm1, xmmword [eax - 0x10]
movdqu xmm0, xmmword [ecx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [ecx + ebp - 0x20], xmm1
cmp esi, dword [esp + 0x14]
jb 0x4ede71
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
cmp esi, edx
jae 0x4eded1
sub ebx, ebp
lea ecx, [esi + ebp]
sub edi, ebp
sub edx, esi
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [edi + ecx - 1], al
dec edx
jne 0x4edec1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret