Function at 0x1800e7000
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
xor ebx, ebx
mov dword [rbp + 0x67], ebx
call fcn.18004f620
test rax, rax
je 0x1800e7044
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x6f], rax
mov r8b, 1
lea rdx, [rbp + 0x37]
lea rcx, [rbp + 0x6f]
call fcn.1800b3820
nop
lea edi, [rbx + 1]
jmp 0x1800e7072
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
mov r8d, 4
lea rdx, [0x1801209d8]
lea rcx, [rbp + 0x17]
call fcn.180016150
lea rax, [rbp + 0x17]
mov edi, 2
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or edi, 4
test dil, 2
je 0x1800e70b5
and edi, 0xfffffffd
lea rcx, [rbp + 0x17]
call fcn.18002d3d0
nop
test dil, 1
je 0x1800e70c4
lea rcx, [rbp + 0x37]
call fcn.18002d3d0
mov eax, dword [0x18012e660]
mov dword [rbp - 0x11], eax
movzx eax, byte [0x18012e664]
movsd xmm0, qword [str.SWTSUSbRZ6_.C]
mov byte [rbp - 0xd], al
movsd qword [rbp - 0x19], xmm0
cmp dword [0x180149018], 2
jl 0x1800e71e9
movdqa xmm4, xmmword [0x18012f0e0]
movdqa xmm2, xmmword [0x18012ef50]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18012ef90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
movd xmm0, dword [str.SWTSUSbRZ6_.C]
xorps xmm2, xmm0
movd dword [rbp - 0x19], xmm2
movdqa xmm3, xmmword [0x18012ef60]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18012ef90]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f030]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.7777777777777777]
movd xmm0, dword [rbp - 0x15]
xorps xmm2, xmm0
movd dword [rbp - 0x15], xmm2
mov ebx, 8
movsxd rax, ebx
lea r8, [rbp - 0x19]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
sub al, cl
add al, 0x37
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xd
jl 0x1800e7200
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
lea rdx, [rbp - 0x19]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], 0
jne 0x1800e7245
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x19]
xor r8d, r8d
mov rdx, qword [rbp + 7]
call fcn.180012180
mov rbx, rax
lea rcx, [rbp - 9]
call fcn.18002d3d0
cmp rbx, 0xffffffffffffffff
setne al
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret