Function at 0x14009ea80
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1b8
mov ebx, r9d
mov rax, qword [0x1400ffa80]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
lea ebp, [rbx + 1]
mov r14d, 0xffffff7c
cmp ebp, 0x209
ja 0x14009ebc8
cmp edx, 0xe0
ja 0x14009ebc8
mov rdi, rcx
mov ecx, dword [rsp + 0x238]
mov eax, dword [rsp + 0x228]
lea esi, [rcx + rax]
cmp esi, 0x80
ja 0x14009ebc8
mov r15, r8
mov r14d, edx
mov rdx, qword [rsp + 0x220]
shr ebp, 1
mov r13d, eax
lea r12, [rsp + 0x50]
mov rcx, r12
mov r8, r13
call fcn.1400d0700
lea rcx, [rsp + r13]
add rcx, 0x50
mov r13d, r14d
mov eax, dword [rsp + 0x238]
mov r8d, eax
mov rdx, qword [rsp + 0x230]
call fcn.1400d0700
mov eax, dword [rsp + 0x248]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x30], 1
mov rcx, rdi
mov edx, r14d
mov r8, r15
mov r9d, ebp
call fcn.14009e3f0
mov r14d, eax
test eax, eax
jne 0x14009ebc8
mov eax, ebp
add r15, rax
and ebx, 1
sub r15, rbx
mov eax, dword [rsp + 0x248]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], esi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 2
lea rbx, [rsp + 0xd0]
mov rcx, rbx
mov edx, r13d
mov r8, r15
mov r9d, ebp
call fcn.14009e3f0
mov r14d, eax
test eax, eax
je 0x14009ebef
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400a2150
mov eax, r14d
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test dil, 7
je 0x14009ebfd
mov ecx, r13d
jmp 0x14009ec94
cmp r13d, 8
jae 0x14009ec10
lea rbx, [rsp + 0xd0]
mov rax, rdi
jmp 0x14009ec8b
mov ecx, r13d
shr ecx, 3
mov r8d, ecx
dec r8d
je 0x14009ec5d
inc r8
mov rdx, r8
and rdx, 0xfffffffffffffffe
lea rax, [rdi + rdx*8]
lea rbx, [rsp + rdx*8]
add rbx, 0xd0
xor r9d, r9d
movups xmm0, xmmword [rdi + r9*8]
xorps xmm0, xmmword [rsp + r9*8 + 0xd0]
movups xmmword [rdi + r9*8], xmm0
add r9, 2
cmp rdx, r9
jne 0x14009ec3a
cmp r8, rdx
jne 0x14009ec6a
jmp 0x14009ec8b
xor edx, edx
lea rbx, [rsp + 0xd0]
mov rax, rdi
sub ecx, edx
xor edx, edx
xor r8d, r8d
mov r9, qword [rbx + r8*8]
xor qword [rax + r8*8], r9
inc r8
add rdx, 0xfffffffffffffff8
cmp ecx, r8d
jne 0x14009ec71
sub rax, rdx
sub rbx, rdx
mov ecx, r13d
and ecx, 7
mov rdi, rax
test ecx, ecx
je 0x14009ed2f
mov eax, ecx
cmp ecx, 8
jae 0x14009eca7
xor ecx, ecx
jmp 0x14009ed20
cmp ecx, 0x20
jae 0x14009ecb0
xor ecx, ecx
jmp 0x14009eced
mov ecx, eax
and ecx, 0x7fffffe0
xor edx, edx
movups xmm0, xmmword [rbx + rdx]
movups xmm1, xmmword [rbx + rdx + 0x10]
movups xmm2, xmmword [rdi + rdx]
xorps xmm2, xmm0
movups xmm0, xmmword [rdi + rdx + 0x10]
xorps xmm0, xmm1
movups xmmword [rdi + rdx], xmm2
movups xmmword [rdi + rdx + 0x10], xmm0
add rdx, 0x20
cmp rcx, rdx
jne 0x14009ecba
cmp rcx, rax
je 0x14009ed2f
test al, 0x18
je 0x14009ed20
mov rdx, rcx
mov ecx, eax
and ecx, 0x7ffffff8
nop dword [rax + rax]
mov r8, qword [rbx + rdx]
xor qword [rdi + rdx], r8
add rdx, 8
cmp rcx, rdx
jne 0x14009ed00
cmp rcx, rax
je 0x14009ed2f
nop word cs:[rax + rax]
movzx edx, byte [rbx + rcx]
xor byte [rdi + rcx], dl
inc rcx
cmp rax, rcx
jne 0x14009ed20
xor r14d, r14d
test r13d, r13d
je 0x14009ebc8
test r13b, 7
je 0x14009ed70
mov eax, r13d
and eax, 7
xor ecx, ecx
nop dword [rax]
mov byte [rsp + rcx + 0xd0], 0
inc rcx
cmp eax, ecx
jne 0x14009ed50
lea rax, [rsp + rcx]
add rax, 0xd0
mov edx, r13d
sub edx, ecx
jmp 0x14009ed7b
lea rax, [rsp + 0xd0]
mov edx, r13d
cmp r13d, 8
jb 0x14009ebc8
mov ecx, edx
xor r14d, r14d
xor edx, edx
nop dword [rax]
mov byte [rax + rdx], 0
mov byte [rax + rdx + 1], 0
mov byte [rax + rdx + 2], 0
mov byte [rax + rdx + 3], 0
mov byte [rax + rdx + 4], 0
mov byte [rax + rdx + 5], 0
mov byte [rax + rdx + 6], 0
mov byte [rax + rdx + 7], 0
add rdx, 8
cmp ecx, edx
jne 0x14009ed90
jmp 0x14009ebc8