Function at 0x4018e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x49f008]
xor eax, esp
mov dword [esp + 0x74], eax
movups xmm7, xmmword [ecx + 0x30]
push esi
movups xmm0, xmmword [ecx + 0x40]
mov esi, dword [ebp + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 0x38], ecx
movaps xmmword [esp + 0x3c], xmm7
movaps xmmword [esp + 0xc], xmm0
movups xmm6, xmmword [ecx + 0x50]
push edi
mov edi, dword [ebp + 8]
movaps xmmword [esp + 0x20], xmm6
movups xmm5, xmmword [ecx + 0x60]
movups xmm1, xmmword [ecx + 0x70]
movaps xmmword [esp + 0x50], xmm5
movaps xmmword [esp + 0x60], xmm1
cmp esi, 0x10
jge 0x401943
test esi, esi
je 0x401db7
jmp 0x401ca6
mov eax, edi
neg eax
and eax, 0xf
je 0x401a17
movups xmm1, xmmword [edi]
add edi, eax
sub esi, eax
movaps xmm2, xmmword [0x495f00]
movaps xmm3, xmm7
movups xmmword [edx], xmm1
add edx, eax
shl eax, 4
movaps xmmword [esp + 0x60], xmm1
mov dword [esp + 0xc], edx
movaps xmm1, xmmword [eax + 0x4894b0]
pshufb xmm0, xmm1
pxor xmm2, xmm1
pshufb xmm7, xmm2
pshufb xmm3, xmm1
por xmm7, xmm0
movaps xmm0, xmmword [esp + 0x10]
pshufb xmm0, xmm2
movaps xmmword [esp + 0x40], xmm7
movaps xmmword [esp + 0x10], xmm0
movaps xmm0, xmm6
movaps xmm7, xmmword [esp + 0x10]
pshufb xmm0, xmm1
pshufb xmm6, xmm2
por xmm7, xmm0
movaps xmm0, xmm5
pshufb xmm0, xmm1
pshufb xmm5, xmm2
por xmm6, xmm0
movaps xmmword [esp + 0x10], xmm7
movaps xmm0, xmmword [esp + 0x60]
movaps xmm7, xmmword [esp + 0x40]
pshufb xmm0, xmm1
movaps xmm1, xmm3
movaps xmmword [esp + 0x20], xmm6
pclmulqdq xmm1, xmmword [0x495ee0], 0x10
movaps xmmword [esp + 0x60], xmm0
por xmm0, xmm5
movaps xmm5, xmm3
pclmulqdq xmm5, xmmword [0x495ee0], 1
xorps xmm5, xmm0
movaps xmm0, xmmword [esp + 0x10]
xorps xmm5, xmm1
movaps xmmword [esp + 0x50], xmm5
sub esi, 0x40
js 0x401aff
lea eax, [esi + 0x40]
shr eax, 6
mov dword [esp + 0xc], eax
neg eax
shl eax, 6
add esi, eax
mov eax, dword [esp + 0xc]
movaps xmm1, xmmword [edi]
movaps xmm0, xmm7
movaps xmm2, xmmword [edi + 0x10]
movaps xmm3, xmmword [edi + 0x20]
movaps xmm4, xmmword [edi + 0x30]
add edi, 0x40
movaps xmmword [esp + 0x20], xmm1
movaps xmm1, xmmword [0x495ee0]
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm7, xmm1, 0x10
xorps xmm7, xmm0
movaps xmm0, xmmword [esp + 0x10]
pclmulqdq xmm0, xmm1, 1
movaps xmm1, xmmword [esp + 0x10]
pclmulqdq xmm1, xmmword [0x495ee0], 0x10
xorps xmm1, xmm0
movaps xmm0, xmm6
movaps xmmword [esp + 0x10], xmm1
movaps xmm1, xmmword [0x495ee0]
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm6, xmm1, 0x10
xorps xmm6, xmm0
movaps xmm0, xmm5
pclmulqdq xmm0, xmm1, 1
pclmulqdq xmm5, xmm1, 0x10
movaps xmm1, xmmword [esp + 0x20]
xorps xmm5, xmm0
movaps xmm0, xmmword [esp + 0x10]
pxor xmm7, xmm1
movups xmmword [edx], xmm1
movups xmmword [edx + 0x10], xmm2
movups xmmword [edx + 0x20], xmm3
movups xmmword [edx + 0x30], xmm4
add edx, 0x40
pxor xmm0, xmm2
pxor xmm6, xmm3
movaps xmmword [esp + 0x10], xmm0
pxor xmm5, xmm4
sub eax, 1
jne 0x401a35
mov dword [esp + 0xc], edx
movaps xmmword [esp + 0x40], xmm7
movaps xmmword [esp + 0x20], xmm6
movaps xmmword [esp + 0x50], xmm5
lea eax, [esi + 0x10]
test eax, eax
js 0x401bb7
movaps xmm0, xmmword [0x495ee0]
movaps xmm1, xmm5
movaps xmm2, xmmword [edi]
movaps xmm5, xmm6
movaps xmm3, xmmword [edi + 0x10]
mov esi, eax
movaps xmm4, xmmword [edi + 0x20]
movaps xmmword [esp + 0x20], xmm2
movaps xmm2, xmmword [esp + 0x10]
pclmulqdq xmm6, xmm0, 1
pclmulqdq xmm5, xmm0, 0x10
xorps xmm5, xmm6
movaps xmm6, xmmword [esp + 0x10]
pxor xmm5, xmm4
movaps xmmword [esp + 0x50], xmm5
pclmulqdq xmm2, xmm0, 1
pclmulqdq xmm6, xmm0, 0x10
xorps xmm6, xmm2
movaps xmm2, xmm7
pxor xmm6, xmm3
pclmulqdq xmm2, xmm0, 0x10
movaps xmmword [esp + 0x10], xmm2
movaps xmm2, xmmword [esp + 0x20]
movaps xmmword [esp + 0x20], xmm6
pclmulqdq xmm7, xmm0, 1
movaps xmm0, xmmword [esp + 0x10]
xorps xmm0, xmm7
movaps xmm7, xmm1
movaps xmmword [esp + 0x40], xmm7
pxor xmm0, xmm2
movaps xmmword [esp + 0x10], xmm0
movups xmmword [edx], xmm2
movups xmmword [edx + 0x10], xmm3
movups xmmword [edx + 0x20], xmm4
test esi, esi
je 0x401d9e
add edx, 0x30
add edi, 0x30
mov dword [esp + 0xc], edx
jmp 0x401ca6
lea eax, [esi + 0x20]
test eax, eax
js 0x401c3a
movaps xmm0, xmmword [0x495ee0]
movaps xmm1, xmm6
movaps xmm6, xmmword [esp + 0x10]
movaps xmm2, xmm5
movaps xmm3, xmmword [edi]
movaps xmm5, xmm6
movaps xmm4, xmmword [edi + 0x10]
mov esi, eax
pclmulqdq xmm6, xmm0, 1
pclmulqdq xmm5, xmm0, 0x10
xorps xmm5, xmm6
movaps xmm6, xmm7
pxor xmm5, xmm4
movaps xmmword [esp + 0x50], xmm5
pclmulqdq xmm7, xmm0, 1
pclmulqdq xmm6, xmm0, 0x10
xorps xmm6, xmm7
movaps xmm7, xmm1
movaps xmmword [esp + 0x40], xmm7
movaps xmm0, xmm2
movaps xmmword [esp + 0x10], xmm0
pxor xmm6, xmm3
movaps xmmword [esp + 0x20], xmm6
movups xmmword [edx], xmm3
movups xmmword [edx + 0x10], xmm4
test esi, esi
je 0x401d9e
add edx, 0x20
add edi, 0x20
mov dword [esp + 0xc], edx
jmp 0x401ca6
lea eax, [esi + 0x30]
test eax, eax
js 0x401c9d
movaps xmm2, xmmword [edi]
movaps xmm1, xmm5
movaps xmm5, xmm7
movaps xmm0, xmm6
pclmulqdq xmm7, xmmword [0x495ee0], 1
pclmulqdq xmm5, xmmword [0x495ee0], 0x10
xorps xmm5, xmm7
mov esi, eax
movaps xmm7, xmmword [esp + 0x10]
movaps xmm6, xmm1
movaps xmmword [esp + 0x40], xmm7
pxor xmm5, xmm2
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp + 0x20], xmm6
movaps xmmword [esp + 0x50], xmm5
movups xmmword [edx], xmm2
test esi, esi
je 0x401d9e
add edx, 0x10
add edi, 0x10
mov dword [esp + 0xc], edx
jmp 0x401ca6
add esi, 0x40
je 0x401d99
push esi
lea eax, [esp + 0x64]
xorps xmm0, xmm0
push edi
push eax
movups xmmword [esp + 0x6c], xmm0
call fcn.00452490
movd xmm2, dword [esp + 0x78]
add esp, 0xc
movd xmm0, dword [esp + 0x68]
movd xmm1, dword [esp + 0x64]
movd xmm3, dword [esp + 0x60]
mov eax, dword [esp + 0xc]
movaps xmm5, xmmword [esp + 0x10]
movaps xmm7, xmmword [esp + 0x40]
movaps xmm6, xmmword [esp + 0x20]
punpckldq xmm3, xmm0
movaps xmm0, xmm5
punpckldq xmm1, xmm2
movaps xmm2, xmmword [0x495f00]
punpckldq xmm3, xmm1
shl esi, 4
movups xmmword [eax], xmm3
mov ecx, dword [esp + 0x3c]
movaps xmmword [esp + 0x60], xmm3
movaps xmm3, xmm7
movaps xmm1, xmmword [esi + 0x4894b0]
pshufb xmm0, xmm1
pxor xmm2, xmm1
pshufb xmm7, xmm2
pshufb xmm5, xmm2
por xmm7, xmm0
movaps xmm0, xmm6
pshufb xmm0, xmm1
pshufb xmm6, xmm2
por xmm5, xmm0
movaps xmmword [esp + 0x10], xmm5
movaps xmm5, xmmword [esp + 0x50]
movaps xmm0, xmm5
pshufb xmm0, xmm1
pshufb xmm5, xmm2
por xmm6, xmm0
movaps xmm0, xmmword [esp + 0x60]
pshufb xmm0, xmm1
pshufb xmm3, xmm1
movaps xmmword [esp + 0x60], xmm0
por xmm0, xmm5
movaps xmm5, xmm3
movaps xmm1, xmm3
pclmulqdq xmm5, xmmword [0x495ee0], 1
pclmulqdq xmm1, xmmword [0x495ee0], 0x10
xorps xmm5, xmm0
movaps xmm0, xmmword [esp + 0x10]
xorps xmm5, xmm1
jmp 0x401d9e
movaps xmm5, xmmword [esp + 0x50]
movups xmmword [ecx + 0x30], xmm7
movups xmmword [ecx + 0x40], xmm0
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [ecx + 0x50], xmm6
movups xmmword [ecx + 0x60], xmm5
movups xmmword [ecx + 0x70], xmm0
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
xor ecx, esp
call fcn.0044df7a
mov esp, ebp
pop ebp
ret