Function at 0x100b89b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x102090c0]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [0x10226ca8]
push ebx
push esi
mov esi, ecx
cmp byte [eax + 0x1569], 0
je 0x100b8cc9
movups xmm0, xmmword [str.XYS_UI]
mov ax, word [0x101ee07c]
mov word [esp + 0x3c], ax
movups xmmword [esp + 0x2c], xmm0
test ah, ah
je 0x100b8b58
xor ecx, ecx
cmp dword [0x10228670], 2
jl 0x100b8b30
movaps xmm0, xmmword [0x101faf50]
movaps xmm4, xmmword [0x101fadd0]
movaps xmm3, xmmword [0x101fb200]
movaps xmm5, xmmword [0x101fae30]
movaps xmmword [esp + 0x40], xmm0
mov edx, dword [esp + 0x40]
nop dword [eax]
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 [0x101faf00]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x2c]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [esp + ecx + 0x2c], 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 [0x101faf00]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esp + ecx + 0x30]
xorps xmm1, xmm0
movd dword [esp + ecx + 0x30], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x100b8a30
cmp ecx, 0x12
jge 0x100b8b58
nop dword [eax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x31
sub dl, al
add dl, 0x35
xor byte [esp + ecx + 0x2c], dl
inc ecx
cmp ecx, 0x12
jl 0x100b8b30
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.1019c920
add esp, 8
test eax, eax
je 0x100b8cc9
mov eax, dword [str.TDZK9]
xor ebx, ebx
mov dword [esp + 0x14], eax
mov al, byte [0x101ee190]
mov byte [esp + 0x18], al
mov eax, 0x5397829d
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x35
xor byte [esp + ebx + 0x14], cl
inc ebx
cmp ebx, 5
jl 0x100b8b82
lea eax, [esp + 0x14]
push eax
push esi
call fcn.1019c920
add esp, 8
test eax, eax
jne 0x100b8cc9
mov eax, dword [str.AWUTN_]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov ax, word [0x101ee068]
mov word [esp + 0x20], ax
mov al, byte [0x101ee06a]
mov byte [esp + 0x22], al
nop dword [eax + eax]
mov eax, 0x5397829d
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x35
xor byte [esp + ebx + 0x1c], cl
inc ebx
cmp ebx, 7
jl 0x100b8be0
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.1019c920
add esp, 8
test eax, eax
jne 0x100b8cc9
mov ax, word [0x101ee14c]
movq xmm0, qword [0x101ee144]
movq qword [esp + 0x40], xmm0
mov word [esp + 0x48], ax
test ah, ah
je 0x100b8c57
xor ebx, ebx
mov eax, 0x5397829d
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x35
xor byte [esp + ebx + 0x40], cl
inc ebx
cmp ebx, 0xa
jl 0x100b8c36
lea eax, [esp + 0x40]
push eax
push esi
call fcn.1019c920
add esp, 8
test eax, eax
jne 0x100b8cc9
mov eax, dword [0x101ee12c]
mov dword [esp + 0x24], eax
mov ax, word [0x101ee130]
mov word [esp + 0x28], ax
test ah, ah
je 0x100b8ca4
xor ebx, ebx
mov eax, 0x5397829d
mov cl, bl
mul ebx
shr edx, 4
movsx eax, dl
imul eax, eax, 0x31
sub cl, al
add cl, 0x35
xor byte [esp + ebx + 0x24], cl
inc ebx
cmp ebx, 6
jl 0x100b8c83
lea eax, [esp + 0x24]
push eax
push esi
call fcn.1019c920
add esp, 8
test eax, eax
jne 0x100b8cc9
mov al, 1
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.1019ba64
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x5c]
xor al, al
pop esi
pop ebx
xor ecx, esp
call fcn.1019ba64
mov esp, ebp
pop ebp
ret