Function at 0x14026cfc0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x20
mov rax, qword [0x1404b0028]
xor rax, rsp
mov qword [rsp + 0x10], rax
movdqa xmm0, xmmword [0x140318c80]
mov edi, 1
mov qword [rsp + 0x58], r15
mov rsi, rcx
mov r15d, 4
cmp dword [rcx + 0x20], r15d
movdqu xmmword [rsp], xmm0
cmovl r15d, dword [rcx + 0x20]
movsxd r14, r15d
cmp r14, rdi
jle 0x14026d142
mov qword [rsp + 0x48], rbx
lea r11, [rcx + 0x7f4]
mov qword [rsp + 0x50], rbp
mov r10d, edi
lea rbp, [rcx + 0x548]
mov r9d, edi
nop dword [rax + rax]
xor edx, edx
xor r8d, r8d
test r9, r9
jle 0x14026d066
mov ebx, dword [r11 - 4]
lea rcx, [rsi + 0x50c]
cmp ebx, dword [rcx - 4]
jne 0x14026d055
mov eax, dword [rcx]
cmp dword [r11], eax
je 0x14026d280
inc edx
inc r8
add rcx, 0x2e8
cmp r8, r9
jl 0x14026d045
lea rax, [rsp]
mov dword [rax + r10*4], edx
lea rax, [rax + r10*4]
cmp r9, r10
je 0x14026d119
mov rcx, rbp
lea rax, [r11 - 0x2ac]
mov edx, 5
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
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
sub rdx, 1
jne 0x14026d090
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 edi
inc r9
add rbp, 0x2e8
inc r10
add r11, 0x2e8
cmp r10, r14
jl 0x14026d030
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp edi, r15d
mov r15, qword [rsp + 0x58]
jge 0x14026d26a
mov eax, dword [rsi + 0x34]
imul eax, dword [rsi + 0x30]
movsxd r9, eax
test eax, eax
jle 0x14026d190
nop
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 0x14026d160
movsxd rcx, edi
mov dword [rsi + 0x20], edi
cmp rcx, r14
jge 0x14026d26a
imul rax, rcx, 0x2e8
lea r8, [rsi + 0x260]
add r8, rax
sub r14, rcx
lea r9, [rax - 0x88]
nop word [rax + rax]
mov rdx, r8
lea rax, [r9 + rsi]
mov ecx, 5
nop dword [rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
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
sub rcx, 1
jne 0x14026d1d0
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
sub r14, 1
jne 0x14026d1c0
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140048b40
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov dword [rsp + r10*4], edx
jmp 0x14026d125