Function at 0x1ca0280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [0x1cf7014]
xor eax, ebp
mov dword [esp + 0x88], eax
xor ebx, ebx
cmp dword [ebp + 8], 0x30
ja 0x1ca050d
mov edi, edx
mov esi, ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x20], xmm0
mov ecx, dword [ecx + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
lea ebx, [esi + 0xfc]
call dword [section..00cfg]
lea eax, [esp + 0x20]
push esi
push eax
push ebx
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x34]
push eax
push ebx
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x44]
push eax
push ebx
call ecx
mov edx, dword [ebp + 8]
add esp, 0xc
test edx, edx
je 0x1ca035d
xor eax, eax
nop dword [eax]
movzx ecx, byte [edi + eax]
xor byte [esp + eax + 0x20], cl
inc eax
cmp edx, eax
jne 0x1ca0350
lea edi, [esi + 0xf4]
mov eax, dword [0x1d0d110]
test eax, 0x2000000
jne 0x1ca04b9
test eax, 0x200
jne 0x1ca04d8
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esi + 0xf0], 0xe
movaps xmm0, xmmword [esp + 0x20]
movaps xmmword [esp + 0x70], xmm0
movups xmmword [esi], xmm0
lea eax, [esp + 0x30]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x10], xmm0
mov ebx, 0x30
mov edi, 0x1cf0000
movdqa xmm0, xmmword [esp + 0x70]
movdqa xmmword [esp + 0x10], xmm0
nop word cs:[eax + eax]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
lea ecx, [esp + 0x50]
lea edx, [esp + 0x60]
call fcn.01ca09e0
movzx eax, byte [edi]
movd xmm1, eax
pxor xmm1, xmmword [esp + 0x10]
movdqa xmm0, xmmword [esp + 0x50]
movdqa xmm2, xmm0
psrld xmm2, 8
pslld xmm0, 0x18
por xmm0, xmm2
psrldq xmm0, 0xc
pxor xmm0, xmm1
movdqa xmm1, xmm0
pslldq xmm1, 4
movdqa xmm2, xmm0
pslldq xmm2, 8
pxor xmm2, xmm1
movdqa xmm1, xmm0
pslldq xmm1, 0xc
pxor xmm1, xmm2
pxor xmm1, xmm0
movdqa xmmword [esp + 0x70], xmm1
movaps xmm0, xmmword [esp + 0x70]
movups xmmword [esi + ebx - 0x10], xmm0
cmp ebx, 0xf0
je 0x1ca0525
movdqa xmmword [esp + 0x10], xmm1
lea ecx, [esp + 0x50]
lea edx, [esp + 0x70]
call fcn.01ca09e0
movdqa xmm0, xmmword [esp + 0x50]
psrldq xmm0, 0xc
pxor xmm0, xmmword [esp + 0x60]
movdqa xmm1, xmm0
movdqa xmm2, xmm0
pslldq xmm2, 0xc
pxor xmm2, xmm0
pslldq xmm0, 4
pslldq xmm1, 8
pxor xmm1, xmm0
pxor xmm2, xmm1
movdqa xmmword [esp + 0x60], xmm2
movdqa xmm0, xmmword [esp + 0x60]
movdqu xmmword [esi + ebx], xmm0
add ebx, 0x20
inc edi
jmp 0x1ca03d0
push esi
push 0x100
lea eax, [esp + 0x28]
push eax
call fcn.01c23500
add esp, 0xc
mov ecx, 0x1c21180
mov eax, 0x1c21d10
jmp 0x1ca04f2
push esi
push 0x100
lea eax, [esp + 0x28]
push eax
call fcn.01c24020
add esp, 0xc
mov ecx, 0x1c240d0
xor eax, eax
test edi, edi
je 0x1ca04f8
mov dword [edi], ecx
mov dword [esi + 0xf8], eax
lea eax, [esp + 0x40]
movups xmm0, xmmword [eax]
movups xmmword [ebx], xmm0
mov ebx, 1
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.01cb0ac3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x1c9ddd0
mov eax, 0x1c9f110
mov edi, dword [esp + 8]
test edi, edi
mov ebx, dword [esp + 0xc]
jne 0x1ca04f6
jmp 0x1ca04f8