Function at 0x1400ec2c3
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rax, qword [0x140162028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebp, 0xffffff9a
test rcx, rcx
je 0x1400ec330
mov rbx, rcx
cmp qword [rcx + 0x90], 0
je 0x1400ec330
mov r15d, r9d
mov rsi, r8
mov rdi, rdx
cmp qword [rbx + 0x110], 0
je 0x1400ec310
mov rcx, rbx
call fcn.1400eb9fe
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x28]
lea r9, [rsp + 0x24]
mov rcx, rbx
call fcn.1400ec5f2
mov ebp, 0xffffff99
test eax, eax
je 0x1400ec34c
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400f0560
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 0x120
call fcn.14007c530
test rax, rax
je 0x1400ec3d7
mov r14, rax
mov ecx, 0x4000
call fcn.14007c530
mov qword [r14], rax
mov rcx, qword [rsp + 0x28]
mov qword [r14 + 0x70], rcx
mov ecx, dword [rsp + 0x24]
mov dword [r14 + 0x78], ecx
xor ecx, ecx
mov qword [r14 + 0x80], rcx
mov dword [r14 + 0x118], r15d
test rax, rax
je 0x1400ec3cf
mov dword [r14 + 0x68], 0
test rdi, rdi
je 0x1400ec3a6
mov eax, dword [rbx + 0xbc]
mov dword [rdi], eax
test rsi, rsi
je 0x1400ec3ef
mov eax, 6
mov dword [rsi], eax
and eax, dword [rbx + 0xb8]
cmp eax, 2
je 0x1400ec3e1
cmp eax, 4
je 0x1400ec3e9
cmp eax, 6
jne 0x1400ec3ef
mov dword [rsi], 1
jmp 0x1400ec3ef
mov rcx, r14
call fcn.14007c580
mov ebp, 0xffffff98
jmp 0x1400ec330
mov dword [rsi], 9
jmp 0x1400ec3ef
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 0x1400ec588
cmp eax, 0xc
jne 0x1400ec588
mov dword [r14 + 0x118], 1
mov rdi, qword [rsp + 0xa0]
movups xmm0, xmmword [rbx + 0xc8]
movups xmmword [r14 + 0x98], xmm0
mov rax, qword [rbx + 0x108]
mov ecx, dword [rsp + 0x30]
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 0x1400ec330
call fcn.1400c7ebc
mov qword [rbx + 0x130], rax
lea rsi, [rbx + 0x120]
mov rcx, rdi
mov rdx, rsi
mov r8, rax
call fcn.1400ec8ca
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.1400ef551
test eax, eax
jne 0x1400ec3d7
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rbx + 0x60]
lea r8, [rsp + 0x34]
mov r9d, 0xc
call qword [rbx + 8]
mov ebp, 0xffffff98
cmp eax, 0xc
jb 0x1400ec330
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 + 0x34]
mov byte [rsp + rdi + 0x34], al
movsx r8d, al
mov rdx, qword [rbx + 0x130]
mov rcx, rsi
call fcn.1400ec917
inc rdi
cmp rdi, 0xc
jne 0x1400ec524
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 0x1400ec330
test r15d, r15d
jne 0x1400ec466
cmp eax, 8
jne 0x1400ec466
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.140035531
test eax, eax
je 0x1400ec5e5
mov ebp, eax
mov rcx, r14
call fcn.14007c580
jmp 0x1400ec330
mov dword [r14 + 0x68], 8
jmp 0x1400ec466