Function at 0x1400eef20
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r13
push r14
sub rsp, 0xd0
mov rax, qword [0x140419c00]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x120]
mov r13d, r9d
mov esi, dword [rsp + 0x138]
mov r14, r8
mov qword [rsp + 0x48], rcx
mov ecx, dword [rsp + 0x128]
mov qword [rsp + 0x50], rax
mov ebx, edx
mov qword [rsp + 0x40], 0
call fcn.1400d6e10
mov ebp, eax
test eax, eax
js 0x1400ef02f
cmp ebx, eax
je 0x1400eef8f
mov eax, 0xffffff53
jmp 0x1400ef02f
mov ecx, dword [rsp + 0x140]
lea eax, [rcx - 1]
and eax, 7
mov dword [rsp + 0x34], eax
jne 0x1400eefac
mov byte [r14], 0
inc r14
dec r13d
cmp esi, 0xffffffff
jne 0x1400eefc5
mov esi, ebp
cmp ecx, 0x400
jne 0x1400eefd6
cmp ebp, 0x40
jne 0x1400eefd6
lea esi, [rbp - 2]
jmp 0x1400eefd6
cmp esi, ebp
jg 0x1400ef273
cmp esi, 0xffffffff
jl 0x1400ef273
mov ecx, r13d
lea eax, [rsi + 2]
sub ecx, ebp
cmp ecx, eax
jl 0x1400ef273
lea eax, [rbx + 8]
mov qword [rsp + 0xc0], r12
add eax, esi
mov qword [rsp + 0xb8], r15
lea r15d, [rcx - 1]
mov dword [rsp + 0x30], r15d
cmp r13d, eax
jae 0x1400ef058
mov ecx, eax
call fcn.1400c6880
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400ef04e
mov eax, 0xffffff83
mov r12, qword [rsp + 0xc0]
mov r15, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400f4390
add rsp, 0xd0
pop r14
pop r13
pop rsi
pop rbp
pop rbx
ret
mov r12, rax
mov qword [rsp + 0x38], rax
jmp 0x1400ef060
mov r12, r14
mov qword [rsp + 0x38], r14
mov rdx, qword [rsp + 0x48]
xor eax, eax
mov qword [rsp + 0xc8], rdi
mov r8, rbx
lea rdi, [r12 + 8]
mov qword [r12], rax
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
add rdi, rbx
test esi, esi
jle 0x1400ef0c4
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov r8d, esi
call fcn.1400d9730
mov r12d, eax
test eax, eax
jne 0x1400ef251
movsxd rbx, esi
lea rdx, [rsp + 0x60]
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r12, qword [rsp + 0x38]
add rdi, rbx
jmp 0x1400ef0c7
movsxd rbx, esi
mov ecx, dword [rsp + 0x128]
sub edi, r12d
movsxd r15, r15d
mov r8d, edi
mov rdx, r12
mov dword [rsp + 0x20], ebp
lea r9, [r15 + r14]
call fcn.1400d6990
mov r12d, eax
test eax, eax
jne 0x1400ef251
mov ecx, dword [rsp + 0x130]
lea eax, [r13 - 1]
mov byte [rax + r14], 0xbc
lea rdx, [r15 + r14]
mov rax, qword [rsp + 0x148]
mov r9, r14
mov qword [rsp + 0x28], rax
mov r8d, ebp
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
call fcn.1400ee940
mov r12d, eax
test eax, eax
jne 0x1400ef251
mov ecx, dword [rsp + 0x34]
test ecx, ecx
je 0x1400ef145
mov eax, 1
shl al, cl
dec al
and byte [r14], al
sub r15, rbx
xor r8d, r8d
xor byte [r15 + r14 - 1], 1
lea rdx, [r15 + r14]
test esi, esi
jle 0x1400ef224
cmp esi, 0x40
jb 0x1400ef224
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rsp + 0x60]
add rax, rcx
lea r9, [rdx + rcx]
cmp rdx, rax
ja 0x1400ef18b
lea rax, [rsp + 0x60]
cmp r9, rax
jae 0x1400ef224
mov eax, esi
and eax, 0x8000003f
jge 0x1400ef19b
dec eax
or eax, 0xffffffc0
inc eax
sub esi, eax
lea r9, [rsp + 0x60]
lea r10, [rsp + 0x70]
movsxd rdi, esi
sub r9, rdx
lea rcx, [rdx + 0x20]
sub r10, rdx
mov r11, 0xffffffffffffffe0
sub r11, rdx
nop
movdqu xmm0, xmmword [rcx - 0x20]
add r8d, 0x40
movdqu xmm1, xmmword [r9 + rcx - 0x20]
movdqu xmm2, xmmword [rcx + r9]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [rcx + r11]
movdqu xmmword [rcx - 0x60], xmm1
movdqu xmm0, xmmword [rcx - 0x50]
movdqu xmm1, xmmword [r10 + rcx - 0x60]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rcx + r10 - 0x40]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
cmp rax, rdi
jl 0x1400ef1c0
movsxd rcx, r8d
cmp rcx, rbx
jge 0x1400ef251
lea r8, [rsp + 0x60]
sub r8, rdx
lea rax, [rcx + rdx]
sub rbx, rcx
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rbx, 1
jne 0x1400ef240
mov rax, qword [rsp + 0x40]
mov rdi, qword [rsp + 0xc8]
test rax, rax
je 0x1400ef26b
mov rcx, rax
call fcn.1400c6860
mov eax, r12d
jmp 0x1400ef01f
mov eax, 0xffffff06
jmp 0x1400ef02f