Function at 0x1400ebc60
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x1400ebfb7
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x14036a040]
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 0x1400ebf8c
cmp r8d, 5
jne 0x1400ebcd9
lea rcx, [rbp - 0x49]
call fcn.140154c00
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1401555d0
nop
lea rcx, [rbp - 0x49]
call fcn.140154c30
jmp 0x1400ebf99
cmp r8d, 7
jne 0x1400ebcf1
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14017b4b0
jmp 0x1400ebf99
cmp r8d, 2
jne 0x1400ebd09
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14017bc10
jmp 0x1400ebf99
cmp r8d, 3
jne 0x1400ebd21
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14017c370
jmp 0x1400ebf99
cmp r8d, 0x14
jne 0x1400ebd39
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.140183020
jmp 0x1400ebf99
cmp r8d, 0x15
jne 0x1400ebd51
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.140183190
jmp 0x1400ebf99
cmp r8d, 0x16
jne 0x1400ebd69
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.140183310
jmp 0x1400ebf99
cmp r8d, 0x13
jne 0x1400ebd81
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.140182ea0
jmp 0x1400ebf99
cmp r8d, 0xf
je 0x1400ebf8c
cmp r8d, 0x1d
jne 0x1400ebdc0
xor al, al
test edi, edi
je 0x1400ebdb8
mov edx, edi
lea r8, [0x140374aa0]
movzx ecx, byte [rbx]
movzx eax, al
xor rcx, rax
movzx eax, byte [rcx + r8]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x1400ebda0
mov byte [r9], al
jmp 0x1400ebf99
cmp r8d, 0x1c
jne 0x1400ebe18
xor r8d, r8d
mov edx, edi
mov rcx, rbx
call fcn.14011f0f0
mov edx, eax
mov r8d, eax
mov ecx, eax
cmp byte [0x14036aac1], 0
je 0x1400ebdfd
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 0x1400ebf99
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 0x1400ebf99
cmp r8d, 4
jne 0x1400ebe49
lea rcx, [rbp - 0x49]
call fcn.140172a50
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.140172fc0
nop
lea rcx, [rbp - 0x49]
call fcn.140172a60
jmp 0x1400ebf99
cmp r8d, 8
jne 0x1400ebe8c
lea rcx, [rbp - 0x49]
call fcn.140179ce0
nop
lea rcx, [rbp - 0x49]
call fcn.140155a90
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14017a6a0
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140179eb0
nop
lea rcx, [rbp - 0x49]
call fcn.140179d10
jmp 0x1400ebf99
cmp r8d, 0x1e
jne 0x1400ebea4
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14017ae20
jmp 0x1400ebf99
cmp r8d, 9
jne 0x1400ebed5
lea rcx, [rbp - 0x49]
call fcn.140173290
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.140174860
nop
lea rcx, [rbp - 0x49]
call fcn.1401732b0
jmp 0x1400ebf99
cmp r8d, 0xa
jne 0x1400ebf06
lea rcx, [rbp - 0x49]
call fcn.1401748b0
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1401765f0
nop
lea rcx, [rbp - 0x49]
call fcn.1401748d0
jmp 0x1400ebf99
cmp r8d, 0xb
jne 0x1400ebf34
lea rcx, [rbp - 0x49]
call fcn.140176650
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.140177d30
nop
lea rcx, [rbp - 0x49]
call fcn.140176670
jmp 0x1400ebf99
cmp r8d, 0xc
jne 0x1400ebf62
lea rcx, [rbp - 0x49]
call fcn.140177da0
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.140179c60
nop
lea rcx, [rbp - 0x49]
call fcn.140177dc0
jmp 0x1400ebf99
cmp r8d, 0x11
jne 0x1400ebf77
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14017cc10
jmp 0x1400ebf99
cmp r8d, 0x12
jne 0x1400ebf8c
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14017cd00
jmp 0x1400ebf99
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.140172710
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14008b8a0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret