Function at 0x1400056b0
Capabilities:
Encode data using xor

Disassembly:
mov r8d, r8d
jmp 0x1400056b0
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x10
mov r11, r8
mov r10, rdx
mov r9d, ecx
test rdx, rdx
jne 0x1400056d9
xor eax, eax
jmp 0x1400059aa
lea r15, [0x140000000]
not r9d
cmp r8, 0x17
jb 0x14000593b
test r10b, 3
je 0x140005715
movzx ecx, byte [r10]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r10
xor r9d, dword [r15 + rax*4 + 0x57060]
sub r11, 1
jne 0x1400056ed
xor ebp, ebp
movabs rax, 0xcccccccccccccccd
mul r11
mov ebx, r9d
xor r14d, r14d
mov rdi, rdx
lea esi, [rbp + 4]
shr rdi, 4
xor r9d, r9d
xor r12d, r12d
lea rax, [rdi + rdi*4]
shl rax, 2
sub r11, rax
sub rdi, 1
mov qword [rsp + 0x60], r11
mov qword [rsp + 0x68], rdi
je 0x1400058a0
xor ebx, dword [r10]
lea rdx, [0x140000000]
xor r9d, dword [r10 + 4]
mov r13d, 1
xor r14d, dword [r10 + 0xc]
xor r12d, dword [r10 + 0x10]
xor ebp, dword [r10 + 8]
movzx eax, bl
add r10, 0x14
mov r11d, ebx
mov edi, r9d
mov qword [rsp + 0x58], r10
mov ebx, dword [r15 + rax*4 + 0x57460]
movzx eax, r9b
mov r10d, ebp
mov r9d, dword [r15 + rax*4 + 0x57460]
movzx eax, bpl
mov ebp, dword [r15 + rax*4 + 0x57460]
mov eax, r14d
mov qword [rsp], rax
movzx eax, r14b
mov r14d, dword [r15 + rax*4 + 0x57460]
mov eax, r12d
mov qword [rsp + 8], rax
movzx eax, r12b
mov r12d, dword [r15 + rax*4 + 0x57460]
mov r15d, 0x100
lea eax, [r13*8]
inc r13d
movsxd r8, eax
mov rax, r11
mov rcx, r8
shr rax, cl
movzx ecx, al
mov rax, rdi
add rcx, r15
xor ebx, dword [rdx + rcx*4 + 0x57460]
mov rcx, r8
shr rax, cl
movzx ecx, al
mov rax, r10
add rcx, r15
xor r9d, dword [rdx + rcx*4 + 0x57460]
mov rcx, r8
shr rax, cl
movzx edx, al
lea rax, [0x140000000]
add rdx, r15
xor ebp, dword [rax + rdx*4 + 0x57460]
mov rax, qword [rsp]
shr rax, cl
movzx edx, al
lea rax, [0x140000000]
add rdx, r15
xor r14d, dword [rax + rdx*4 + 0x57460]
lea rdx, [0x140000000]
mov rax, qword [rsp + 8]
shr rax, cl
movzx ecx, al
add rcx, r15
add r15, 0x100
xor r12d, dword [rdx + rcx*4 + 0x57460]
cmp r13d, esi
jl 0x1400057db
sub qword [rsp + 0x68], 1
lea r15, [0x140000000]
mov r10, qword [rsp + 0x58]
jne 0x140005759
mov r11, qword [rsp + 0x60]
lea r15, [0x140000000]
xor ebx, dword [r10]
mov rdx, rsi
movzx ecx, bl
shr ebx, 8
xor ebx, dword [r15 + rcx*4 + 0x57060]
sub rdx, 1
jne 0x1400058a6
xor r9d, dword [r10 + 4]
mov rdx, rsi
xor r9d, ebx
movzx ecx, r9b
shr r9d, 8
xor r9d, dword [r15 + rcx*4 + 0x57060]
sub rdx, 1
jne 0x1400058c4
xor r9d, dword [r10 + 8]
mov rdx, rsi
xor r9d, ebp
movzx ecx, r9b
shr r9d, 8
xor r9d, dword [r15 + rcx*4 + 0x57060]
sub rdx, 1
jne 0x1400058e4
xor r9d, dword [r10 + 0xc]
mov rdx, rsi
xor r9d, r14d
movzx ecx, r9b
shr r9d, 8
xor r9d, dword [r15 + rcx*4 + 0x57060]
sub rdx, 1
jne 0x140005904
xor r9d, dword [r10 + 0x10]
xor r9d, r12d
movzx ecx, r9b
shr r9d, 8
xor r9d, dword [r15 + rcx*4 + 0x57060]
sub rsi, 1
jne 0x140005921
add r10, 0x14
cmp r11, 8
jb 0x14000597d
mov rdx, r11
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r11, rax
mov r8d, 8
movzx ecx, byte [r10]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r10
xor r9d, dword [r15 + rax*4 + 0x57060]
sub r8, 1
jne 0x140005955
sub rdx, 1
jne 0x14000594f
test r11, r11
je 0x1400059a4
movzx ecx, byte [r10]
mov eax, r9d
xor rcx, rax
shr r9d, 8
movzx eax, cl
inc r10
xor r9d, dword [r15 + rax*4 + 0x57060]
sub r11, 1
jne 0x140005982
not r9d
mov eax, r9d
mov rbx, qword [rsp + 0x50]
add rsp, 0x10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret