Function at 0x140010200
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140010630
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rsi, r8
mov r14, r9
shr rsi, 4
mov rdi, rdx
cmp byte [rcx], 0
mov rbx, rcx
je 0x14001024a
mov r8, rsi
call fcn.140010634
jmp 0x140010613
lea r15, [rcx + 8]
mov r13d, 0x10
mov r8d, r13d
mov qword [rbp + 0x40], r15
mov rdx, r15
lea rcx, [rbp - 0x10]
call fcn.140024920
test rsi, rsi
je 0x140010604
lea r9, [rbp - 0x30]
sub r9, rdi
lea r11, [rbx + 0x28]
sub r14, rdi
lea r12d, [r13 - 0xc]
lea r15, [0x140000000]
movsxd r10, dword [rbx + 4]
lea rdx, [rbx + 0x18]
mov rax, r10
mov rcx, rdi
shl rax, 4
mov r8, r12
add rdx, rax
sub rdx, rdi
mov eax, dword [rdx + rcx]
xor eax, dword [rcx]
mov dword [r9 + rcx], eax
add rcx, r12
sub r8, 1
jne 0x1400102a4
movzx ecx, byte [rbp - 0x30]
movzx eax, byte [rbp - 0x29]
mov edx, dword [r15 + rcx*4 + 0x50610]
xor edx, dword [r15 + rax*4 + 0x51210]
movzx eax, byte [rbp - 0x26]
movzx ecx, byte [rbp - 0x2f]
xor edx, dword [r15 + rax*4 + 0x50e10]
movzx eax, byte [rbp - 0x23]
xor edx, dword [r15 + rax*4 + 0x50a10]
movzx eax, byte [rbp - 0x2c]
mov dword [rbp - 0x20], edx
mov edx, dword [r15 + rcx*4 + 0x50a10]
movzx ecx, byte [rbp - 0x2e]
xor edx, dword [r15 + rax*4 + 0x50610]
movzx eax, byte [rbp - 0x25]
xor edx, dword [r15 + rax*4 + 0x51210]
movzx eax, byte [rbp - 0x22]
xor edx, dword [r15 + rax*4 + 0x50e10]
movzx eax, byte [rbp - 0x28]
mov dword [rbp - 0x1c], edx
mov edx, dword [r15 + rcx*4 + 0x50e10]
movzx ecx, byte [rbp - 0x2d]
xor edx, dword [r15 + rax*4 + 0x50610]
movzx eax, byte [rbp - 0x2b]
xor edx, dword [r15 + rax*4 + 0x50a10]
movzx eax, byte [rbp - 0x21]
xor edx, dword [r15 + rax*4 + 0x51210]
movzx eax, byte [rbp - 0x2a]
mov dword [rbp - 0x18], edx
mov edx, dword [r15 + rcx*4 + 0x51210]
xor edx, dword [r15 + rax*4 + 0x50e10]
movzx eax, byte [rbp - 0x27]
xor edx, dword [r15 + rax*4 + 0x50a10]
movzx eax, byte [rbp - 0x24]
xor edx, dword [r15 + rax*4 + 0x50610]
lea eax, [r10 - 1]
movsxd rcx, eax
mov dword [rbp - 0x14], edx
cmp rcx, 1
jle 0x1400104a0
mov rax, rcx
lea rdx, [rbp - 0x20]
shl rax, 4
lea r8, [rbx + 0x18]
sub rax, rdx
lea r10, [rcx - 1]
add r8, rax
xor edx, edx
lea rax, [rbp - 0x20]
add rax, rdx
mov ecx, dword [r8 + rax]
xor ecx, dword [rax]
mov dword [rbp + rdx - 0x30], ecx
add rdx, r12
cmp rdx, r13
jl 0x1400103ae
movzx ecx, byte [rbp - 0x30]
sub r8, r13
movzx eax, byte [rbp - 0x29]
mov edx, dword [r15 + rcx*4 + 0x50610]
xor edx, dword [r15 + rax*4 + 0x51210]
movzx eax, byte [rbp - 0x26]
movzx ecx, byte [rbp - 0x2f]
xor edx, dword [r15 + rax*4 + 0x50e10]
movzx eax, byte [rbp - 0x23]
xor edx, dword [r15 + rax*4 + 0x50a10]
movzx eax, byte [rbp - 0x2c]
mov dword [rbp - 0x20], edx
mov edx, dword [r15 + rcx*4 + 0x50a10]
movzx ecx, byte [rbp - 0x2e]
xor edx, dword [r15 + rax*4 + 0x50610]
movzx eax, byte [rbp - 0x25]
xor edx, dword [r15 + rax*4 + 0x51210]
movzx eax, byte [rbp - 0x22]
xor edx, dword [r15 + rax*4 + 0x50e10]
movzx eax, byte [rbp - 0x28]
mov dword [rbp - 0x1c], edx
mov edx, dword [r15 + rcx*4 + 0x50e10]
movzx ecx, byte [rbp - 0x2d]
xor edx, dword [r15 + rax*4 + 0x50610]
movzx eax, byte [rbp - 0x2b]
xor edx, dword [r15 + rax*4 + 0x50a10]
movzx eax, byte [rbp - 0x21]
xor edx, dword [r15 + rax*4 + 0x51210]
movzx eax, byte [rbp - 0x2a]
mov dword [rbp - 0x18], edx
mov edx, dword [r15 + rcx*4 + 0x51210]
xor edx, dword [r15 + rax*4 + 0x50e10]
movzx eax, byte [rbp - 0x27]
xor edx, dword [r15 + rax*4 + 0x50a10]
movzx eax, byte [rbp - 0x24]
xor edx, dword [r15 + rax*4 + 0x50610]
mov dword [rbp - 0x14], edx
sub r10, 1
jne 0x1400103ac
lea rdx, [rbp - 0x20]
mov rcx, r11
sub rdx, r11
lea r8, [rbp - 0x30]
sub r8, r11
mov r10, r12
mov eax, dword [rcx + rdx]
xor eax, dword [rcx]
mov dword [rcx + r8], eax
add rcx, r12
sub r10, 1
jne 0x1400104b4
movzx eax, byte [rbp - 0x30]
xor ecx, ecx
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x20], al
movzx eax, byte [rbp - 0x23]
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x1f], al
movzx eax, byte [rbp - 0x26]
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x1e], al
movzx eax, byte [rbp - 0x29]
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x1d], al
movzx eax, byte [rbp - 0x2c]
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x1c], al
movzx eax, byte [rbp - 0x2f]
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x1b], al
movzx eax, byte [rbp - 0x22]
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x1a], al
movzx eax, byte [rbp - 0x25]
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x19], al
movzx eax, byte [rbp - 0x28]
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x18], al
movzx eax, byte [rbp - 0x2b]
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x17], al
movzx eax, byte [rbp - 0x2e]
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x16], al
movzx eax, byte [rbp - 0x21]
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x15], al
movzx eax, byte [rbp - 0x24]
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x14], al
movzx eax, byte [rbp - 0x27]
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x13], al
movzx eax, byte [rbp - 0x2a]
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x12], al
movzx eax, byte [rbp - 0x2d]
mov al, byte [rax + r15 + 0x4f510]
mov byte [rbp - 0x11], al
mov eax, dword [rbx + rcx*4 + 0x18]
xor dword [rbp + rcx*4 - 0x20], eax
inc rcx
cmp rcx, r12
jl 0x1400105b8
cmp byte [rbx + 1], 0
je 0x1400105e0
xor ecx, ecx
mov eax, dword [rbp + rcx - 0x10]
xor dword [rbp + rcx - 0x20], eax
add rcx, r12
cmp rcx, r13
jl 0x1400105d0
movups xmm0, xmmword [rdi]
sub r9, r13
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbp - 0x10], xmm0
movups xmmword [r14 + rdi], xmm1
add rdi, r13
sub rsi, 1
jne 0x140010289
mov r15, qword [rbp + 0x40]
mov r8, r13
lea rdx, [rbp - 0x10]
mov rcx, r15
call fcn.140024920
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret