Function at 0x1400e3230
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x1400e3587
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x14037d7c0]
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 0x1400e355c
cmp r8d, 5
jne 0x1400e32a9
lea rcx, [rbp - 0x49]
call fcn.14014c140
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14014cb10
nop
lea rcx, [rbp - 0x49]
call fcn.14014c170
jmp 0x1400e3569
cmp r8d, 7
jne 0x1400e32c1
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.1401729f0
jmp 0x1400e3569
cmp r8d, 2
jne 0x1400e32d9
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.140173150
jmp 0x1400e3569
cmp r8d, 3
jne 0x1400e32f1
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.1401738b0
jmp 0x1400e3569
cmp r8d, 0x14
jne 0x1400e3309
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14017a560
jmp 0x1400e3569
cmp r8d, 0x15
jne 0x1400e3321
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14017a6d0
jmp 0x1400e3569
cmp r8d, 0x16
jne 0x1400e3339
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14017a850
jmp 0x1400e3569
cmp r8d, 0x13
jne 0x1400e3351
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.14017a3e0
jmp 0x1400e3569
cmp r8d, 0xf
je 0x1400e355c
cmp r8d, 0x1d
jne 0x1400e3390
xor al, al
test edi, edi
je 0x1400e3388
mov edx, edi
lea r8, [0x140379a10]
movzx ecx, byte [rbx]
movzx eax, al
xor rcx, rax
movzx eax, byte [rcx + r8]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x1400e3370
mov byte [r9], al
jmp 0x1400e3569
cmp r8d, 0x1c
jne 0x1400e33e8
xor r8d, r8d
mov edx, edi
mov rcx, rbx
call fcn.140116630
mov edx, eax
mov r8d, eax
mov ecx, eax
cmp byte [0x14036fa31], 0
je 0x1400e33cd
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 0x1400e3569
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 0x1400e3569
cmp r8d, 4
jne 0x1400e3419
lea rcx, [rbp - 0x49]
call fcn.140169f90
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14016a500
nop
lea rcx, [rbp - 0x49]
call fcn.140169fa0
jmp 0x1400e3569
cmp r8d, 8
jne 0x1400e345c
lea rcx, [rbp - 0x49]
call fcn.140171220
nop
lea rcx, [rbp - 0x49]
call fcn.14014cfd0
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.140171be0
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.1401713f0
nop
lea rcx, [rbp - 0x49]
call fcn.140171250
jmp 0x1400e3569
cmp r8d, 0x1e
jne 0x1400e3474
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.140172360
jmp 0x1400e3569
cmp r8d, 9
jne 0x1400e34a5
lea rcx, [rbp - 0x49]
call fcn.14016a7d0
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14016bda0
nop
lea rcx, [rbp - 0x49]
call fcn.14016a7f0
jmp 0x1400e3569
cmp r8d, 0xa
jne 0x1400e34d6
lea rcx, [rbp - 0x49]
call fcn.14016bdf0
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14016db30
nop
lea rcx, [rbp - 0x49]
call fcn.14016be10
jmp 0x1400e3569
cmp r8d, 0xb
jne 0x1400e3504
lea rcx, [rbp - 0x49]
call fcn.14016db90
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.14016f270
nop
lea rcx, [rbp - 0x49]
call fcn.14016dbb0
jmp 0x1400e3569
cmp r8d, 0xc
jne 0x1400e3532
lea rcx, [rbp - 0x49]
call fcn.14016f2e0
nop
mov r9, rsi
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.1401711a0
nop
lea rcx, [rbp - 0x49]
call fcn.14016f300
jmp 0x1400e3569
cmp r8d, 0x11
jne 0x1400e3547
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.140174150
jmp 0x1400e3569
cmp r8d, 0x12
jne 0x1400e355c
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.140174240
jmp 0x1400e3569
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.140169c50
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1402577a0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret