Function at 0x1400eac90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov r13, r8
mov r12, rdx
mov r15, rcx
mov rax, qword [rcx + 8]
cmp dword [rax + 4], 0
jne 0x1400ead11
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x28]
call qword [0x1400fea90]
mov rcx, rax
lea rdx, [rbp + 0x48]
call qword [0x1400fe338]
nop
lea rdx, str.No_key_set.
mov rcx, rax
call qword [0x1400fea00]
nop
lea rcx, [rbp + 0x48]
call qword [0x1400fea08]
mov dword [r15 + 0x18], 1
mov rcx, r12
call qword [0x1400fe9c0]
jmp 0x1400eafff
mov rdx, r13
lea rcx, [rbp + 0x60]
call qword [0x1400fe488]
nop
xor ebx, ebx
mov eax, dword [r15 + 0x10]
cmp eax, 1
jne 0x1400ead70
mov rax, qword [rbp + 0x60]
mov ebx, dword [rax + 4]
lea rcx, [rbp + 0x60]
call qword [0x1400fe648]
mov rdx, rax
mov r9d, 9
mov r8d, ebx
lea rcx, [rbp + 0x48]
call qword [0x1400fe2b8]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x60]
call qword [0x1400fe5d0]
lea rcx, [rbp + 0x48]
call qword [0x1400feae0]
mov ebx, 1
jmp 0x1400eadc8
test eax, eax
jne 0x1400eadc8
mov rax, qword [rbp + 0x60]
mov edi, dword [rax + 4]
lea rcx, [rbp + 0x60]
call qword [0x1400fe648]
mov rdx, rax
mov r9d, 9
mov r8d, edi
lea rcx, [rbp + 0x48]
call qword [0x1400fe2b8]
mov rax, qword [rbp + 0x48]
mov ecx, dword [rax + 4]
mov rax, qword [rbp + 0x60]
cmp ecx, dword [rax + 4]
jge 0x1400eadbe
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x60]
call qword [0x1400fe318]
mov ebx, 1
lea rcx, [rbp + 0x48]
call qword [0x1400feae0]
lea rcx, [rbp - 0x40]
call qword [0x1400fe9c0]
nop
mov eax, dword [r15 + 0x14]
cmp eax, 1
jne 0x1400eae28
or ebx, 2
lea r8d, [rax + 1]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call qword [0x1400fe280]
nop
mov rax, qword [rbp + 0x60]
mov edi, dword [rax + 4]
lea rcx, [rbp + 0x60]
call qword [0x1400fe648]
mov rcx, rax
mov edx, edi
call qword [0x1400fe320]
movzx edx, ax
lea rcx, [rbp - 0x28]
call qword [0x1400fe268]
nop
lea rcx, [rbp - 0x28]
call qword [0x1400fe278]
jmp 0x1400eae7d
cmp eax, 2
jne 0x1400eae7d
or ebx, 4
mov edx, eax
lea rcx, [rbp + 0x48]
call qword [0x1400fe2a0]
nop
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x48]
call qword [0x1400fe290]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x48]
call qword [0x1400fe288]
nop
mov rdx, rax
lea rcx, [rbp - 0x40]
call qword [0x1400fe478]
nop
lea rcx, [rbp - 0x30]
call qword [0x1400feae0]
nop
lea rcx, [rbp + 0x48]
call qword [0x1400fe298]
call qword [0x1400fe340]
mov byte [rbp + 0x48], al
mov r8d, 1
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 0x28]
call qword [0x1400fe5e0]
nop
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [0x1400fe478]
mov rdx, rax
lea rcx, [rbp - 0x30]
call qword [0x1400fe488]
nop
lea rcx, [rbp - 0x28]
call qword [0x1400feae0]
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x48]
call qword [0x1400fe488]
nop
lea rdx, [rbp + 0x60]
mov rcx, rax
call qword [0x1400fe478]
mov rdx, rax
lea rcx, [rbp - 0x38]
call qword [0x1400fe488]
nop
lea rcx, [rbp + 0x48]
call qword [0x1400feae0]
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x60]
call qword [0x1400fe318]
lea rcx, [rbp - 0x38]
call qword [0x1400feae0]
nop
lea rcx, [rbp - 0x30]
call qword [0x1400feae0]
mov rax, qword [rbp + 0x60]
mov eax, dword [rax + 4]
xor r14d, r14d
test eax, eax
jle 0x1400eaf96
xor r13b, r13b
mov r12d, eax
nop dword [rax]
mov rax, qword [r15 + 8]
mov esi, r14d
and esi, 7
add rsi, qword [rax + 0x10]
add rsi, rax
mov edx, r14d
lea rcx, [rbp + 0x60]
call qword [0x1400fe308]
movzx edi, al
xor dil, byte [rsi]
xor dil, r13b
mov r8d, r14d
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x60]
call qword [0x1400fe300]
mov rcx, rax
movzx edx, dil
call qword [0x1400fe2c0]
mov edx, r14d
lea rcx, [rbp + 0x60]
call qword [0x1400fe308]
movzx r13d, al
inc r14d
cmp r14d, r12d
jl 0x1400eaf30
mov r12, qword [rbp + 0x50]
mov r13, qword [rbp + 0x58]
lea rcx, [rbp - 0x48]
call qword [0x1400fe9c0]
nop
mov dl, 3
lea rcx, [rbp - 0x48]
call qword [0x1400fe2e8]
movzx edx, bl
lea rcx, [rbp - 0x48]
call qword [0x1400fe2e8]
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x48]
call qword [0x1400fe478]
mov dword [r15 + 0x18], 0
lea rdx, [rbp - 0x48]
mov rcx, r12
call qword [0x1400fe310]
nop
lea rcx, [rbp - 0x48]
call qword [0x1400feae0]
nop
lea rcx, [rbp - 0x40]
call qword [0x1400feae0]
nop
lea rcx, [rbp + 0x60]
call qword [0x1400feae0]
nop
mov rcx, r13
call qword [0x1400feae0]
mov rax, r12
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret