Function at 0x1400cb160
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
mov rsi, rcx
push rbx
sub rsp, 0x28
call sub.msvcrt.dll_strlen
mov r12, qword [0x1403ef560]
test r12, r12
je 0x1400cb407
mov r8, rax
mov ebx, eax
mov r9, rsi
cmp eax, 0xb
jbe 0x1400cb417
mov r10d, eax
mov edi, 0x9e3779b9
mov r11d, 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, edi
movzx edi, byte [r9 + 0xa]
shl eax, 8
shl edi, 0x10
add eax, edi
movzx edi, byte [r9 + 8]
add eax, edi
movzx edi, byte [r9 + 0xb]
shl edi, 0x18
add eax, edi
movzx edi, byte [r9 + 2]
add eax, ecx
movzx ecx, byte [r9 + 1]
shl edi, 0x10
shl ecx, 8
add ecx, edi
movzx edi, byte [r9]
add ecx, edi
movzx edi, byte [r9 + 3]
shl edi, 0x18
add ecx, edi
sub ecx, edx
sub edx, eax
sub ecx, eax
add ecx, r11d
mov r11d, eax
shr r11d, 0xd
xor ecx, r11d
sub edx, ecx
sub eax, ecx
mov r11d, edx
mov edx, ecx
shl edx, 8
xor edx, r11d
sub eax, edx
mov r11d, eax
mov eax, edx
shr eax, 0xd
xor eax, r11d
sub ecx, edx
sub r10d, 0xc
add r9, 0xc
sub ecx, eax
sub edx, eax
mov r11d, ecx
mov ecx, eax
shr ecx, 0xc
xor ecx, r11d
sub edx, ecx
sub eax, ecx
mov r11d, edx
mov edx, ecx
shl edx, 0x10
xor edx, r11d
sub eax, edx
sub ecx, edx
mov r11d, eax
mov eax, edx
shr eax, 5
xor eax, r11d
mov r11d, eax
sub ecx, eax
sub edx, eax
shr r11d, 3
xor r11d, ecx
mov edi, r11d
sub edx, r11d
sub eax, r11d
shl edi, 0xa
xor edi, edx
mov ecx, edi
sub eax, edi
shr ecx, 0xf
xor ecx, eax
cmp r10d, 0xb
ja 0x1400cb1b0
add ecx, r8d
cmp r10d, 0xb
ja case.0x1400cb2c8.0
lea rdx, [0x1402baf60]
movsxd rax, dword [rdx + r10*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 edi, eax
movzx eax, byte [r9 + 6]
shl eax, 0x10
add edi, eax
movzx eax, byte [r9 + 5]
shl eax, 8
add edi, eax
movzx eax, byte [r9 + 4]
add edi, eax
movzx eax, byte [r9 + 3]
shl eax, 0x18
add r11d, eax
movzx eax, byte [r9 + 2]
shl eax, 0x10
add r11d, eax
movzx eax, byte [r9 + 1]
shl eax, 8
add r11d, eax
movzx eax, byte [r9]
add r11d, eax
lea eax, [rcx + rdi]
mov edx, ecx
sub edi, ecx
sub r11d, eax
shr edx, 0xd
xor edx, r11d
mov eax, edx
sub edi, edx
sub ecx, edx
shl eax, 8
xor eax, edi
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 edi, ecx
sub edx, ecx
sub eax, ecx
shl edi, 0xa
xor edi, edx
mov rdx, qword [r12 + 0x48]
sub eax, edi
shr edi, 0xf
xor edi, eax
mov eax, dword [rdx + 8]
sub eax, 1
and eax, edi
shl rax, 4
add rax, qword [rdx]
mov r12, qword [rax]
test r12, r12
je 0x1400cb407
mov rax, qword [rdx + 0x20]
mov r13d, r8d
mov rbp, rax
sub r12, rax
neg rbp
jmp 0x1400cb3e5
mov r12, qword [r12 + 0x68]
test r12, r12
je 0x1400cb407
add r12, rbp
cmp dword [r12 + 0x7c], edi
jne 0x1400cb3d8
cmp dword [r12 + 0x78], ebx
jne 0x1400cb3d8
mov rcx, qword [r12 + 0x70]
mov r8, r13
mov rdx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400cb3d8
add rsp, 0x28
mov rax, r12
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r10d, eax
mov edi, 0x9e3779b9
mov r11d, 0x9e3779b9
mov ecx, 0xfeedbeef
jmp 0x1400cb2b1