Function at 0x1400aff20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x1402ba410]
xor rax, rsp
mov qword [rbp + 0x220], rax
movzx r9d, dl
mov byte [rsp + 0x20], dl
mov r15d, ecx
mov dword [rsp + 0x24], r15d
lea ebx, [r15 + 0x80]
shl ebx, 0xb
mov r13d, 3
xor r14d, r14d
cmp ebx, 2
jae 0x1400affb4
mov ebx, r14d
lea esi, [r15 + 0x80]
shl esi, 0x10
cmp esi, 2
jae 0x1400afff4
mov esi, r14d
mov ecx, ebx
shl rcx, 6
mov qword [rsp + 0x30], rcx
test r9b, r9b
je 0x1400b0038
mov eax, esi
shl rax, 7
jmp 0x1400b003d
dec ebx
test bl, 1
je 0x1400affef
mov rcx, r13
mov r8d, ebx
cmp r8, 9
jb 0x1400aff83
nop word [rax + rax]
xor edx, edx
mov rax, r8
div rcx
test rdx, rdx
je 0x1400affef
add rcx, 2
mov rax, rcx
imul rax, rcx
cmp rax, r8
ja 0x1400aff83
jmp 0x1400affd0
add ebx, 0xfffffffe
jmp 0x1400affb6
dec esi
test sil, 1
je 0x1400b0033
mov rcx, r13
mov r8d, esi
cmp r8, 9
jb 0x1400aff95
nop dword [rax + rax]
xor edx, edx
mov rax, r8
div rcx
test rdx, rdx
je 0x1400b0033
add rcx, 2
mov rax, rcx
imul rax, rcx
cmp rax, r8
ja 0x1400aff95
jmp 0x1400b0010
add esi, 0xfffffffe
jmp 0x1400afff6
mov eax, 0x4000
lea rdx, [rcx + 0x38]
add rdx, rax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r12, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400b0429
lea rdi, [rax + 0x38]
xorps xmm0, xmm0
movups xmmword [rbp + 0x180], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x190], xmm1
test r15d, r15d
je 0x1400b00b5
nop dword [rax]
mov r8d, 0x20
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x38]
call fcn.1400b2ea0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x180], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp + 0x190], xmm1
sub r15, 1
jne 0x1400b0080
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm1
mov r8d, 0x20
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0x1c0]
call fcn.1400b3080
movups xmm3, xmmword [rax]
movaps xmmword [rbp + 0x180], xmm3
movups xmm2, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x190], xmm2
movups xmm1, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x1a0], xmm1
movups xmm0, xmmword [rax + 0x30]
movaps xmmword [rbp + 0x1b0], xmm0
movups xmmword [rdi], xmm3
movups xmmword [rdi + 0x10], xmm2
movups xmmword [rdi + 0x20], xmm1
movups xmmword [rdi + 0x30], xmm0
cmp ebx, 1
jbe 0x1400b0191
lea r15, [r12 + 0x78]
lea r12d, [rbx - 1]
nop dword [rax]
nop dword [rax + rax]
mov r8d, 0x40
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x1c0]
call fcn.1400b3080
movups xmm3, xmmword [rax]
movaps xmmword [rbp + 0x180], xmm3
movups xmm2, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x190], xmm2
movups xmm1, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x1a0], xmm1
movups xmm0, xmmword [rax + 0x30]
movaps xmmword [rbp + 0x1b0], xmm0
movups xmmword [r15], xmm3
movups xmmword [r15 + 0x10], xmm2
movups xmmword [r15 + 0x20], xmm1
movups xmmword [r15 + 0x30], xmm0
lea r15, [r15 + 0x40]
sub r12, 1
jne 0x1400b0130
mov r12d, r14d
test ebx, ebx
je 0x1400b02b2
mov r15, rdi
nop
xor edx, edx
mov eax, dword [r15]
div ebx
mov ecx, edx
lea eax, [rbx - 1]
add eax, r12d
xor edx, edx
div ebx
lea rdx, [rdx*8]
lea rcx, [rcx*8]
mov rax, qword [rdi + rcx*8]
xor rax, qword [rdi + rdx*8]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + rcx*8 + 8]
xor rax, qword [rdi + rdx*8 + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rdi + rcx*8 + 0x10]
xor rax, qword [rdi + rdx*8 + 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rdi + rcx*8 + 0x18]
xor rax, qword [rdi + rdx*8 + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi + rcx*8 + 0x20]
xor rax, qword [rdi + rdx*8 + 0x20]
mov qword [rsp + 0x58], rax
mov rax, qword [rdi + rcx*8 + 0x28]
xor rax, qword [rdi + rdx*8 + 0x28]
mov qword [rsp + 0x60], rax
mov rax, qword [rdi + rcx*8 + 0x30]
xor rax, qword [rdi + rdx*8 + 0x30]
mov qword [rsp + 0x68], rax
mov rax, qword [rdi + rcx*8 + 0x38]
xor rax, qword [rdi + rdx*8 + 0x38]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rbp + 0x1c0], xmm0
movups xmm1, xmmword [rsp + 0x48]
movaps xmmword [rbp + 0x1d0], xmm1
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rbp + 0x1e0], xmm0
movups xmm1, xmmword [rsp + 0x68]
movaps xmmword [rbp + 0x1f0], xmm1
mov r8d, 0x40
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x38]
call fcn.1400b3080
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movups xmmword [r15], xmm0
movups xmmword [r15 + 0x10], xmm1
movups xmmword [r15 + 0x20], xmm2
movups xmmword [r15 + 0x30], xmm3
inc r12d
lea r15, [r15 + 0x40]
cmp r12d, ebx
jb 0x1400b01a0
sub r13, 1
jne 0x1400b0191
mov r12, qword [rsp + 0x28]
mov r15, qword [rsp + 0x30]
add r15, 0x38
add r15, r12
mov eax, dword [rsp + 0x24]
mov dword [r12], eax
mov dword [r12 + 4], ebx
movsxd rax, ebx
shl rax, 6
mov qword [r12 + 8], rax
mov dword [r12 + 0x10], esi
movsxd rax, esi
shl rax, 7
mov qword [r12 + 0x18], rax
mov qword [r12 + 0x20], rdi
mov qword [r12 + 0x28], r15
mov rax, r14
cmp byte [rsp + 0x20], al
cmovne rax, r15
mov qword [r12 + 0x30], rax
mov r8d, r14d
mov rdx, r12
lea rcx, [rbp + 0x80]
call fcn.1400af220
lea rcx, [rbp - 0x80]
mov edx, 2
nop dword [rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x1400b0330
mov rcx, r15
lea rax, [rbp - 0x80]
mov edx, 2
nop
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x1400b0390
inc r14d
add r15, 0x100
cmp r14d, 0x40
jb 0x1400b0311
mov rax, r12
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1401ebfb0
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, str.Out_of_memory
lea rcx, [rbp + 0x180]
call fcn.1400037f0
lea rdx, [0x1402aeaf0]
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll__CxxThrowException
int3