Function at 0x1400180f8
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov rsi, r9
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rcx
mov r14, qword [rsp + 0x110]
movabs r15, 0x3fffffffffffffc
mov rbx, qword [r14]
mov rax, qword [r9]
cmp rax, rbx
cmova rbx, rax
test rbx, rbx
mov r13d, 1
cmove rbx, r13
mov rcx, rbx
call fcn.1400154ec
mov rdi, rax
mov rcx, rbx
call fcn.1400154ec
mov r12, rax
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
mov rbp, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rax, rbp
cmovb rbp, rax
lea rsi, [rbp*8]
mov r8, rsi
call fcn.140085310
mov rdx, qword [rdi]
sub rdx, rbp
shl rdx, 3
add rsi, qword [rdi + 8]
mov rcx, rsi
call fcn.14007a7d4
mov rax, qword [r12]
mov rcx, qword [r12 + 8]
mov rbp, qword [r14]
mov rdx, qword [r14 + 8]
cmp rax, rbp
cmovb rbp, rax
lea rsi, [rbp*8]
mov r8, rsi
call fcn.140085310
mov rdx, qword [r12]
sub rdx, rbp
shl rdx, 3
add rsi, qword [r12 + 8]
mov rcx, rsi
call fcn.14007a7d4
lea rsi, [rbx + 1]
mov rcx, rsi
call fcn.1400154ec
mov qword [rsp + 0x50], rax
mov rcx, rsi
call fcn.1400154ec
mov qword [rsp + 0x40], rax
mov rcx, rbx
call fcn.1400154ec
mov qword [rsp + 0x60], rax
mov rsi, rbx
shl rsi, 7
mov qword [rsp + 0x88], rbx
lea rcx, [rbx*4]
and rcx, r15
call fcn.1400154ec
mov r14, rax
mov qword [rsp + 0x48], rsi
test rsi, rsi
je 0x1400182e4
mov rsi, qword [rsp + 0x48]
mov rcx, r12
mov rdx, rdi
call fcn.1400164c0
mov ebp, eax
mov rax, qword [rdi + 8]
mov r15d, dword [rax]
mov eax, r15d
mov rcx, qword [r12 + 8]
xor ebp, r15d
and r15d, dword [rcx]
and eax, 1
and r15d, 1
and ebp, r15d
xor ebp, eax
mov rcx, rdi
mov rdx, r12
mov r8d, ebp
call fcn.1400156b1
mov rax, r15
neg rax
mov ebx, eax
and ebx, 1
mov rdx, qword [rdi]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov r8, rdi
mov r9, r12
call fcn.14001641d
mov r8d, 1
mov rcx, rdi
mov rdx, rdi
call fcn.140015f0c
lea rdx, [r13 - 1]
mov rcx, r14
mov r8d, r15d
call fcn.140015b77
mov rcx, r14
mov rdx, r13
mov r8d, ebp
call fcn.140015b77
add r13, 2
dec rsi
jne 0x140018241
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140018311
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], 0xffffffffffffffff
mov r8, rdi
mov r9, r12
call fcn.14001641d
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
or rax, rdx
mov r15, qword [rsp + 0x50]
je 0x14001866e
cmp qword [rdi], 0
je 0x14001833b
mov rax, qword [rdi + 8]
mov rax, qword [rax]
and eax, 1
jmp 0x14001833d
xor eax, eax
mov rcx, qword [r15 + 8]
mov qword [rcx], rax
cmp qword [r12], 0
je 0x140018358
mov rax, qword [r12 + 8]
mov rax, qword [rax]
and eax, 1
jmp 0x14001835a
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
mov rsi, qword [r15]
mov rdx, qword [r15 + 8]
cmp rax, rsi
cmovb rsi, rax
lea rbp, [rsi*8]
mov r8, rbp
call fcn.140085310
mov rdx, qword [rdi]
sub rdx, rsi
shl rdx, 3
add rbp, qword [rdi + 8]
mov rcx, rbp
call fcn.14007a7d4
mov rax, qword [r12]
mov rcx, qword [r12 + 8]
mov rsi, qword [rbx]
mov rdx, qword [rbx + 8]
cmp rax, rsi
cmovb rsi, rax
lea rbp, [rsi*8]
mov r8, rbp
call fcn.140085310
mov rdx, qword [r12]
sub rdx, rsi
shl rdx, 3
add rbp, qword [r12 + 8]
mov rcx, rbp
call fcn.14007a7d4
mov qword [rsp + 0x78], r12
mov rax, qword [r12 + 8]
mov ebp, dword [rax]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
mov qword [rsp + 0x80], r14
je 0x140018552
dec rcx
mov r12, qword [rsp + 0x88]
shl r12, 8
add r12, 0xfffffffffffffffe
xorps xmm6, xmm6
mov r13, qword [rsp + 0x50]
mov r15, qword [rsp + 0x78]
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x48], rcx
shr rcx, 5
movabs rax, 0x3fffffffffffffc
add rax, 3
and rax, rcx
mov rcx, qword [rsp + 0x80]
cmp qword [rcx], rax
mov dword [rsp + 0x58], ebp
jbe 0x14001846b
mov rcx, qword [rcx + 8]
mov rsi, qword [rcx + rax*8]
mov ecx, r12d
and ecx, 0x3e
mov rbp, rsi
shr rbp, cl
and ebp, 1
jmp 0x140018475
mov ecx, r12d
and ecx, 0x3e
xor ebp, ebp
xor esi, esi
or cl, 1
shr rsi, cl
and esi, 1
mov rdx, qword [r13]
mov rcx, qword [r13 + 8]
mov rbx, qword [rcx]
and ebx, 1
neg rbx
movups xmmword [rsp + 0x28], xmm6
mov qword [rsp + 0x20], rbx
mov r8, r13
mov r9, r15
call fcn.14001641d
mov rdx, qword [r14]
mov rcx, qword [r14 + 8]
movups xmmword [rsp + 0x28], xmm6
mov qword [rsp + 0x20], rbx
mov r8, r14
mov r9, rdi
call fcn.14001641d
mov r8d, 1
mov rcx, r13
mov rdx, r13
call fcn.140015f0c
neg rbp
mov rdx, qword [r14]
mov rcx, qword [r14 + 8]
movups xmmword [rsp + 0x28], xmm6
mov qword [rsp + 0x20], rbp
mov r8, r14
mov r9, r13
call fcn.14001641d
mov r8d, 1
mov rcx, rdi
mov rdx, rdi
call fcn.140016d27
mov rdx, qword [rdi]
mov rcx, qword [rdi + 8]
movups xmmword [rsp + 0x28], xmm6
mov qword [rsp + 0x20], rbp
mov r8, rdi
mov r9, r15
call fcn.14001641d
mov rcx, rdi
mov rdx, r15
mov r8d, esi
call fcn.1400156b1
mov rcx, r13
mov rdx, r14
mov r8d, esi
call fcn.1400156b1
mov ebp, dword [rsp + 0x58]
xor ebp, esi
add r12, 0xfffffffffffffffe
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffff
jb 0x140018427
mov rbx, qword [rsp + 0x60]
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
mov r14d, 1
mov qword [rsp + 0x30], r14
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r12, qword [rsp + 0x78]
mov r8, r12
mov r15, qword [rsp + 0x50]
mov r9, r15
call fcn.14001641d
mov rcx, r15
mov rdx, r15
mov r8, rbx
mov r9d, ebp
call fcn.140015662
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r8, rdi
mov rsi, qword [rsp + 0x40]
mov r9, rsi
call fcn.14001641d
mov rcx, rsi
mov rdx, rsi
mov r8, rbx
mov r9d, ebp
call fcn.140015662
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14001861c
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov rsi, qword [r15]
mov rdx, qword [r15 + 8]
cmp rax, rsi
cmovb rsi, rax
lea rbp, [rsi*8]
mov r8, rbp
call fcn.140085310
mov rdx, qword [rbx]
sub rdx, rsi
shl rdx, 3
add rbp, qword [rbx + 8]
mov rcx, rbp
call fcn.14007a7d4
mov rbx, qword [rsp + 0x70]
test rbx, rbx
mov r14, qword [rsp + 0x80]
je 0x14001866e
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov rdx, qword [rsp + 0x40]
mov rsi, qword [rdx]
mov rdx, qword [rdx + 8]
cmp rax, rsi
cmovb rsi, rax
lea rbp, [rsi*8]
mov r8, rbp
call fcn.140085310
mov rdx, qword [rbx]
sub rdx, rsi
shl rdx, 3
add rbp, qword [rbx + 8]
mov rcx, rbp
call fcn.14007a7d4
mov rcx, rdi
call fcn.1400155c3
mov rcx, r12
call fcn.1400155c3
mov rcx, r15
call fcn.1400155c3
mov rcx, qword [rsp + 0x40]
call fcn.1400155c3
mov rcx, qword [rsp + 0x60]
call fcn.1400155c3
mov rcx, r14
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400155c3