Function at 0x1400b5dc0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x14013dae8]
xor rax, rsp
mov qword [rsp + 0x10], rax
movdqa xmm0, xmmword [0x1401041b0]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x20], r12
mov r12d, 4
mov ebx, 1
mov rsi, rcx
movdqu xmmword [rsp], xmm0
cmp dword [rcx + 0x20], r12d
mov r15d, ebx
cmovl r12d, dword [rcx + 0x20]
movsxd r14, r12d
cmp r14, rbx
jle 0x1400b5f42
mov qword [rsp + 0x60], rbp
mov r9d, ebx
lea r10, [rcx + 0x7f4]
mov qword [rsp + 0x28], rdi
lea rbp, [rcx + 0x548]
xor edi, edi
xor r8d, r8d
xor edx, edx
test r9, r9
jle 0x1400b5e6e
mov r11d, dword [r10 - 4]
lea rcx, [rsi + 0x50c]
cmp r11d, dword [rcx - 4]
jne 0x1400b5e55
mov eax, dword [rcx]
cmp dword [r10], eax
je 0x1400b5e69
inc rdx
inc r8d
add rcx, 0x2e8
cmp rdx, r9
jl 0x1400b5e48
jmp 0x1400b5e6e
mov edi, 1
mov dword [rsp + rbx*4], r8d
test edi, edi
jne 0x1400b5f25
cmp r9, rbx
je 0x1400b5f18
mov rcx, rbp
lea rax, [r10 - 0x2ac]
lea edx, [rdi + 5]
movups xmm0, xmmword [rax]
lea rcx, [rcx + 0x80]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
dec rdx
jne 0x1400b5e90
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
mov rax, qword [rax + 0x60]
mov qword [rcx + 0x60], rax
inc r15d
inc r9
add rbp, 0x2e8
inc rbx
add r10, 0x2e8
cmp rbx, r14
jl 0x1400b5e31
mov rdi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
cmp r15d, r12d
mov r12, qword [rsp + 0x20]
jge 0x1400b6078
mov eax, dword [rsi + 0x34]
imul eax, dword [rsi + 0x30]
movsxd r9, eax
test eax, eax
jle 0x1400b5fa0
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi + 0x5c60]
dec r9
mov edx, dword [rax + r9*8]
lea r8, [rax + r9*8]
mov eax, edx
shr rax, 5
and eax, 3
mov ecx, dword [rsp + rax*4]
shl ecx, 5
xor ecx, edx
and ecx, 0x60
xor ecx, edx
mov dword [r8], ecx
test r9, r9
jg 0x1400b5f70
movsxd rcx, r15d
mov dword [rsi + 0x20], r15d
cmp rcx, r14
jge 0x1400b6078
imul rax, rcx, 0x2e8
lea r8, [rsi + 0x260]
add r8, rax
sub r14, rcx
lea r9, [rax - 0x88]
nop dword [rax + rax]
mov rdx, r8
lea rax, [r9 + rsi]
mov ecx, 5
nop dword [rax]
movups xmm0, xmmword [rax]
lea rdx, [rdx + 0x80]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rdx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x10], xmm1
dec rcx
jne 0x1400b5fe0
movups xmm0, xmmword [rax]
add r8, 0x2e8
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
mov rcx, qword [rax + 0x60]
mov qword [rdx + 0x60], rcx
dec r14
jne 0x1400b5fd0
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140062590
add rsp, 0x30
pop r15
pop r14
pop rsi
ret