Function at 0x10115ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x34
mov eax, dword [0x102230c0]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10241d9c]
push ebx
push esi
push edi
mov esi, dword [eax + ecx*4]
mov eax, dword [0x10534bec]
cmp eax, dword [esi + 4]
jle 0x10115cb8
push 0x10534bec
call fcn.101b643d
add esp, 4
cmp dword [0x10534bec], 0xffffffff
jne 0x10115cb8
mov eax, dword [0x10240c88]
xor ecx, ecx
cmp dword [0x10241d90], 2
movups xmm0, xmmword [str.RlFTQSWUVd_O_I_5_C]
mov edi, dword [eax + 8]
mov ax, word [0x1020d3cc]
mov word [esp + 0x38], ax
mov al, byte [0x1020d3ce]
movups xmmword [esp + 0x28], xmm0
mov byte [esp + 0x3a], al
jl 0x10115c70
movaps xmm0, xmmword [0x10215c30]
lea ebx, [esp + 0x2c]
movaps xmm4, xmmword [0x10215ab0]
movaps xmm3, xmmword [0x10215f10]
movaps xmm5, xmmword [0x10215b10]
movaps xmmword [esp + 0x10], xmm0
mov edx, dword [esp + 0x10]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10215c00]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x28]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x28], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x10215c00]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebx + ecx]
xorps xmm1, xmm0
movd dword [ebx + ecx], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x10115b71
cmp ecx, 0x13
jge 0x10115c98
nop dword [eax + eax]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x32
sub dl, al
add dl, 0x31
xor byte [esp + ecx + 0x28], dl
inc ecx
cmp ecx, 0x13
jl 0x10115c70
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
push 0x10534bec
mov dword [0x10534bf0], eax
call fcn.101b63ec
add esp, 4
mov eax, dword [0x10534adc]
cmp eax, dword [esi + 4]
jle 0x10115cfa
push 0x10534adc
call fcn.101b643d
add esp, 4
cmp dword [0x10534adc], 0xffffffff
jne 0x10115cfa
mov ecx, dword [0x10534bf0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
push 0x10534adc
mov dword [0x10534ba0], eax
call fcn.101b63ec
add esp, 4
mov eax, dword [0x10240c80]
cmp byte [eax + 0x158a], 0
je 0x10115d10
mov edx, dword [eax + 0x37a8]
jmp 0x10115d16
mov edx, dword [0x10534ba0]
mov ecx, dword [0x10534bf0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101b5eaa
mov esp, ebp
pop ebp
ret