Function at 0x1400bd978
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x258]
sub rsp, 0x358
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r12, qword [rbp + 0x2c8]
mov rsi, r8
mov edi, edx
mov rbx, rcx
xor edx, edx
lea rcx, [rbp + 0xb0]
mov r8d, 0xa8
mov r14d, r9d
call fcn.1400fd6e0
lea r8, [rbp + 0xb0]
mov edx, edi
mov rcx, rbx
call fcn.1400be23c
lea rax, [rbp + 0xb0]
mov byte [rsp + 0x30], 0
movups xmm0, xmmword [rax]
lea r8, [rbp + 0x160]
mov ecx, 0x80
movups xmm1, xmmword [rax + 0x10]
lea r9, [rsp + 0x40]
mov edx, r14d
movups xmmword [r8], xmm0
mov byte [rsp + 0x31], 0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r8 + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [r8 + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [r8 + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [r8 + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [r8 + 0x50], xmm1
movups xmm1, xmmword [rax + rcx]
movups xmmword [r8 + 0x60], xmm0
add r8, rcx
movups xmm0, xmmword [rax + 0x70]
movups xmmword [r8 - 0x10], xmm0
movups xmm0, xmmword [rax + rcx + 0x10]
mov rax, qword [rax + rcx + 0x20]
mov rcx, rsi
movups xmmword [r8], xmm1
movups xmmword [r8 + 0x10], xmm0
mov qword [r8 + 0x20], rax
lea rax, [rsp + 0x30]
lea r8, [rbp + 0x160]
mov qword [rsp + 0x20], rax
call fcn.1400bdefc
mov r13d, dword [rbp + 0x2d0]
mov eax, 0xcccccccd
lea ecx, [r13 - 1]
mul ecx
mov r15d, edx
shr r15d, 4
add r15d, 1
je 0x1400bdc7b
mov r14d, dword [rbp + 0x2c0]
xor edi, edi
lea ebx, [rdi + 1]
lea r11d, [rbx + 0x7f]
xor eax, eax
mov byte [rbp + 0x213], bl
mov qword [rbp + 0x228], rax
lea rcx, [rbp]
mov qword [rbp + 0x230], rax
mov r10d, 4
mov dword [rbp + 0x238], eax
lea rax, [rbp + 0x160]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx + 0x60], xmm0
add rcx, r11
movups xmm0, xmmword [rax + r11]
movups xmmword [rcx - 0x10], xmm1
movups xmm1, xmmword [rax + r11 + 0x10]
mov rax, qword [rax + r11 + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
mov eax, ebx
shr eax, 0x18
mov byte [rbp + 0x210], al
mov eax, ebx
shr eax, 0x10
mov byte [rbp + 0x211], al
mov eax, ebx
shr eax, 8
mov byte [rbp + 0x212], al
test r14d, r14d
je 0x1400bdc42
mov rsi, r14
lea rax, [rsp + 0x30]
mov edx, r10d
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rbp]
lea rcx, [rbp + 0x210]
call fcn.1400bdefc
lea rax, [rsp + 0x31]
mov edx, 0x14
lea r9, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r8, [rbp]
lea rcx, [rbp + 0x210]
call fcn.1400be090
xor ecx, ecx
lea edx, [rcx + 0x14]
mov r10d, edx
mov al, byte [rbp + rcx + 0x210]
xor byte [rbp + rcx + 0x228], al
inc rcx
sub rdx, 1
jne 0x1400bdbb4
lea rax, [rbp + 0xb0]
mov r11d, 0x80
movups xmm0, xmmword [rax]
lea rcx, [rbp]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx + 0x60], xmm0
add rcx, r11
movups xmm0, xmmword [rax + r11]
movups xmmword [rcx - 0x10], xmm1
movups xmm1, xmmword [rax + r11 + 0x10]
mov rax, qword [rax + r11 + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
sub rsi, 1
jne 0x1400bdb67
mov edx, edi
lea r9, [rbp + 0x228]
xor r8d, r8d
cmp edx, r13d
jae 0x1400bdc6a
mov al, byte [r9]
inc r8d
mov ecx, edx
inc r9
inc edx
mov byte [rcx + r12], al
cmp r8d, 0x14
jb 0x1400bdc4e
inc ebx
add edi, 0x14
lea eax, [rbx - 1]
cmp eax, r15d
jb 0x1400bdab1
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1400fc4d0
add rsp, 0x358
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret