Function at 0x1400a4490
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rdi, rcx
mov rbx, qword [r8]
mov r14, qword [r8 + 8]
cmp r14, 0x20
mov qword [rsp + 0x40], rdx
ja 0x1400a459f
cmp r14, 0x10
jbe 0x1400a454e
movabs rcx, 0xb492b66fbe98f273
imul rcx, qword [rbx]
mov rdx, qword [rbx + 8]
movabs rax, 0x9ae16a3b2f90404f
imul rax, qword [rbx + r14 - 8]
movabs r8, 0xc3a5c85c97cb3127
imul r8, qword [rbx + r14 - 0x10]
movabs r9, 0xc949d7c7509e6557
xor r9, rdx
rol r9, 0x2c
add r9, rcx
add r9, r14
sub rcx, rdx
rol rcx, 0x15
sub r9, rax
rol rax, 0x22
add rax, r8
add rax, rcx
xor rax, r9
movabs rcx, 0x9ddfea08eb382d69
imul rax, rcx
xor r9, rax
shr rax, 0x2f
xor rax, r9
imul rax, rcx
mov r15, rax
shr r15, 0x2f
xor r15, rax
jmp 0x1400a4669
cmp r14, 9
jb 0x1400a4a71
mov rax, qword [rbx + r14 - 8]
lea rdx, [rax + r14]
mov ecx, r14d
ror rdx, cl
mov rcx, qword [rbx]
xor rcx, rdx
movabs r8, 0x9ddfea08eb382d69
imul rcx, r8
xor rdx, rcx
shr rcx, 0x2f
xor rcx, rdx
imul rcx, r8
mov r15, rcx
shr r15, 0x2f
xor r15, rcx
imul r15, r8
xor r15, rax
jmp 0x1400a466d
cmp r14, 0x40
ja 0x1400a4b0d
mov rcx, qword [rbx + 0x10]
mov r9, qword [rbx + 0x18]
mov r11, qword [rbx + r14 - 0x10]
lea rdx, [r11 + r14]
movabs rax, 0xc3a5c85c97cb3127
imul rdx, rax
add rdx, qword [rbx]
lea r8, [rdx + r9]
rol r8, 0xc
mov r15, rdx
rol r15, 0x1b
add rdx, qword [rbx + 8]
mov r10, rdx
rol r10, 0x39
add rdx, rcx
add rcx, qword [rbx + r14 - 0x20]
mov rsi, qword [rbx + r14 - 8]
add rsi, r9
lea r12, [rsi + rcx]
rol r12, 0xc
mov r13, rcx
rol r13, 0x1b
add rcx, qword [rbx + r14 - 0x18]
add r10, r15
mov r15, rcx
rol r15, 0x39
add rcx, r11
add rsi, rcx
rol rcx, 0x21
add r13, r9
add r13, r15
add r13, r12
add r13, rcx
add r13, rdx
rol rdx, 0x21
add r10, r8
add rdx, r10
movabs rcx, 0x9ae16a3b2f90404f
imul r13, rcx
add rsi, rdx
imul rsi, rax
add rsi, r13
mov r8, rsi
shr r8, 0x2f
xor r8, rsi
imul r8, rax
add r8, rdx
mov r15, r8
shr r15, 0x2f
xor r15, r8
imul r15, rcx
mov rbp, qword [rdi + 8]
test rbp, rbp
je 0x1400a4891
mov rax, rbp
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbp
sub rax, rcx
movabs rcx, 0x3333333333333333
mov rdx, rax
and rdx, rcx
shr rax, 2
and rax, rcx
add rax, rdx
mov rcx, rax
shr rcx, 4
add rcx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rcx
movabs rsi, 0x101010101010101
imul rsi, rax
shr rsi, 0x38
cmp rsi, 1
jbe 0x1400a48a0
mov r13, r15
cmp r15, rbp
jb 0x1400a46f3
mov rax, r15
xor edx, edx
div rbp
mov r13, rdx
mov rax, qword [rdi]
mov rax, qword [rax + r13*8]
test rax, rax
je 0x1400a4740
mov r12, qword [rax]
test r12, r12
je 0x1400a4740
lea rcx, [rbp - 1]
mov rax, qword [r12 + 8]
cmp rax, r15
je 0x1400a4730
cmp esi, 1
jbe 0x1400a4889
cmp rax, rbp
jb 0x1400a472b
xor edx, edx
div rbp
mov rax, rdx
cmp rax, r13
jne 0x1400a4740
cmp qword [r12 + 0x18], r14
je 0x1400a479b
mov r12, qword [r12]
test r12, r12
jne 0x1400a470b
mov ecx, 0x28
call fcn.1400bcfbc
mov r12, rax
add rax, 0x10
je 0x1400a4d6c
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
xor eax, eax
mov qword [r12 + 0x20], rax
mov qword [r12 + 8], r15
mov qword [r12], rax
mov rax, qword [rdi + 0x18]
inc rax
jns 0x1400a47ca
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1400a47d2
mov qword [rsp + 0x28], rdi
mov rdi, rcx
mov rcx, qword [r12 + 0x10]
mov rdx, rbx
mov r8, r14
call fcn.1400bfeb0
mov rcx, rdi
mov rdi, qword [rsp + 0x28]
test eax, eax
jne 0x1400a4737
xor ecx, ecx
jmp 0x1400a486d
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov rcx, rbp
shr rcx, 1
mov eax, ebp
and eax, 1
or rax, rcx
test rbp, rbp
jns 0x1400a47f0
cvtsi2ss xmm1, rax
addss xmm1, xmm1
jmp 0x1400a47f5
cvtsi2ss xmm1, rbp
movss xmm2, dword [rdi + 0x20]
je 0x1400a48b3
mulss xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x1400a48b3
mov rcx, qword [rdi]
mov rax, qword [rcx + r13*8]
test rax, rax
jne 0x1400a485d
lea rax, [rdi + 0x10]
mov rdx, qword [rdi + 0x10]
mov qword [r12], rdx
mov qword [rdi + 0x10], r12
mov qword [rcx + r13*8], rax
mov rax, qword [r12]
test rax, rax
je 0x1400a4867
mov rax, qword [rax + 8]
lea rcx, [rbp - 1]
test rbp, rcx
je 0x1400a495e
cmp rax, rbp
jb 0x1400a4854
xor edx, edx
div rbp
mov rax, rdx
shl rax, 3
add rax, qword [rdi]
jmp 0x1400a4864
mov rcx, qword [rax]
mov qword [r12], rcx
mov qword [rax], r12
inc qword [rdi + 0x18]
mov cl, 1
mov rax, qword [rsp + 0x40]
mov qword [rax], r12
mov byte [rax + 8], cl
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
and rax, rcx
jmp 0x1400a472b
movabs r13, 0xaaaaaaaaaaaaaaaa
jmp 0x1400a4740
lea r13, [rbp - 1]
and r13, r15
jmp 0x1400a46f3
mov ebx, 1
jmp 0x1400a48f5
divss xmm0, xmm2
call fcn.1400f0340
cvttss2si rcx, xmm0
mov rdx, rcx
sar rdx, 0x3f
subss xmm0, dword [0x140171f20]
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
lea rcx, [rbp*2]
cmp rbp, 3
jb 0x1400a48ac
lea rdx, [rbp - 1]
xor ebx, ebx
test rbp, rdx
setne bl
or rbx, rcx
cmp rbx, rax
cmovbe rbx, rax
cmp rbx, 1
je 0x1400a4957
lea rax, [rbx - 1]
test rbx, rax
je 0x1400a491d
mov rcx, rbx
call fcn.14007fb40
mov rbx, rax
mov rbp, qword [rdi + 8]
cmp rbx, rbp
jbe 0x1400a496e
mov rcx, rdi
mov rdx, rbx
call fcn.1400a4da0
mov rbp, qword [rdi + 8]
lea r13, [rbp - 1]
test rbp, r13
je 0x1400a494f
cmp r15, rbp
jb 0x1400a4966
mov rax, r15
xor edx, edx
div rbp
mov r13, rdx
jmp 0x1400a480d
and r13, r15
jmp 0x1400a480d
mov ebx, 2
jmp 0x1400a491d
and rax, rcx
jmp 0x1400a4854
mov r13, r15
jmp 0x1400a480d
jae 0x1400a492d
mov rsi, rdi
mov rax, qword [rdi + 0x18]
test rax, rax
jns 0x1400a4996
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1400a499e
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1400f0340
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x140171f20]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rbp, 3
jb 0x1400a4a51
mov rax, rbp
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rbp
sub rax, rcx
movabs rcx, 0x3333333333333333
mov r8, rax
shr r8, 2
and rax, rcx
and r8, rcx
add r8, rax
mov rax, r8
shr rax, 4
add rax, r8
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rax, rcx
shr rax, 0x38
cmp eax, 1
ja 0x1400a4a51
lea rax, [rdx - 1]
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
cmp rdx, 2
cmovb rax, rdx
jmp 0x1400a4a59
mov rcx, rdx
call fcn.14007fb40
cmp rbx, rax
cmovbe rbx, rax
cmp rbx, rbp
mov rdi, rsi
jb 0x1400a4922
jmp 0x1400a492d
cmp r14, 4
jb 0x1400a4ab4
mov eax, dword [rbx]
mov ecx, dword [rbx + r14 - 4]
lea rax, [r14 + rax*8]
xor rax, rcx
movabs rdx, 0x9ddfea08eb382d69
imul rax, rdx
xor rcx, rax
shr rax, 0x2f
xor rax, rcx
imul rax, rdx
mov r15, rax
shr r15, 0x2f
xor r15, rax
imul r15, rdx
jmp 0x1400a466d
movabs r15, 0x9ae16a3b2f90404f
test r14, r14
je 0x1400a466d
movzx eax, byte [rbx]
mov rcx, r14
shr rcx, 1
movzx ecx, byte [rbx + rcx]
movzx edx, byte [r14 + rbx - 1]
shl rcx, 8
or rcx, rax
lea rax, [r14 + rdx*4]
imul rcx, r15
movabs rdx, 0xc949d7c7509e6557
imul rdx, rax
xor rdx, rcx
mov rax, rdx
shr rax, 0x2f
xor rax, rdx
imul r15, rax
jmp 0x1400a466d
movabs rbp, 0xb492b66fbe98f273
movabs r15, 0x9ddfea08eb382d69
mov r11, qword [rbx + r14 - 0x28]
mov rax, qword [rbx + r14 - 0x10]
mov rcx, qword [rbx + r14 - 0x38]
mov r8, qword [rbx + r14 - 0x30]
lea rdx, [rcx + rax]
mov r10, qword [rbx + r14 - 0x18]
lea rsi, [r8 + r14]
xor rsi, r10
imul rsi, r15
mov r9, r10
xor r9, rsi
shr rsi, 0x2f
xor rsi, r9
imul rsi, r15
mov r9, rsi
shr r9, 0x2f
xor r9, rsi
imul r9, r15
mov rsi, qword [rbx + r14 - 0x40]
add rsi, r14
lea r12, [rsi + r11]
mov qword [rsp + 0x28], r9
add r12, r9
rol r12, 0x2b
add r8, rcx
add r8, rsi
mov r15, r8
rol r15, 0x14
add r15, rsi
add r15, r12
add r8, r11
mov rcx, qword [rbx + r14 - 0x20]
add rcx, rdx
mov rsi, qword [rbx + r14 - 8]
add rcx, rbp
lea r13, [rsi + r11]
add r13, rcx
rol r13, 0x2b
add r10, rax
add r10, rcx
mov r12, r10
rol r12, 0x14
add r12, rcx
add r12, r13
imul r11, rbp
add r11, qword [rbx]
add r10, rsi
lea rax, [r14 - 1]
and rax, 0xffffffffffffffc0
mov qword [rsp + 0x30], rax
xor ebp, ebp
mov rcx, qword [rsp + 0x28]
add r11, r8
add r11, rdx
mov rax, qword [rbx + rbp + 8]
mov rsi, qword [rbx + rbp + 0x10]
add r11, rax
rol r11, 0x1b
add rdx, r15
mov r9, qword [rbx + rbp + 0x30]
mov qword [rsp + 0x38], r9
add rdx, r9
rol rdx, 0x16
movabs r13, 0xb492b66fbe98f273
imul r11, r13
mov r9, rdx
imul r9, r13
xor r11, r12
mov r13, qword [rbx + rbp + 0x28]
add r8, r13
mov rdx, r8
add rdx, r9
add rcx, r10
movabs r8, 0xb492b66fbe98f273
imul r15, r8
mov r9, qword [rbx + rbp + 0x18]
add r15, qword [rbx + rbp]
add r10, r9
add r10, r15
mov qword [rsp + 0x28], r11
add r10, r11
rol r10, 0x2b
add rax, rsi
add rax, r15
mov r8, rax
rol r8, 0x14
add r15, r8
add r15, r10
rol rcx, 0x1f
mov r8, rax
mov r11, rcx
movabs rax, 0xb492b66fbe98f273
imul r11, rax
add r8, r9
add r12, r11
mov rax, qword [rbx + rbp + 0x38]
add r12, qword [rbx + rbp + 0x20]
add rsi, rax
add rsi, rdx
add rsi, r12
add r13, qword [rsp + 0x38]
add r13, r12
mov rcx, r13
rol rcx, 0x14
add r12, rcx
rol rsi, 0x2b
add r12, rsi
mov r10, r13
add r10, rax
add rbp, 0x40
cmp qword [rsp + 0x30], rbp
jne 0x1400a4bdd
xor r15, r12
movabs r9, 0x9ddfea08eb382d69
imul r15, r9
xor r12, r15
shr r15, 0x2f
xor r15, r12
imul r15, r9
mov rax, r15
shr rax, 0x2f
xor rax, r15
imul rax, r9
add rax, r11
xor r8, r10
imul r8, r9
xor r10, r8
shr r8, 0x2f
xor r8, r10
imul r8, r9
mov rcx, r8
shr rcx, 0x2f
xor rcx, r8
imul rcx, r9
mov r8, rdx
shr r8, 0x2f
xor r8, rdx
movabs rdx, 0xb492b66fbe98f273
imul r8, rdx
add r8, qword [rsp + 0x28]
add r8, rcx
xor r8, rax
imul r8, r9
xor rax, r8
shr r8, 0x2f
xor r8, rax
imul r8, r9
mov r15, r8
shr r15, 0x2f
xor r15, r8
imul r15, r9
jmp 0x1400a466d
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1400f3d70
int3