Function at 0x100aeca0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx + 0x308]
sub esp, 0x2c
dec eax
push ebx
push ebp
push esi
push edi
cmp eax, 4
ja case.default.0x100aecb7
jmp dword [eax*4 + 0x100aef6c]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
test esi, esi
je case.default.0x100aecb7
nop
movzx eax, byte [ecx + 0x926]
lea edx, [edx + 1]
add byte [ecx + 0x925], al
movzx eax, byte [ecx + 0x925]
add byte [ecx + 0x924], al
movzx eax, byte [ecx + 0x924]
sub byte [edx - 1], al
sub esi, 1
jne 0x100aecd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
test eax, eax
je case.default.0x100aecb7
mov edx, 0x1234
nop dword [eax + eax]
add dx, word [ecx + 0x928]
lea ebp, [ebp + 1]
dec eax
movzx ebx, dx
mov dword [esp + 0x40], eax
movzx eax, dx
mov word [ecx + 0x928], ax
mov eax, ebx
shr eax, 1
movzx eax, al
add eax, 0x105
lea edx, [ecx + eax*4]
movzx eax, word [edx]
xor word [ecx + 0x92a], ax
movzx eax, word [edx + 2]
sub word [ecx + 0x92c], ax
movzx edx, word [ecx + 0x92e]
movzx esi, word [ecx + 0x92a]
movzx edi, word [ecx + 0x92c]
ror dx, 1
xor dx, si
mov eax, edx
shr dx, 1
shl eax, 0xf
or ax, dx
mov edx, 0x1234
mov word [ecx + 0x92e], ax
xor eax, edi
xor eax, ebx
movzx eax, ax
mov word [ecx + 0x928], ax
shr eax, 8
xor byte [ebp - 1], al
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x100aed20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
mov edx, dword [esp + 0x44]
test edx, edx
je case.default.0x100aecb7
mov edi, dword [esp + 0x40]
dec edx
shr edx, 4
inc edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
nop dword [eax]
mov eax, dword [edi]
xor eax, dword [ecx + 0x914]
movups xmm0, xmmword [edi]
mov ebp, dword [edi + 0xc]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x918]
xor eax, dword [edi + 4]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 8]
xor eax, dword [ecx + 0x91c]
xor ebp, dword [ecx + 0x920]
mov dword [esp + 0x20], eax
mov eax, 0x1f
mov edi, dword [esp + 0x20]
movups xmmword [esp + 0x28], xmm0
mov dword [esp + 0x14], eax
and eax, 3
mov edx, ebp
ror edx, 0x15
add edx, edi
mov esi, dword [ecx + eax*4 + 0x914]
xor edx, esi
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx ebx, byte [eax + ecx + 0x814]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx + 0x814]
shl eax, 8
or ebx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + ecx + 0x814]
or ebx, eax
movzx eax, dl
mov edx, edi
shl ebx, 8
ror edx, 0xf
xor edx, ebp
movzx eax, byte [eax + ecx + 0x814]
add edx, esi
or ebx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
xor ebx, dword [esp + 0x44]
movzx esi, byte [eax + ecx + 0x814]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx + 0x814]
shl eax, 8
or esi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + ecx + 0x814]
or esi, eax
movzx eax, dl
shl esi, 8
mov edx, edi
mov dword [esp + 0x44], edx
mov edi, ebx
movzx eax, byte [eax + ecx + 0x814]
or esi, eax
mov eax, dword [esp + 0x14]
xor esi, dword [esp + 0x40]
sub eax, 1
mov dword [esp + 0x40], ebp
mov ebp, esi
mov dword [esp + 0x14], eax
jns 0x100aee24
mov ebp, dword [ecx + 0x914]
mov edi, dword [esp + 0x18]
xor ebp, ebx
mov dword [edi], ebp
mov eax, dword [ecx + 0x918]
xor eax, esi
mov dword [edi + 4], eax
mov eax, dword [ecx + 0x91c]
xor eax, edx
mov dword [edi + 8], eax
mov eax, dword [ecx + 0x920]
xor eax, dword [esp + 0x40]
mov dword [edi + 0xc], eax
lea eax, [esp + 0x28]
push eax
call fcn.100ad850
add edi, 0x10
sub dword [esp + 0x1c], 1
mov dword [esp + 0x18], edi
jne 0x100aede0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
mov eax, dword [esp + 0x40]
add ecx, 0x30c
push eax
push dword [esp + 0x48]
push eax
call fcn.1010e6a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8