Function at 0x1400bd1d0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
mov rdi, rcx
push rsi
mov rsi, rdx
push rbx
mov rbx, r8
sub rsp, 0x28
call sub.msvcrt.dll_strlen
mov r10, qword [0x1403eb7a0]
test r10, r10
je 0x1400bd4bf
mov r8, rax
mov ebp, eax
mov r9, rdi
cmp eax, 0xb
jbe 0x1400bd4d3
mov r11d, eax
mov r13d, 0x9e3779b9
mov r12d, 0x9e3779b9
mov ecx, 0xfeedbeef
nop dword [rax + rax]
movzx edx, byte [r9 + 5]
movzx eax, byte [r9 + 6]
shl edx, 8
shl eax, 0x10
add edx, eax
movzx eax, byte [r9 + 4]
add edx, eax
movzx eax, byte [r9 + 7]
shl eax, 0x18
add edx, eax
movzx eax, byte [r9 + 9]
add edx, r13d
movzx r13d, byte [r9 + 0xa]
shl eax, 8
shl r13d, 0x10
add eax, r13d
movzx r13d, byte [r9 + 8]
add eax, r13d
movzx r13d, byte [r9 + 0xb]
shl r13d, 0x18
add eax, r13d
movzx r13d, byte [r9 + 2]
add eax, ecx
movzx ecx, byte [r9 + 1]
shl r13d, 0x10
shl ecx, 8
add ecx, r13d
movzx r13d, byte [r9]
add ecx, r13d
movzx r13d, byte [r9 + 3]
shl r13d, 0x18
add ecx, r13d
sub ecx, edx
sub edx, eax
sub ecx, eax
add ecx, r12d
mov r12d, eax
shr r12d, 0xd
xor ecx, r12d
sub edx, ecx
sub eax, ecx
mov r12d, edx
mov edx, ecx
shl edx, 8
xor edx, r12d
sub eax, edx
mov r12d, eax
mov eax, edx
shr eax, 0xd
xor eax, r12d
sub ecx, edx
sub r11d, 0xc
add r9, 0xc
sub ecx, eax
sub edx, eax
mov r12d, ecx
mov ecx, eax
shr ecx, 0xc
xor ecx, r12d
sub edx, ecx
sub eax, ecx
mov r12d, edx
mov edx, ecx
shl edx, 0x10
xor edx, r12d
sub eax, edx
sub ecx, edx
mov r12d, eax
mov eax, edx
shr eax, 5
xor eax, r12d
mov r12d, eax
sub ecx, eax
sub edx, eax
shr r12d, 3
xor r12d, ecx
mov r13d, r12d
sub edx, r12d
sub eax, r12d
shl r13d, 0xa
xor r13d, edx
mov ecx, r13d
sub eax, r13d
shr ecx, 0xf
xor ecx, eax
cmp r11d, 0xb
ja 0x1400bd228
add ecx, r8d
cmp r11d, 0xb
ja case.0x1400bd34f.0
lea rdx, [0x1402ab158]
movsxd rax, dword [rdx + r11*4]
add rax, rdx
jmp rax
movzx eax, byte [r9 + 0xa]
shl eax, 0x18
add ecx, eax
movzx eax, byte [r9 + 9]
shl eax, 0x10
add ecx, eax
movzx eax, byte [r9 + 8]
shl eax, 8
add ecx, eax
movzx eax, byte [r9 + 7]
shl eax, 0x18
add r13d, eax
movzx eax, byte [r9 + 6]
shl eax, 0x10
add r13d, eax
movzx eax, byte [r9 + 5]
shl eax, 8
add r13d, eax
movzx eax, byte [r9 + 4]
add r13d, eax
movzx eax, byte [r9 + 3]
shl eax, 0x18
add r12d, eax
movzx eax, byte [r9 + 2]
shl eax, 0x10
add r12d, eax
movzx eax, byte [r9 + 1]
shl eax, 8
add r12d, eax
movzx eax, byte [r9]
add r12d, eax
lea eax, [rcx + r13]
mov edx, ecx
sub r13d, ecx
sub r12d, eax
shr edx, 0xd
xor edx, r12d
mov eax, edx
sub r13d, edx
sub ecx, edx
shl eax, 8
xor eax, r13d
sub ecx, eax
sub edx, eax
mov r9d, ecx
mov ecx, eax
shr ecx, 0xd
xor ecx, r9d
mov r9d, ecx
sub edx, ecx
sub eax, ecx
shr r9d, 0xc
xor r9d, edx
mov edx, r9d
sub eax, r9d
sub ecx, r9d
shl edx, 0x10
xor edx, eax
mov eax, edx
sub ecx, edx
sub r9d, edx
shr eax, 5
xor eax, ecx
mov ecx, eax
sub r9d, eax
sub edx, eax
shr ecx, 3
xor ecx, r9d
mov r13d, ecx
sub edx, ecx
sub eax, ecx
shl r13d, 0xa
xor r13d, edx
mov rdx, qword [r10 + 0x48]
sub eax, r13d
shr r13d, 0xf
xor r13d, eax
mov eax, dword [rdx + 8]
sub eax, 1
and eax, r13d
shl rax, 4
add rax, qword [rdx]
mov r10, qword [rax]
test r10, r10
je 0x1400bd4bf
mov rax, qword [rdx + 0x20]
mov r15d, r8d
mov r14, rax
sub r10, rax
neg r14
mov r12, r10
jmp 0x1400bd47e
mov r10, qword [r12 + 0x68]
test r10, r10
je 0x1400bd4bf
lea r12, [r10 + r14]
cmp dword [r12 + 0x7c], r13d
jne 0x1400bd470
cmp dword [r12 + 0x78], ebp
jne 0x1400bd470
mov rcx, qword [r12 + 0x70]
mov r8, r15
mov rdx, rdi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400bd470
lea rcx, [r12 + 0x20]
call fcn.1400fe770
mov qword [rsi], rax
mov rcx, qword [r12 + 0x40]
call fcn.1400fe770
mov qword [rbx], rax
mov r10, qword [r12 + 0x40]
add rsp, 0x28
mov rax, r10
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r11d, eax
mov r13d, 0x9e3779b9
mov r12d, 0x9e3779b9
mov ecx, 0xfeedbeef
jmp 0x1400bd338