Function at 0x4ead20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov ecx, dword [ebp + 0x14]
xor eax, eax
cmp ecx, 0x30
ja 0x4eaf78
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
movups xmm0, xmmword [eax + 0x20]
movaps xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movaps xmmword [esp + 0x10], xmm1
movaps xmmword [esp], xmm0
test ecx, ecx
je 0x4eadee
mov eax, dword [ebp + 0x10]
xor edx, edx
cmp ecx, 8
jb 0x4eade0
xor edx, edx
cmp ecx, 0x10
jb 0x4eadb4
mov edx, ecx
and edx, 0xfffffff0
movups xmm0, xmmword [eax]
xorps xmm0, xmmword [esp]
movaps xmmword [esp], xmm0
cmp edx, 0x10
je 0x4eadab
movups xmm0, xmmword [eax + 0x10]
xorps xmm0, xmmword [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
cmp edx, 0x20
je 0x4eadab
movups xmm0, xmmword [eax + 0x20]
xorps xmm0, xmmword [esp + 0x20]
movaps xmmword [esp + 0x20], xmm0
cmp edx, ecx
je 0x4eadee
test cl, 8
je 0x4eade0
mov esi, edx
mov edx, ecx
and edx, 0xfffffff8
nop dword [eax + eax]
movsd xmm0, qword [eax + esi]
movsd xmm1, qword [esp + esi]
xorps xmm1, xmm0
movlps qword [esp + esi], xmm1
add esi, 8
cmp edx, esi
jne 0x4eadc0
cmp edx, ecx
je 0x4eadee
nop dword [eax]
movzx ebx, byte [eax + edx]
xor byte [esp + edx], bl
add edx, 1
cmp ecx, edx
jne 0x4eade0
movaps xmm0, xmmword [esp]
xorps xmm0, xmmword [0x56ef80]
movdqa xmm1, xmmword [esp + 0x10]
movaps xmmword [esp], xmm0
pxor xmm1, xmmword [0x56ef90]
movdqa xmmword [esp + 0x10], xmm1
movaps xmm0, xmmword [esp + 0x20]
xorps xmm0, xmmword [0x56efa0]
movaps xmmword [esp + 0x20], xmm0
mov dword [edi + 0xf0], 0xe
movaps xmm0, xmmword [esp]
movaps xmmword [esp + 0x50], xmm0
movups xmmword [edi], xmm0
movaps xmm0, xmmword [esp + 0x10]
movaps xmmword [esp + 0x40], xmm0
movups xmmword [edi + 0x10], xmm0
mov ebx, 0x30
mov esi, 0x570075
movaps xmm0, xmmword [esp + 0x50]
movaps xmmword [esp + 0x60], xmm0
nop word [eax + eax]
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
lea ecx, [esp + 0x30]
lea edx, [esp + 0x40]
call fcn.004f9880
movzx eax, byte [esi]
movd xmm0, eax
pxor xmm0, xmmword [esp + 0x60]
movdqa xmm2, xmmword [esp + 0x30]
movdqa xmm1, xmm2
psrld xmm1, 8
pslld xmm2, 0x18
por xmm2, xmm1
psrldq xmm2, 0xc
pxor xmm2, xmm0
movdqa xmm0, xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movdqa xmm1, xmm2
pslldq xmm1, 8
pslldq xmm2, 0xc
pxor xmm2, xmm1
pxor xmm2, xmm0
movdqa xmmword [esp + 0x50], xmm2
movaps xmm0, xmmword [esp + 0x50]
movups xmmword [edi + ebx - 0x10], xmm0
cmp ebx, 0xf0
je 0x4eaf3f
movdqa xmmword [esp + 0x60], xmm2
lea ecx, [esp + 0x30]
lea edx, [esp + 0x50]
call fcn.004f9880
movdqa xmm0, xmmword [esp + 0x30]
psrldq xmm0, 0xc
pxor xmm0, xmmword [esp + 0x40]
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm2, xmm0
pslldq xmm2, 8
pslldq xmm0, 0xc
pxor xmm0, xmm2
pxor xmm0, xmm1
movdqa xmmword [esp + 0x40], xmm0
movaps xmm0, xmmword [esp + 0x40]
movups xmmword [edi + ebx], xmm0
add ebx, 0x20
add esi, 1
jmp 0x4eae60
mov dword [edi + 0xf4], fcn.004ac5d0
mov dword [edi + 0xf8], 0x4ae8c0
movaps xmm0, xmmword [esp + 0x20]
movups xmmword [edi + 0xfc], xmm0
mov dword [edi + 0x114], 0
mov dword [edi + 0x110], 1
mov eax, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret