Function at 0x1010ee60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x58
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x54], eax
cmp dword [ecx + 4], 1
mov dword [esp], ecx
mov dword [esp + 0x10], 1
jle 0x1010f06c
push ebx
push ebp
push esi
lea ebx, [ecx + 0x18]
mov dword [esp + 0x14], 0x10
push edi
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x18]
xor eax, eax
add ebx, edx
mov dword [esp + 0x50], ebx
movzx esi, byte [edx + ecx + 0x1b]
movzx edi, byte [edx + ecx + 0x1a]
movzx ebx, byte [edx + ecx + 0x19]
movzx ebp, byte [edx + ecx + 0x18]
movzx ecx, byte [edx + ecx + 0x1f]
shl ecx, 2
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [edx + ecx + 0x1e]
shl ecx, 2
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [edx + ecx + 0x1d]
shl ecx, 2
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [edx + ecx + 0x1c]
shl ecx, 2
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + edx + 0xb]
shl ecx, 2
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + edx + 0xa]
shl ecx, 2
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + edx + 9]
shl ecx, 2
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + edx + 8]
shl ecx, 2
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [edx + ecx + 0x27]
shl ecx, 2
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [edx + ecx + 0x26]
shl ecx, 2
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [edx + ecx + 0x25]
shl ecx, 2
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [edx + ecx + 0x24]
shl ecx, 2
mov dword [esp + 0x40], ecx
nop dword [eax]
nop word [eax + eax]
movzx ecx, byte [eax + ebx*4 + 0x101f9b80]
xor cl, byte [eax + esi*4 + 0x101fa380]
xor cl, byte [eax + edi*4 + 0x101f9f80]
xor cl, byte [eax + ebp*4 + 0x101f9780]
mov edx, dword [esp + 0x28]
mov byte [esp + eax + 0x54], cl
mov ecx, dword [esp + 0x24]
movzx ecx, byte [ecx + eax + 0x101f9780]
xor cl, byte [edx + eax + 0x101f9b80]
mov edx, dword [esp + 0x2c]
xor cl, byte [edx + eax + 0x101f9f80]
mov edx, dword [esp + 0x1c]
xor cl, byte [edx + eax + 0x101fa380]
mov edx, dword [esp + 0x34]
mov byte [esp + eax + 0x58], cl
mov ecx, dword [esp + 0x30]
movzx ecx, byte [ecx + eax + 0x101f9780]
xor cl, byte [edx + eax + 0x101f9b80]
mov edx, dword [esp + 0x38]
xor cl, byte [edx + eax + 0x101f9f80]
mov edx, dword [esp + 0x3c]
xor cl, byte [edx + eax + 0x101fa380]
mov edx, dword [esp + 0x44]
mov byte [esp + eax + 0x5c], cl
mov ecx, dword [esp + 0x40]
movzx ecx, byte [ecx + eax + 0x101f9780]
xor cl, byte [edx + eax + 0x101f9b80]
mov edx, dword [esp + 0x48]
xor cl, byte [edx + eax + 0x101f9f80]
mov edx, dword [esp + 0x4c]
xor cl, byte [edx + eax + 0x101fa380]
mov byte [esp + eax + 0x60], cl
inc eax
cmp eax, 4
jl 0x1010ef80
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
movups xmm0, xmmword [esp + 0x54]
mov edx, dword [esp + 0x20]
add dword [esp + 0x18], 0x10
inc edx
movups xmmword [eax], xmm0
lea ebx, [ecx + 0x18]
mov dword [esp + 0x20], edx
cmp edx, dword [ecx + 4]
jl 0x1010ee96
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10151433
add esp, 0x58
ret