Function at 0x14013b510
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14030a100]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov esi, r9d
mov rdi, r8
lea r8, [rcx + 0x5c]
mov rbx, rdx
mov qword [rsp + 0x30], r8
lea rdx, [rcx + 0x54]
mov qword [rsp + 0x28], rdx
lea rax, [rcx + 0x44]
mov qword [rsp + 0x20], rax
lea r13, [rcx + 0x4c]
mov qword [rsp + 0x38], r13
lea r14, [rcx + 0x58]
lea rbp, [rcx + 0x60]
lea r12, [rcx + 0x48]
lea r15, [rcx + 0x50]
cmp r9d, 0x10
jb 0x14013b612
mov r13d, esi
shr r13, 4
mov rcx, rax
call fcn.14013af60
mov eax, dword [r15]
add esi, 0xfffffff0
movzx ecx, word [r14 + 2]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
shl eax, 0x10
xor ecx, eax
mov rax, qword [rsp + 0x20]
xor ecx, dword [rdi]
xor ecx, dword [rax]
mov dword [rbx], ecx
mov eax, dword [r14]
movzx ecx, word [rbp + 2]
shl eax, 0x10
xor ecx, eax
mov rax, qword [rsp + 0x38]
xor ecx, dword [rdi + 4]
xor ecx, dword [rax]
mov dword [rbx + 4], ecx
mov eax, dword [rbp]
movzx ecx, word [r12 + 2]
shl eax, 0x10
xor ecx, eax
xor ecx, dword [rdi + 8]
xor ecx, dword [rdx]
mov dword [rbx + 8], ecx
mov eax, dword [r12]
movzx ecx, word [r15 + 2]
xor ecx, dword [rdi + 0xc]
add rdi, 0x10
shl eax, 0x10
xor ecx, eax
mov rax, qword [rsp + 0x20]
xor ecx, dword [r8]
mov dword [rbx + 0xc], ecx
add rbx, 0x10
sub r13, 1
jne 0x14013b581
mov r13, qword [rsp + 0x38]
jmp 0x14013b61c
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], r8
test esi, esi
je 0x14013b7b3
mov rcx, rax
call fcn.14013af60
mov r8d, dword [r14]
mov ecx, r8d
mov r9d, dword [r15]
mov eax, r9d
mov edx, dword [rbp]
shl eax, 0x10
shr ecx, 0x10
xor ecx, eax
shl r8d, 0x10
mov rax, qword [rsp + 0x20]
shr r9d, 0x10
xor ecx, dword [rax]
mov eax, edx
shr eax, 0x10
xor r8d, eax
shl edx, 0x10
xor r8d, dword [r13]
mov dword [rsp + 0x40], ecx
mov ecx, dword [r12]
mov eax, ecx
shr eax, 0x10
xor edx, eax
shl ecx, 0x10
mov rax, qword [rsp + 0x28]
xor r9d, ecx
mov dword [rsp + 0x44], r8d
xor edx, dword [rax]
mov rax, qword [rsp + 0x30]
mov dword [rsp + 0x48], edx
xor edx, edx
xor r9d, dword [rax]
mov dword [rsp + 0x4c], r9d
test esi, esi
je 0x14013b7b3
cmp esi, 8
jb 0x14013b77f
lea eax, [rsi - 1]
mov ecx, eax
lea r8, [rax + rbx]
add rax, rdi
cmp rbx, rax
ja 0x14013b6c0
cmp r8, rdi
jae 0x14013b77f
lea rax, [rsp + 0x40]
add rax, rcx
cmp rbx, rax
ja 0x14013b6db
lea rax, [rsp + 0x40]
cmp r8, rax
jae 0x14013b77f
cmp esi, 0x40
jb 0x14013b75c
mov r8d, esi
and r8d, 0xffffffc0
mov r9d, 0x20
movdqu xmm0, xmmword [rsp + rdx + 0x40]
lea eax, [r9 - 0x10]
movdqu xmm1, xmmword [rdx + rdi]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rsp + rax + 0x40]
movdqu xmmword [rbx + rdx], xmm1
add edx, 0x40
movdqu xmm1, xmmword [rax + rdi]
xorps xmm1, xmm0
movdqu xmmword [rbx + rax], xmm1
mov eax, r9d
movdqu xmm0, xmmword [rsp + rax + 0x40]
movdqu xmm1, xmmword [rax + rdi]
xorps xmm1, xmm0
movdqu xmmword [rbx + rax], xmm1
lea eax, [r9 + 0x10]
add r9d, 0x40
movdqu xmm1, xmmword [rax + rdi]
movdqu xmm0, xmmword [rsp + rax + 0x40]
xorps xmm1, xmm0
movdqu xmmword [rbx + rax], xmm1
cmp edx, r8d
jb 0x14013b6f1
mov eax, esi
and al, 0x3f
cmp al, 8
jb 0x14013b77b
mov ecx, esi
and ecx, 0xfffffff8
movq xmm1, qword [rdx + rdi]
movq xmm0, qword [rsp + rdx + 0x40]
xorps xmm1, xmm0
movq qword [rbx + rdx], xmm1
add edx, 8
cmp edx, ecx
jb 0x14013b761
cmp edx, esi
jae 0x14013b7b3
mov eax, edx
lea rcx, [rsp + 0x40]
add rcx, rax
lea rax, [rsp + 0x40]
sub rdi, rax
lea rax, [rsp + 0x40]
sub rbx, rax
sub esi, edx
mov edx, esi
nop dword [rax]
movzx eax, byte [rcx + rdi]
xor al, byte [rcx]
mov byte [rbx + rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14013b7a0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14013d5b0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret