Function at 0x1400985d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
cmp byte [0x1400d50c5], 0
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov edi, dword [0x1400d5088]
movaps xmmword [rax - 0x18], xmm6
je 0x1400987ba
cmp byte [0x1400b5545], 0
mov eax, dword [0x1400b5540]
movups xmm0, xmmword [0x1400b5530]
mov dword [rbp + 0x27], eax
movzx eax, word [0x1400b5544]
movups xmmword [rbp + 0x17], xmm0
mov word [rbp + 0x2b], ax
je 0x1400987b1
xor r8d, r8d
cmp edi, 2
jl 0x140098769
movdqa xmm0, xmmword [str.33333333333333337777777777777777]
lea rcx, [rbp + 0x1b]
movdqa xmm5, xmmword [0x1400b5aa0]
movdqa xmm4, xmmword [0x1400b5c90]
movdqa xmm6, xmmword [str.44445555]
movdqa xmmword [rbp + 7], xmm0
mov edx, dword [rbp + 7]
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 [0x1400b5b60]
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 [0x1400b5b60]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140098662
cmp r8d, 0x16
jge 0x1400987b1
movsxd rax, r8d
lea r9, [rbp + 0x17]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x16
jl 0x140098780
lea rax, [rbp + 0x17]
jmp 0x140098965
cmp byte [0x1400b558f], 0
movups xmm0, xmmword [str._CBTP]
movups xmmword [rbp + 0x2f], xmm0
movsd xmm0, qword [0x1400b5588]
movsd qword [rbp + 0x3f], xmm0
je 0x140098961
cmp edi, 2
jl 0x140098921
movdqa xmm0, xmmword [str.33333333333333337777777777777777]
lea rcx, [rbp + 0x33]
movdqa xmm5, xmmword [0x1400b5aa0]
xor edx, edx
movdqa xmm4, xmmword [0x1400b5c90]
movdqa xmm6, xmmword [str.44445555]
movdqa xmmword [rbp + 7], xmm0
mov r8d, dword [rbp + 7]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 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 edx, 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 [0x1400b5b60]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b5b60]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x18
jl 0x140098820
jmp 0x140098961
lea r9, [rbp + 0x2f]
xor r8d, r8d
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x18
jl 0x140098930
lea rax, [rbp + 0x2f]
mov rcx, qword [0x1400ec178]
lea rdx, [rbp + 0x67]
movss xmm0, dword [0x1400b59d0]
mov rbx, rcx
movss xmm3, dword [0x1400b59c0]
mov qword [rsp + 0x30], 0
movss xmm2, dword [rcx + 0x3d38]
mov rcx, qword [rcx + 0x3d30]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm0
call fcn.140079950
cmp byte [0x1400d50c5], 0
movss xmm0, dword [rbp + 0x67]
addss xmm0, dword [0x1400b5900]
cvttss2si eax, xmm0
movd xmm1, eax
mov rax, qword [rbx + 0x4000]
cvtdq2ps xmm1, xmm1
movss xmm2, dword [rax + 0x30]
mov byte [rax + 0xc0], 1
subss xmm2, xmm1
mov rax, qword [rbx + 0x4000]
movss xmm0, dword [rax + 0x28]
subss xmm0, dword [rax + 0x8c]
mulss xmm2, dword [0x1400b58d0]
mov byte [rax + 0x151], 1
addss xmm0, xmm2
movss dword [rax + 0x110], xmm0
mov rax, qword [rbx + 0x4000]
movss xmm0, dword [0x1400b59a0]
subss xmm0, dword [rbp + 0x6b]
mov byte [rax + 0xc0], 1
mov rax, qword [rbx + 0x4000]
mov rbx, qword [rsp + 0xa8]
subss xmm0, dword [0x1400b5960]
movss xmm1, dword [rax + 0x2c]
subss xmm1, dword [rax + 0x90]
mov byte [rax + 0x151], 1
addss xmm1, xmm0
movss dword [rax + 0x114], xmm1
je 0x140098c1b
cmp byte [0x1400b5545], 0
mov eax, dword [0x1400b5540]
movups xmm0, xmmword [0x1400b5530]
mov dword [rbp + 0x27], eax
movzx eax, word [0x1400b5544]
movups xmmword [rbp + 0x17], xmm0
mov word [rbp + 0x2b], ax
je 0x140098c12
xor r8d, r8d
cmp edi, 2
jl 0x140098bd7
movdqa xmm0, xmmword [str.33333333333333337777777777777777]
lea rcx, [rbp + 0x1b]
movdqa xmm5, xmmword [0x1400b5aa0]
movdqa xmm4, xmmword [0x1400b5c90]
movdqa xmm6, xmmword [str.44445555]
movdqa xmmword [rbp + 7], xmm0
mov edx, dword [rbp + 7]
nop dword [rax]
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 [0x1400b5b60]
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 [0x1400b5b60]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140098ad0
cmp r8d, 0x16
jge 0x140098c12
movsxd rax, r8d
lea r9, [rbp + 0x17]
add r9, rax
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x16
jl 0x140098be1
lea rdx, [rbp + 0x17]
jmp 0x140098dd0
cmp byte [0x1400b558f], 0
movups xmm0, xmmword [str._CBTP]
movups xmmword [rbp + 0x2f], xmm0
movsd xmm0, qword [0x1400b5588]
movsd qword [rbp + 0x3f], xmm0
je 0x140098dc1
cmp edi, 2
jl 0x140098d81
movdqa xmm0, xmmword [str.33333333333333337777777777777777]
lea rcx, [rbp + 0x33]
movdqa xmm5, xmmword [0x1400b5aa0]
xor edx, edx
movdqa xmm4, xmmword [0x1400b5c90]
movdqa xmm6, xmmword [str.44445555]
movdqa xmmword [rbp + 7], xmm0
mov r8d, dword [rbp + 7]
nop dword [rax + rax]
movd xmm2, edx
lea eax, [rdx + 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 edx, 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 [0x1400b5b60]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400b5b60]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x18
jl 0x140098c80
jmp 0x140098dc1
lea r9, [rbp + 0x2f]
xor r8d, r8d
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x18
jl 0x140098d90
lea rdx, [rbp + 0x2f]
nop word [rax + rax]
movaps xmm0, xmmword [0x1400b5c70]
lea rcx, [rbp + 7]
movups xmmword [rbp + 7], xmm0
call fcn.14007da30
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.14005fb00
movaps xmm6, xmmword [rsp + 0x80]
mov rdi, qword [rsp + 0xb0]
test al, al
je 0x140098e42
xor ecx, ecx
call fcn.140055470
test al, al
je 0x140098e42
cmp byte [0x1400d50c5], 0
lea rax, [0x1400d5148]
mov qword [0x1400d5158], 0
sete byte [0x1400d50c5]
cmp qword [0x1400d5160], 0xf
cmova rax, qword [0x1400d5148]
mov byte [rax], 0
add rsp, 0x90
pop rbp
ret