Function at 0x10140930
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1022b6ec]
push esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1051efa8]
cmp eax, dword [ecx + 4]
jle 0x10140b7b
push 0x1051efa8
call fcn.101a0794
add esp, 4
cmp dword [0x1051efa8], 0xffffffff
jne 0x10140b7b
mov eax, dword [0x10229c80]
movq xmm0, qword [str.AEkEWEL_eVSY__]
movq qword [esp + 4], xmm0
mov esi, dword [eax + 8]
mov eax, dword [0x101fa378]
mov dword [esp + 0xc], eax
mov ax, word [0x101fa37c]
mov word [esp + 0x10], ax
test ah, ah
je 0x10140ae8
xor ecx, ecx
cmp dword [0x1022b6e0], 2
jl 0x10140ac0
movaps xmm2, xmmword [0x102025e0]
mov eax, 4
movaps xmm3, xmmword [0x10202aa0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
movaps xmm0, xmm1
movd xmm5, eax
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10202660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10202620]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
movd xmm0, dword [str.AEkEWEL_eVSY__]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [esp + 4], xmm1
movaps xmm1, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10202660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x10202710]
movd xmm0, dword [esp + 8]
packuswb xmm1, xmm1
paddb xmm1, xmmword [str.2222222222222222777777777777777788888888888888889999999999999999]
pxor xmm1, xmm0
movd dword [esp + 8], xmm1
nop
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x35
sub dl, al
add dl, 0x32
xor byte [esp + ecx + 4], dl
inc ecx
cmp ecx, 0xe
jl 0x10140ac0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0
movups xmmword [esp + 0x14], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10140b07
sub ecx, edx
lea eax, [esp + 4]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.10027e90
cmp dword [esp + 0x28], 0x10
lea edx, [esp + 0x14]
mov eax, dword [esi]
mov ecx, esi
cmovae edx, dword [esp + 0x14]
push edx
mov eax, dword [eax + 0x3c]
call eax
mov ecx, dword [esp + 0x28]
mov dword [0x1051f034], eax
cmp ecx, 0x10
jb 0x10140b6e
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10140b64
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10140bbc
push ecx
push edx
call fcn.101a043c
add esp, 8
push 0x1051efa8
call fcn.101a074a
add esp, 4
mov eax, dword [0x10229c78]
mov ecx, dword [0x1051f034]
cmp byte [eax + 0x14bc], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
je 0x10140ba8
push 1
call eax
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.101a0143
add esp, 0x30
ret
push 0
call eax
mov ecx, dword [esp + 0x2c]
pop esi
xor ecx, esp
call fcn.101a0143
add esp, 0x30
ret
call fcn.101a56c6
int3