Function at 0x140067630
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x1400ec008]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea r15, [rdx + rdx*4]
mov r14, rcx
shl r15, 8
lea r12, [0x1400aaf90]
mov rdx, rcx
movzx ebp, r8b
mov ecx, 2
lea rax, [r15 + r12]
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 0x140067676
movzx eax, bpl
movzx esi, bpl
not al
lea rdi, [r15 + r12]
movzx r11d, al
lea rdx, [rdi + 0x100]
mov eax, esi
dec r11d
xor eax, 1
shr r11d, 0x1f
dec eax
mov rcx, r14
shr eax, 0x1f
or r11b, al
movzx r8d, r11b
call fcn.14006c100
lea rdx, [rdi + 0x180]
movzx r8d, r11b
lea rcx, [r14 + 0x80]
call fcn.14006c100
mov eax, esi
lea rdi, [r15 + r12]
xor eax, 2
lea rdx, [rdi + 0x200]
dec eax
mov r11d, esi
xor r11d, 0xfe
shr eax, 0x1f
dec r11d
mov rcx, r14
shr r11d, 0x1f
or r11b, al
movzx r8d, r11b
call fcn.14006c100
lea rdx, [rdi + 0x280]
movzx r8d, r11b
lea rcx, [r14 + 0x80]
call fcn.14006c100
mov eax, esi
lea rdi, [r15 + r12]
xor eax, 3
lea rdx, [rdi + 0x300]
dec eax
mov r11d, esi
xor r11d, 0xfd
shr eax, 0x1f
dec r11d
mov rcx, r14
shr r11d, 0x1f
or r11b, al
movzx r8d, r11b
call fcn.14006c100
lea rdx, [rdi + 0x380]
movzx r8d, r11b
lea rcx, [r14 + 0x80]
call fcn.14006c100
xor esi, 0xfc
lea rdi, [r15 + r12]
dec esi
lea rdx, [rdi + 0x400]
shr esi, 0x1f
mov rcx, r14
movzx r8d, sil
call fcn.14006c100
lea rdx, [rdi + 0x480]
movzx r8d, sil
lea rcx, [r14 + 0x80]
call fcn.14006c100
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [r14 + 0x30]
movups xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [r14 + 0x40]
movups xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [r14 + 0x50]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [r14 + 0x60]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [r14 + 0x70]
xor eax, eax
lea rdi, [rsp + 0xa0]
mov ebx, 0x20
lea r8, [rsp + 0x20]
mov ecx, ebx
lea rdx, [rsp + 0xa0]
rep stosd dword [rdi], eax
lea rcx, [rsp + 0xa0]
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm1
call fcn.14006c2e0
movsx rax, bpl
lea rcx, [rsp + 0x11c]
shr rax, 0x3f
movzx edi, al
lea rax, [r14 + 0x7c]
neg edi
movd xmm2, edi
pshufd xmm2, xmm2, 0
cmp r14, rcx
ja 0x1400678c9
lea rcx, [rsp + 0xa0]
cmp rax, rcx
jb 0x1400678c9
lea rdx, [rsp + 0xa0]
sub rdx, r14
nop dword [rax + rax]
mov ecx, dword [r14 + rdx]
xor ecx, dword [r14]
lea r14, [r14 + 4]
and ecx, edi
xor dword [r14 - 4], ecx
sub rbx, 1
jne 0x1400678b0
jmp 0x140067932
lea rdi, [rsp + 0xa0]
mov eax, 4
sub rdi, r14
lea rdx, [rsp + 0xa0]
sub rdx, r14
lea rcx, [r14 + 0x10]
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx - 0x10]
movdqu xmm1, xmmword [rcx + rdi - 0x10]
lea rcx, [rcx + 0x20]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [rcx + rdx - 0x20]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
sub rax, 1
jne 0x1400678f0
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140078840
add rsp, 0x140
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret