Function at 0x14010f590
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 r14, rdx
mov rdi, rcx
movzx eax, byte [r8 + 0x17]
mov ebx, eax
and ebx, 0x7f
test al, al
mov r11, qword [r8]
cmovns r11, r8
cmovs rbx, qword [r8 + 8]
cmp rbx, 0x20
ja 0x14010fa66
cmp rbx, 0x10
ja 0x14010f9c0
cmp rbx, 9
jae 0x14010f8d7
cmp rbx, 4
jae 0x14010f899
movabs r15, 0x9ae16a3b2f90404f
test rbx, rbx
je 0x14010f638
movzx eax, byte [r11]
mov rcx, rbx
shr rcx, 1
movzx ecx, byte [r11 + rcx]
movzx edx, byte [rbx + r11 - 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
mov rbp, qword [rdi + 8]
test rbp, rbp
je 0x14010fa4f
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 0x14010f91d
mov r13, r15
cmp r15, rbp
jb 0x14010f6be
mov rax, r15
xor edx, edx
div rbp
mov r13, rdx
mov rax, qword [rdi]
mov rax, qword [rax + r13*8]
test rax, rax
jne 0x14010f7fd
mov ecx, 0x30
call fcn.14016ecd4
mov rcx, rax
add rcx, 0x10
je 0x14010fb50
mov r12, rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
cmp byte [rax + 0x17], 0
js 0x14010fb7c
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
mov dword [r12 + 0x28], 0
mov qword [r12 + 8], r15
mov qword [r12], 0
mov rax, qword [rdi + 0x18]
inc rax
js 0x14010f734
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
jmp 0x14010f74c
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, rbp
shr rcx, 1
mov eax, ebp
and eax, 1
or rax, rcx
test rbp, rbp
js 0x14010f766
cvtsi2ss xmm1, rbp
jmp 0x14010f76f
cvtsi2ss xmm1, rax
addss xmm1, xmm1
movss xmm2, dword [rdi + 0x20]
je 0x14010f929
mulss xmm1, xmm2
ucomiss xmm0, xmm1
ja 0x14010f929
mov rcx, qword [rdi]
mov rax, qword [rcx + r13*8]
test rax, rax
jne 0x14010f88d
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 0x14010f7dc
mov rax, qword [rax + 8]
lea rcx, [rbp - 1]
test rbp, rcx
je 0x14010f9b1
cmp rax, rbp
jb 0x14010f7d2
xor edx, edx
div rbp
mov rax, rdx
shl rax, 3
add rax, qword [rdi]
mov qword [rax], r12
inc qword [rdi + 0x18]
mov cl, 1
mov qword [r14], r12
mov byte [r14 + 8], cl
mov rax, r14
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, qword [rax]
test r12, r12
je 0x14010f6ce
mov rax, qword [r12 + 8]
cmp rax, r15
je 0x14010f832
cmp esi, 1
jbe 0x14010f9a5
cmp rax, rbp
jb 0x14010f829
xor edx, edx
div rbp
mov rax, rdx
cmp rax, r13
jne 0x14010f6ce
movzx edx, byte [r12 + 0x27]
mov eax, edx
and eax, 0x7f
mov rcx, rax
test dl, dl
jns 0x14010f849
mov rcx, qword [r12 + 0x18]
cmp rcx, rbx
jne 0x14010f884
lea rcx, [r12 + 0x10]
test dl, dl
jns 0x14010f85a
mov rcx, qword [rcx]
js 0x14010fe0b
test al, al
je 0x14010fe2d
xor edx, edx
mov cl, byte [r12 + rdx + 0x10]
cmp cl, byte [r11 + rdx]
jne 0x14010f884
inc rdx
xor ecx, ecx
cmp rax, rdx
jne 0x14010f86a
jmp 0x14010f7e2
mov r12, qword [r12]
jmp 0x14010f800
mov rcx, qword [rax]
mov qword [r12], rcx
jmp 0x14010f7d9
mov eax, dword [r11]
mov ecx, dword [r11 + rbx - 4]
lea rax, [rbx + 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 0x14010f638
mov rax, qword [r11 + rbx - 8]
lea rdx, [rax + rbx]
mov ecx, ebx
ror rdx, cl
mov rcx, qword [r11]
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 0x14010f638
lea r13, [rbp - 1]
and r13, r15
jmp 0x14010f6be
divss xmm0, xmm2
call fcn.14019036c
cvttss2si rcx, xmm0
mov rdx, rcx
sar rdx, 0x3f
subss xmm0, dword [0x1402eebd8]
cvttss2si rax, xmm0
and rax, rdx
or rax, rcx
mov rcx, rbp
add rcx, rbp
cmp rbp, 3
jb 0x14010f9b9
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.14010fe3c
mov rbp, qword [rdi + 8]
lea r13, [rbp - 1]
test rbp, r13
je 0x14010fa5e
cmp r15, rbp
jb 0x14010fe34
mov rax, r15
xor edx, edx
div rbp
mov r13, rdx
jmp 0x14010f787
lea rcx, [rbp - 1]
and rax, rcx
jmp 0x14010f829
and rax, rcx
jmp 0x14010f7d2
mov edx, 1
jmp 0x14010f969
movabs rcx, 0xb492b66fbe98f273
imul rcx, qword [r11]
mov rdx, qword [r11 + 8]
movabs rax, 0x9ae16a3b2f90404f
imul rax, qword [r11 + rbx - 8]
movabs r8, 0xc3a5c85c97cb3127
imul r8, qword [r11 + rbx - 0x10]
movabs r9, 0xc949d7c7509e6557
xor r9, rdx
rol r9, 0x2c
add r9, rcx
add r9, rbx
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
imul r15, rcx
jmp 0x14010f638
movabs r13, 0xaaaaaaaaaaaaaaaa
jmp 0x14010f6ce
and r13, r15
jmp 0x14010f787
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x40], r14
cmp rbx, 0x40
ja 0x14010fb8d
mov r14, qword [rsp + 0x30]
mov rcx, qword [r14 + 0x10]
mov r9, qword [r14 + 0x18]
mov r11, qword [r14 + rbx - 0x10]
lea rdx, [r11 + rbx]
movabs rax, 0xc3a5c85c97cb3127
imul rdx, rax
add rdx, qword [r14]
lea r8, [rdx + r9]
rol r8, 0xc
mov r15, rdx
rol r15, 0x1b
add rdx, qword [r14 + 8]
mov r10, rdx
rol r10, 0x39
add rdx, rcx
add rcx, qword [r14 + rbx - 0x20]
mov rsi, qword [r14 + rbx - 8]
add rsi, r9
lea r12, [rsi + rcx]
rol r12, 0xc
mov r13, rcx
rol r13, 0x1b
add rcx, qword [r14 + rbx - 0x18]
add r10, r15
mov r15, rcx
rol r15, 0x39
add rcx, r11
mov r11, r14
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 r14, qword [rsp + 0x40]
jmp 0x14010f638
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1401c469a
mov rdx, qword [rax]
mov r8, qword [rax + 8]
call fcn.14003d5a6
jmp 0x14010f70b
movabs r13, 0xb492b66fbe98f273
movabs r14, 0x9ddfea08eb382d69
mov rbp, qword [rsp + 0x30]
mov r11, qword [rbp + rbx - 0x28]
mov rax, qword [rbp + rbx - 0x10]
mov rcx, qword [rbp + rbx - 0x38]
mov r10, qword [rbp + rbx - 0x30]
lea rdx, [rcx + rax]
mov r9, qword [rbp + rbx - 0x18]
lea rsi, [r10 + rbx]
xor rsi, r9
imul rsi, r14
mov r8, r9
xor r8, rsi
shr rsi, 0x2f
xor rsi, r8
imul rsi, r14
mov r8, rsi
shr r8, 0x2f
xor r8, rsi
imul r8, r14
mov rsi, qword [rbp + rbx - 0x40]
add rsi, rbx
lea r12, [rsi + r11]
mov qword [rsp + 0x38], r8
add r12, r8
rol r12, 0x2b
add r10, rcx
add r10, rsi
mov r15, r10
rol r15, 0x14
add r15, rsi
add r15, r12
add r10, r11
mov rcx, qword [rbp + rbx - 0x20]
add rcx, rdx
mov r12, qword [rbp + rbx - 8]
mov r8, r13
add rcx, r13
lea r13, [r12 + r11]
add r13, rcx
rol r13, 0x2b
add r9, rax
add r9, rcx
mov rsi, r9
rol rsi, 0x14
add rsi, rcx
add rsi, r13
imul r11, r8
add r11, qword [rbp]
add r9, r12
lea rax, [rbx - 1]
and rax, 0xffffffffffffffc0
mov qword [rsp + 0x48], rax
xor r13d, r13d
mov r14, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add r11, r10
add r11, rdx
mov rax, qword [r14 + r13 + 8]
mov rbp, qword [r14 + r13 + 0x10]
add r11, rax
rol r11, 0x1b
add rdx, r15
mov r8, qword [r14 + r13 + 0x30]
mov qword [rsp + 0x50], r8
add rdx, r8
rol rdx, 0x16
movabs r12, 0xb492b66fbe98f273
imul r11, r12
mov r8, rdx
imul r8, r12
xor r11, rsi
mov r12, qword [r14 + r13 + 0x28]
add r10, r12
mov rdx, r10
add rdx, r8
add rcx, r9
movabs r8, 0xb492b66fbe98f273
imul r15, r8
mov r8, qword [r14 + r13 + 0x18]
add r15, qword [r14 + r13]
add r9, r8
add r9, r15
mov qword [rsp + 0x38], r11
add r9, r11
rol r9, 0x2b
add rax, rbp
add rax, r15
mov r10, rax
rol r10, 0x14
add r15, r10
add r15, r9
rol rcx, 0x1f
mov r10, rax
mov r11, rcx
movabs rax, 0xb492b66fbe98f273
imul r11, rax
add r10, r8
add rsi, r11
mov rax, qword [r14 + r13 + 0x38]
add rsi, qword [r14 + r13 + 0x20]
add rbp, rax
add rbp, rdx
add rbp, rsi
add r12, qword [rsp + 0x50]
add r12, rsi
mov rcx, r12
rol rcx, 0x14
add rsi, rcx
rol rbp, 0x2b
add rsi, rbp
mov r9, r12
add r9, rax
add r13, 0x40
cmp qword [rsp + 0x48], r13
jne 0x14010fc6c
xor r15, rsi
movabs r14, 0x9ddfea08eb382d69
imul r15, r14
mov rcx, r15
shr rcx, 0x2f
xor rcx, rsi
xor rcx, r15
imul rcx, r14
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
imul rax, r14
add rax, r11
xor r10, r9
imul r10, r14
mov rcx, r10
shr rcx, 0x2f
xor rcx, r9
xor rcx, r10
imul rcx, r14
mov r8, rcx
shr r8, 0x2f
xor r8, rcx
imul r8, r14
mov rcx, rdx
shr rcx, 0x2f
xor rcx, rdx
movabs rdx, 0xb492b66fbe98f273
imul rcx, rdx
add rcx, qword [rsp + 0x38]
add rcx, r8
xor rcx, rax
imul rcx, r14
xor rax, rcx
shr rcx, 0x2f
xor rcx, rax
imul rcx, r14
mov r15, rcx
shr r15, 0x2f
xor r15, rcx
imul r15, r14
mov r14, qword [rsp + 0x40]
mov r11, qword [rsp + 0x30]
jmp 0x14010f638
test rbx, rbx
je 0x14010fe2d
mov rdx, r11
mov qword [rsp + 0x30], r11
mov r8, rbx
call fcn.140172fb0
mov r11, qword [rsp + 0x30]
test eax, eax
jne 0x14010f884
xor ecx, ecx
jmp 0x14010f7e2
mov r13, r15
jmp 0x14010f787