Function at 0x140002a10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x408]
sub rsp, 0x508
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x14003f080]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov rsi, r9
mov rdi, r8
mov r12, rcx
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
call fcn.1400042c0
nop
mov r15, qword [rsp + 0x58]
lea rcx, [r15 + 1]
call fcn.140007084
mov r13, rax
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
lea r8, [r15 + 1]
mov rcx, rax
call fcn.140008a90
lea rcx, [r15 + 1]
call fcn.140007084
mov r14, rax
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
lea r8, [r15 + 1]
mov rcx, rax
call fcn.140008a90
lea rax, vtable.AES.0
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x78], 0
xor ebx, ebx
mov qword [rbp + 0x33c], rbx
mov dword [rbp + 0x344], ebx
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140001940
cmp byte [rsp + 0x78], bl
je 0x140002c69
test r15, r15
je 0x140002c69
movsxd rcx, dword [rbp + 0x340]
xor edx, edx
mov rax, r15
div rcx
test rdx, rdx
jne 0x140002c69
mov esi, ebx
mov rdi, r13
mov rbx, r14
test rax, rax
je 0x140002c69
nop dword [rax]
nop word [rax + rax]
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400015d0
lea r8, [rbp + 0x368]
mov rax, rbx
movsxd r9, dword [rbp + 0x340]
cmp byte [rsp + 0x78], 0
je 0x140002c31
xor r10d, r10d
test r9d, r9d
jle 0x140002c31
cmp r9d, 0x40
jb 0x140002c0e
lea ecx, [r9 - 1]
movsxd rdx, ecx
lea r11, [rdx + rbx]
lea rcx, [rbp + 0x368]
add rcx, rdx
cmp rbx, rcx
ja 0x140002b98
lea rcx, [rbp + 0x368]
cmp r11, rcx
jae 0x140002c0e
mov ecx, r9d
and ecx, 0x8000003f
jge 0x140002baa
dec ecx
or ecx, 0xffffffc0
inc ecx
mov edx, r9d
sub edx, ecx
nop
movdqu xmm1, xmmword [rax]
movdqu xmm0, xmmword [r8]
pxor xmm1, xmm0
movdqu xmmword [rax], xmm1
movdqu xmm1, xmmword [rax + 0x10]
movdqu xmm0, xmmword [r8 + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x10], xmm1
movdqu xmm1, xmmword [rax + 0x20]
movdqu xmm0, xmmword [r8 + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x20], xmm1
movdqu xmm1, xmmword [rax + 0x30]
movdqu xmm0, xmmword [r8 + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax + 0x30], xmm1
add r8, 0x40
add rax, 0x40
add r10d, 0x40
cmp r10d, edx
jl 0x140002bb0
cmp r10d, r9d
jge 0x140002c31
sub r8, rax
mov edx, r9d
sub edx, r10d
nop dword [rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140002c20
mov r8, r9
mov rdx, rdi
lea rcx, [rbp + 0x368]
call fcn.140008a90
movsxd rcx, dword [rbp + 0x340]
add rdi, rcx
add rbx, rcx
inc esi
xor edx, edx
mov rax, r15
div rcx
mov rcx, rax
movsxd rax, esi
cmp rax, rcx
jb 0x140002b30
movsx r9, byte [r14 + r15 - 1]
lea edx, [r15 - 1]
mov r8, r15
sub r8, r9
movsxd rax, edx
cmp rax, r8
jb 0x140002d2b
lea rcx, [rax + r14]
nop dword [rax]
cmp byte [rcx], r9b
jne 0x140002caa
mov byte [rcx], 0
dec edx
dec rcx
movsxd rax, edx
cmp rax, r8
jae 0x140002c90
jmp 0x140002d2b
mov r8, r15
xor edx, edx
mov rcx, r14
call fcn.140008ef0
call fcn.140003a60
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov rax, qword [rcx + rbx + 0x40]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x38], rcx
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rcx, [rsp + 0x30]
call fcn.1400038b0
mov r8, qword [rax]
mov dl, 0xa
mov rcx, rax
call qword [r8 + 0x40]
movzx edi, al
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140002d17
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x140002d17
mov rax, qword [rax]
mov edx, 1
call qword [rax]
nop
movzx edx, dil
mov rcx, rbx
call fcn.140003ec0
mov rcx, rbx
call fcn.1400036e0
mov qword [r12 + 0x10], 0
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [r14 + r8], 0
jne 0x140002d50
mov rdx, r14
mov rcx, r12
call fcn.140003330
mov rcx, r13
call fcn.140007014
mov rcx, r14
call fcn.140007014
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140002daf
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002daa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002dd5
call fcn.140007014
mov rax, r12
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140006ff0
add rsp, 0x508
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14000b31c
int3