Function at 0x1400ce3b6
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rbx, rcx
mov rax, qword [0x14016c028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, 0xaaaaaaaa
mov dword [rsp + 0x3c], eax
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], rcx
mov ebp, 0xffffff9a
test rbx, rbx
je 0x1400ce40d
cmp qword [rbx + 0x90], 0
jne 0x1400ce429
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14010e4a0
mov eax, ebp
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov r15d, r9d
mov rsi, r8
mov rdi, rdx
cmp qword [rbx + 0x110], 0
je 0x1400ce444
mov rcx, rbx
call fcn.1400cdd09
lea rdx, [rsp + 0x3c]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x2c]
mov rcx, rbx
call fcn.1400ce712
mov ebp, 0xffffff99
test eax, eax
jne 0x1400ce40d
mov ecx, 0x120
call fcn.140020b50
test rax, rax
je 0x1400ce4f7
mov r14, rax
mov ecx, 0x4000
call fcn.140020b50
mov qword [r14], rax
mov rcx, qword [rsp + 0x30]
mov qword [r14 + 0x70], rcx
mov ecx, dword [rsp + 0x2c]
mov dword [r14 + 0x78], ecx
mov qword [r14 + 0x80], 0
mov dword [r14 + 0x118], r15d
test rax, rax
je 0x1400ce4ef
mov dword [r14 + 0x68], 0
test rdi, rdi
je 0x1400ce4c4
mov eax, dword [rbx + 0xbc]
mov dword [rdi], eax
test rsi, rsi
je 0x1400ce50f
mov dword [rsi], 6
mov eax, dword [rbx + 0xb8]
and eax, 6
cmp eax, 2
je 0x1400ce501
cmp eax, 4
je 0x1400ce509
cmp eax, 6
jne 0x1400ce50f
mov dword [rsi], 1
jmp 0x1400ce50f
mov rcx, r14
call fcn.14001a250
mov ebp, 0xffffff98
jmp 0x1400ce40d
mov dword [rsi], 9
jmp 0x1400ce50f
mov dword [rsi], 2
mov eax, dword [rbx + 0xc4]
mov dword [r14 + 0x94], eax
xor edx, edx
mov dword [r14 + 0x90], edx
mov qword [r14 + 0x88], 0
mov eax, dword [rbx + 0xbc]
mov dword [r14 + 0x108], eax
mov rcx, qword [rbx + 0x60]
mov qword [r14 + 0x100], rcx
lea rdi, [r14 + 0xa8]
mov ecx, 0xb
mov rsi, rbx
rep movsq qword [rdi], qword [rsi]
mov rcx, qword [rbx + 0x78]
mov qword [r14 + 0x110], rcx
mov dword [r14 + 0x24], edx
test r15d, r15d
jne 0x1400ce6a8
cmp eax, 0xc
jne 0x1400ce6a8
mov dword [r14 + 0x118], 1
mov rdi, qword [rsp + 0xb0]
movups xmm0, xmmword [rbx + 0xc8]
movups xmmword [r14 + 0x98], xmm0
mov rax, qword [rbx + 0x108]
mov ecx, dword [rsp + 0x3c]
add rax, rcx
add rax, 0x1e
mov qword [r14 + 0x60], rax
xor ebp, ebp
mov dword [r14 + 0x10], ebp
mov qword [rbx + 0x110], r14
mov dword [rbx + 0x118], ebp
test rdi, rdi
je 0x1400ce40d
call fcn.1400ce9d0
mov qword [rbx + 0x130], rax
lea rsi, [rbx + 0x120]
mov rcx, rdi
mov rdx, rsi
mov r8, rax
call fcn.1400ce9d8
mov rdx, qword [rbx + 0x60]
mov rax, qword [rbx + 0x110]
mov r8, qword [rax + 0x110]
add r8, qword [rax + 0x60]
mov rcx, rbx
xor r9d, r9d
call fcn.1400cd871
test eax, eax
jne 0x1400ce4f7
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rbx + 0x60]
lea r8, [rsp + 0x40]
mov r9d, 0xc
call qword [rbx + 8]
mov ebp, 0xffffff98
cmp eax, 0xc
jb 0x1400ce40d
xor edi, edi
mov ebp, 0xfffd
mov eax, dword [rbx + 0x128]
and eax, ebp
lea ecx, [rax + 2]
xor eax, 3
imul eax, ecx
shr eax, 8
xor al, byte [rsp + rdi + 0x40]
mov byte [rsp + rdi + 0x40], al
movsx r8d, al
mov rdx, qword [rbx + 0x130]
mov rcx, rsi
call fcn.1400cea27
inc rdi
cmp rdi, 0xc
jne 0x1400ce644
mov rax, qword [rbx + 0x110]
add qword [rax + 0x60], 0xc
mov rax, qword [rbx + 0x110]
add qword [rax + 0x98], 0xfffffffffffffff4
mov dword [rbx + 0x118], 1
xor ebp, ebp
jmp 0x1400ce40d
test r15d, r15d
jne 0x1400ce586
cmp eax, 8
jne 0x1400ce586
mov rcx, r14
add rcx, 8
xor eax, eax
mov qword [r14 + 8], rax
mov dword [r14 + 0x10], 0
xorps xmm0, xmm0
movups xmmword [r14 + 0x38], xmm0
mov qword [r14 + 0x48], rax
lea r8, str.1.2.11
mov edx, 0xfffffff1
mov r9d, 0x58
call fcn.140020a50
test eax, eax
je 0x1400ce705
mov ebp, eax
mov rcx, r14
call fcn.14001a250
jmp 0x1400ce40d
mov dword [r14 + 0x68], 8
jmp 0x1400ce586