Function at 0x1400022c4
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 - 0x450]
sub rsp, 0x550
mov rax, qword [0x14002a020]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov r14, rcx
mov qword [rbp - 0x70], rcx
mov qword [rsp + 0x70], rcx
xor r13d, r13d
lea rcx, [rbp - 0x68]
call fcn.140001ac8
nop
mov rdi, qword [rbp - 0x58]
mov qword [rsp + 0x50], rdi
lea rcx, [rdi + 1]
call fcn.140002f9c
mov r15, rax
mov qword [rsp + 0x68], rax
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rdx, qword [rbp - 0x68]
lea rbx, [rdi + 1]
mov r8, rbx
mov rcx, rax
call fcn.1400045f0
mov rcx, rbx
call fcn.140002f9c
mov rsi, rax
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rdx, qword [rbp - 0x68]
mov r8, rbx
mov rcx, rax
call fcn.1400045f0
lea rbx, vtable.AES.0
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], r13b
mov qword [rbp + 0x38c], r13
mov dword [rbp + 0x394], r13d
lea rcx, [rbp - 0x40]
call fcn.140001514
cmp byte [rbp - 0x38], r13b
je 0x140002785
test rdi, rdi
je 0x140002785
movsxd r8, dword [rbp + 0x390]
xor edx, edx
mov rax, rdi
div r8
test rdx, rdx
jne 0x140002785
mov r12d, r13d
mov dword [rsp + 0x34], r13d
mov qword [rsp + 0x58], r15
mov rbx, rsi
mov qword [rsp + 0x60], rbx
test rax, rax
je 0x140002779
lea r10, [0x140000000]
mov r9, r15
cmp byte [rbp - 0x38], r13b
je 0x1400026ef
cmp r8d, 0x10
jne 0x140002411
mov r8, rbx
mov rdx, r15
lea rcx, [rbp - 0x40]
call fcn.1400010f8
mov r8d, dword [rbp + 0x390]
jmp 0x1400026ef
mov eax, r8d
cdq
and edx, 3
add eax, edx
sar eax, 2
movsxd rcx, eax
mov rax, r13
cmp ecx, 6
setne al
inc rax
cmp ecx, 4
cmove rax, r13
shl rax, 5
mov r12d, dword [rax + r10 + 0x25fac]
mov dword [rsp + 0x44], r12d
mov esi, dword [rax + r10 + 0x25fb4]
mov dword [rsp + 0x38], esi
mov edx, dword [rax + r10 + 0x25fbc]
mov dword [rsp + 0x30], edx
lea r10, [rbp + 0x418]
mov r11, r13
mov r14, rcx
test ecx, ecx
jle 0x1400024bf
movzx eax, byte [r9]
shl eax, 0x18
mov dword [r10], eax
movzx edx, byte [r9 + 1]
shl edx, 0x10
or edx, eax
mov dword [r10], edx
movzx ecx, byte [r9 + 2]
shl ecx, 8
or ecx, edx
mov dword [r10], ecx
mov rdx, r10
movzx eax, byte [r9 + 3]
or eax, ecx
mov dword [r10], eax
lea r9, [r9 + 4]
add r10, 4
xor eax, dword [rbp + r11*4 + 0x1ac]
mov dword [rdx], eax
inc r11
cmp r11, r14
jl 0x14000246d
mov r8d, dword [rbp + 0x390]
mov r13d, 1
mov eax, dword [rbp + 0x394]
cmp eax, r13d
jle 0x1400025fb
mov edi, r14d
lea eax, [r14*4]
cdqe
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x48], 0xfffffffffffffdb4
mov ebx, dword [rsp + 0x30]
and qword [rbp - 0x80], 0
test r14, r14
jle 0x1400025b6
mov r10d, esi
sub r10d, r12d
mov r11d, ebx
sub r11d, r12d
mov r15, qword [rsp + 0x48]
mov rbx, qword [rbp - 0x80]
lea rsi, [0x140000000]
lea eax, [r10 + r12]
cdq
idiv edi
movsxd rax, edx
mov ecx, dword [rbp + rax*4 + 0x418]
sar rcx, 8
movzx r8d, cl
lea eax, [r11 + r12]
cdq
idiv edi
movsxd rax, edx
movzx ecx, byte [rbp + rax*4 + 0x418]
mov r9d, dword [rsi + r8*4 + 0x24690]
xor r9d, dword [rsi + rcx*4 + 0x25790]
mov eax, r12d
cdq
idiv edi
movsxd rax, edx
mov ecx, dword [rbp + rax*4 + 0x418]
sar rcx, 0x10
movzx eax, cl
xor r9d, dword [rsi + rax*4 + 0x23690]
movzx eax, byte [rbp + rbx*4 + 0x41b]
xor r9d, dword [rsi + rax*4 + 0x25ba0]
lea rax, [r15 + rbx*4]
xor r9d, dword [rbp + rax + 0x418]
mov dword [rbp + rbx*4 + 0x3f8], r9d
inc r12d
inc rbx
cmp rbx, r14
jl 0x14000251c
mov r12d, dword [rsp + 0x44]
mov esi, dword [rsp + 0x38]
mov ebx, dword [rsp + 0x30]
mov r8, qword [rbp - 0x78]
lea rdx, [rbp + 0x3f8]
lea rcx, [rbp + 0x418]
call fcn.1400045f0
inc r13d
add qword [rsp + 0x48], 0x20
mov eax, dword [rbp + 0x394]
cmp r13d, eax
jl 0x1400024f2
mov r8d, dword [rbp + 0x390]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x58]
xor r13d, r13d
test r14, r14
jle 0x1400026ea
mov rsi, rbx
mov r10d, dword [rsp + 0x38]
sub r12d, r10d
mov r11d, dword [rsp + 0x30]
sub r11d, r10d
mov r9d, r14d
lea rdi, [0x140000000]
cdqe
lea rcx, [rax*8]
add rcx, r13
mov r8d, dword [rbp + rcx*4 + 0x1ac]
movzx ecx, byte [rbp + r13*4 + 0x41b]
mov eax, r8d
sar eax, 0x18
xor al, byte [rcx + rdi + 0x23590]
mov byte [rsi], al
lea eax, [r10 + r12]
cdq
idiv r9d
movsxd rax, edx
mov ecx, dword [rbp + rax*4 + 0x418]
sar rcx, 0x10
movzx edx, cl
mov eax, r8d
sar eax, 0x10
xor al, byte [rdx + rdi + 0x23590]
mov byte [rsi + 1], al
mov eax, r10d
cdq
idiv r9d
movsxd rax, edx
mov ecx, dword [rbp + rax*4 + 0x418]
sar rcx, 8
movzx edx, cl
mov eax, r8d
sar eax, 8
xor al, byte [rdx + rdi + 0x23590]
mov byte [rsi + 2], al
lea eax, [r10 + r11]
cdq
idiv r9d
movsxd rax, edx
movzx ecx, byte [rbp + rax*4 + 0x418]
xor r8b, byte [rcx + rdi + 0x23590]
mov byte [rsi + 3], r8b
lea rsi, [rsi + 4]
inc r10d
inc r13
cmp r13, r14
jge 0x1400026db
mov eax, dword [rbp + 0x394]
jmp 0x140002624
mov r8d, dword [rbp + 0x390]
mov rdi, qword [rsp + 0x50]
xor r13d, r13d
mov r12d, dword [rsp + 0x34]
mov rcx, rbx
cmp byte [rbp - 0x38], r13b
je 0x140002721
mov r9d, r13d
test r8d, r8d
jle 0x140002721
lea rdx, [rbp + 0x3b8]
sub rdx, rbx
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
inc r9d
mov r8d, dword [rbp + 0x390]
cmp r9d, r8d
jl 0x14000270a
movsxd r8, r8d
mov rdx, r15
lea rcx, [rbp + 0x3b8]
call fcn.1400045f0
movsxd r8, dword [rbp + 0x390]
add r15, r8
mov qword [rsp + 0x58], r15
add rbx, r8
mov qword [rsp + 0x60], rbx
inc r12d
mov dword [rsp + 0x34], r12d
xor edx, edx
mov rax, rdi
div r8
mov rcx, rax
movsxd rax, r12d
cmp rax, rcx
lea r10, [0x140000000]
jb 0x1400023e3
mov rsi, qword [rsp + 0x70]
mov r14, qword [rbp - 0x70]
lea rbx, vtable.AES.0
mov r15, qword [rsp + 0x68]
movsx r9, byte [rsi + rdi - 1]
lea edx, [rdi - 1]
mov r8, rdi
sub r8, r9
movsxd rax, edx
cmp rax, r8
jb 0x1400027c4
lea rcx, [rax + rsi]
cmp byte [rcx], r9b
jne 0x1400027b7
mov byte [rcx], r13b
dec edx
dec rcx
movsxd rax, edx
cmp rax, r8
jae 0x1400027a0
jmp 0x1400027c4
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.140005150
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r13
mov rcx, rsi
call fcn.140008f70
mov r8, rax
mov rdx, rsi
mov rcx, r14
call fcn.140001dd8
mov rcx, r15
call fcn.140002a40
mov rcx, rsi
call fcn.140002a40
nop
mov qword [rbp - 0x40], rbx
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140002835
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002830
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002862
call fcn.140002a40
mov rax, r14
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.140002a20
mov rbx, qword [rsp + 0x5a0]
add rsp, 0x550
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140009424
int3