Function at 0x14014c5a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
movq xmm0, r9
mov rbp, rsp
push r15
push r14
xor r14d, r14d
push r13
push r12
mov r12, r8
push rdi
push rsi
mov rsi, r9
push rbx
and rsp, 0xfffffffffffffff0
sub rsp, 0xa0
mov rbx, qword [rbp + 0x30]
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x10], rcx
lea r15, [rsp + 0x60]
mov rcx, r9
mov eax, dword [rbx + 0x10]
mov qword [rsp + 0x38], rax
shl rax, 2
lea r13, [r9 + rax]
movq xmm5, r13
add r13, rax
lea rdi, [r13 + rax]
punpcklqdq xmm0, xmm5
mov qword [rsp + 0x90], r13
lea r13, [rsp + 0x40]
lea rdx, [rdi + rax]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdx
add rdx, rax
mov eax, dword [rbx + 0xc]
mov qword [rsp + 0x70], rdx
xor edx, edx
lea r8d, [rax + rax*2]
movaps xmmword [rsp + 0x80], xmm0
call sub.msvcrt.dll_memset
mov qword [rsp + 0x30], rdi
mov rdi, r15
mov r15, rsi
mov rsi, rbx
mov rbx, qword [rbp + 0x18]
lea rax, [r14 + r14*2]
mov rcx, qword [r14 + rdi]
mov r8d, dword [rsi + 0xc]
xor edx, edx
mov rax, qword [rbx + rax]
mov qword [r13 + r14], rax
add r14, 8
call sub.msvcrt.dll_memset
cmp r14, 0x18
jne 0x14014c648
mov rbx, rsi
mov rsi, r15
mov r15, rdi
mov rdi, qword [rsp + 0x30]
mov edx, dword [rbx + 0x10]
test edx, edx
je 0x14014c729
mov rax, qword [rsp + 0x38]
lea r8, [r12 + 4]
lea r9, [rax + rax*2]
shl r9, 2
lea rcx, [rsi + r9]
mov rax, rcx
sub rax, r8
cmp rax, 8
jbe 0x14014cb7d
cmp edx, 1
je 0x14014cb7d
lea eax, [rdx - 1]
cmp eax, 2
jbe 0x14014cb94
mov r8d, edx
xor eax, eax
shr r8d, 2
shl r8, 4
movdqu xmm0, xmmword [rcx + rax]
movdqu xmm5, xmmword [r12 + rax]
pxor xmm0, xmm5
movups xmmword [rcx + rax], xmm0
add rax, 0x10
cmp r8, rax
jne 0x14014c6cf
mov eax, edx
and eax, 0xfffffffc
test dl, 3
je 0x14014c729
sub edx, eax
cmp edx, 1
je 0x14014c722
mov ecx, eax
lea r8, [r9 + rcx*4]
movq xmm0, qword [r12 + rcx*4]
mov ecx, edx
add rsi, r8
and ecx, 0xfffffffe
movq xmm1, qword [rsi]
add eax, ecx
pxor xmm0, xmm1
movq qword [rsi], xmm0
cmp edx, ecx
je 0x14014c729
mov edx, dword [r12 + rax*4]
xor dword [rdi + rax*4], edx
mov rdx, rbx
xor ecx, ecx
lea r14, [rsp + 0x80]
xor edi, edi
call fcn.14004bd80
mov rsi, rax
mov rcx, qword [r13 + rdi]
mov r8, qword [r14 + rdi]
mov r9, rbx
mov rdx, rsi
add rdi, 8
call fcn.140135e10
cmp rdi, 0x18
jne 0x14014c740
mov edi, dword [rbx + 0x10]
test edi, edi
je 0x14014c84d
lea eax, [rdi - 1]
mov qword [rbp + 0x30], rbx
mov esi, edi
xor r8d, r8d
mov dword [rsp + 0x38], eax
mov eax, edi
and esi, 0xfffffffc
mov r12d, edi
shr eax, 2
mov qword [rsp + 0x30], r13
lea r9d, [rax - 1]
mov eax, edi
add r9, 1
and eax, 3
shl r9, 4
mov r13d, eax
nop dword [rax]
mov rdx, qword [r8 + r15]
mov rcx, qword [r14 + r8]
mov rax, rdx
lea r10, [rcx + 4]
sub rax, r10
cmp rax, 8
jbe 0x14014cb46
cmp edi, 1
je 0x14014cb46
cmp dword [rsp + 0x38], 2
jbe 0x14014cb6d
xor eax, eax
nop word [rax + rax]
movdqu xmm0, xmmword [rdx + rax]
movdqu xmm3, xmmword [rcx + rax]
pxor xmm0, xmm3
movups xmmword [rdx + rax], xmm0
add rax, 0x10
cmp rax, r9
jne 0x14014c7d8
cmp edi, esi
je 0x14014c836
mov ebx, r13d
cmp r13d, 1
je 0x14014cb76
mov eax, esi
mov r11d, eax
lea r10, [rdx + r11*4]
movq xmm0, qword [rcx + r11*4]
movq xmm1, qword [r10]
pxor xmm0, xmm1
movq qword [r10], xmm0
mov r10d, ebx
and r10d, 0xfffffffe
add eax, r10d
cmp ebx, r10d
je 0x14014c836
mov ecx, dword [rcx + rax*4]
xor dword [rdx + rax*4], ecx
add r8, 8
cmp r8, 0x18
jne 0x14014c7a0
mov rbx, qword [rbp + 0x30]
mov r13, qword [rsp + 0x30]
mov eax, dword [rbx]
test eax, eax
je 0x14014cabe
lea rax, [rsp + 0x78]
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x20], rax
nop dword [rax]
mov ecx, dword [rsp + 0x30]
mov rdx, rbx
xor edi, edi
call fcn.14004bd80
mov rsi, rax
nop dword [rax]
mov rcx, qword [r13 + rdi]
mov r8, qword [r14 + rdi]
mov r9, rbx
mov rdx, rsi
add rdi, 8
call fcn.140135e10
cmp rdi, 0x18
jne 0x14014c888
mov r8, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov r9, rbx
mov rcx, r15
mov rdi, r15
call fcn.14014d480
mov eax, dword [rsp + 0x30]
mov rdx, rbx
lea r12d, [rax - 1]
mov ecx, r12d
call fcn.14004f680
mov dword [rsp + 0x38], r12d
mov r12, rbx
mov rbx, qword [rsp + 0x20]
mov rsi, rax
nop
mov rcx, qword [rdi]
mov r9, r12
mov rdx, rsi
add rdi, 8
mov r8, rcx
call fcn.140135e10
cmp rbx, rdi
jne 0x14014c8e0
mov rbx, r12
mov r12d, dword [rsp + 0x38]
mov rdx, rbx
mov esi, dword [rbx + 0x10]
mov ecx, r12d
call fcn.140052a90
mov rdx, qword [rsp + 0x60]
mov rcx, rax
test esi, esi
je 0x14014c9bd
lea r8, [rax + 4]
mov rax, rdx
sub rax, r8
cmp rax, 8
jbe 0x14014cb2e
cmp esi, 1
je 0x14014cb2e
lea eax, [rsi - 1]
cmp eax, 2
jbe 0x14014cb66
mov r8d, esi
xor eax, eax
shr r8d, 2
shl r8, 4
nop word cs:[rax + rax]
movdqu xmm0, xmmword [rdx + rax]
movdqu xmm4, xmmword [rcx + rax]
pxor xmm0, xmm4
movups xmmword [rdx + rax], xmm0
add rax, 0x10
cmp r8, rax
jne 0x14014c960
mov eax, esi
and eax, 0xfffffffc
test sil, 3
je 0x14014c9bd
sub esi, eax
cmp esi, 1
je 0x14014c9b7
mov r9d, eax
lea r8, [rdx + r9*4]
movq xmm0, qword [rcx + r9*4]
movq xmm1, qword [r8]
pxor xmm0, xmm1
movq qword [r8], xmm0
mov r8d, esi
and r8d, 0xfffffffe
add eax, r8d
cmp esi, r8d
je 0x14014c9bd
mov ecx, dword [rcx + rax*4]
xor dword [rdx + rax*4], ecx
mov edi, dword [rbx + 0x10]
test edi, edi
je 0x14014caad
lea eax, [rdi - 1]
mov qword [rbp + 0x30], rbx
mov esi, edi
xor r8d, r8d
mov dword [rsp + 0x38], eax
mov eax, edi
and esi, 0xfffffffc
mov r12d, edi
shr eax, 2
mov qword [rsp + 0x28], r13
lea r9d, [rax - 1]
mov eax, edi
add r9, 1
and eax, 3
shl r9, 4
mov r13d, eax
nop dword [rax]
mov rdx, qword [r8 + r15]
mov rcx, qword [r14 + r8]
mov rax, rdx
lea r10, [rcx + 4]
sub rax, r10
cmp rax, 8
jbe 0x14014cb00
cmp edi, 1
je 0x14014cb00
cmp dword [rsp + 0x38], 2
jbe 0x14014cb1e
xor eax, eax
nop word [rax + rax]
movdqu xmm0, xmmword [rcx + rax]
movdqu xmm2, xmmword [rdx + rax]
pxor xmm0, xmm2
movups xmmword [rdx + rax], xmm0
add rax, 0x10
cmp r9, rax
jne 0x14014ca38
cmp edi, esi
je 0x14014ca96
mov ebx, r13d
cmp r13d, 1
je 0x14014cb27
mov eax, esi
mov r11d, eax
lea r10, [rdx + r11*4]
movq xmm0, qword [rcx + r11*4]
movq xmm1, qword [r10]
pxor xmm0, xmm1
movq qword [r10], xmm0
mov r10d, ebx
and r10d, 0xfffffffe
add eax, r10d
cmp r10d, ebx
je 0x14014ca96
mov ecx, dword [rcx + rax*4]
xor dword [rdx + rax*4], ecx
add r8, 8
cmp r8, 0x18
jne 0x14014ca00
mov rbx, qword [rbp + 0x30]
mov r13, qword [rsp + 0x28]
add dword [rsp + 0x30], 1
mov eax, dword [rsp + 0x30]
cmp dword [rbx], eax
jae 0x14014c870
mov rax, qword [rbp + 0x18]
mov rsi, r15
lea r12, [rax + 0x10]
lea rdi, [rax + 0x58]
mov rcx, qword [r12]
mov rdx, qword [rsi]
add r12, 0x18
add rsi, 8
mov r8d, dword [rbx + 0xc]
call sub.msvcrt.dll_memcpy
cmp rdi, r12
jne 0x14014cacd
lea rsp, [rbp - 0x38]
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
xor eax, eax
nop word [rax + rax]
mov r10d, dword [rcx + rax*4]
xor dword [rdx + rax*4], r10d
add rax, 1
cmp r12, rax
jne 0x14014cb08
jmp 0x14014ca96
mov ebx, edi
xor eax, eax
jmp 0x14014ca66
mov eax, esi
jmp 0x14014ca90
xor eax, eax
mov r8d, dword [rcx + rax*4]
xor dword [rdx + rax*4], r8d
add rax, 1
cmp rsi, rax
jne 0x14014cb30
jmp 0x14014c9bd
xor eax, eax
nop dword [rax + rax]
mov r10d, dword [rcx + rax*4]
xor dword [rdx + rax*4], r10d
add rax, 1
cmp rax, r12
jne 0x14014cb50
jmp 0x14014c836
xor eax, eax
jmp 0x14014c98d
mov ebx, edi
xor eax, eax
jmp 0x14014c806
mov eax, esi
jmp 0x14014c830
xor eax, eax
mov ecx, dword [r12 + rax*4]
xor dword [rdi + rax*4], ecx
add rax, 1
cmp rax, rdx
jne 0x14014cb7f
jmp 0x14014c729
xor eax, eax
jmp 0x14014c6fc