Function at 0x1400b42f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401470c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rdx
mov rbp, rcx
mov qword [rsp + 0x28], rdx
mov rax, qword [0x14010e428]
mov qword [rsp + 0x20], rax
xor ebx, ebx
mov esi, dword [0x140147080]
cmp byte [0x14010e42f], bl
je 0x1400b4483
cmp esi, 2
jl 0x1400b443d
movdqa xmm4, xmmword [0x14010ea80]
movdqa xmm2, xmmword [0x14012e720]
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, xmmword [0x14010ea60]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14012e7f0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14010ea70]
movd xmm0, dword [rsp + 0x20]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm3, xmmword [0x14010ea50]
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, xmmword [0x14010ea60]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14012e7f0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14010ea70]
movd xmm0, dword [rsp + 0x24]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
jmp 0x1400b4483
lea r9, [rsp + 0x20]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400b4450
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400ab7b0
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, rbx
movzx eax, byte [rcx]
mov byte [rbp + 0x210], al
mov rax, qword [0x14010e430]
mov qword [rsp + 0x20], rax
cmp byte [0x14010e437], bl
je 0x1400b45fe
cmp esi, 2
jl 0x1400b45c9
movdqa xmm4, xmmword [0x14010ea80]
movdqa xmm2, xmmword [0x14012e720]
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, xmmword [0x14010ea60]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14012e7f0]
packuswb xmm2, xmm2
mov eax, dword [0x14010ea70]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x20]
xorps xmm2, xmm1
movd dword [rsp + 0x20], xmm2
movdqa xmm3, xmmword [0x14010ea50]
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, xmmword [0x14010ea60]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14012e7f0]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x24]
xorps xmm2, xmm1
movd dword [rsp + 0x24], xmm2
jmp 0x1400b45fe
lea r8, [rsp + 0x20]
nop
mov eax, 0xa0a0a0a1
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, bl
sub al, cl
add al, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 8
jl 0x1400b45d0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400ab7b0
mov rdx, rax
lea rcx, [rbp + 0x218]
call fcn.1400ab720
nop
lea rcx, [rdi + 8]
movzx edx, byte [rdi]
call fcn.14004d290
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140107250
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret