Function at 0x14034a890
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x10
movdqa xmmword [rsp], xmm6
mov edi, r8d
sub edi, edx
cmp edi, 2
jb 0x14034ab5f
cmp dword [rcx + 0x1c], 2
je 0x14034ab5f
mov rax, qword [rcx + 0x70]
mov r10d, edx
lea rsi, [r10 + r10*4]
mov r9d, dword [rax + rsi*4 + 8]
inc edx
mov r11d, r9d
cmp edx, r8d
jae 0x14034aa65
mov ebx, edx
add edi, 0xfffffffe
cmp edi, 8
jae 0x14034a8ea
mov edi, r9d
mov rdx, rbx
jmp 0x14034aa35
mov r11d, edi
inc r11
mov edx, r11d
and edx, 7
mov edi, 8
cmovne rdi, rdx
sub r11, rdi
lea rdx, [r11 + rbx]
movd xmm0, r9d
pshufd xmm1, xmm0, 0
lea rdi, [rbx + rbx*4]
lea rdi, [rax + rdi*4]
add rdi, 0x94
movdqa xmm0, xmmword [0x140599730]
movdqa xmm2, xmm1
nop dword [rax + rax]
movd xmm3, dword [rdi - 0x50]
movd xmm4, dword [rdi - 0x64]
punpckldq xmm4, xmm3
movd xmm3, dword [rdi - 0x78]
movd xmm5, dword [rdi - 0x8c]
punpckldq xmm5, xmm3
punpcklqdq xmm5, xmm4
movd xmm3, dword [rdi]
movd xmm4, dword [rdi - 0x14]
punpckldq xmm4, xmm3
movd xmm3, dword [rdi - 0x28]
movd xmm6, dword [rdi - 0x3c]
punpckldq xmm6, xmm3
punpcklqdq xmm6, xmm4
movdqa xmm3, xmm1
movdqa xmm4, xmm5
pxor xmm4, xmm0
pxor xmm1, xmm0
pcmpgtd xmm4, xmm1
pand xmm3, xmm4
pandn xmm4, xmm5
movdqa xmm1, xmm4
por xmm1, xmm3
movdqa xmm3, xmm2
movdqa xmm4, xmm6
pxor xmm4, xmm0
pxor xmm2, xmm0
pcmpgtd xmm4, xmm2
pand xmm3, xmm4
pandn xmm4, xmm6
movdqa xmm2, xmm4
por xmm2, xmm3
add rdi, 0xa0
add r11, 0xfffffffffffffff8
jne 0x14034a930
movdqa xmm3, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm2
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
pand xmm1, xmm4
pandn xmm4, xmm2
por xmm4, xmm1
pshufd xmm1, xmm4, 0xee
movdqa xmm2, xmm4
pxor xmm2, xmm0
movdqa xmm3, xmm1
pxor xmm3, xmm0
pcmpgtd xmm3, xmm2
pand xmm4, xmm3
pandn xmm3, xmm1
por xmm3, xmm4
pshufd xmm1, xmm3, 0x55
movdqa xmm2, xmm3
pxor xmm2, xmm0
pxor xmm0, xmm1
pcmpgtd xmm0, xmm2
pand xmm3, xmm0
pandn xmm0, xmm1
por xmm0, xmm3
movd edi, xmm0
lea r11, [rdx + rdx*4]
lea rbx, [rax + r11*4]
add rbx, 8
mov ebp, r8d
sub ebp, edx
nop word cs:[rax + rax]
mov r11d, dword [rbx]
cmp edi, r11d
cmovb r11d, edi
add rbx, 0x14
mov edi, r11d
dec ebp
jne 0x14034aa50
lea rdi, [rsi*4 + 8]
nop dword [rax]
mov rdx, rdi
mov rsi, r10
test esi, esi
je 0x14034aa90
lea r10, [rsi - 1]
mov edi, r10d
lea rbx, [rdi + rdi*4]
lea rdi, [rdx - 0x14]
cmp dword [rax + rbx*4 + 8], r9d
je 0x14034aa70
mov r9d, dword [rcx + 0x5c]
cmp r9d, r8d
jbe 0x14034aad2
mov r8d, r8d
lea r10, [r8 + r8*4]
lea r10, [rax + r10*4]
add r10, 8
nop dword [rax + rax]
lea edi, [r8 - 1]
lea rdi, [rdi + rdi*4]
mov edi, dword [rax + rdi*4 + 8]
cmp edi, dword [r10]
jne 0x14034aad2
inc r8
add r10, 0x14
cmp r9d, r8d
jne 0x14034aab0
mov r8d, r9d
jmp 0x14034aad7
cmp r8d, r9d
jne 0x14034ab33
mov eax, dword [rcx + 0x54]
cmp eax, dword [rcx + 0x58]
jae 0x14034ab33
dec r9d
lea r10, [rax + rax*4]
lea r10, [r10*4 + 8]
lea r9, [r9 + r9*4]
jmp 0x14034ab13
mov dword [rdi + r10], r11d
inc rax
mov edi, dword [rcx + 0x58]
add r10, 0x14
cmp rax, rdi
jae 0x14034ab33
mov rdi, qword [rcx + 0x68]
mov r14, qword [rcx + 0x70]
mov ebx, dword [rdi + r10]
cmp ebx, dword [r14 + r9*4 + 8]
jne 0x14034ab33
cmp ebx, r11d
je 0x14034ab00
and byte [rdi + r10 - 4], 0xf8
jmp 0x14034ab00
cmp esi, r8d
jae 0x14034ab5f
mov eax, r8d
sub rax, rsi
jmp 0x14034ab4d
mov dword [r8 + rdx], r11d
add rdx, 0x14
dec rax
je 0x14034ab5f
mov r8, qword [rcx + 0x70]
cmp dword [r8 + rdx], r11d
je 0x14034ab40
and byte [r8 + rdx - 4], 0xf8
jmp 0x14034ab40
movaps xmm6, xmmword [rsp]
add rsp, 0x10
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret