Function at 0x1400ea140
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov r8, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor ebx, ebx
mov dword [rsp + 0x24], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], 0xf
mov byte [rcx], bl
mov dword [rsp + 0x24], 1
movups xmmword [rsp + 0x70], xmm0
movzx eax, word [0x1401770bc]
mov word [rsp + 0x20], ax
cmp byte [0x1401770bd], bl
je 0x1400ea1bc
mov byte [rsp + 0x20], 0x72
xor byte [rsp + 0x21], 0x31
lea rdx, [rsp + 0x20]
mov rcx, r8
call qword [0x140151f58]
mov rsi, rax
mov rax, qword [0x140151ee0]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rsi
test rsi, rsi
jne 0x1400ea394
lea rdx, [rsp + 0x58]
call fcn.1400ea450
mov r9, rax
cmp byte [rax + 0x10], sil
je 0x1400ea42c
cmp dword [0x14018e0d8], 2
jl 0x1400ea34e
movdqa xmm5, xmmword [0x1401781d0]
movdqa xmm4, xmmword [0x140178560]
movdqa xmm6, xmmword [0x140178220]
movdqa xmm0, xmmword [0x140178360]
movdqa xmmword [rsp + 0x30], xmm0
mov rcx, rax
mov edx, dword [rsp + 0x30]
nop dword [rax + rax]
movd xmm2, ebx
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 [0x140178340]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rbx + 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 [0x140178340]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x1400ea240
cmp eax, 0x11
jge 0x1400ea42c
movsxd r8, ebx
add r8, r9
nop dword [rax]
nop dword [rax + rax]
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, 0x11
jge 0x1400ea42c
jmp 0x1400ea360
mov r8, rsi
mov edx, 0x80
lea rcx, [rsp + 0x80]
call qword [0x140151f30]
test rax, rax
je 0x1400ea3f5
nop
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400ea3c0
lea rdx, [rsp + 0x80]
mov rcx, rdi
call fcn.140058c10
mov r8, rsi
mov edx, 0x80
lea rcx, [rsp + 0x80]
call qword [0x140151f30]
test rax, rax
jne 0x1400ea3b0
mov rcx, rsi
call qword [0x140151ee0]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140148480
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.1400593a0
lea rdx, [0x140188e90]
lea rcx, [rsp + 0x30]
call fcn.140149dda
int3