Function at 0x140001440
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rdi, qword [0x140011030]
mov rbx, rcx
test rdi, rdi
je 0x140001700
call fcn.14000ad68
mov r9, rbx
mov r8, rax
mov esi, eax
cmp eax, 0xb
jbe 0x14000170f
mov r10d, eax
mov ebp, 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, 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, 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 ebp, r11d
sub edx, r11d
sub eax, r11d
shl ebp, 0xa
xor ebp, edx
mov ecx, ebp
sub eax, ebp
shr ecx, 0xf
xor ecx, eax
cmp r10d, 0xb
ja 0x140001490
add ecx, r8d
cmp r10d, 0xb
ja case.0x1400015a8.0
lea rdx, section..rdata
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 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 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 + rbp]
mov edx, ecx
sub ebp, ecx
sub r11d, eax
shr edx, 0xd
xor edx, r11d
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 [rdi + 8]
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 rdi, qword [rax]
xor eax, eax
test rdi, rdi
je 0x1400016ee
mov rax, qword [rdx + 0x20]
mov r13d, r8d
mov r12, rax
sub rdi, rax
neg r12
jmp 0x1400016cc
mov rdi, qword [rdi + 0x28]
test rdi, rdi
je 0x140001700
add rdi, r12
cmp dword [rdi + 0x3c], ebp
jne 0x1400016c0
cmp dword [rdi + 0x38], esi
jne 0x1400016c0
mov rcx, qword [rdi + 0x30]
mov r8, r13
mov rdx, rbx
call fcn.14000ad10
test eax, eax
jne 0x1400016c0
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r10d, eax
mov ebp, 0x9e3779b9
mov r11d, 0x9e3779b9
mov ecx, 0xfeedbeef
jmp 0x140001591