Function at 0x140002df0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
mov rsi, qword [rcx]
mov rax, qword [0x140068018]
movzx eax, byte [rax]
cmp al, 1
jne 0x140002e3a
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140003110
jmp 0x1400030f7
mov r13, qword [rdx]
mov r15, qword [rdx + 8]
mov r14, qword [rdx + 0x10]
mov rcx, qword [rdx + 0x18]
mov eax, ecx
and eax, 3
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
cmp rcx, 4
jb 0x140002f7c
mov rbp, qword [rsp + 0x20]
shr rbp, 2
lea rdi, [rsp + 0x70]
lea rbx, [rsp + 0x30]
xor r12d, r12d
nop dword [rax + rax]
mov r8d, 0x40
mov rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [r13 + 0x10]
mov ecx, dword [r13 + 8]
mov edx, dword [r13 + 0xc]
add edx, eax
bswap edx
mov r8, qword [r13]
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x3c], edx
mov ecx, dword [r13 + 0xc]
mov edx, dword [r13 + 8]
lea ecx, [rax + rcx + 1]
bswap ecx
mov r8, qword [r13]
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x4c], ecx
mov ecx, dword [r13 + 0xc]
mov edx, dword [r13 + 8]
lea ecx, [rax + rcx + 2]
bswap ecx
mov r8, qword [r13]
mov qword [rsp + 0x50], r8
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x5c], ecx
mov ecx, dword [r13 + 0xc]
mov edx, dword [r13 + 8]
add ecx, eax
add ecx, 3
bswap ecx
add eax, 4
mov dword [r13 + 0x10], eax
mov rax, qword [r13]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x6c], ecx
mov rcx, rdi
mov rdx, rsi
mov r8, rbx
call fcn.14000e440
movups xmm0, xmmword [r15 + r12]
movups xmm1, xmmword [r15 + r12 + 0x10]
movups xmm2, xmmword [r15 + r12 + 0x20]
movups xmm3, xmmword [r15 + r12 + 0x30]
xorps xmm0, xmmword [rsp + 0x70]
xorps xmm1, xmmword [rsp + 0x80]
xorps xmm2, xmmword [rsp + 0x90]
xorps xmm3, xmmword [rsp + 0xa0]
movups xmmword [r14 + r12], xmm0
movups xmmword [r14 + r12 + 0x10], xmm1
movups xmmword [r14 + r12 + 0x20], xmm2
movups xmmword [r14 + r12 + 0x30], xmm3
add r12, 0x40
dec rbp
jne 0x140002e80
lea rcx, [rsp + 0x70]
mov r8d, 0x40
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rsp + 0x80]
movups xmm2, xmmword [rsp + 0x90]
movups xmm3, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xe0], xmm2
movaps xmmword [rsp + 0xf0], xmm3
mov r12, qword [rsp + 0x28]
test r12, r12
je 0x1400030f7
movabs rax, 0xffffffffffffffc
mov rcx, qword [rsp + 0x20]
and rcx, rax
shl rcx, 4
add r15, rcx
mov qword [rsp + 0xb8], r15
add r14, rcx
mov qword [rsp + 0x20], r14
shl r12, 4
xor ebp, ebp
nop dword [rax + rax]
mov eax, dword [r13 + 0x10]
mov ebx, dword [r13 + 8]
mov r14, rsi
mov esi, dword [r13 + 0xc]
add esi, eax
bswap esi
inc eax
mov dword [r13 + 0x10], eax
mov rdi, qword [r13]
mov r8d, 0x40
lea r15, [rsp + 0x70]
mov rcx, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rsp + 0x80]
movups xmm2, xmmword [rsp + 0x90]
movups xmm3, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x60], xmm3
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], esi
mov rsi, r14
mov rcx, r15
mov rdx, r14
lea r8, [rsp + 0x30]
call fcn.14000e440
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + rbp + 0xc0], xmm0
add rbp, 0x10
cmp r12, rbp
jne 0x140003010
mov rdx, qword [rsp + 0xb8]
movups xmm0, xmmword [rdx]
xorps xmm0, xmmword [rsp + 0xc0]
mov rax, qword [rsp + 0x20]
movups xmmword [rax], xmm0
mov rcx, qword [rsp + 0x28]
cmp ecx, 1
je 0x1400030f7
movups xmm0, xmmword [rdx + 0x10]
xorps xmm0, xmmword [rsp + 0xd0]
movups xmmword [rax + 0x10], xmm0
cmp ecx, 2
je 0x1400030f7
movups xmm0, xmmword [rdx + 0x20]
xorps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rax + 0x20], xmm0
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret