Function at 0x1800dd672
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rdi, r9
mov r14, rcx
movzx eax, byte [r8 + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [r8]
cmovns rax, r8
cmovs rcx, qword [r8 + 8]
cmp rcx, 0x20
mov qword [rsp + 0x48], rdx
ja 0x1800dda10
cmp rcx, 0x10
ja 0x1800dd842
cmp rcx, 9
jae 0x1800dd7fe
cmp rcx, 4
jae 0x1800dddd4
movabs r15, 0x9ae16a3b2f90404f
test rcx, rcx
je 0x1800dd71d
movzx edx, byte [rax]
mov r9, rcx
shr r9, 1
movzx r9d, byte [rax + r9]
movzx eax, byte [rax + rcx - 1]
shl r9, 8
or r9, rdx
lea rax, [rcx + rax*4]
imul r9, r15
movabs rcx, 0xc949d7c7509e6557
imul rcx, rax
xor rcx, r9
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
imul r15, rax
mov rbp, qword [r14 + 8]
test rbp, rbp
je 0x1800dd8cd
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 0x1800dde10
mov r13, r15
cmp r15, rbp
jb 0x1800dd7a3
mov rax, r15
xor edx, edx
div rbp
mov r13, rdx
mov rax, qword [r14]
mov rax, qword [rax + r13*8]
test rax, rax
je 0x1800dd8d7
mov r12, qword [rax]
test r12, r12
je 0x1800dd8d7
lea rbx, [rbp - 1]
mov rax, qword [r12 + 8]
cmp rax, r15
je 0x1800dde24
cmp esi, 1
jbe 0x1800dda08
cmp rax, rbp
jb 0x1800dd7e7
xor edx, edx
div rbp
mov rax, rdx
cmp rax, r13
jne 0x1800dd8d7
mov r12, qword [r12]
test r12, r12
jne 0x1800dd7c3
jmp 0x1800dd8d7
mov rdx, qword [rax + rcx - 8]
lea r9, [rdx + rcx]
ror r9, cl
mov rax, qword [rax]
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
imul r15, rcx
xor r15, rdx
jmp 0x1800dd71d
movabs r11, 0xb492b66fbe98f273
imul r11, qword [rax]
mov r9, qword [rax + 8]
movabs rdx, 0x9ae16a3b2f90404f
imul rdx, qword [rax + rcx - 8]
movabs r10, 0xc3a5c85c97cb3127
imul r10, qword [rax + rcx - 0x10]
movabs rax, 0xc949d7c7509e6557
xor rax, r9
rol rax, 0x2c
add rcx, r11
add rcx, rax
sub r11, r9
rol r11, 0x15
sub rcx, rdx
rol rdx, 0x22
add rdx, r10
add rdx, r11
xor rdx, rcx
movabs rax, 0x9ddfea08eb382d69
imul rdx, rax
xor rcx, rdx
shr rdx, 0x2f
xor rdx, rcx
imul rdx, rax
mov r15, rdx
shr r15, 0x2f
xor r15, rdx
jmp 0x1800dd719
movabs r13, 0xaaaaaaaaaaaaaaaa
mov ecx, 0x28
call fcn.1801e4f08
test rax, rax
je 0x1800dde4f
mov r12, rax
mov qword [rax], 0
mov qword [rax + 8], r15
mov rcx, rax
add rcx, 0x10
cmp byte [rdi + 0x17], 0
js 0x1800dd936
mov rax, qword [rdi + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdi]
movups xmmword [rcx], xmm0
mov rax, qword [r14 + 0x18]
inc rax
jns 0x1800dd944
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x1800dd94c
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
call fcn.1800f95e8
jmp 0x1800dd913
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 0x1800dd973
cvtsi2ss xmm1, rax
addss xmm1, xmm1
jmp 0x1800dd978
mov rcx, qword [rax]
mov qword [r12], rcx
jmp 0x1800dd9e4
cvtsi2ss xmm1, rbp
movss xmm2, dword [r14 + 0x20]
je 0x1800ddb01
mulss xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x1800ddb01
mov rcx, qword [r14]
mov rax, qword [rcx + r13*8]
test rax, rax
mov r8, qword [rsp + 0x48]
jne 0x1800dd96a
lea rax, [r14 + 0x10]
mov rdx, qword [r14 + 0x10]
mov qword [r12], rdx
mov qword [r14 + 0x10], r12
mov qword [rcx + r13*8], rax
mov rax, qword [r12]
test rax, rax
je 0x1800dd9e7
mov rax, qword [rax + 8]
lea rcx, [rbp - 1]
test rbp, rcx
je 0x1800dde1c
cmp rax, rbp
jb 0x1800dd9dd
xor edx, edx
div rbp
mov rax, rdx
shl rax, 3
add rax, qword [r14]
mov qword [rax], r12
inc qword [r14 + 0x18]
mov al, 1
mov qword [r8], r12
mov byte [r8 + 8], al
mov rax, r8
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
and rax, rbx
jmp 0x1800dd7e7
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r14
cmp rcx, 0x40
ja 0x1800ddb88
mov r9, qword [rax + 0x10]
mov r11, qword [rax + 0x18]
mov r14, qword [rax + rcx - 0x10]
lea r8, [r14 + rcx]
movabs rdx, 0xc3a5c85c97cb3127
imul r8, rdx
add r8, qword [rax]
lea r10, [r8 + r11]
mov r12, r8
add r8, qword [rax + 8]
mov rsi, r8
add r8, r9
add r9, qword [rax + rcx - 0x20]
mov rdi, qword [rax + rcx - 8]
add rdi, r11
lea r13, [rdi + r9]
mov r15, r9
add r9, qword [rax + rcx - 0x18]
rol r10, 0xc
rol r12, 0x1b
rol rsi, 0x39
rol r13, 0xc
rol r15, 0x1b
add rsi, r12
mov rax, r9
rol rax, 0x39
add r9, r14
add rdi, r9
rol r9, 0x21
add r15, r11
add r15, rax
add r15, r13
add r15, r9
add r15, r8
rol r8, 0x21
add rsi, r10
add r8, rsi
movabs rax, 0x9ae16a3b2f90404f
imul r15, rax
add rdi, r8
imul rdi, rdx
add rdi, r15
mov rcx, rdi
shr rcx, 0x2f
xor rcx, rdi
imul rcx, rdx
add rcx, r8
mov r15, rcx
shr r15, 0x2f
xor r15, rcx
imul r15, rax
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
jmp 0x1800dd71d
divss xmm0, xmm2
call fcn.180203dd8
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1803507c0]
sar rdx, 0x3f
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
lea rcx, [rbp*2]
mov edx, 1
cmp rbp, 3
jb 0x1800ddb48
lea r8, [rbp - 1]
xor edx, edx
test rbp, r8
setne dl
or rdx, rcx
cmp rdx, rax
cmovbe rdx, rax
mov rcx, r14
call fcn.18014cf22
mov rbp, qword [r14 + 8]
lea r13, [rbp - 1]
test rbp, r13
je 0x1800ddb80
cmp r15, rbp
jb 0x1800dde7b
mov rax, r15
xor edx, edx
div rbp
mov r13, rdx
jmp 0x1800dd991
and r13, r15
jmp 0x1800dd991
movabs rbx, 0xb492b66fbe98f273
movabs rdi, 0x9ddfea08eb382d69
mov r12, qword [rax + rcx - 0x28]
mov rdx, qword [rax + rcx - 0x10]
mov r8, qword [rax + rcx - 0x38]
mov r10, qword [rax + rcx - 0x30]
lea r9, [r8 + rdx]
mov r15, qword [rax + rcx - 0x18]
lea rsi, [r10 + rcx]
xor rsi, r15
imul rsi, rdi
mov r11, r15
xor r11, rsi
shr rsi, 0x2f
xor rsi, r11
imul rsi, rdi
mov r11, rsi
shr r11, 0x2f
xor r11, rsi
imul r11, rdi
mov rsi, qword [rax + rcx - 0x40]
add rsi, rcx
lea rdi, [rsi + r12]
add rdi, r11
rol rdi, 0x2b
add r10, r8
add r10, rsi
mov r13, r10
rol r13, 0x14
add r13, rsi
add r13, rdi
add r10, r12
mov r8, qword [rax + rcx - 0x20]
add r8, r9
mov rsi, qword [rax + rcx - 8]
add r8, rbx
lea rdi, [rsi + r12]
add rdi, r8
rol rdi, 0x2b
add r15, rdx
add r15, r8
mov rbp, r15
rol rbp, 0x14
add rbp, r8
add rbp, rdi
imul r12, rbx
add r12, qword [rax]
add r15, rsi
dec rcx
and rcx, 0xffffffffffffffc0
xor edx, edx
mov r8, r11
add r12, r10
add r12, r9
mov rdi, qword [rax + rdx + 8]
mov rsi, qword [rax + rdx + 0x10]
add r12, rdi
rol r12, 0x1b
add r9, r13
mov r11, qword [rax + rdx + 0x30]
mov qword [rsp + 0x50], r11
add r9, r11
rol r9, 0x16
movabs r11, 0xb492b66fbe98f273
imul r12, r11
mov rbx, r9
imul rbx, r11
mov r11, r12
xor r11, rbp
mov r14, qword [rax + rdx + 0x28]
add r10, r14
mov r9, r10
add r9, rbx
add r8, r15
movabs r10, 0xb492b66fbe98f273
imul r13, r10
mov rbx, qword [rax + rdx + 0x18]
add r13, qword [rax + rdx]
add r15, rbx
add r15, r13
add r15, r11
rol r15, 0x2b
add rdi, rsi
add rdi, r13
mov r10, rdi
rol r10, 0x14
add r13, r10
add r13, r15
rol r8, 0x1f
mov r10, rdi
mov r12, r8
movabs r8, 0xb492b66fbe98f273
imul r12, r8
add r10, rbx
add rbp, r12
mov r8, qword [rax + rdx + 0x38]
add rbp, qword [rax + rdx + 0x20]
add rsi, r8
add rsi, r9
add rsi, rbp
add r14, qword [rsp + 0x50]
add r14, rbp
mov rdi, r14
rol rdi, 0x14
add rbp, rdi
rol rsi, 0x2b
add rbp, rsi
mov r15, r14
add r15, r8
add rdx, 0x40
cmp rcx, rdx
jne 0x1800ddc4d
xor r13, rbp
movabs r8, 0x9ddfea08eb382d69
imul r13, r8
xor rbp, r13
shr r13, 0x2f
xor r13, rbp
imul r13, r8
mov rax, r13
shr rax, 0x2f
xor rax, r13
imul rax, r8
add rax, r12
xor r10, r15
imul r10, r8
xor r15, r10
shr r10, 0x2f
xor r10, r15
imul r10, r8
mov rcx, r10
shr rcx, 0x2f
xor rcx, r10
imul rcx, r8
mov rdx, r9
shr rdx, 0x2f
xor rdx, r9
movabs r9, 0xb492b66fbe98f273
imul rdx, r9
add rdx, r11
add rdx, rcx
xor rdx, rax
imul rdx, r8
xor rax, rdx
shr rdx, 0x2f
xor rdx, rax
imul rdx, r8
mov r15, rdx
shr r15, 0x2f
xor r15, rdx
imul r15, r8
jmp 0x1800ddaed
mov edx, dword [rax]
mov eax, dword [rax + rcx - 4]
lea rcx, [rcx + rdx*8]
xor rcx, rax
movabs rdx, 0x9ddfea08eb382d69
imul rcx, rdx
xor rax, rcx
shr rcx, 0x2f
xor rcx, rax
imul rcx, rdx
mov r15, rcx
shr r15, 0x2f
xor r15, rcx
imul r15, rdx
jmp 0x1800dd71d
lea r13, [rbp - 1]
and r13, r15
jmp 0x1800dd7a3
and rax, rcx
jmp 0x1800dd9dd
lea rcx, [r12 + 0x10]
mov rdx, r8
mov qword [rsp + 0x30], r8
call fcn.1800d723b
mov r8, qword [rsp + 0x30]
test al, al
je 0x1800dd7f0
xor eax, eax
mov r8, qword [rsp + 0x48]
jmp 0x1800dd9ed
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
mov r13, r15
jmp 0x1800dd991