Function at 0x1400ce8d0
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x1400cec27
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x14035f7b8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, r9
xor edi, edi
test rcx, rcx
cmovne edi, edx
lea rbx, [rbp - 0x59]
cmovne rbx, rcx
cmp r8d, 1
je 0x1400cebfc
cmp r8d, 5
jne 0x1400ce949
lea rcx, [rbp - 0x49]
call fcn.14011f490
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14011fe60
nop
lea rcx, [rbp - 0x49]
call fcn.14011f4c0
jmp 0x1400cec09
cmp r8d, 7
jne 0x1400ce961
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14015e460
jmp 0x1400cec09
cmp r8d, 2
jne 0x1400ce979
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14015ebc0
jmp 0x1400cec09
cmp r8d, 3
jne 0x1400ce991
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14015f320
jmp 0x1400cec09
cmp r8d, 0x14
jne 0x1400ce9a9
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.140165fd0
jmp 0x1400cec09
cmp r8d, 0x15
jne 0x1400ce9c1
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.140166140
jmp 0x1400cec09
cmp r8d, 0x16
jne 0x1400ce9d9
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.1401662c0
jmp 0x1400cec09
cmp r8d, 0x13
jne 0x1400ce9f1
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.140165e50
jmp 0x1400cec09
cmp r8d, 0xf
je 0x1400cebfc
cmp r8d, 0x1d
jne 0x1400cea30
xor al, al
test edi, edi
je 0x1400cea28
mov edx, edi
lea r8, [0x14035bb20]
movzx ecx, byte [rbx]
movzx eax, al
xor rcx, rax
movzx eax, byte [rcx + r8]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x1400cea10
mov byte [r9], al
jmp 0x1400cec09
cmp r8d, 0x1c
jne 0x1400cea88
xor r8d, r8d
mov edx, edi
mov rcx, rbx
call fcn.1400e9980
mov edx, eax
mov r8d, eax
mov ecx, eax
cmp byte [0x140351a31], 0
je 0x1400cea6d
shr edx, 0x18
shr ecx, 8
shr eax, 0x10
mov byte [rsi], dl
mov byte [rsi + 1], al
mov byte [rsi + 2], cl
mov byte [rsi + 3], r8b
jmp 0x1400cec09
shr r8d, 0x18
shr ecx, 0x10
shr eax, 8
mov byte [rsi], dl
mov byte [rsi + 1], al
mov byte [rsi + 2], cl
mov byte [rsi + 3], r8b
jmp 0x1400cec09
cmp r8d, 4
jne 0x1400ceab9
lea rcx, [rbp - 0x49]
call fcn.140155a00
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.140155f70
nop
lea rcx, [rbp - 0x49]
call fcn.140155a10
jmp 0x1400cec09
cmp r8d, 8
jne 0x1400ceafc
lea rcx, [rbp - 0x49]
call fcn.14015cc90
nop
lea rcx, [rbp - 0x49]
call fcn.140120320
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14015d650
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.14015ce60
nop
lea rcx, [rbp - 0x49]
call fcn.14015ccc0
jmp 0x1400cec09
cmp r8d, 0x1e
jne 0x1400ceb14
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14015ddd0
jmp 0x1400cec09
cmp r8d, 9
jne 0x1400ceb45
lea rcx, [rbp - 0x49]
call fcn.140156240
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.140157810
nop
lea rcx, [rbp - 0x49]
call fcn.140156260
jmp 0x1400cec09
cmp r8d, 0xa
jne 0x1400ceb76
lea rcx, [rbp - 0x49]
call fcn.140157860
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1401595a0
nop
lea rcx, [rbp - 0x49]
call fcn.140157880
jmp 0x1400cec09
cmp r8d, 0xb
jne 0x1400ceba4
lea rcx, [rbp - 0x49]
call fcn.140159600
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14015ace0
nop
lea rcx, [rbp - 0x49]
call fcn.140159620
jmp 0x1400cec09
cmp r8d, 0xc
jne 0x1400cebd2
lea rcx, [rbp - 0x49]
call fcn.14015ad50
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14015cc10
nop
lea rcx, [rbp - 0x49]
call fcn.14015ad70
jmp 0x1400cec09
cmp r8d, 0x11
jne 0x1400cebe7
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14015fbc0
jmp 0x1400cec09
cmp r8d, 0x12
jne 0x1400cebfc
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14015fcb0
jmp 0x1400cec09
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.1401556c0
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1402268d0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret