Function at 0x1400a6450
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
push rbp
push rdi
sub rsp, 0xd8
cmp byte [rcx + 0x1961], 0
mov r9, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400a6fb7
mov rax, qword [rcx + 0x1958]
cmp rax, 1
ja 0x1400a6fcc
mov r8, qword [rdi + 0xb08]
mov rdx, qword [rdi + 0xb00]
mov qword [r11 - 0x18], rsi
mov qword [r11 - 0x30], r14
mov r14, qword [rcx + 8]
mov qword [r11 - 0x38], r15
mov r15, qword [rcx + 0x10]
mov rcx, r14
sub rcx, r15
mov qword [rsp + 0xf0], r8
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x108], rdx
test rax, rax
jne 0x1400a6ebd
mov qword [r11 + 0x10], rbx
lea r9, [rcx - 1]
mov qword [r11 - 0x20], r12
xor esi, esi
mov qword [r11 - 0x28], r13
mov ebx, esi
movaps xmmword [r11 - 0x48], xmm6
movaps xmmword [r11 - 0x58], xmm7
movaps xmmword [r11 - 0x68], xmm8
test r9, r9
js 0x1400a6616
lea r10, [rbp + 0x38]
cmp rcx, 4
jl 0x1400a65d7
mov r12, 0xffffffffffffffff
lea r8, [r15*8 + 0x18]
mov r13, r15
mov rsi, 0xfffffffffffffffd
sub r12, r15
neg r13
sub rsi, r15
mov r11, rcx
shr r11, 2
lea rbx, [r11*4]
nop dword [rax + rax]
mov rax, qword [rdi + 0x1df0]
lea rdx, [r8 + rsi*8]
mov rcx, qword [r10]
movsd xmm0, qword [rdx + rax]
mulsd xmm0, qword [r8 + rcx - 0x18]
movsd qword [r8 + rcx - 0x18], xmm0
mov rax, qword [rdi + 0x1df0]
mov rcx, qword [r10]
movsd xmm0, qword [rdx + rax + 8]
mulsd xmm0, qword [r8 + rcx - 0x10]
movsd qword [r8 + rcx - 0x10], xmm0
lea rcx, [r8 + r12*8]
mov rax, qword [rdi + 0x1df0]
mov rdx, qword [r10]
movsd xmm0, qword [rcx + rax]
lea rcx, [r8 + r13*8]
mulsd xmm0, qword [r8 + rdx - 8]
lea r8, [r8 + 0x20]
movsd qword [r8 + rdx - 0x28], xmm0
mov rax, qword [rdi + 0x1df0]
mov rdx, qword [r10]
movsd xmm0, qword [rcx + rax]
mulsd xmm0, qword [r8 + rdx - 0x20]
movsd qword [r8 + rdx - 0x20], xmm0
sub r11, 1
jne 0x1400a6540
mov rsi, r11
cmp rbx, r9
jg 0x1400a6616
lea r8, [rbx + r15]
mov r11, r15
shl r8, 3
neg r11
sub r9, rbx
inc r9
mov rax, qword [rdi + 0x1df0]
lea rcx, [r8 + r11*8]
mov rdx, qword [r10]
lea r8, [r8 + 8]
movsd xmm0, qword [rcx + rax]
mulsd xmm0, qword [r8 + rdx - 8]
movsd qword [r8 + rdx - 8], xmm0
sub r9, 1
jne 0x1400a65eb
movsd xmm8, qword [0x140215ec0]
lea rcx, [rdi + 0x850]
mov r12, qword [rsp + 0x100]
mov r9, rbp
mov qword [rsp + 0x40], r12
xor r8d, r8d
mov qword [rsp + 0x38], r14
movaps xmm1, xmm8
mov qword [rsp + 0x30], rbp
movsd qword [rsp + 0x28], xmm8
mov qword [rsp + 0x20], r15
call fcn.14004ea40
mov r13, qword [rsp + 0x108]
lea rbx, [rdi + 0x4d10]
add r13, qword [rsp + 0xf0]
cmp qword [rbx], r13
jge 0x1400a6682
mov r8, r12
mov rdx, r13
mov rcx, rbx
call fcn.14003e440
lea r10, [r13 - 1]
mov r8, rsi
test r10, r10
js 0x1400a67b0
cmp r13, 4
jl 0x1400a6780
lea r11, [r10 + 1]
mov r9d, 0x10
shr r11, 2
lea r8, [r11*4]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbp + 0x38]
lea rdx, [r9 + r14*8]
mov rcx, qword [rdi + 0x1e30]
movsd xmm0, qword [rax + rdx - 0x10]
divsd xmm0, qword [r9 + rcx - 0x10]
mov rax, qword [rdi + 0x4d48]
movsd qword [r9 + rax - 0x10], xmm0
mov rax, qword [rbp + 0x38]
mov rcx, qword [rdi + 0x1e30]
movsd xmm0, qword [rax + rdx - 8]
lea rdx, [r9 + r14*8]
divsd xmm0, qword [r9 + rcx - 8]
mov rax, qword [rdi + 0x4d48]
movsd qword [rax + r9 - 8], xmm0
mov rax, qword [rbp + 0x38]
mov rcx, qword [rdi + 0x1e30]
movsd xmm0, qword [rdx + rax]
divsd xmm0, qword [r9 + rcx]
mov rax, qword [rdi + 0x4d48]
movsd qword [r9 + rax], xmm0
mov rax, qword [rdi + 0x1e30]
mov rcx, qword [rbp + 0x38]
add rcx, r9
movsd xmm0, qword [rcx + r14*8 + 8]
divsd xmm0, qword [r9 + rax + 8]
mov rax, qword [rdi + 0x4d48]
movsd qword [r9 + rax + 8], xmm0
add r9, 0x20
sub r11, 1
jne 0x1400a66c0
cmp r8, r10
jg 0x1400a67b0
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbp + 0x38]
lea rcx, [rax + r8*8]
mov rax, qword [rdi + 0x1e30]
movsd xmm0, qword [rcx + r14*8]
divsd xmm0, qword [rax + r8*8]
mov rax, qword [rdi + 0x4d48]
movsd qword [rax + r8*8], xmm0
inc r8
cmp r8, r10
jle 0x1400a6780
movsd xmm7, qword [0x140216160]
lea rcx, [rdi + 0x6e0]
mov qword [rsp + 0x40], r12
mov r9, rbx
mov qword [rsp + 0x38], rsi
mov r8d, 1
mov qword [rsp + 0x30], rbp
movaps xmm1, xmm7
movsd qword [rsp + 0x28], xmm8
mov qword [rsp + 0x20], rsi
call fcn.14004ea40
mov rax, qword [rsp + 0xf0]
lea r9, [rdi + 0x520]
mov rdx, qword [rsp + 0x108]
movaps xmm2, xmm7
mov qword [rsp + 0x58], rsi
mov rcx, r15
mov qword [rsp + 0x50], rbp
movsd qword [rsp + 0x48], xmm8
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.140047830
movaps xmm6, xmmword [0x140216560]
lea r8, [r15 - 1]
mov rcx, rsi
test r8, r8
js 0x1400a6979
cmp r15, 8
jb 0x1400a68e2
mov r9, qword [rbp + 0x38]
lea rax, [rbp + 0x38]
lea rdx, [r9 + r8*8]
cmp r9, rax
ja 0x1400a6872
cmp rdx, rax
jae 0x1400a68e2
mov rax, r15
cqo
and edx, 7
add rax, rdx
and eax, 7
sub rax, rdx
mov rdx, r8
sub rdx, rax
mov eax, 0x20
nop
movups xmm0, xmmword [r9 + rax - 0x20]
add rcx, 8
lea rax, [rax + 0x40]
xorps xmm0, xmm6
movups xmmword [r9 + rax - 0x60], xmm0
movups xmm0, xmmword [r9 + rax - 0x50]
xorps xmm0, xmm6
movups xmmword [r9 + rax - 0x50], xmm0
movups xmm1, xmmword [r9 + rax - 0x40]
xorps xmm1, xmm6
movups xmmword [r9 + rax - 0x40], xmm1
movups xmm0, xmmword [r9 + rax - 0x30]
xorps xmm0, xmm6
movups xmmword [r9 + rax - 0x30], xmm0
cmp rcx, rdx
jle 0x1400a6890
cmp rcx, r8
jg 0x1400a6979
mov rax, r8
sub rax, rcx
inc rax
cmp rax, 4
jl 0x1400a6960
lea rdx, [r8 - 3]
nop word [rax + rax]
mov rax, qword [rbp + 0x38]
movsd xmm0, qword [rax + rcx*8]
xorps xmm0, xmm6
movsd qword [rax + rcx*8], xmm0
mov rax, qword [rbp + 0x38]
movsd xmm0, qword [rax + rcx*8 + 8]
xorps xmm0, xmm6
movsd qword [rax + rcx*8 + 8], xmm0
mov rax, qword [rbp + 0x38]
movsd xmm0, qword [rax + rcx*8 + 0x10]
xorps xmm0, xmm6
movsd qword [rax + rcx*8 + 0x10], xmm0
mov rax, qword [rbp + 0x38]
movsd xmm0, qword [rax + rcx*8 + 0x18]
xorps xmm0, xmm6
movsd qword [rax + rcx*8 + 0x18], xmm0
add rcx, 4
cmp rcx, rdx
jle 0x1400a6900
cmp rcx, r8
jg 0x1400a6979
nop dword [rax + rax]
mov rax, qword [rbp + 0x38]
movsd xmm0, qword [rax + rcx*8]
xorps xmm0, xmm6
movsd qword [rax + rcx*8], xmm0
inc rcx
cmp rcx, r8
jle 0x1400a6960
mov qword [rsp + 0x48], r12
lea rdx, [rdi + 0x1d28]
mov qword [rsp + 0x38], rbp
mov rcx, r15
mov qword [rsp + 0x30], rsi
mov byte [rsp + 0x20], 0
call fcn.140048790
mov qword [rsp + 0x48], r12
lea rdx, [rdi + 0x1d28]
mov qword [rsp + 0x38], rbp
mov rcx, r15
mov qword [rsp + 0x30], 1
mov byte [rsp + 0x20], 0
call fcn.140048790
lea r9, [r14 - 1]
mov rcx, rsi
test r9, r9
js 0x1400a6a70
cmp r14, 4
jl 0x1400a6a53
lea r10, [r9 - 3]
lea rdx, [rbp + 0x38]
mov rax, qword [rdi + 0x1818]
lea r8, [rcx*8]
cmp byte [rcx + rax], 0
je 0x1400a69fd
mov rax, qword [rdx]
mov qword [r8 + rax], rsi
mov rax, qword [rdi + 0x1818]
cmp byte [rax + rcx + 1], 0
je 0x1400a6a15
mov rax, qword [rdx]
mov qword [rax + r8 + 8], rsi
jmp 0x1400a6a19
lea rdx, [rbp + 0x38]
mov rax, qword [rdi + 0x1818]
cmp byte [rax + rcx + 2], 0
je 0x1400a6a2f
mov rax, qword [rdx]
mov qword [r8 + rax + 0x10], rsi
mov rax, qword [rdi + 0x1818]
cmp byte [rax + rcx + 3], 0
je 0x1400a6a45
mov rax, qword [rdx]
mov qword [r8 + rax + 0x18], rsi
add rcx, 4
cmp rcx, r10
jle 0x1400a69e1
cmp rcx, r9
jg 0x1400a6a70
mov rax, qword [rdi + 0x1818]
cmp byte [rcx + rax], 0
je 0x1400a6a68
mov rax, qword [rbp + 0x38]
mov qword [rax + rcx*8], rsi
inc rcx
cmp rcx, r9
jle 0x1400a6a53
mov qword [rsp + 0x40], r12
lea rcx, [rdi + 0x6e0]
mov qword [rsp + 0x38], r14
mov r9, rbp
mov qword [rsp + 0x30], rbp
xor r8d, r8d
movsd qword [rsp + 0x28], xmm8
movaps xmm1, xmm7
mov qword [rsp + 0x20], rsi
call fcn.14004ea40
mov r12, qword [rsp + 0xf0]
lea r9, [rdi + 0x520]
mov rbx, qword [rsp + 0x108]
movaps xmm2, xmm7
mov rdx, r15
mov rcx, rbx
lea rax, [r12 + r14]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rbp
movsd qword [rsp + 0x48], xmm8
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.140047830
movaps xmm7, xmmword [rsp + 0x90]
lea r9, [r13 - 1]
mov r13, rsi
test r9, r9
js 0x1400a6c28
lea rdx, [rbx + r12]
cmp rdx, 4
jl 0x1400a6be8
mov r11, 0xffffffffffffffff
lea r10, [r9 + 1]
mov rbx, r14
lea r8, [r14*8 + 0x18]
mov r12, 0xfffffffffffffffd
sub r11, r14
neg rbx
sub r12, r14
shr r10, 2
lea r13, [r10*4]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x38]
lea rdx, [r8 + r12*8]
mov rax, qword [rdi + 0x1e30]
movsd xmm0, qword [r8 + rcx - 0x18]
divsd xmm0, qword [rdx + rax]
movsd qword [r8 + rcx - 0x18], xmm0
mov rcx, qword [rbp + 0x38]
mov rax, qword [rdi + 0x1e30]
movsd xmm0, qword [r8 + rcx - 0x10]
divsd xmm0, qword [rdx + rax + 8]
movsd qword [r8 + rcx - 0x10], xmm0
lea rcx, [r8 + r11*8]
mov rdx, qword [rbp + 0x38]
mov rax, qword [rdi + 0x1e30]
movsd xmm0, qword [r8 + rdx - 8]
divsd xmm0, qword [rcx + rax]
lea rcx, [r8 + rbx*8]
lea r8, [r8 + 0x20]
movsd qword [r8 + rdx - 0x28], xmm0
mov rdx, qword [rbp + 0x38]
mov rax, qword [rdi + 0x1e30]
movsd xmm0, qword [r8 + rdx - 0x20]
divsd xmm0, qword [rcx + rax]
movsd qword [r8 + rdx - 0x20], xmm0
sub r10, 1
jne 0x1400a6b50
cmp r13, r9
jg 0x1400a6c28
lea r8, [r14 + r13]
mov r10, r14
shl r8, 3
neg r10
sub r9, r13
inc r9
mov rdx, qword [rbp + 0x38]
lea rcx, [r8 + r10*8]
mov rax, qword [rdi + 0x1e30]
lea r8, [r8 + 8]
movsd xmm0, qword [r8 + rdx - 8]
divsd xmm0, qword [rcx + rax]
movsd qword [r8 + rdx - 8], xmm0
sub r9, 1
jne 0x1400a6bfc
mov r13, qword [rsp + 0x70]
lea rbx, [rdi + 0x4cd0]
mov r12, qword [rsp + 0x100]
cmp qword [rbx], r13
jge 0x1400a6c4f
mov r8, r12
mov rdx, r13
mov rcx, rbx
call fcn.14003e440
lea rdx, [r13 - 1]
mov rcx, rsi
test rdx, rdx
js 0x1400a6cc3
cmp r13, 4
jl 0x1400a6ca4
lea r8, [rdx - 3]
mov rax, qword [rdi + 0x4d08]
mov qword [rax + rcx*8], rsi
mov rax, qword [rdi + 0x4d08]
mov qword [rax + rcx*8 + 8], rsi
mov rax, qword [rdi + 0x4d08]
mov qword [rax + rcx*8 + 0x10], rsi
mov rax, qword [rdi + 0x4d08]
mov qword [rax + rcx*8 + 0x18], rsi
add rcx, 4
cmp rcx, r8
jle 0x1400a6c65
lea rbx, [rdi + 0x4cd0]
cmp rcx, rdx
jg 0x1400a6cc3
mov rax, qword [rdi + 0x4d08]
mov qword [rax + rcx*8], rsi
inc rcx
cmp rcx, rdx
jle 0x1400a6ca9
lea rbx, [rdi + 0x4cd0]
mov qword [rsp + 0x40], r12
lea rcx, [rdi + 0x850]
mov qword [rsp + 0x38], rsi
mov r9, rbp
mov qword [rsp + 0x30], rbx
mov r8d, 1
movsd qword [rsp + 0x28], xmm8
movaps xmm1, xmm8
mov qword [rsp + 0x20], r14
call fcn.14004ea40
movaps xmm8, xmmword [rsp + 0x80]
lea r10, [r13 - 1]
mov r12, qword [rsp + 0xc8]
test r10, r10
js 0x1400a6e83
cmp r13, 4
jl 0x1400a6e40
lea r11, [r10 + 1]
mov r14, 0xffffffffffffffff
mov rbx, r15
lea r9, [r15*8 + 0x18]
mov rax, 0xfffffffffffffffd
sub r14, r15
sub rax, r15
neg rbx
shr r11, 2
mov r10, rax
lea rsi, [r11*4]
mov rax, qword [rdi + 0x4d08]
lea r8, [r9 + r10*8]
mov rcx, qword [rdi + 0x1df0]
mov rdx, qword [rbp + 0x38]
movsd xmm0, qword [rax + r8]
mulsd xmm0, qword [r8 + rcx]
movsd xmm1, qword [rdx + r9 - 0x18]
subsd xmm1, xmm0
xorps xmm1, xmm6
movsd qword [rdx + r9 - 0x18], xmm1
mov rax, qword [rdi + 0x4d08]
mov rcx, qword [rdi + 0x1df0]
mov rdx, qword [rbp + 0x38]
movsd xmm0, qword [rax + r8 + 8]
mulsd xmm0, qword [r8 + rcx + 8]
movsd xmm1, qword [rdx + r9 - 0x10]
subsd xmm1, xmm0
xorps xmm1, xmm6
movsd qword [rdx + r9 - 0x10], xmm1
lea rdx, [r9 + r14*8]
mov rax, qword [rdi + 0x4d08]
mov rcx, qword [rdi + 0x1df0]
mov r8, qword [rbp + 0x38]
movsd xmm0, qword [rax + rdx]
mulsd xmm0, qword [rdx + rcx]
lea rdx, [r9 + rbx*8]
movsd xmm1, qword [r8 + r9 - 8]
subsd xmm1, xmm0
xorps xmm1, xmm6
movsd qword [r8 + r9 - 8], xmm1
mov rax, qword [rdi + 0x4d08]
mov rcx, qword [rdi + 0x1df0]
mov r8, qword [rbp + 0x38]
movsd xmm0, qword [rax + rdx]
mulsd xmm0, qword [rdx + rcx]
movsd xmm1, qword [r8 + r9]
subsd xmm1, xmm0
xorps xmm1, xmm6
movsd qword [r8 + r9], xmm1
add r9, 0x20
sub r11, 1
jne 0x1400a6d54
lea r10, [r13 - 1]
cmp rsi, r10
jg 0x1400a6e83
nop
mov rax, qword [rdi + 0x4d08]
lea rdx, [rsi*8]
mov rcx, qword [rdi + 0x1df0]
lea r9, [rdx + r15*8]
mov r8, qword [rbp + 0x38]
inc rsi
movsd xmm0, qword [rax + rdx]
mulsd xmm0, qword [rdx + rcx]
movsd xmm1, qword [r9 + r8]
subsd xmm1, xmm0
xorps xmm1, xmm6
movsd qword [r9 + r8], xmm1
cmp rsi, r10
jle 0x1400a6e40
mov rbx, qword [rsp + 0xf8]
mov r13, qword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xa0]
mov rsi, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xb0]
add rsp, 0xd8
pop rdi
pop rbp
ret
cmp rax, 1
jne 0x1400a6fa2
lea rcx, [rdi + 0x20f0]
mov r8, r9
mov rdx, rbp
call fcn.14005a500
xor esi, esi
lea r9, [r14 - 1]
mov ecx, esi
test r9, r9
js 0x1400a6e9b
cmp r14, 4
jl 0x1400a6f80
lea r10, [r9 - 3]
lea rdx, [rbp + 0x38]
nop dword [rax + rax]
mov rax, qword [rdi + 0x1818]
lea r8, [rcx*8]
cmp byte [rcx + rax], sil
je 0x1400a6f1c
mov rax, qword [rdx]
mov qword [r8 + rax], rsi
mov rax, qword [rdi + 0x1818]
cmp byte [rax + rcx + 1], sil
je 0x1400a6f34
mov rax, qword [rdx]
mov qword [r8 + rax + 8], rsi
jmp 0x1400a6f38
lea rdx, [rbp + 0x38]
mov rax, qword [rdi + 0x1818]
cmp byte [rax + rcx + 2], sil
je 0x1400a6f4e
mov rax, qword [rdx]
mov qword [rax + r8 + 0x10], rsi
mov rax, qword [rdi + 0x1818]
cmp byte [rax + rcx + 3], sil
je 0x1400a6f64
mov rax, qword [rdx]
mov qword [r8 + rax + 0x18], rsi
add rcx, 4
cmp rcx, r10
jle 0x1400a6f00
cmp rcx, r9
jg 0x1400a6e9b
nop word [rax + rax]
mov rax, qword [rdi + 0x1818]
cmp byte [rcx + rax], sil
je 0x1400a6f95
mov rax, qword [rbp + 0x38]
mov qword [rax + rcx*8], rsi
inc rcx
cmp rcx, r9
jle 0x1400a6f80
jmp 0x1400a6e9b
lea r8, str.VIPMSolve:_integrity_check_failed___unexpected_factorization
mov edx, 3
mov rcx, r9
call fcn.14003de20
int3
lea r8, str.VIPMSolve:_integrity_check_failed___factorization_is_not_present
mov edx, 3
mov rcx, r9
call fcn.14003de20
int3
lea r8, str.VIPMSolve:_unexpected_factorization_type
mov edx, 3
mov rcx, r9
call fcn.14003de20
int3