Function at 0x14009def0
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 - 0x440]
sub rsp, 0x540
mov rax, qword [0x140218100]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov r13, rcx
mov qword [rbp - 0x80], rcx
mov qword [rsp + 0x60], rcx
xor r14d, r14d
lea rcx, [rbp - 0x78]
call fcn.14009e8a0
nop
mov rsi, qword [rbp - 0x68]
mov qword [rsp + 0x58], rsi
lea rcx, [rsi + 1]
call fcn.1400a94f0
mov r12, rax
mov qword [rsp + 0x60], rax
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
lea r8, [rsi + 1]
mov rcx, rax
call fcn.140145fb0
lea rcx, [rsi + 1]
call fcn.1400a94f0
mov rdi, rax
mov qword [rsp + 0x78], rax
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
lea r8, [rsi + 1]
mov rcx, rax
call fcn.140145fb0
lea rax, vtable.AES.0
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], r14b
mov qword [rbp + 0x37c], r14
mov dword [rbp + 0x384], r14d
lea rcx, [rbp - 0x50]
call fcn.14009d510
cmp byte [rbp - 0x48], r14b
je 0x14009e3a7
test rsi, rsi
je 0x14009e3a7
movsxd r11, dword [rbp + 0x380]
xor edx, edx
mov rax, rsi
div r11
test rdx, rdx
jne 0x14009e3a7
mov r15d, r14d
mov dword [rsp + 0x30], r14d
mov rbx, r12
mov qword [rsp + 0x48], rbx
mov r14, rdi
mov qword [rsp + 0x50], rdi
test rax, rax
je 0x14009e3a7
lea r8, [0x140000000]
mov rcx, rbx
cmp byte [rbp - 0x48], 0
je 0x14009e316
cmp r11d, 0x10
jne 0x14009e03f
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.14009d0e0
mov r11d, dword [rbp + 0x380]
jmp 0x14009e316
mov eax, r11d
cdq
and edx, 3
add eax, edx
sar eax, 2
movsxd r13, eax
xor eax, eax
cmp r13d, 4
je 0x14009e060
cmp r13d, 6
setne al
inc rax
shl rax, 5
mov r12d, dword [rax + r8 + 0x1f0cdc]
mov dword [rsp + 0x40], r12d
mov ebx, dword [rax + r8 + 0x1f0ce4]
mov dword [rsp + 0x38], ebx
mov esi, dword [rax + r8 + 0x1f0cec]
mov dword [rsp + 0x3c], esi
lea r9, [rbp + 0x408]
xor r10d, r10d
test r13d, r13d
jle 0x14009e0ed
nop dword [rax + rax]
movzx r8d, byte [rcx]
movzx eax, byte [rcx + 1]
movzx edx, byte [rcx + 2]
shl r8d, 8
or r8d, eax
shl r8d, 8
or r8d, edx
shl r8d, 8
mov dword [r9], r8d
movzx eax, byte [rcx + 3]
lea rcx, [rcx + 4]
mov rdx, r9
add r9, 4
or r8d, eax
xor r8d, dword [rbp + r10*4 + 0x19c]
mov dword [rdx], r8d
inc r10
cmp r10, r13
jl 0x14009e0a0
mov r11d, dword [rbp + 0x380]
mov r15d, 1
mov dword [rsp + 0x34], r15d
mov eax, dword [rbp + 0x384]
cmp eax, r15d
jle 0x14009e227
lea eax, [r13*4]
cdqe
mov qword [rsp + 0x70], rax
mov r14, 0xfffffffffffffdb4
nop dword [rax]
xor esi, esi
test r13d, r13d
jle 0x14009e1e0
mov ebx, r12d
mov r10d, dword [rsp + 0x38]
sub r10d, r12d
mov r11d, dword [rsp + 0x3c]
sub r11d, r12d
lea r12, [rbp + 0x408]
add r12, r14
lea r15, [0x140000000]
nop
lea eax, [r10 + rbx]
cdq
idiv r13d
movsxd rax, edx
mov ecx, dword [rbp + rax*4 + 0x408]
sar rcx, 8
movzx r8d, cl
lea eax, [r11 + rbx]
cdq
idiv r13d
movsxd rax, edx
movzx ecx, byte [rbp + rax*4 + 0x408]
mov r9d, dword [r15 + r8*4 + 0x1ef3d0]
xor r9d, dword [r15 + rcx*4 + 0x1f04d0]
mov eax, ebx
cdq
idiv r13d
movsxd rax, edx
mov ecx, dword [rbp + rax*4 + 0x408]
sar rcx, 0x10
movzx eax, cl
xor r9d, dword [r15 + rax*4 + 0x1ee3d0]
movzx eax, byte [rbp + rsi*4 + 0x40b]
xor r9d, dword [r15 + rax*4 + 0x1f08d0]
xor r9d, dword [r12 + rsi*4]
mov dword [rbp + rsi*4 + 0x3e8], r9d
inc ebx
inc rsi
cmp rsi, r13
jl 0x14009e150
mov r15d, dword [rsp + 0x34]
mov r12d, dword [rsp + 0x40]
mov r8, qword [rsp + 0x70]
lea rdx, [rbp + 0x3e8]
lea rcx, [rbp + 0x408]
call fcn.140145fb0
inc r15d
mov dword [rsp + 0x34], r15d
add r14, 0x20
mov eax, dword [rbp + 0x384]
cmp r15d, eax
jl 0x14009e120
mov r11d, dword [rbp + 0x380]
mov ebx, dword [rsp + 0x38]
mov esi, dword [rsp + 0x3c]
mov r14, qword [rsp + 0x50]
xor r10d, r10d
test r13d, r13d
jle 0x14009e307
cdqe
mov r9, r14
sub r12d, ebx
sub esi, ebx
shl rax, 5
lea r14, [rbp + 0x19c]
add r14, rax
lea r15, [0x140000000]
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [r14 + r10*4]
movzx ecx, byte [rbp + r10*4 + 0x40b]
mov eax, r8d
sar eax, 0x18
xor al, byte [rcx + r15 + 0x1ee2d0]
mov byte [r9], al
lea eax, [r12 + rbx]
cdq
idiv r13d
movsxd rax, edx
mov ecx, dword [rbp + rax*4 + 0x408]
sar rcx, 0x10
movzx edx, cl
mov eax, r8d
sar eax, 0x10
xor al, byte [rdx + r15 + 0x1ee2d0]
mov byte [r9 + 1], al
mov eax, ebx
cdq
idiv r13d
movsxd rax, edx
mov ecx, dword [rbp + rax*4 + 0x408]
sar rcx, 8
movzx edx, cl
mov eax, r8d
sar eax, 8
xor al, byte [rdx + r15 + 0x1ee2d0]
mov byte [r9 + 2], al
lea eax, [rsi + rbx]
cdq
idiv r13d
movsxd rax, edx
movzx ecx, byte [rbp + rax*4 + 0x408]
xor r8b, byte [rcx + r15 + 0x1ee2d0]
mov byte [r9 + 3], r8b
lea r9, [r9 + 4]
inc ebx
inc r10
cmp r10, r13
jl 0x14009e260
mov r14, qword [rsp + 0x50]
mov r15d, dword [rsp + 0x30]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rcx, r14
cmp byte [rbp - 0x48], 0
je 0x14009e342
test r11d, r11d
jle 0x14009e342
lea r8, [rbp + 0x3a8]
sub r8, r14
mov edx, r11d
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14009e331
movsxd r8, r11d
mov rdx, rbx
lea rcx, [rbp + 0x3a8]
call fcn.140145fb0
movsxd r11, dword [rbp + 0x380]
add rbx, r11
mov qword [rsp + 0x48], rbx
add r14, r11
mov qword [rsp + 0x50], r14
inc r15d
mov dword [rsp + 0x30], r15d
xor edx, edx
mov rax, rsi
div r11
mov rcx, rax
movsxd rax, r15d
cmp rax, rcx
lea r8, [0x140000000]
jb 0x14009e011
mov rdi, qword [rsp + 0x78]
movzx r9d, byte [rsi + rdi - 1]
mov r13, qword [rbp - 0x80]
mov r12, qword [rsp + 0x60]
jmp 0x14009e3ad
movzx r9d, byte [rdi + rsi - 1]
lea edx, [rsi - 1]
movsx rax, r9b
mov r8, rsi
sub r8, rax
movsxd rax, edx
cmp rax, r8
jb 0x14009e405
lea rcx, [rax + rdi]
cmp byte [rcx], r9b
jne 0x14009e3dd
mov byte [rcx], 0
dec edx
dec rcx
movsxd rax, edx
cmp rax, r8
jae 0x14009e3c6
jmp 0x14009e405
mov r8, rsi
xor edx, edx
mov rcx, rdi
call fcn.1401467d0
lea rdx, [0x1401f98d0]
lea rcx, [0x14021eda0]
call fcn.14008b5b0
mov rcx, rax
call fcn.14008b860
xorps xmm0, xmm0
movups xmmword [r13], xmm0
xor eax, eax
mov qword [r13 + 0x10], rax
mov qword [r13 + 0x18], rax
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdi + r8], al
jne 0x14009e420
mov rdx, rdi
mov rcx, r13
call fcn.1400237e0
mov rcx, r12
call fcn.1400a9050
mov rcx, rdi
call fcn.1400a9050
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14009e47c
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009e477
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009e4a9
call fcn.1400a9050
mov rax, r13
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.1400a8d90
mov rbx, qword [rsp + 0x590]
add rsp, 0x540
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140124be4
int3