Function at 0x140005c70
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400060f4
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, 0x40
mov r11, r8
mov rax, r9
shr r11, 4
mov rbx, rdx
cmp byte [rcx], 0
mov r10, rcx
je 0x140005cba
mov r8, r11
call fcn.1400060f8
jmp 0x1400060d7
lea r9, [rcx + 8]
mov r12d, 4
mov qword [rbp + 0x40], r9
mov r8, r9
test r11, r11
je 0x1400060c1
lea rdi, [rbp - 0x20]
mov r13, r10
sub rdi, rax
lea rsi, [rbp - 0x10]
lea r14, [rax + 4]
sub rsi, rdx
lea rax, [rbp - 0x20]
sub r13, rax
lea r9, [rcx + 0x18]
lea r15, [0x140000000]
cmp byte [r10 + 1], 0
je 0x140005d1f
mov rcx, rbx
sub r8, rbx
mov rdx, r12
mov eax, dword [r8 + rcx]
xor eax, dword [rcx]
mov dword [rsi + rcx], eax
add rcx, r12
sub rdx, 1
jne 0x140005d0b
jmp 0x140005d26
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x10], xmm0
lea rax, [rbp - 0x10]
mov r8, r9
sub r8, rax
xor edx, edx
lea rax, [rbp - 0x10]
add rax, rdx
mov ecx, dword [r8 + rax]
xor ecx, dword [rax]
mov dword [rbp + rdx - 0x20], ecx
add rdx, r12
cmp rdx, 0x10
jl 0x140005d32
movzx ecx, byte [rbp - 0x20]
lea r8, [r14 - 4]
movzx eax, byte [rbp - 0x1b]
mov r12d, 1
mov edx, dword [r15 + rcx*4 + 0x413c0]
xor edx, dword [r15 + rax*4 + 0x417c0]
movzx eax, byte [rbp - 0x16]
movzx ecx, byte [rbp - 0x1d]
xor edx, dword [r15 + rax*4 + 0x41bc0]
movzx eax, byte [rbp - 0x11]
xor edx, dword [r15 + rax*4 + 0x41fc0]
movzx eax, byte [rbp - 0x1c]
mov dword [r8], edx
mov edx, dword [r15 + rcx*4 + 0x41fc0]
movzx ecx, byte [rbp - 0x1e]
xor edx, dword [r15 + rax*4 + 0x413c0]
movzx eax, byte [rbp - 0x17]
xor edx, dword [r15 + rax*4 + 0x417c0]
movzx eax, byte [rbp - 0x12]
xor edx, dword [r15 + rax*4 + 0x41bc0]
movzx eax, byte [rbp - 0x19]
mov dword [r14], edx
mov edx, dword [r15 + rcx*4 + 0x41bc0]
movzx ecx, byte [rbp - 0x1f]
xor edx, dword [r15 + rax*4 + 0x41fc0]
movzx eax, byte [rbp - 0x18]
xor edx, dword [r15 + rax*4 + 0x413c0]
movzx eax, byte [rbp - 0x13]
xor edx, dword [r15 + rax*4 + 0x417c0]
movzx eax, byte [rbp - 0x1a]
mov dword [r14 + 4], edx
mov edx, dword [r15 + rcx*4 + 0x417c0]
xor edx, dword [r15 + rax*4 + 0x41bc0]
movzx eax, byte [rbp - 0x15]
xor edx, dword [r15 + rax*4 + 0x41fc0]
movzx eax, byte [rbp - 0x14]
xor edx, dword [r15 + rax*4 + 0x413c0]
mov dword [r14 + 8], edx
mov ecx, dword [r10 + 4]
lea eax, [rcx - 1]
cmp eax, r12d
jle 0x140005f46
lea r15, [r13 + 0x28]
add r15, rdi
lea r9, [0x140000000]
mov rcx, r8
mov edx, 4
mov eax, dword [r15 + rcx]
xor eax, dword [rcx]
mov dword [rdi + rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x140005e4a
movzx ecx, byte [rbp - 0x20]
inc r12d
movzx eax, byte [rbp - 0x1b]
add r15, 0x10
mov edx, dword [r9 + rcx*4 + 0x413c0]
xor edx, dword [r9 + rax*4 + 0x417c0]
movzx eax, byte [rbp - 0x16]
movzx ecx, byte [rbp - 0x1d]
xor edx, dword [r9 + rax*4 + 0x41bc0]
movzx eax, byte [rbp - 0x11]
xor edx, dword [r9 + rax*4 + 0x41fc0]
movzx eax, byte [rbp - 0x1c]
mov dword [r8], edx
mov edx, dword [r9 + rcx*4 + 0x41fc0]
movzx ecx, byte [rbp - 0x1e]
xor edx, dword [r9 + rax*4 + 0x413c0]
movzx eax, byte [rbp - 0x17]
xor edx, dword [r9 + rax*4 + 0x417c0]
movzx eax, byte [rbp - 0x12]
xor edx, dword [r9 + rax*4 + 0x41bc0]
movzx eax, byte [rbp - 0x19]
mov dword [r14], edx
mov edx, dword [r9 + rcx*4 + 0x41bc0]
movzx ecx, byte [rbp - 0x1f]
xor edx, dword [r9 + rax*4 + 0x41fc0]
movzx eax, byte [rbp - 0x18]
xor edx, dword [r9 + rax*4 + 0x413c0]
movzx eax, byte [rbp - 0x13]
xor edx, dword [r9 + rax*4 + 0x417c0]
movzx eax, byte [rbp - 0x1a]
mov dword [r14 + 4], edx
mov edx, dword [r9 + rcx*4 + 0x417c0]
xor edx, dword [r9 + rax*4 + 0x41bc0]
movzx eax, byte [rbp - 0x15]
xor edx, dword [r9 + rax*4 + 0x41fc0]
movzx eax, byte [rbp - 0x14]
xor edx, dword [r9 + rax*4 + 0x413c0]
mov dword [r14 + 8], edx
mov ecx, dword [r10 + 4]
lea eax, [rcx - 1]
cmp r12d, eax
jl 0x140005e42
lea r9, [r10 + 0x18]
movsxd rax, ecx
lea r15, [rbp - 0x20]
shl rax, 4
lea rcx, [r10 + 8]
add rcx, rax
mov rdx, r8
sub rdx, rcx
mov r12d, 4
sub r15, rcx
mov eax, dword [rdx + rcx]
xor eax, dword [rcx]
mov dword [rcx + r15], eax
lea rcx, [rcx + 4]
sub r12, 1
jne 0x140005f67
movzx eax, byte [rbp - 0x20]
lea rcx, [0x140000000]
lea r15, [r10 + 0x18]
mov r12d, 4
mov edx, r12d
mov al, byte [rcx + rax*4 + 0x413c1]
mov byte [r8], al
movzx eax, byte [rbp - 0x1b]
mov al, byte [rcx + rax*4 + 0x413c1]
mov byte [r14 - 3], al
movzx eax, byte [rbp - 0x16]
mov al, byte [rcx + rax*4 + 0x413c1]
mov byte [r14 - 2], al
movzx eax, byte [rbp - 0x11]
mov al, byte [rcx + rax*4 + 0x413c1]
mov byte [r14 - 1], al
movzx eax, byte [rbp - 0x1c]
mov al, byte [rcx + rax*4 + 0x413c1]
mov byte [r14], al
movzx eax, byte [rbp - 0x17]
mov al, byte [rcx + rax*4 + 0x413c1]
mov byte [r14 + 1], al
movzx eax, byte [rbp - 0x12]
mov al, byte [rcx + rax*4 + 0x413c1]
mov byte [r14 + 2], al
movzx eax, byte [rbp - 0x1d]
mov al, byte [rcx + rax*4 + 0x413c1]
mov byte [r14 + 3], al
movzx eax, byte [rbp - 0x18]
mov al, byte [rcx + rax*4 + 0x413c1]
mov byte [r14 + 4], al
movzx eax, byte [rbp - 0x13]
mov al, byte [rcx + rax*4 + 0x413c1]
mov byte [r14 + 5], al
movzx eax, byte [rbp - 0x1e]
mov al, byte [rcx + rax*4 + 0x413c1]
mov byte [r14 + 6], al
movzx eax, byte [rbp - 0x19]
mov al, byte [rcx + rax*4 + 0x413c1]
mov byte [r14 + 7], al
movzx eax, byte [rbp - 0x14]
mov al, byte [rcx + rax*4 + 0x413c1]
mov byte [r14 + 8], al
movzx eax, byte [rbp - 0x1f]
mov al, byte [rcx + rax*4 + 0x413c1]
mov byte [r14 + 9], al
movzx eax, byte [rbp - 0x1a]
mov al, byte [rcx + rax*4 + 0x413c1]
mov byte [r14 + 0xa], al
movzx eax, byte [rbp - 0x15]
mov al, byte [rcx + rax*4 + 0x413c1]
mov rcx, r8
mov byte [r14 + 0xb], al
movsxd rax, dword [r10 + 4]
shl rax, 4
add r15, rax
sub r15, r8
mov eax, dword [r15 + rcx]
xor dword [rcx], eax
add rcx, r12
sub rdx, 1
jne 0x14000608d
add rbx, 0x10
lea r15, [0x140000000]
sub rsi, 0x10
sub rdi, 0x10
add r14, 0x10
sub r11, 1
jne 0x140005cfb
mov r9, qword [rbp + 0x40]
sub r8, r9
mov rcx, r12
mov eax, dword [r8 + r9]
mov dword [r9], eax
add r9, r12
sub rcx, 1
jne 0x1400060c7
lea r11, [rsp + 0x40]
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