Function at 0x1400eec30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x1401e71c0]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov rbx, rdx
mov r13, rcx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x58], rcx
mov rsi, qword [rdx + 0x10]
mov rdi, rsi
shr rdi, 4
lea r12d, [rdi + 1]
shl r12d, 4
mov dword [rsp + 0x30], r12d
lea eax, [r12 + 1]
movsxd r14, eax
mov rcx, r14
call fcn.1401679f0
mov r15, rax
mov qword [rsp + 0x70], rax
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.140168628
cmp qword [rbx + 0x18], 0xf
jbe 0x1400eecb7
mov rbx, qword [rbx]
mov rcx, r15
sub rcx, rbx
nop dword [rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1400eecc0
and esi, 0xf
mov r8d, 0x10
mov edx, r8d
sub edx, esi
test edx, edx
jle 0x1400eecf5
mov eax, esi
sub r8, rax
shl edi, 4
add edi, esi
movsxd rcx, edi
add rcx, r15
call fcn.140168628
movsxd r12, r12d
mov byte [r12 + r15], 0
mov rcx, r14
call fcn.1401679f0
mov rbx, rax
mov qword [rsp + 0x58], rax
mov r8, r14
xor edx, edx
mov rcx, rax
call fcn.140168628
lea rax, vtable.AES.0
mov qword [rbp - 0x80], rax
mov byte [rbp - 0x78], 0
mov qword [rbp + 0x34c], 0
mov dword [rbp + 0x354], 0
lea rcx, [rbp - 0x80]
call fcn.1400ee7a0
movzx r8d, byte [rbp - 0x78]
test r8b, r8b
je 0x1400ef142
test r12, r12
je 0x1400ef142
movsxd r9, dword [rbp + 0x350]
mov rcx, r9
xor edx, edx
mov rax, r12
div r9
test rdx, rdx
jne 0x1400ef142
mov dword [rsp + 0x40], edx
mov r10, r15
mov qword [rsp + 0x48], r15
mov r12, rbx
mov qword [rsp + 0x50], rbx
movsxd rax, dword [rsp + 0x30]
div rcx
test rax, rax
je 0x1400ef142
lea r11, [0x140000000]
lea rcx, [rbp + 0x378]
test r8b, r8b
je 0x1400eedee
xor edx, edx
test r9d, r9d
jle 0x1400eedee
lea rax, [rbp + 0x378]
mov r8, r10
sub r8, rax
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
inc edx
mov r9d, dword [rbp + 0x350]
cmp edx, r9d
jl 0x1400eedd0
movzx r8d, byte [rbp - 0x78]
lea rcx, [rbp + 0x378]
test r8b, r8b
je 0x1400ef0d9
cmp r9d, 0x10
jne 0x1400eee1c
mov r8, r12
lea rdx, [rbp + 0x378]
lea rcx, [rbp - 0x80]
call fcn.1400edf60
jmp 0x1400ef0d2
mov eax, r9d
cdq
and edx, 3
add eax, edx
sar eax, 2
movsxd r13, eax
xor eax, eax
cmp r13d, 4
je 0x1400eee3d
cmp r13d, 6
setne al
inc rax
shl rax, 5
mov r15d, dword [rax + r11 + 0x1abc48]
mov dword [rsp + 0x44], r15d
mov ebx, dword [rax + r11 + 0x1abc50]
mov dword [rsp + 0x38], ebx
mov esi, dword [rax + r11 + 0x1abc58]
mov dword [rsp + 0x3c], esi
lea r10, [rbp + 0x3d8]
xor r11d, r11d
test r13d, r13d
jle 0x1400eeecd
nop word [rax + rax]
movzx eax, byte [rcx]
shl eax, 0x18
mov dword [r10], eax
movzx edx, byte [rcx + 1]
shl edx, 0x10
or edx, eax
mov dword [r10], edx
movzx r8d, byte [rcx + 2]
shl r8d, 8
or r8d, edx
mov dword [r10], r8d
movzx eax, byte [rcx + 3]
lea rcx, [rcx + 4]
mov rdx, r10
add r10, 4
or r8d, eax
xor r8d, dword [rbp + r11*4 - 0x74]
mov dword [rdx], r8d
inc r11
cmp r11, r13
jl 0x1400eee80
mov r9d, dword [rbp + 0x350]
mov r14d, 1
mov dword [rsp + 0x34], r14d
mov eax, dword [rbp + 0x354]
cmp eax, r14d
jle 0x1400ef007
lea eax, [r13*4]
cdqe
mov qword [rsp + 0x68], rax
mov r12, 0xfffffffffffffbd4
nop dword [rax]
xor esi, esi
test r13d, r13d
jle 0x1400eefc0
mov ebx, r15d
mov r10d, dword [rsp + 0x38]
sub r10d, r15d
mov r11d, dword [rsp + 0x3c]
sub r11d, r15d
lea r15, [rbp + 0x3d8]
add r15, r12
lea r14, [0x140000000]
nop
lea eax, [r10 + rbx]
cdq
idiv r13d
movsxd rax, edx
mov ecx, dword [rbp + rax*4 + 0x3d8]
sar rcx, 8
movzx r8d, cl
lea eax, [r11 + rbx]
cdq
idiv r13d
movsxd rax, edx
movzx ecx, byte [rbp + rax*4 + 0x3d8]
mov r9d, dword [r14 + r8*4 + 0x1a9740]
xor r9d, dword [r14 + rcx*4 + 0x1aac40]
mov eax, ebx
cdq
idiv r13d
movsxd rax, edx
mov ecx, dword [rbp + rax*4 + 0x3d8]
sar rcx, 0x10
movzx eax, cl
xor r9d, dword [r14 + rax*4 + 0x1a9b40]
movzx eax, byte [rbp + rsi*4 + 0x3db]
xor r9d, dword [r14 + rax*4 + 0x1a9f40]
xor r9d, dword [r15 + rsi*4]
mov dword [rbp + rsi*4 + 0x3b8], r9d
inc ebx
inc rsi
cmp rsi, r13
jl 0x1400eef30
mov r14d, dword [rsp + 0x34]
mov r15d, dword [rsp + 0x44]
mov r8, qword [rsp + 0x68]
lea rdx, [rbp + 0x3b8]
lea rcx, [rbp + 0x3d8]
call fcn.14016861c
inc r14d
mov dword [rsp + 0x34], r14d
add r12, 0x20
mov eax, dword [rbp + 0x354]
cmp r14d, eax
jl 0x1400eef00
mov r9d, dword [rbp + 0x350]
mov ebx, dword [rsp + 0x38]
mov esi, dword [rsp + 0x3c]
mov r12, qword [rsp + 0x50]
xor r11d, r11d
test r13d, r13d
jle 0x1400ef0d9
cdqe
mov r10, r12
sub r15d, ebx
sub esi, ebx
shl rax, 5
lea r14, [rbp - 0x74]
add r14, rax
lea r9, [0x140000000]
nop
mov r8d, dword [r14 + r11*4]
movzx ecx, byte [rbp + r11*4 + 0x3db]
mov eax, r8d
sar eax, 0x18
xor al, byte [rcx + r9 + 0x1aa740]
mov byte [r10], al
lea eax, [rbx + r15]
cdq
idiv r13d
movsxd rax, edx
mov ecx, dword [rbp + rax*4 + 0x3d8]
sar rcx, 0x10
movzx edx, cl
mov eax, r8d
sar eax, 0x10
xor al, byte [rdx + r9 + 0x1aa740]
mov byte [r10 + 1], al
mov eax, ebx
cdq
idiv r13d
movsxd rax, edx
mov ecx, dword [rbp + rax*4 + 0x3d8]
sar rcx, 8
movzx edx, cl
mov eax, r8d
sar eax, 8
xor al, byte [rdx + r9 + 0x1aa740]
mov byte [r10 + 2], al
lea eax, [rbx + rsi]
cdq
idiv r13d
movsxd rax, edx
movzx ecx, byte [rbp + rax*4 + 0x3d8]
xor r8b, byte [rcx + r9 + 0x1aa740]
mov byte [r10 + 3], r8b
lea r10, [r10 + 4]
inc ebx
inc r11
cmp r11, r13
jl 0x1400ef030
mov r9d, dword [rbp + 0x350]
movsxd r8, r9d
mov rdx, r12
lea rcx, [rbp + 0x378]
call fcn.14016861c
movsxd r9, dword [rbp + 0x350]
mov r10, qword [rsp + 0x48]
add r10, r9
mov qword [rsp + 0x48], r10
add r12, r9
mov qword [rsp + 0x50], r12
mov r11d, dword [rsp + 0x40]
inc r11d
mov dword [rsp + 0x40], r11d
xor edx, edx
movsxd rax, dword [rsp + 0x30]
div r9
mov rcx, rax
movsxd rax, r11d
cmp rax, rcx
jae 0x1400ef133
movzx r8d, byte [rbp - 0x78]
jmp 0x1400eed9e
mov r15, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x58]
mov r13, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x30]
mov rdx, rbx
mov rcx, r13
call fcn.1400ef7f0
mov rcx, r15
call fcn.140101570
mov rcx, rbx
call fcn.140101570
nop
mov rax, r13
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.140167530
mov rbx, qword [rsp + 0x560]
add rsp, 0x510
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret