Function at 0x1400013c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, 4
lea r10, [rbp - 0x2f]
mov r11d, edi
mov rsi, r9
mov r14, r8
mov rbx, rcx
add rdx, 8
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx - 8]
lea rdx, [rdx + 1]
mov byte [r10 - 1], al
lea r10, [r10 + 4]
movzx eax, byte [rdx - 5]
mov byte [r10 - 4], al
movzx eax, byte [rdx - 1]
mov byte [r10 - 3], al
movzx eax, byte [rdx + 3]
mov byte [r10 - 2], al
sub r11, 1
jne 0x140001410
lea rcx, [rbp - 0x2f]
mov r8, rdi
lea rdx, [r9 + 8]
nop dword [rax]
movzx eax, byte [rdx - 8]
lea rdx, [rdx + 1]
xor byte [rcx - 1], al
lea rcx, [rcx + 4]
movzx eax, byte [rdx - 5]
xor byte [rcx - 4], al
movzx eax, byte [rdx - 1]
xor byte [rcx - 3], al
movzx eax, byte [rdx + 3]
xor byte [rcx - 2], al
sub r8, 1
jne 0x140001450
mov ebx, dword [rbx + 4]
lea r15, [0x140000000]
lea eax, [rbx - 1]
cmp eax, 1
jb 0x1400016a8
lea r10d, [r8 + 0x10]
mov r11d, eax
nop word [rax + rax]
lea rdx, [rbp - 0x2f]
mov r8, rdi
nop word [rax + rax]
movzx eax, byte [rdx - 1]
lea rdx, [rdx + 4]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r15 + 0x43a0]
mov byte [rdx - 5], al
movzx eax, byte [rdx - 4]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r15 + 0x43a0]
mov byte [rdx - 4], al
movzx eax, byte [rdx - 3]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r15 + 0x43a0]
mov byte [rdx - 3], al
movzx eax, byte [rdx - 2]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r15 + 0x43a0]
mov byte [rdx - 2], al
sub r8, 1
jne 0x1400014b0
movzx eax, byte [rbp - 0x2b]
mov byte [rbp - 0x3c], al
movzx eax, byte [rbp - 0x2a]
mov byte [rbp - 0x3b], al
movzx eax, byte [rbp - 0x29]
mov byte [rbp - 0x3a], al
movzx eax, byte [rbp - 0x2c]
mov byte [rbp - 0x39], al
mov eax, dword [rbp - 0x3c]
mov dword [rbp - 0x2c], eax
movzx eax, byte [rbp - 0x26]
mov byte [rbp - 0x38], al
movzx eax, byte [rbp - 0x25]
mov byte [rbp - 0x37], al
movzx eax, byte [rbp - 0x28]
mov byte [rbp - 0x36], al
movzx eax, byte [rbp - 0x27]
mov byte [rbp - 0x35], al
mov eax, dword [rbp - 0x38]
mov dword [rbp - 0x28], eax
movzx eax, byte [rbp - 0x21]
mov byte [rbp - 0x40], al
movzx eax, byte [rbp - 0x24]
mov byte [rbp - 0x3f], al
movzx eax, byte [rbp - 0x23]
mov byte [rbp - 0x3e], al
movzx eax, byte [rbp - 0x22]
mov byte [rbp - 0x3d], al
mov eax, dword [rbp - 0x40]
mov dword [rbp - 0x24], eax
xor eax, eax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
nop word [rax + rax]
xor eax, eax
lea r9, [r15 + 0x4390]
add r9, r8
nop dword [rax]
movzx ecx, byte [r9 + rax]
cmp cl, 1
jne 0x1400015df
movzx ecx, byte [rbp + rax*4 - 0x30]
xor byte [rbp + r8 - 0x18], cl
movzx ecx, byte [rbp + rax*4 - 0x2f]
xor byte [rbp + r8 - 0x17], cl
movzx ecx, byte [rbp + rax*4 - 0x2e]
xor byte [rbp + r8 - 0x16], cl
movzx ecx, byte [rbp + rax*4 - 0x2d]
jmp 0x140001639
movzx edx, cl
movzx ecx, byte [rbp + rax*4 - 0x30]
shl rdx, 8
add rcx, rdx
movzx ecx, byte [rcx + r15 + 0x44a0]
xor byte [rbp + r8 - 0x18], cl
movzx ecx, byte [rbp + rax*4 - 0x2f]
add rcx, rdx
movzx ecx, byte [rcx + r15 + 0x44a0]
xor byte [rbp + r8 - 0x17], cl
movzx ecx, byte [rbp + rax*4 - 0x2e]
add rcx, rdx
movzx ecx, byte [rcx + r15 + 0x44a0]
xor byte [rbp + r8 - 0x16], cl
movzx ecx, byte [rbp + rax*4 - 0x2d]
add rcx, rdx
movzx ecx, byte [rcx + r15 + 0x44a0]
xor byte [rbp + r8 - 0x15], cl
inc rax
cmp rax, rdi
jb 0x1400015b0
add r8, rdi
cmp r8, 0x10
jb 0x1400015a0
movups xmm0, xmmword [rbp - 0x18]
mov eax, r10d
lea rdx, [rsi + 8]
lea rcx, [rbp - 0x2f]
add rdx, rax
movups xmmword [rbp - 0x30], xmm0
mov r8, rdi
movzx eax, byte [rdx - 8]
lea rdx, [rdx + 1]
xor byte [rcx - 1], al
lea rcx, [rcx + 4]
movzx eax, byte [rdx - 5]
xor byte [rcx - 4], al
movzx eax, byte [rdx - 1]
xor byte [rcx - 3], al
movzx eax, byte [rdx + 3]
xor byte [rcx - 2], al
sub r8, 1
jne 0x140001670
add r10d, 0x10
sub r11, 1
jne 0x1400014a0
lea rdx, [rbp - 0x2f]
mov r8, rdi
nop
movzx eax, byte [rdx - 1]
lea rdx, [rdx + 4]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r15 + 0x43a0]
mov byte [rdx - 5], al
movzx eax, byte [rdx - 4]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r15 + 0x43a0]
mov byte [rdx - 4], al
movzx eax, byte [rdx - 3]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r15 + 0x43a0]
mov byte [rdx - 3], al
movzx eax, byte [rdx - 2]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r15 + 0x43a0]
mov byte [rdx - 2], al
sub r8, 1
jne 0x1400016b0
movzx eax, byte [rbp - 0x2b]
lea rcx, [rbp - 0x2f]
mov byte [rbp - 0x40], al
mov r8, rdi
movzx eax, byte [rbp - 0x2a]
mov byte [rbp - 0x3f], al
movzx eax, byte [rbp - 0x29]
mov byte [rbp - 0x3e], al
movzx eax, byte [rbp - 0x2c]
mov byte [rbp - 0x3d], al
mov eax, dword [rbp - 0x40]
mov dword [rbp - 0x2c], eax
movzx eax, byte [rbp - 0x26]
mov byte [rbp - 0x40], al
movzx eax, byte [rbp - 0x25]
mov byte [rbp - 0x3f], al
movzx eax, byte [rbp - 0x28]
mov byte [rbp - 0x3e], al
movzx eax, byte [rbp - 0x27]
mov byte [rbp - 0x3d], al
mov eax, dword [rbp - 0x40]
mov dword [rbp - 0x28], eax
movzx eax, byte [rbp - 0x21]
mov byte [rbp - 0x40], al
movzx eax, byte [rbp - 0x24]
mov byte [rbp - 0x3f], al
movzx eax, byte [rbp - 0x23]
shl ebx, 4
mov byte [rbp - 0x3e], al
movzx eax, byte [rbp - 0x22]
mov edx, ebx
mov byte [rbp - 0x3d], al
add rdx, 8
mov eax, dword [rbp - 0x40]
add rdx, rsi
mov dword [rbp - 0x24], eax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx - 8]
lea rdx, [rdx + 1]
xor byte [rcx - 1], al
lea rcx, [rcx + 4]
movzx eax, byte [rdx - 5]
xor byte [rcx - 4], al
movzx eax, byte [rdx - 1]
xor byte [rcx - 3], al
movzx eax, byte [rdx + 3]
xor byte [rcx - 2], al
sub r8, 1
jne 0x1400017b0
lea rcx, [rbp - 0x2f]
lea rdx, [r14 + 8]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx - 1]
lea rcx, [rcx + 4]
mov byte [rdx - 8], al
lea rdx, [rdx + 1]
movzx eax, byte [rcx - 4]
mov byte [rdx - 5], al
movzx eax, byte [rcx - 3]
mov byte [rdx - 1], al
movzx eax, byte [rcx - 2]
mov byte [rdx + 3], al
sub rdi, 1
jne 0x1400017f0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140002740
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret