Function at 0x14003e920
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push r13
sub rsp, 0x60
cmp qword [rdx + 8], 0x20
mov r13, rcx
jne 0x14003ee19
mov rcx, qword [rdx]
mov qword [rax + 0x20], rbx
mov qword [rax - 0x10], rbp
mov qword [rax - 0x18], rsi
lea rsi, [r13 + 0x10]
mov r10, qword [rcx]
mov rbp, qword [rcx + 8]
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r12
mov r12, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
mov qword [rax - 0x30], r14
lea r14, [0x1400c0708]
mov qword [rsi], rbp
mov qword [rax - 0x38], r15
lea rax, [r13 + 0x30]
mov qword [rsp + 0x80], rsi
mov rsi, rcx
mov qword [r13 + 0x20], rcx
mov qword [r13 + 8], r10
mov qword [r13 + 0x18], r12
mov qword [rsp + 0x78], 4
nop dword [rax + rax]
mov r13d, 4
lea r15, [0x1400a0700]
nop dword [rax]
mov r8, r10
mov rbx, r10
xor r8, qword [r14 - 8]
mov r11, rbp
xor r11, qword [r14]
mov rdi, rbp
movzx ecx, r8b
add rcx, rcx
mov r9, qword [r15 + rcx*8]
mov r10, qword [r15 + rcx*8 + 8]
mov rcx, r8
shr rcx, 8
movzx edx, cl
mov rcx, r8
add rdx, rdx
shr rcx, 0x10
xor r9, qword [r15 + rdx*8 + 0x1000]
xor r10, qword [r15 + rdx*8 + 0x1008]
movzx edx, cl
mov rcx, r8
add rdx, rdx
shr rcx, 0x18
xor r9, qword [r15 + rdx*8 + 0x2000]
xor r10, qword [r15 + rdx*8 + 0x2008]
movzx edx, cl
mov rcx, r8
add rdx, rdx
shr rcx, 0x20
xor r9, qword [r15 + rdx*8 + 0x3000]
xor r10, qword [r15 + rdx*8 + 0x3008]
movzx edx, cl
mov rcx, r8
add rdx, rdx
shr rcx, 0x28
xor r9, qword [r15 + rdx*8 + 0x4000]
xor r10, qword [r15 + rdx*8 + 0x4008]
movzx edx, cl
mov rcx, r8
add rdx, rdx
shr rcx, 0x30
shr r8, 0x38
add r8, r8
xor r9, qword [r15 + rdx*8 + 0x5000]
xor r10, qword [r15 + rdx*8 + 0x5008]
movzx edx, cl
add rdx, rdx
movzx ecx, r11b
add rcx, rcx
xor r9, qword [r15 + rdx*8 + 0x6000]
xor r10, qword [r15 + rdx*8 + 0x6008]
xor r9, qword [r15 + r8*8 + 0x7000]
xor r9, qword [r15 + rcx*8 + 0x8000]
xor r10, qword [r15 + r8*8 + 0x7008]
xor r10, qword [r15 + rcx*8 + 0x8008]
mov rcx, r11
shr rcx, 8
movzx edx, cl
mov rcx, r11
add rdx, rdx
shr rcx, 0x10
xor r9, qword [r15 + rdx*8 + 0x9000]
xor r10, qword [r15 + rdx*8 + 0x9008]
movzx edx, cl
mov rcx, r11
add rdx, rdx
shr rcx, 0x18
xor r9, qword [r15 + rdx*8 + 0xa000]
xor r10, qword [r15 + rdx*8 + 0xa008]
movzx edx, cl
mov rcx, r11
add rdx, rdx
shr rcx, 0x20
xor r9, qword [r15 + rdx*8 + 0xb000]
xor r10, qword [r15 + rdx*8 + 0xb008]
movzx edx, cl
mov rcx, r11
add rdx, rdx
xor r9, qword [r15 + rdx*8 + 0xc000]
xor r10, qword [r15 + rdx*8 + 0xc008]
shr rcx, 0x28
movzx edx, cl
add rdx, rdx
mov rcx, r11
shr rcx, 0x30
shr r11, 0x38
add r11, r11
xor r10, qword [r15 + rdx*8 + 0xd008]
xor r9, qword [r15 + rdx*8 + 0xd000]
movzx edx, cl
add rdx, rdx
xor r10, qword [r15 + rdx*8 + 0xe008]
xor r9, qword [r15 + rdx*8 + 0xe000]
xor r10, qword [r15 + r11*8 + 0xf008]
xor r9, qword [r15 + r11*8 + 0xf000]
xor r10, rsi
mov rsi, r10
xor r9, r12
mov r8, r9
mov r12, r9
xor r8, qword [r14 + 8]
mov r9, r10
xor r9, qword [r14 + 0x10]
movzx ecx, r8b
add rcx, rcx
mov r10, qword [r15 + rcx*8]
mov rbp, qword [r15 + rcx*8 + 8]
mov rcx, r8
shr rcx, 8
movzx edx, cl
mov rcx, r8
add rdx, rdx
shr rcx, 0x10
xor r10, qword [r15 + rdx*8 + 0x1000]
xor rbp, qword [r15 + rdx*8 + 0x1008]
movzx edx, cl
mov rcx, r8
add rdx, rdx
shr rcx, 0x18
xor r10, qword [r15 + rdx*8 + 0x2000]
xor rbp, qword [r15 + rdx*8 + 0x2008]
movzx edx, cl
mov rcx, r8
add rdx, rdx
shr rcx, 0x20
xor r10, qword [r15 + rdx*8 + 0x3000]
xor rbp, qword [r15 + rdx*8 + 0x3008]
movzx edx, cl
mov rcx, r8
add rdx, rdx
shr rcx, 0x28
xor r10, qword [r15 + rdx*8 + 0x4000]
xor rbp, qword [r15 + rdx*8 + 0x4008]
movzx edx, cl
mov rcx, r8
add rdx, rdx
shr rcx, 0x30
shr r8, 0x38
add r8, r8
xor r10, qword [r15 + rdx*8 + 0x5000]
xor rbp, qword [r15 + rdx*8 + 0x5008]
movzx edx, cl
add rdx, rdx
movzx ecx, r9b
add rcx, rcx
xor r10, qword [r15 + rdx*8 + 0x6000]
xor rbp, qword [r15 + rdx*8 + 0x6008]
xor r10, qword [r15 + r8*8 + 0x7000]
xor r10, qword [r15 + rcx*8 + 0x8000]
xor rbp, qword [r15 + r8*8 + 0x7008]
xor rbp, qword [r15 + rcx*8 + 0x8008]
mov rcx, r9
shr rcx, 8
movzx edx, cl
mov rcx, r9
add rdx, rdx
shr rcx, 0x10
xor r10, qword [r15 + rdx*8 + 0x9000]
xor rbp, qword [r15 + rdx*8 + 0x9008]
movzx edx, cl
add rdx, rdx
xor r10, qword [r15 + rdx*8 + 0xa000]
xor rbp, qword [r15 + rdx*8 + 0xa008]
mov rcx, r9
add r14, 0x20
shr rcx, 0x18
movzx edx, cl
mov rcx, r9
add rdx, rdx
shr rcx, 0x20
xor r10, qword [r15 + rdx*8 + 0xb000]
xor rbp, qword [r15 + rdx*8 + 0xb008]
movzx edx, cl
mov rcx, r9
add rdx, rdx
shr rcx, 0x28
xor r10, qword [r15 + rdx*8 + 0xc000]
xor rbp, qword [r15 + rdx*8 + 0xc008]
movzx edx, cl
mov rcx, r9
add rdx, rdx
shr rcx, 0x30
shr r9, 0x38
add r9, r9
xor r10, qword [r15 + rdx*8 + 0xd000]
xor rbp, qword [r15 + rdx*8 + 0xd008]
movzx edx, cl
add rdx, rdx
xor r10, qword [r15 + rdx*8 + 0xe000]
xor rbp, qword [r15 + rdx*8 + 0xe008]
xor r10, qword [r15 + r9*8 + 0xf000]
xor rbp, qword [r15 + r9*8 + 0xf008]
xor r10, rbx
xor rbp, rdi
sub r13, 1
jne 0x14003e9b0
mov qword [rax - 8], r10
mov qword [rax], rbp
mov qword [rax + 8], r12
mov qword [rax + 0x10], rsi
add rax, 0x20
sub qword [rsp + 0x78], 1
jne 0x14003e9a0
mov r13, qword [rsp + 0x70]
xor ebx, ebx
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x80]
lea rdi, [r13 + 0x140]
lea r14, [r13 + 0x138]
nop
mov rax, qword [rsi - 8]
mov rcx, qword [rsi]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rcx
test rbx, rbx
je 0x14003edd8
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x78]
call fcn.14003c4e0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov qword [r14], rax
inc rbx
mov qword [rdi], rcx
sub r14, 0x10
sub rdi, 0x10
add rsi, 0x10
cmp rbx, 0xa
jne 0x14003eda0
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x88]
mov byte [r13 + 0x148], 1
add rsp, 0x60
pop r13
ret
lea r9, [0x1400c0900]
mov dword [rsp + 0x20], 0xe3
lea r8, str.key_schedule
lea rdx, [0x1400caf07]
lea rcx, str.key.size____32
call fcn.14000e220
int3