Function at 0x1800b15b0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x78
call fcn.180061220
cmp eax, 1
jbe 0x1800b15c8
mov eax, 0xfffffff8
add rsp, 0x78
ret
mov rcx, qword [0x180209bb8]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x70], rdi
movaps xmmword [rsp + 0x60], xmm6
call fcn.18004b6f0
mov esi, dword [0x18010a088]
xor ebx, ebx
lea rdi, [rbx - 1]
test al, al
jne 0x1800b17f4
cmp byte [0x1800f8943], bl
movups xmm0, xmmword [0x1800f8930]
mov eax, dword [0x1800f8940]
mov dword [rsp + 0x50], eax
movups xmmword [rsp + 0x40], xmm0
je 0x1800b17b1
mov r8d, ebx
cmp esi, 2
jl 0x1800b1767
movdqa xmm0, xmmword [0x1800f8e40]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x1800f8c90]
movdqa xmm4, xmmword [0x1800f8ef0]
movdqa xmm6, xmmword [0x1800f8d10]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800f8e10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800f8e10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1800b1660
cmp r8d, 0x14
jge 0x1800b17b1
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x1800b1780
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
xorps xmm1, xmm1
mov r8, rdi
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
nop word [rax + rax]
inc r8
cmp byte [rax + r8], bl
jne 0x1800b17d0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180013f10
mov dl, 1
lea rcx, [rsp + 0x20]
call fcn.1800279c0
cmp byte [0x180209b48], bl
je 0x1800b1884
mov rcx, qword [0x180209bb8]
lea r8, [0x180209b78]
lea rdx, [0x1800b0750]
mov rcx, qword [rcx + 0x40]
call fcn.1800612b0
test eax, eax
jne 0x1800b187a
mov rax, qword [0x180209bb8]
mov edx, 1
mov rcx, qword [rax + 0x40]
call fcn.1800617a0
test eax, eax
jne 0x1800b187a
mov rcx, qword [0x180209bb8]
lea r8, [0x180209b98]
lea rdx, [0x1800b0a20]
mov rcx, qword [rcx + 0x68]
call fcn.1800612b0
test eax, eax
jne 0x1800b187a
mov rax, qword [0x180209bb8]
mov edx, 1
mov rcx, qword [rax + 0x68]
call fcn.1800617a0
test eax, eax
je 0x1800b1a6a
mov eax, 0xfffffff9
jmp 0x1800b1a6a
cmp byte [0x1800f892d], bl
mov eax, dword [0x1800f8928]
movups xmm0, xmmword [str.eYXB]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1800f892c]
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x54], ax
je 0x1800b1a2d
cmp esi, 2
jl 0x1800b19f2
movdqa xmm0, xmmword [0x1800f8e40]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x1800f8c90]
movdqa xmm4, xmmword [0x1800f8ef0]
movdqa xmm6, xmmword [0x1800f8d10]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800f8e10]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800f8e10]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x10
jl 0x1800b18f0
cmp ebx, 0x16
jge 0x1800b1a2d
movsxd rax, ebx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x37
xor byte [r8 - 1], al
cmp ebx, 0x16
jl 0x1800b1a00
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
xorps xmm1, xmm1
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
inc rdi
cmp byte [rax + rdi], 0
jne 0x1800b1a43
mov r8, rdi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180013f10
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1800279c0
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
ret