Function at 0x14009ef60
Capabilities:
Encode data using xor

Disassembly:
test rcx, rcx
je 0x14009f200
push r13
push r12
push rbp
push rdi
push rsi
mov rsi, rcx
push rbx
sub rsp, 0x28
call sub.msvcrt.dll_strlen
mov r10, qword [0x1403eb2c8]
mov r8, rax
mov ebx, eax
test r10, r10
je 0x14009f1ee
mov r9, rsi
cmp eax, 0xb
jbe 0x14009f203
mov r11d, eax
mov ebp, 0x9e3779b9
mov edi, 0x9e3779b9
mov ecx, 0xfeedbeef
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, ebp
movzx ebp, byte [r9 + 0xa]
shl eax, 8
shl ebp, 0x10
add eax, ebp
movzx ebp, byte [r9 + 8]
add eax, ebp
movzx ebp, byte [r9 + 0xb]
shl ebp, 0x18
add eax, ebp
movzx ebp, byte [r9 + 2]
add eax, ecx
movzx ecx, byte [r9 + 1]
shl ebp, 0x10
shl ecx, 8
add ecx, ebp
movzx ebp, byte [r9]
add ecx, ebp
movzx ebp, byte [r9 + 3]
shl ebp, 0x18
add ecx, ebp
sub ecx, edx
sub edx, eax
sub ecx, eax
add ecx, edi
mov edi, eax
shr edi, 0xd
xor ecx, edi
mov edi, edx
mov edx, ecx
sub edi, ecx
sub eax, ecx
shl edx, 8
xor edx, edi
sub eax, edx
mov edi, eax
mov eax, edx
shr eax, 0xd
xor eax, edi
sub ecx, edx
sub r11d, 0xc
add r9, 0xc
mov edi, ecx
mov ecx, eax
sub edx, eax
sub edi, eax
shr ecx, 0xc
xor ecx, edi
mov edi, edx
mov edx, ecx
sub edi, ecx
sub eax, ecx
shl edx, 0x10
xor edx, edi
sub eax, edx
sub ecx, edx
mov edi, eax
mov eax, edx
shr eax, 5
xor eax, edi
mov edi, eax
sub ecx, eax
sub edx, eax
shr edi, 3
xor edi, ecx
mov ebp, edi
sub edx, edi
sub eax, edi
shl ebp, 0xa
xor ebp, edx
mov ecx, ebp
sub eax, ebp
shr ecx, 0xf
xor ecx, eax
cmp r11d, 0xb
ja 0x14009efb0
add ecx, r8d
cmp r11d, 0xb
ja case.0x14009f0b4.0
lea rdx, [0x1402833d8]
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 ebp, eax
movzx eax, byte [r9 + 6]
shl eax, 0x10
add ebp, eax
movzx eax, byte [r9 + 5]
shl eax, 8
add ebp, eax
movzx eax, byte [r9 + 4]
add ebp, eax
movzx eax, byte [r9 + 3]
shl eax, 0x18
add edi, eax
movzx eax, byte [r9 + 2]
shl eax, 0x10
add edi, eax
movzx eax, byte [r9 + 1]
shl eax, 8
add edi, eax
movzx eax, byte [r9]
add edi, eax
lea eax, [rcx + rbp]
mov edx, ecx
sub ebp, ecx
sub edi, eax
shr edx, 0xd
xor edx, edi
mov eax, edx
sub ebp, edx
sub ecx, edx
shl eax, 8
xor eax, ebp
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 ebp, ecx
sub edx, ecx
sub eax, ecx
shl ebp, 0xa
xor ebp, edx
mov rdx, qword [r10 + 0x30]
sub eax, ebp
shr ebp, 0xf
xor ebp, eax
mov eax, dword [rdx + 8]
sub eax, 1
and eax, ebp
shl rax, 4
add rax, qword [rdx]
mov r10, qword [rax]
test r10, r10
je 0x14009f1ee
mov rax, qword [rdx + 0x20]
mov rdi, r10
mov r13d, r8d
mov r12, rax
sub rdi, rax
neg r12
jmp 0x14009f1cd
mov r10, qword [rdi + 0x50]
test r10, r10
je 0x14009f1ee
lea rdi, [r10 + r12]
cmp dword [rdi + 0x64], ebp
jne 0x14009f1c0
cmp dword [rdi + 0x60], ebx
jne 0x14009f1c0
mov rcx, qword [rdi + 0x58]
mov r8, r13
mov rdx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x14009f1c0
mov r10, qword [rdi + 0x28]
add rsp, 0x28
mov rax, r10
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor eax, eax
ret
mov r11d, eax
mov ebp, 0x9e3779b9
mov edi, 0x9e3779b9
mov ecx, 0xfeedbeef
jmp 0x14009f09d