Function at 0x140014dd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rdi, qword [0x140100c70]
movss xmm0, dword [0x1400a7c64]
comiss xmm0, dword [rdi + 0x1f98]
ja 0x140015094
mov qword [rsp + 0x58], rbx
xor ebx, ebx
cmp qword [rdi + 0x1f90], rbx
jne 0x140014e54
movdqa xmm0, xmmword [0x1400a8370]
xor eax, eax
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0xc], al
mov ecx, ebx
mov dword [rbp - 0x10], 0x62657f5a
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbp - 0x20]
xor byte [rbp + rcx - 0x1f], al
inc rcx
cmp rcx, 0x13
jb 0x140014e30
lea rcx, [rbp - 0x1f]
mov byte [rbp - 0xc], bl
call fcn.14000a380
mov qword [rdi + 0x1f90], rax
movss xmm4, dword [0x1400a7dc0]
lea rdx, [rbp + 0x10]
mov rax, qword [rdi + 0x1e10]
mov rcx, qword [rax]
movss xmm2, dword [rcx + 0xc]
movss xmm1, dword [rcx + 0x10]
mulss xmm1, dword [0x1400a7c68]
or dword [rdi + 0x1d18], 0x10
mulss xmm2, dword [0x1400a7c68]
mov qword [rdi + 0x1d68], rbx
mov qword [rdi + 0x1d70], rbx
movaps xmm0, xmm2
movss xmm2, dword [0x1400a7c80]
unpcklps xmm0, xmm1
movaps xmm1, xmm4
unpcklps xmm1, xmm4
unpcklpd xmm0, xmm1
movups xmmword [rdi + 0x1d54], xmm0
movss xmm0, dword [rcx + 0xc]
movss xmm1, dword [rcx + 0x10]
mulss xmm1, xmm2
mulss xmm0, xmm2
addss xmm1, dword [rcx + 8]
addss xmm0, dword [rcx + 4]
or dword [rdi + 0x1d18], 1
mov dword [rdi + 0x1d1c], 1
unpcklps xmm0, xmm1
movaps xmm1, xmm2
unpcklps xmm1, xmm2
movsd qword [rdi + 0x1d30], xmm1
movsd qword [rdi + 0x1d28], xmm0
movss xmm0, dword [rdi + 0x1578]
movss xmm1, dword [rdi + 0x157c]
addss xmm0, xmm0
addss xmm1, xmm1
movss dword [rbp + 0x10], xmm0
movss dword [rbp + 0x14], xmm1
call fcn.140004a40
movdqa xmm0, xmmword [0x1400a8350]
xor eax, eax
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0xc], al
mov dword [rbp - 0x10], 0x4443597c
nop
movzx eax, byte [rbp - 0x20]
xor byte [rbp + rbx - 0x1f], al
inc rbx
cmp rbx, 0x13
jb 0x140014f40
mov r8d, 0xc1347
mov byte [rbp - 0xc], 0
lea rcx, [rbp - 0x1f]
call fcn.14000cb80
mov eax, dword [rdi + 0x1bd0]
sub eax, 1
movsxd rbx, eax
js 0x140015006
nop word [rax + rax]
mov rax, qword [rdi + 0x1bd8]
mov r10, qword [rax + rbx*8]
cmp byte [r10 + 0x8f], 0
je 0x140014ffc
cmp r10, qword [r10 + 0x340]
jne 0x140014ffc
test dword [r10 + 0xc], 0x80000
jne 0x140014ffc
mov r8, qword [r10]
mov rax, r8
cmp r8, 0xffffffffffffffff
jae 0x140014fd3
movzx ecx, byte [rax]
test cl, cl
je 0x140014fce
cmp cl, 0x23
jne 0x140014fc5
cmp byte [rax + 1], cl
je 0x140014fce
inc rax
cmp rax, 0xffffffffffffffff
jb 0x140014fb4
cmp r8, rax
jne 0x140014fde
mov rcx, r10
call fcn.140014d10
mov r8, rax
cmp qword [rdi + 0x1f80], r10
lea r9, [rbp + 0x10]
mov rcx, r8
mov qword [rbp + 0x10], 0
sete dl
call fcn.140033930
sub rbx, 1
jns 0x140014f80
call fcn.14000ee60
mov rcx, qword [0x140100c70]
mov rbx, qword [rsp + 0x58]
mov eax, dword [rcx + 0x1d98]
mov r8, qword [rcx + 0x1da0]
dec eax
cdqe
lea rdx, [rax + rax*2]
movsxd rax, dword [r8 + rdx*4]
lea r10, [rax + rax*2]
lea rax, [0x1400a2db0]
cmp dword [rax + r10*4], 8
mov r9d, dword [rax + r10*4 + 8]
jne 0x14001508e
mov eax, dword [rax + r10*4 + 4]
cmp eax, 1
jne 0x14001506f
mov eax, dword [r8 + rdx*4 + 4]
mov dword [r9 + rcx + 0x1570], eax
dec dword [rcx + 0x1d98]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
cmp eax, 2
jne 0x14001508e
mov eax, dword [r8 + rdx*4 + 4]
mov dword [r9 + rcx + 0x1570], eax
mov eax, dword [r8 + rdx*4 + 8]
mov dword [r9 + rcx + 0x1574], eax
dec dword [rcx + 0x1d98]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret