Function at 0x1800dde84
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 qword [rsp + 0x28], rdx
mov rdi, rcx
movzx eax, byte [r8 + 0x17]
mov ebx, eax
and ebx, 0x7f
test al, al
mov r14, qword [r8]
cmovns r14, r8
cmovs rbx, qword [r8 + 8]
cmp rbx, 0x20
ja 0x1800ddf86
cmp rbx, 0x10
ja 0x1800de063
cmp rbx, 9
jae 0x1800ddf40
cmp rbx, 4
jae 0x1800ddf2f
movabs r15, 0x9ae16a3b2f90404f
test rbx, rbx
je 0x1800de0ed
movzx eax, byte [r14]
mov rcx, rbx
shr rcx, 1
movzx ecx, byte [r14 + rcx]
movzx edx, byte [r14 + rbx - 1]
shl rcx, 8
or rcx, rax
lea rax, [rbx + 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 0x1800de0ed
mov eax, dword [r14]
mov ecx, dword [r14 + rbx - 4]
lea rax, [rbx + rax*8]
jmp 0x1800de0c0
mov rax, qword [r14 + rbx - 8]
lea rdx, [rax + rbx]
mov ecx, ebx
ror rdx, cl
mov rcx, qword [r14]
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 0x1800de0ed
mov qword [rsp + 0x30], rdi
cmp rbx, 0x40
ja 0x1800de42a
mov rdx, qword [r14 + 0x10]
mov r9, qword [r14 + 0x18]
mov rsi, qword [r14 + rbx - 0x10]
lea rcx, [rsi + rbx]
movabs rax, 0xc3a5c85c97cb3127
imul rcx, rax
add rcx, qword [r14]
lea r8, [rcx + r9]
rol r8, 0xc
mov r15, rcx
rol r15, 0x1b
add rcx, qword [r14 + 8]
mov r10, rcx
rol r10, 0x39
add rcx, rdx
add rdx, qword [r14 + rbx - 0x20]
mov r11, qword [r14 + rbx - 8]
add r11, r9
lea r12, [r11 + rdx]
rol r12, 0xc
mov rdi, rdx
rol rdi, 0x1b
add rdx, qword [r14 + rbx - 0x18]
add r10, r15
mov r15, rdx
rol r15, 0x39
add rdx, rsi
add r11, rdx
rol rdx, 0x21
add rdi, r9
add rdi, r15
add rdi, r12
add rdi, rdx
add rdi, rcx
rol rcx, 0x21
add r10, r8
add rcx, r10
movabs rdx, 0x9ae16a3b2f90404f
imul rdi, rdx
add r11, rcx
imul r11, rax
add r11, rdi
mov r8, r11
shr r8, 0x2f
xor r8, r11
imul r8, rax
add r8, rcx
mov r15, r8
shr r15, 0x2f
xor r15, r8
imul r15, rdx
mov rdi, qword [rsp + 0x30]
jmp 0x1800de0ed
movabs rdx, 0xb492b66fbe98f273
imul rdx, qword [r14]
mov r8, qword [r14 + 8]
movabs rax, 0x9ae16a3b2f90404f
imul rax, qword [r14 + rbx - 8]
movabs r9, 0xc3a5c85c97cb3127
imul r9, qword [r14 + rbx - 0x10]
movabs rcx, 0xc949d7c7509e6557
xor rcx, r8
rol rcx, 0x2c
add rcx, rdx
add rcx, rbx
sub rdx, r8
rol rdx, 0x15
sub rcx, rax
rol rax, 0x22
add rax, r9
add rax, rdx
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
mov rbp, qword [rdi + 8]
test rbp, rbp
je 0x1800de20e
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 0x1800de37b
mov r13, r15
cmp r15, rbp
jb 0x1800de173
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 0x1800de218
mov r12, qword [rax]
test r12, r12
je 0x1800de218
lea r9, [rbp - 1]
mov rax, qword [r12 + 8]
cmp rax, r15
je 0x1800de1c3
cmp esi, 1
jbe 0x1800de373
cmp rax, rbp
jb 0x1800de1b3
xor edx, edx
div rbp
mov rax, rdx
cmp rax, r13
jne 0x1800de218
mov r12, qword [r12]
test r12, r12
jne 0x1800de193
jmp 0x1800de218
movzx ecx, byte [r12 + 0x27]
mov eax, ecx
and eax, 0x7f
test cl, cl
mov r8, qword [r12 + 0x18]
mov rdx, rax
cmovs rdx, r8
cmp rdx, rbx
jne 0x1800de1b8
test cl, cl
js 0x1800de34f
test al, al
je 0x1800de202
xor ecx, ecx
mov dl, byte [r12 + rcx + 0x10]
cmp dl, byte [r14 + rcx]
jne 0x1800de1b8
inc rcx
cmp rax, rcx
jne 0x1800de1ef
xor eax, eax
mov rsi, qword [rsp + 0x28]
jmp 0x1800de2f5
movabs r13, 0xaaaaaaaaaaaaaaaa
mov ecx, 0x30
call fcn.1801e4f08
test rax, rax
je 0x1800de67f
mov r12, rax
mov rax, qword [rsp + 0xb0]
mov qword [r12], 0
mov qword [r12 + 8], r15
mov rcx, r12
add rcx, 0x10
mov rax, qword [rax]
cmp byte [rax + 0x17], 0
js 0x1800de411
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
mov rsi, qword [rsp + 0x28]
mov dword [r12 + 0x28], 0
mov rax, qword [rdi + 0x18]
inc rax
jns 0x1800de296
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1800de29e
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 0x1800de2bc
cvtsi2ss xmm1, rax
addss xmm1, xmm1
jmp 0x1800de2c1
cvtsi2ss xmm1, rbp
movss xmm2, dword [rdi + 0x20]
je 0x1800de38c
mulss xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x1800de38c
mov rcx, qword [rdi]
mov rax, qword [rcx + r13*8]
test rax, rax
je 0x1800de30f
mov rcx, qword [rax]
mov qword [r12], rcx
mov qword [rax], r12
inc qword [rdi + 0x18]
mov al, 1
mov qword [rsi], r12
mov byte [rsi + 8], al
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
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 0x1800de2ef
mov rax, qword [rax + 8]
lea rcx, [rbp - 1]
test rbp, rcx
je 0x1800de387
cmp rax, rbp
jb 0x1800de346
xor edx, edx
div rbp
mov rax, rdx
shl rax, 3
add rax, qword [rdi]
jmp 0x1800de2ec
mov rcx, qword [r12 + 0x10]
mov rdx, r14
mov qword [rsp + 0x30], r9
call fcn.1801e80b0
mov r9, qword [rsp + 0x30]
test eax, eax
je 0x1800de202
jmp 0x1800de1b8
and rax, r9
jmp 0x1800de1b3
lea r13, [rbp - 1]
and r13, r15
jmp 0x1800de173
and rax, rcx
jmp 0x1800de346
divss xmm0, xmm2
call fcn.180203dd8
cvttss2si rcx, xmm0
mov rdx, rcx
sar rdx, 0x3f
subss xmm0, dword [0x1803507c0]
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
lea rcx, [rbp*2]
cmp rbp, 3
jb 0x1800de402
lea r8, [rbp - 1]
xor edx, edx
test rbp, r8
setne dl
or rdx, rcx
cmp rdx, rax
cmovbe rdx, rax
mov rcx, rdi
call fcn.18014d1fa
mov rbp, qword [rdi + 8]
lea r13, [rbp - 1]
test rbp, r13
je 0x1800de409
cmp r15, rbp
jb 0x1800de422
mov rax, r15
xor edx, edx
div rbp
mov r13, rdx
jmp 0x1800de2d9
mov edx, 1
jmp 0x1800de3ce
and r13, r15
jmp 0x1800de2d9
mov rdx, qword [rax]
mov r8, qword [rax + 8]
call fcn.1800f95e8
jmp 0x1800de265
mov r13, r15
jmp 0x1800de2d9
movabs r13, 0xb492b66fbe98f273
movabs rdi, 0x9ddfea08eb382d69
mov r11, qword [r14 + rbx - 0x28]
mov rax, qword [r14 + rbx - 0x10]
mov rcx, qword [r14 + rbx - 0x38]
mov r8, qword [r14 + rbx - 0x30]
lea rdx, [rcx + rax]
mov r10, qword [r14 + rbx - 0x18]
lea rsi, [r8 + rbx]
xor rsi, r10
imul rsi, rdi
mov r9, r10
xor r9, rsi
shr rsi, 0x2f
xor rsi, r9
imul rsi, rdi
mov r9, rsi
shr r9, 0x2f
xor r9, rsi
imul r9, rdi
mov rsi, qword [r14 + rbx - 0x40]
add rsi, rbx
lea rdi, [rsi + r11]
add rdi, r9
rol rdi, 0x2b
add r8, rcx
add r8, rsi
mov r15, r8
rol r15, 0x14
add r15, rsi
add r15, rdi
add r8, r11
mov rcx, qword [r14 + rbx - 0x20]
add rcx, rdx
mov rsi, qword [r14 + rbx - 8]
add rcx, r13
lea rdi, [rsi + r11]
add rdi, rcx
rol rdi, 0x2b
add r10, rax
add r10, rcx
mov r12, r10
rol r12, 0x14
add r12, rcx
add r12, rdi
imul r11, r13
add r11, qword [r14]
add r10, rsi
lea rax, [rbx - 1]
and rax, 0xffffffffffffffc0
mov qword [rsp + 0x38], rax
xor r13d, r13d
mov rbp, r9
add r11, r8
add r11, rdx
mov rsi, qword [r14 + r13 + 8]
mov rdi, qword [r14 + r13 + 0x10]
add r11, rsi
rol r11, 0x1b
add rdx, r15
mov rax, qword [r14 + r13 + 0x30]
mov qword [rsp + 0x40], rax
add rdx, rax
rol rdx, 0x16
movabs rcx, 0xb492b66fbe98f273
imul r11, rcx
mov rax, rdx
imul rax, rcx
mov r9, r11
xor r9, r12
mov rcx, qword [r14 + r13 + 0x28]
add r8, rcx
mov rdx, r8
add rdx, rax
add rbp, r10
movabs rax, 0xb492b66fbe98f273
imul r15, rax
mov rax, qword [r14 + r13 + 0x18]
add r15, qword [r14 + r13]
add r10, rax
add r10, r15
add r10, r9
rol r10, 0x2b
add rsi, rdi
add rsi, r15
mov r8, rsi
rol r8, 0x14
add r15, r8
add r15, r10
rol rbp, 0x1f
mov r8, rsi
mov r11, rbp
movabs r10, 0xb492b66fbe98f273
imul r11, r10
add r8, rax
add r12, r11
mov rax, qword [r14 + r13 + 0x38]
add r12, qword [r14 + r13 + 0x20]
add rdi, rax
add rdi, rdx
add rdi, r12
add rcx, qword [rsp + 0x40]
add rcx, r12
mov r10, rcx
rol r10, 0x14
add r12, r10
rol rdi, 0x2b
add r12, rdi
mov r10, rcx
add r10, rax
add r13, 0x40
cmp qword [rsp + 0x38], r13
jne 0x1800de4f6
xor r15, r12
movabs rsi, 0x9ddfea08eb382d69
imul r15, rsi
xor r12, r15
shr r15, 0x2f
xor r15, r12
imul r15, rsi
mov rax, r15
shr rax, 0x2f
xor rax, r15
imul rax, rsi
add rax, r11
xor r8, r10
imul r8, rsi
xor r10, r8
shr r8, 0x2f
xor r8, r10
imul r8, rsi
mov rcx, r8
shr rcx, 0x2f
xor rcx, r8
imul rcx, rsi
mov r8, rdx
shr r8, 0x2f
xor r8, rdx
movabs rdx, 0xb492b66fbe98f273
imul r8, rdx
add r8, r9
add r8, rcx
xor r8, rax
imul r8, rsi
xor rax, r8
shr r8, 0x2f
xor r8, rax
imul r8, rsi
mov r15, r8
shr r15, 0x2f
xor r15, r8
imul r15, rsi
jmp 0x1800de059
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, 0x28
call fcn.18027be54
int3