Function at 0x1011d9a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x1020a0c0]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x102296ac]
push esi
push edi
mov esi, dword [eax + ecx*4]
mov eax, dword [0x104e59f8]
cmp eax, dword [esi + 4]
jle 0x1011dbae
push 0x104e59f8
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e59f8], 0xffffffff
jne 0x1011dbae
mov eax, dword [0x10227c48]
xor ecx, ecx
cmp dword [0x102296a0], 2
movups xmm0, xmmword [str.ZVdNY___.]
mov edi, dword [eax + 8]
mov ax, word [0x101f6e58]
mov word [esp + 0x38], ax
mov al, byte [0x101f6e5a]
movups xmmword [esp + 0x28], xmm0
mov byte [esp + 0x3a], al
jl 0x1011db64
movaps xmm0, xmmword [0x101ff860]
mov eax, 5
movaps xmm4, xmmword [0x101ff6c0]
movaps xmm3, xmmword [0x101ffc00]
movaps xmm6, xmmword [0x101ff750]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [esp + 0x10], xmm0
mov edx, dword [esp + 0x10]
movd xmm7, eax
nop
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
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x28]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x28], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x101ff7d0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x2c]
pxor xmm1, xmm0
movd dword [esp + ecx + 0x2c], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x1011da60
cmp ecx, 0x13
jge 0x1011db8e
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x3a
sub dl, al
add dl, 0x39
xor byte [esp + ecx + 0x28], dl
inc ecx
cmp ecx, 0x13
jl 0x1011db64
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
push 0x104e59f8
mov dword [0x104e59fc], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x104e58e4]
cmp eax, dword [esi + 4]
jle 0x1011dbf0
push 0x104e58e4
call fcn.1019d7b4
add esp, 4
cmp dword [0x104e58e4], 0xffffffff
jne 0x1011dbf0
mov ecx, dword [0x104e59fc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
push 0x104e58e4
mov dword [0x104e59a8], eax
call fcn.1019d76a
add esp, 4
mov eax, dword [0x10227c40]
cmp byte [eax + 0x1542], 0
je 0x1011dc06
mov edx, dword [eax + 0x374c]
jmp 0x1011dc0c
mov edx, dword [0x104e59a8]
mov ecx, dword [0x104e59fc]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret