Function at 0x10141a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x54
mov eax, dword [0x1020a0c0]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [0x10227c40]
push ebx
push esi
push edi
cmp byte [eax + 0x35a4], 0
je 0x10142097
test cl, cl
je 0x10141a9b
mov eax, dword [0x10227c3c]
mov eax, dword [eax + 0x10]
movss xmm0, dword [eax]
addss xmm0, dword [0x101ff2dc]
movss dword [0x104e201c], xmm0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10227c3c]
movss xmm0, dword [0x104e201c]
mov eax, dword [ecx + 0x10]
movss xmm1, dword [eax]
comiss xmm0, xmm1
ja 0x10142097
addss xmm1, dword [0x101ff208]
mov esi, dword [ecx + 0x40]
xor ebx, ebx
cmp dword [0x102296a0], 2
mov eax, dword [0x101f7660]
movups xmm0, xmmword [0x101f7650]
mov dword [esp + 0x48], eax
lea edx, [ebx + 5]
mov al, byte [0x101f7664]
lea edi, [ebx + 0x1f]
movss dword [0x104e201c], xmm1
movups xmmword [esp + 0x38], xmm0
mov byte [esp + 0x4c], al
jl 0x10141c34
movaps xmm0, xmmword [0x101ff860]
movaps xmm4, xmmword [0x101ff6c0]
movaps xmm3, xmmword [0x101ffc00]
movaps xmm6, xmmword [0x101ff750]
movaps xmmword [esp + 0x20], xmm0
movd xmm5, edx
mov edx, dword [esp + 0x20]
movd xmm7, edi
nop dword [eax]
movd xmm0, ebx
lea eax, [ebx + 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 + ebx + 0x38]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x38], 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 + ebx + 0x3c]
pxor xmm1, xmm0
movd dword [esp + ebx + 0x3c], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x10141b30
cmp ebx, 0x15
jge 0x10141c5e
mov eax, 0x8d3dcb09
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, bl
movsx eax, al
imul eax, eax, 0x3a
sub dl, al
add dl, 0x39
xor byte [esp + ebx + 0x38], dl
inc ebx
cmp ebx, 0x15
jl 0x10141c34
mov ecx, dword [ecx + 0x3c]
lea eax, [esp + 0x38]
push eax
call esi
test eax, eax
je 0x10142097
mov eax, dword [eax + 0x44]
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [esp + 0x18], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 0xc0]
call eax
xor edi, edi
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x10142097
mov ecx, dword [ebx]
push edi
mov edx, dword [ecx + 0xc4]
mov ecx, ebx
call edx
mov esi, eax
test esi, esi
je 0x1014208c
mov cx, word [0x101f6fe0]
xor ebx, ebx
cmp dword [0x102296a0], 2
movups xmm0, xmmword [str._ZHUpP4__e]
mov word [esp + 0x48], cx
mov cl, byte [0x101f6fe2]
movups xmmword [esp + 0x38], xmm0
mov byte [esp + 0x4a], cl
jl 0x10141e17
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 + 0x20], xmm0
mov ecx, dword [esp + 0x20]
movd xmm7, eax
movd xmm0, ebx
lea eax, [ebx + 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, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x38]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x38], 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, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x3c]
pxor xmm1, xmm0
movd dword [esp + ebx + 0x3c], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x10141d13
cmp ebx, 0x13
jge 0x10141e41
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x39
xor byte [esp + ebx + 0x38], cl
inc ebx
cmp ebx, 0x13
jl 0x10141e17
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x22c]
call eax
test al, al
je 0x10142088
mov eax, dword [0x10227c40]
cmp byte [eax + 0x35a5], 0
je 0x1014201f
cmp byte [0x101f6ec7], 0
movups xmm0, xmmword [str._ZHUpP4___f_e___Lutn]
mov eax, dword [0x101f6ec4]
mov dword [esp + 0x48], eax
movups xmmword [esp + 0x38], xmm0
je 0x1014200a
xor ebx, ebx
cmp dword [0x102296a0], 2
jl 0x10141fe0
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 + 0x20], xmm0
mov ecx, dword [esp + 0x20]
movd xmm7, eax
movd xmm0, ebx
lea eax, [ebx + 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, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x38]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ebx + 0x38], 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, ecx
paddb xmm1, xmm0
movd xmm0, dword [esp + ebx + 0x3c]
pxor xmm1, xmm0
movd dword [esp + ebx + 0x3c], xmm1
add ebx, 8
cmp ebx, 0x10
jl 0x10141ed4
cmp ebx, 0x14
jge 0x1014200a
nop dword [eax + eax]
mov eax, 0x8d3dcb09
mov cl, bl
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx eax, al
imul eax, eax, 0x3a
sub cl, al
add cl, 0x39
xor byte [esp + ebx + 0x38], cl
inc ebx
cmp ebx, 0x14
jl 0x10141fe0
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x22c]
call eax
test al, al
je 0x10142088
mov eax, dword [0x10227c3c]
movq xmm0, qword [str.jJZKSjV__B]
mov eax, dword [eax + 0x10]
movss xmm1, dword [eax + 0x10]
mov ax, word [0x101f77f4]
movq qword [esp + 0x50], xmm0
mov word [esp + 0x58], ax
test ah, ah
je 0x10142071
xor ebx, ebx
nop dword [eax + eax]
mov eax, 0x8d3dcb09
mov cl, bl
mul ebx
shr edx, 5
movsx eax, dl
imul eax, eax, 0x3a
sub cl, al
add cl, 0x39
xor byte [esp + ebx + 0x50], cl
inc ebx
cmp ebx, 0xa
jl 0x10142050
mov eax, dword [esi]
push ecx
lea ecx, [esp + 0x54]
movss dword [esp], xmm1
push ecx
mov eax, dword [eax + 0x480]
mov ecx, esi
call eax
mov ebx, dword [esp + 0x18]
inc edi
cmp edi, dword [esp + 0x1c]
jl 0x10141c94
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1019d163
mov esp, ebp
pop ebp
ret