Function at 0x1800ba600
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xf0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x18011f040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
movups xmm0, xmmword [0x1801062e8]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1801062f8]
movups xmmword [r11 - 0x78], xmm1
movups xmm0, xmmword [0x180106308]
movups xmmword [r11 - 0x68], xmm0
movsd xmm0, qword [0x180106318]
movsd qword [r11 - 0x58], xmm0
mov eax, dword [str._fex_]
mov dword [r11 - 0x50], eax
xor ecx, ecx
cmp dword [0x18011f018], 2
jl 0x1800ba7aa
movdqa xmm5, xmmword [0x180108e50]
movdqa xmm4, xmmword [0x180109040]
movdqa xmm6, xmmword [0x180108e80]
movdqa xmm0, xmmword [0x180108f50]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x74]
mov r8d, dword [rsp + 0x40]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180108f30]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180108f30]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x38
jl 0x1800ba6a0
cmp ecx, 0x3c
jge 0x1800ba7ee
movsxd rax, ecx
lea r8, [rsp + 0x70]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x3c
jl 0x1800ba7c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800ba810
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.18001d0a0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xc0], xmm1
xor r8d, r8d
lea rdx, [0x1800f5c56]
lea rcx, [rsp + 0xb0]
call fcn.18001d0a0
nop
cmp byte [0x180120d70], 0
jne 0x1800ba87b
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.18001e7f0
mov rcx, rax
call fcn.180004810
jmp 0x1800ba885
lea rcx, [rsp + 0x50]
call fcn.18000edb0
mov rbx, rax
lea rcx, [rsp + 0xb0]
call fcn.18001f2b0
nop
lea rcx, [rsp + 0x50]
call fcn.18001f2b0
mov rax, rbx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1800cb0c0
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rbx
ret