Function at 0x14000a5a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rdi
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov rdx, qword [rcx + 0x18]
lea r15, [rcx + 0x10]
movaps xmmword [rax - 0x38], xmm6
mov r14, rcx
mov rcx, qword [r15]
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmm12, xmm1
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
call fcn.1400102d0
comisd xmm12, xmmword [0x140090ff8]
mov rax, qword [r15]
mov qword [r15 + 8], rax
movsd qword [r14 + 0x70], xmm12
jbe 0x14000a70a
movsd xmm0, qword [0x140090f48]
comisd xmm0, xmm12
jbe 0x14000a70a
mov r8, qword [r14 + 0xd8]
mov rcx, qword [r15 + 0x10]
mov rax, r8
sub rax, qword [r14 + 0xd0]
sub rcx, qword [r15]
sar rax, 3
movsxd r9, eax
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r9, rdx
jbe 0x14000a696
movabs rax, 0xaaaaaaaaaaaaaaa
cmp r9, rax
ja 0x14000b395
mov rdx, r9
mov rcx, r15
call fcn.14000d510
mov r8, qword [r14 + 0xd8]
mov rcx, qword [r14 + 0xd0]
xor edi, edi
sub r8, rcx
sar r8, 3
test r8d, r8d
jle 0x14000b352
mov ebx, edi
mov rax, qword [rbx + rcx]
cmp dword [rax + 0x4c], 0
jne 0x14000a6e6
lea r8, [rax + 8]
mov rax, qword [r15 + 8]
cmp qword [r15 + 0x10], rax
je 0x14000a6db
mov rdx, r8
mov rcx, rax
call fcn.140010950
add qword [r15 + 8], 0x18
jmp 0x14000a6e6
mov rdx, rax
mov rcx, r15
call fcn.14000fbc0
mov rcx, qword [r14 + 0xd0]
inc edi
mov rax, qword [r14 + 0xd8]
add rbx, 8
sub rax, rcx
sar rax, 3
cmp edi, eax
jl 0x14000a6b1
jmp 0x14000b352
movsd xmm1, qword [r14]
movsd xmm0, qword [0x140090f98]
comisd xmm1, xmm0
movsd xmm8, qword [0x140090f78]
jbe 0x14000a730
mulsd xmm1, xmm1
divsd xmm0, xmm1
jmp 0x14000a734
movaps xmm0, xmm8
movsd qword [r14 + 0x90], xmm0
xorps xmm11, xmm11
movsd xmm2, qword [r14 + 8]
comisd xmm11, xmm2
movsd xmm3, qword [0x1400911c0]
jb 0x14000a760
movsd xmm1, qword [0x140090f70]
jmp 0x14000a773
movaps xmm1, xmm12
andps xmm1, xmm3
mulsd xmm1, qword [0x140090f70]
minsd xmm1, xmm2
movsd xmm13, qword [0x140090f80]
movaps xmm0, xmm12
movsd xmm6, qword [0x140090fa0]
andps xmm0, xmm3
divsd xmm1, xmm0
movaps xmm14, xmm0
movaps xmm0, xmm13
subsd xmm0, xmm1
mulsd xmm14, xmm6
call fcn.140073cc8
divsd xmm6, xmm0
minsd xmm14, xmm6
movsd xmm6, qword [0x140090fa8]
divsd xmm6, xmm14
movaps xmm0, xmm6
call fcn.140074d20
movsd qword [r14 + 0x80], xmm0
movaps xmm9, xmm0
movaps xmm0, xmm6
call fcn.140074720
comisd xmm11, xmm12
movaps xmm10, xmmword [0x1400911d0]
movaps xmm1, xmm14
divsd xmm1, qword [0x140090fa8]
movsd qword [r14 + 0x88], xmm0
movsd qword [r14 + 0x98], xmm1
jbe 0x14000a812
xorps xmm9, xmm10
movsd qword [r14 + 0x80], xmm9
mov r8, qword [r14 + 0xd8]
mov rcx, qword [r15 + 0x10]
mov rax, r8
sub rax, qword [r14 + 0xd0]
sub rcx, qword [r15]
sar rax, 3
add eax, eax
movsxd r9, eax
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r9, rdx
jbe 0x14000a878
movabs rax, 0xaaaaaaaaaaaaaaa
cmp r9, rax
ja 0x14000b395
mov rdx, r9
mov rcx, r15
call fcn.14000d510
mov r8, qword [r14 + 0xd8]
mov rcx, qword [r14 + 0xd0]
sub r8, rcx
mov qword [rsp + 0x190], r12
xor r12d, r12d
sar r8, 3
mov dword [rsp + 0x20], r12d
mov r10d, r12d
test r8d, r8d
jle 0x14000b34a
movsd xmm9, qword [0x140091008]
lea r9, [r14 + 0x28]
mov edx, r12d
mov qword [rsp + 0x188], rsi
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x198], r13
mov r13, qword [rcx + rdx*8]
movabs r11, 0xfffffffffffffff
mov r8d, 1
lea rdx, [r13 + 8]
cmp r9, rdx
je 0x14000a90c
mov r8, qword [rdx + 8]
mov rcx, r9
mov rdx, qword [rdx]
call fcn.140011220
mov r10d, dword [rsp + 0x20]
lea r9, [r14 + 0x28]
mov r8d, 1
movabs r11, 0xfffffffffffffff
mov r12, qword [r9 + 8]
sub r12, qword [r9]
sar r12, 4
test r12d, r12d
je 0x14000b307
comisd xmm11, xmm12
jb 0x14000a93c
cmp r12d, 3
jl 0x14000b307
cmp dword [r13 + 0x4c], 0
jne 0x14000b307
mov rax, qword [r14 + 0x40]
mov qword [r14 + 0x48], rax
cmp r12d, 1
jne 0x14000ab4f
cmp dword [r13 + 0x48], r12d
jne 0x14000aa65
xorps xmm0, xmm0
movaps xmm7, xmm13
cvtsi2sd xmm0, r8
mov rdi, r8
movaps xmm6, xmm11
comisd xmm14, xmm0
jb 0x14000ab2b
nop word [rax + rax]
mov rax, qword [r9]
xorps xmm1, xmm1
movaps xmm0, xmm6
mulsd xmm0, xmm12
cvtsi2sd xmm1, qword [rax + 8]
addsd xmm1, xmm0
comisd xmm11, xmm1
jbe 0x14000a9a6
subsd xmm1, xmm8
jmp 0x14000a9ab
addsd xmm1, xmm8
cvttsd2si rcx, xmm1
movaps xmm1, xmm7
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rax]
mulsd xmm1, xmm12
addsd xmm1, xmm0
comisd xmm11, xmm1
jbe 0x14000a9d2
subsd xmm1, xmm8
jmp 0x14000a9d7
addsd xmm1, xmm8
mov rdx, qword [r14 + 0x48]
cvttsd2si rax, xmm1
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], rax
cmp qword [r14 + 0x50], rdx
je 0x14000a9ff
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rdx], xmm0
add qword [r14 + 0x48], 0x10
jmp 0x14000aa11
lea r8, [rsp + 0x58]
lea rcx, [r14 + 0x40]
call fcn.14000fda0
lea r9, [r14 + 0x28]
movsd xmm3, qword [r14 + 0x80]
movaps xmm2, xmm7
movsd xmm4, qword [r14 + 0x88]
movaps xmm0, xmm3
mulsd xmm0, xmm6
movaps xmm1, xmm4
inc rdi
mulsd xmm1, xmm7
mulsd xmm4, xmm6
mulsd xmm3, xmm2
movaps xmm7, xmm1
subsd xmm7, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
movaps xmm6, xmm3
comisd xmm14, xmm0
addsd xmm6, xmm4
jae 0x14000a980
jmp 0x14000ab2b
movaps xmm6, xmm9
movaps xmm7, xmm9
mov edi, 4
mov rax, qword [r9]
xorps xmm1, xmm1
movaps xmm0, xmm7
mulsd xmm0, xmm12
cvtsi2sd xmm1, qword [rax + 8]
addsd xmm1, xmm0
comisd xmm11, xmm1
jbe 0x14000aa98
subsd xmm1, xmm8
jmp 0x14000aa9d
addsd xmm1, xmm8
cvttsd2si rcx, xmm1
movaps xmm1, xmm6
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rax]
mulsd xmm1, xmm12
addsd xmm1, xmm0
comisd xmm11, xmm1
jbe 0x14000aac4
subsd xmm1, xmm8
jmp 0x14000aac9
addsd xmm1, xmm8
mov rdx, qword [r14 + 0x48]
cvttsd2si rax, xmm1
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rax
cmp qword [r14 + 0x50], rdx
je 0x14000aaf1
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rdx], xmm0
add qword [r14 + 0x48], 0x10
jmp 0x14000ab03
lea r8, [rsp + 0x68]
lea rcx, [r14 + 0x40]
call fcn.14000fda0
lea r9, [r14 + 0x28]
comisd xmm11, xmm6
jbe 0x14000ab10
movaps xmm6, xmm13
jmp 0x14000ab21
comisd xmm11, xmm7
jbe 0x14000ab1d
movaps xmm7, xmm13
jmp 0x14000ab21
movaps xmm6, xmm9
sub rdi, 1
jne 0x14000aa72
mov rax, qword [r15 + 8]
cmp qword [r15 + 0x10], rax
je 0x14000b2ef
lea rdx, [r14 + 0x40]
mov rcx, rax
call fcn.140010950
add qword [r15 + 8], 0x18
jmp 0x14000b2fe
mov rax, qword [r14 + 0x58]
lea rdi, [r14 + 0x58]
mov qword [rdi + 8], rax
mov rax, qword [rdi + 0x10]
sub rax, qword [rdi]
movsxd rcx, r12d
sar rax, 4
mov qword [rsp + 0x30], rcx
cmp rcx, rax
jbe 0x14000ab8b
cmp rcx, r11
ja 0x14000b39b
mov rdx, rcx
mov rcx, rdi
call fcn.14000d3d0
lea r9, [r14 + 0x28]
lea r15d, [r12 - 1]
mov dword [rsp + 0x24], r15d
movsxd rsi, r15d
test r15d, r15d
jle 0x14000ac60
xor r15d, r15d
mov qword [rsp + 0x28], rsi
nop dword [rax]
mov rcx, qword [r9]
mov r8, qword [r15 + rcx]
mov rdx, qword [r15 + rcx + 0x10]
cmp rdx, r8
jne 0x14000abd2
mov rax, qword [r15 + rcx + 8]
cmp qword [r15 + rcx + 0x18], rax
jne 0x14000abd2
xorps xmm0, xmm0
jmp 0x14000ac21
mov rax, qword [r15 + rcx + 0x18]
sub rdx, r8
sub rax, qword [r15 + rcx + 8]
xorps xmm7, xmm7
xorps xmm6, xmm6
cvtsi2sd xmm7, rdx
cvtsi2sd xmm6, rax
movaps xmm1, xmm7
movaps xmm0, xmm6
mulsd xmm1, xmm7
mulsd xmm0, xmm6
addsd xmm0, xmm1
call fcn.140061e68
movaps xmm1, xmm13
divsd xmm1, xmm0
movaps xmm0, xmm1
mulsd xmm1, xmm7
mulsd xmm0, xmm6
xorps xmm1, xmm10
unpcklpd xmm0, xmm1
mov rdx, qword [rdi + 8]
movups xmmword [rsp + 0x40], xmm0
cmp qword [rdi + 0x10], rdx
je 0x14000ac3a
movups xmmword [rdx], xmm0
add qword [rdi + 8], 0x10
jmp 0x14000ac47
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.14000f3d0
add r15, 0x10
lea r9, [r14 + 0x28]
sub qword [rsp + 0x28], 1
jne 0x14000abb0
mov r15d, dword [rsp + 0x24]
cmp dword [r13 + 0x4c], 1
jbe 0x14000ac9a
mov rcx, qword [rsp + 0x30]
mov rax, qword [rdi]
add rcx, 0xfffffffffffffffe
mov rdx, qword [rdi + 8]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8]
movups xmmword [rsp + 0x40], xmm0
cmp qword [rdi + 0x10], rdx
je 0x14000ad2a
movups xmmword [rdx], xmm0
add qword [rdi + 8], 0x10
jmp 0x14000ad37
mov rcx, qword [r14 + 0x28]
mov r8, qword [rsp + 0x30]
add r8, r8
mov rdx, qword [rcx]
mov r9, qword [rcx + r8*8 - 0x10]
cmp rdx, r9
jne 0x14000acc3
mov rax, qword [rcx + r8*8 - 8]
cmp qword [rcx + 8], rax
jne 0x14000acc3
xorps xmm0, xmm0
jmp 0x14000ad11
mov rax, qword [rcx + 8]
sub rdx, r9
sub rax, qword [rcx + r8*8 - 8]
xorps xmm7, xmm7
xorps xmm6, xmm6
cvtsi2sd xmm7, rdx
cvtsi2sd xmm6, rax
movaps xmm1, xmm7
movaps xmm0, xmm6
mulsd xmm1, xmm7
mulsd xmm0, xmm6
addsd xmm0, xmm1
call fcn.140061e68
movaps xmm1, xmm13
divsd xmm1, xmm0
movaps xmm0, xmm1
mulsd xmm1, xmm7
mulsd xmm0, xmm6
xorps xmm1, xmm10
unpcklpd xmm0, xmm1
mov rdx, qword [rdi + 8]
movups xmmword [rsp + 0x40], xmm0
cmp qword [rdi + 0x10], rdx
je 0x14000ad2a
movups xmmword [rdx], xmm0
add qword [rdi + 8], 0x10
jmp 0x14000ad37
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.14000f3d0
mov eax, dword [r13 + 0x4c]
test eax, eax
jne 0x14000ad73
xor edi, edi
mov dword [rsp + 0x28], r15d
test r12d, r12d
jle 0x14000ad6a
nop dword [rax + rax]
mov r9d, dword [r13 + 0x48]
lea r8, [rsp + 0x28]
mov edx, edi
mov rcx, r14
call fcn.14000b3b0
inc edi
cmp edi, r12d
jl 0x14000ad50
lea r15, [r14 + 0x10]
jmp 0x14000ab2b
cmp eax, 1
jne 0x14000aedf
mov dword [rsp + 0x28], r15d
xor r15d, r15d
test r12d, r12d
jle 0x14000adac
nop dword [rax]
mov r9d, dword [r13 + 0x48]
lea r8, [rsp + 0x28]
mov edx, r15d
mov rcx, r14
call fcn.14000b3b0
inc r15d
cmp r15d, r12d
jl 0x14000ad90
mov rax, qword [r14 + 0x18]
lea r15, [r14 + 0x10]
cmp qword [r15 + 0x10], rax
je 0x14000adcd
lea rdx, [r14 + 0x40]
mov rcx, rax
call fcn.140010950
add qword [r15 + 8], 0x18
jmp 0x14000addc
lea r8, [r14 + 0x40]
mov rdx, rax
mov rcx, r15
call fcn.14000fbc0
mov rax, qword [r14 + 0x40]
mov rcx, rsi
mov qword [r14 + 0x48], rax
mov rax, qword [rdi]
shl rcx, 4
movsd xmm2, qword [rax + rcx]
movsd xmm3, qword [rax + rcx + 8]
cmp rsi, 4
jl 0x14000ae71
lea rdx, [rsi - 4]
shr rdx, 2
inc rdx
lea rax, [rdx*4]
sub rsi, rax
nop word [rax + rax]
mov rax, qword [rdi]
lea rcx, [rcx - 0x40]
movups xmm1, xmmword [rcx + rax + 0x30]
xorps xmm1, xmm10
movups xmmword [rcx + rax + 0x40], xmm1
mov rax, qword [rdi]
movups xmm1, xmmword [rcx + rax + 0x20]
xorps xmm1, xmm10
movups xmmword [rcx + rax + 0x30], xmm1
mov rax, qword [rdi]
movups xmm1, xmmword [rcx + rax + 0x10]
xorps xmm1, xmm10
movups xmmword [rcx + rax + 0x20], xmm1
mov rax, qword [rdi]
movups xmm1, xmmword [rcx + rax]
xorps xmm1, xmm10
movups xmmword [rcx + rax + 0x10], xmm1
sub rdx, 1
jne 0x14000ae20
mov rax, qword [r14 + 0x58]
test rsi, rsi
jle 0x14000ae9d
mov rcx, rsi
shl rcx, 4
mov rax, qword [rdi]
lea rcx, [rcx - 0x10]
dec rsi
movups xmm1, xmmword [rax + rcx]
xorps xmm1, xmm10
movups xmmword [rax + rcx + 0x10], xmm1
test rsi, rsi
jg 0x14000ae7d
mov rax, qword [r14 + 0x58]
mov edi, dword [rsp + 0x24]
xorps xmm2, xmm10
movsd qword [rax], xmm2
xorps xmm3, xmm10
movsd qword [rax + 8], xmm3
mov dword [rsp + 0x28], 0
test edi, edi
js 0x14000ab2b
mov r9d, dword [r13 + 0x48]
lea r8, [rsp + 0x28]
mov edx, edi
mov rcx, r14
call fcn.14000b3b0
sub edi, 1
jns 0x14000aec2
jmp 0x14000ab2b
mov ecx, dword [rsp + 0x24]
mov r15d, 1
mov dword [rsp + 0x28], 0
cmp ecx, r15d
jle 0x14000af28
mov edi, ecx
nop dword [rax + rax]
mov r9d, dword [r13 + 0x48]
lea r8, [rsp + 0x28]
mov edx, r15d
mov rcx, r14
call fcn.14000b3b0
inc r15d
cmp r15d, edi
jl 0x14000af00
mov eax, dword [r13 + 0x4c]
lea rdi, [r14 + 0x58]
mov ecx, dword [rsp + 0x24]
mov rdx, qword [r14 + 0x58]
cmp eax, 2
jne 0x14000b076
mov rax, qword [r14 + 0x28]
movaps xmm1, xmm12
movsxd r15, ecx
xorps xmm0, xmm0
add r15, r15
mulsd xmm1, qword [rdx + r15*8 + 8]
cvtsi2sd xmm0, qword [rax + r15*8 + 8]
addsd xmm1, xmm0
comisd xmm11, xmm1
jbe 0x14000af66
subsd xmm1, xmm8
jmp 0x14000af6b
addsd xmm1, xmm8
cvttsd2si rcx, xmm1
movaps xmm1, xmm12
xorps xmm0, xmm0
mulsd xmm1, qword [rdx + r15*8]
cvtsi2sd xmm0, qword [rax + r15*8]
addsd xmm1, xmm0
comisd xmm11, xmm1
jbe 0x14000af95
subsd xmm1, xmm8
jmp 0x14000af9a
addsd xmm1, xmm8
mov rdx, qword [r14 + 0x48]
cvttsd2si rax, xmm1
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x80], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x30], xmm0
cmp qword [r14 + 0x50], rdx
je 0x14000afc5
movups xmmword [rdx], xmm0
add qword [r14 + 0x48], 0x10
jmp 0x14000afd3
lea r8, [rsp + 0x30]
lea rcx, [r14 + 0x40]
call fcn.14000fda0
mov rax, qword [r14 + 0x28]
xorps xmm1, xmm1
mov rcx, qword [rdi]
movaps xmm0, xmm12
mov rdx, qword [r14 + 0x48]
cvtsi2sd xmm1, qword [rax + r15*8 + 8]
mulsd xmm0, qword [rcx + r15*8 + 8]
subsd xmm1, xmm0
comisd xmm11, xmm1
jbe 0x14000b005
subsd xmm1, xmm8
jmp 0x14000b00a
addsd xmm1, xmm8
cvttsd2si r8, xmm1
xorps xmm1, xmm1
movaps xmm0, xmm12
cvtsi2sd xmm1, qword [rax + r15*8]
mulsd xmm0, qword [rcx + r15*8]
subsd xmm1, xmm0
comisd xmm11, xmm1
jbe 0x14000b034
subsd xmm1, xmm8
jmp 0x14000b039
addsd xmm1, xmm8
cvttsd2si rax, xmm1
mov qword [rbp - 0x68], r8
mov qword [rbp - 0x70], rax
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rsp + 0x30], xmm0
cmp qword [r14 + 0x50], rdx
je 0x14000b063
movups xmmword [rdx], xmm0
add qword [r14 + 0x48], 0x10
xor r12d, r12d
jmp 0x14000b0ac
lea r8, [rsp + 0x30]
lea rcx, [r14 + 0x40]
call fcn.14000fda0
xor r12d, r12d
jmp 0x14000b0ac
movsxd rax, ecx
lea r8d, [r12 - 2]
add rax, rax
xor r12d, r12d
mov qword [r14 + 0x78], r12
movups xmm1, xmmword [rdx + rax*8]
xorps xmm1, xmm10
movups xmmword [rdx + rax*8], xmm1
cmp dword [r13 + 0x4c], 3
mov edx, ecx
mov rcx, r14
jne 0x14000b0a7
call fcn.14000b7d0
jmp 0x14000b0ac
call fcn.14000b9f0
cmp rsi, 4
jl 0x14000b11d
lea rdx, [rsi - 4]
mov rcx, rsi
shr rdx, 2
inc rdx
shl rcx, 4
lea rax, [rdx*4]
sub rsi, rax
nop
mov rax, qword [rdi]
lea rcx, [rcx - 0x40]
movups xmm1, xmmword [rax + rcx + 0x30]
xorps xmm1, xmm10
movups xmmword [rax + rcx + 0x40], xmm1
mov rax, qword [rdi]
movups xmm1, xmmword [rax + rcx + 0x20]
xorps xmm1, xmm10
movups xmmword [rax + rcx + 0x30], xmm1
mov rax, qword [rdi]
movups xmm1, xmmword [rax + rcx + 0x10]
xorps xmm1, xmm10
movups xmmword [rax + rcx + 0x20], xmm1
mov rax, qword [rdi]
movups xmm1, xmmword [rax + rcx]
xorps xmm1, xmm10
movups xmmword [rax + rcx + 0x10], xmm1
sub rdx, 1
jne 0x14000b0d0
test rsi, rsi
jle 0x14000b145
mov rcx, rsi
shl rcx, 4
mov rax, qword [rdi]
lea rcx, [rcx - 0x10]
dec rsi
movups xmm1, xmmword [rax + rcx]
xorps xmm1, xmm10
movups xmmword [rax + rcx + 0x10], xmm1
test rsi, rsi
jg 0x14000b129
mov rax, qword [rdi]
mov esi, dword [rsp + 0x24]
mov dword [rsp + 0x28], esi
dec esi
movups xmm1, xmmword [rax + 0x10]
xorps xmm1, xmm10
movups xmmword [rax], xmm1
test esi, esi
jle 0x14000b17a
mov r9d, dword [r13 + 0x48]
lea r8, [rsp + 0x28]
mov edx, esi
mov rcx, r14
call fcn.14000b3b0
dec esi
test esi, esi
jg 0x14000b161
cmp dword [r13 + 0x4c], 2
jne 0x14000b2bf
mov rax, qword [r14 + 0x28]
xorps xmm1, xmm1
mov rcx, qword [rdi]
movaps xmm0, xmm12
cvtsi2sd xmm1, qword [rax + 8]
mulsd xmm0, qword [rcx + 8]
subsd xmm1, xmm0
comisd xmm11, xmm1
jbe 0x14000b1b0
subsd xmm1, xmm8
jmp 0x14000b1b5
addsd xmm1, xmm8
xorps xmm2, xmm2
movaps xmm0, xmm12
cvtsi2sd xmm2, qword [rax]
mulsd xmm0, qword [rcx]
cvttsd2si rdx, xmm1
subsd xmm2, xmm0
comisd xmm11, xmm2
jbe 0x14000b1dc
subsd xmm2, xmm8
jmp 0x14000b1e1
addsd xmm2, xmm8
mov qword [rbp - 0x58], rdx
mov rdx, qword [r14 + 0x48]
cvttsd2si rax, xmm2
mov qword [rbp - 0x60], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x30], xmm0
cmp qword [r14 + 0x50], rdx
je 0x14000b20c
movups xmmword [rdx], xmm0
add qword [r14 + 0x48], 0x10
jmp 0x14000b21a
lea r8, [rsp + 0x30]
lea rcx, [r14 + 0x40]
call fcn.14000fda0
mov rax, qword [rdi]
movaps xmm1, xmm12
mov rcx, qword [r14 + 0x28]
xorps xmm0, xmm0
mulsd xmm1, qword [rax + 8]
cvtsi2sd xmm0, qword [rcx + 8]
addsd xmm1, xmm0
comisd xmm11, xmm1
jbe 0x14000b245
subsd xmm1, xmm8
jmp 0x14000b24a
addsd xmm1, xmm8
cvttsd2si rdx, xmm1
movaps xmm1, xmm12
xorps xmm0, xmm0
mulsd xmm1, qword [rax]
cvtsi2sd xmm0, qword [rcx]
addsd xmm1, xmm0
comisd xmm11, xmm1
jbe 0x14000b271
subsd xmm1, xmm8
jmp 0x14000b276
addsd xmm1, xmm8
mov qword [rbp - 0x48], rdx
mov rdx, qword [r14 + 0x48]
cvttsd2si rax, xmm1
mov qword [rbp - 0x50], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x30], xmm0
cmp qword [r14 + 0x50], rdx
je 0x14000b2a8
movups xmmword [rdx], xmm0
add qword [r14 + 0x48], 0x10
lea r15, [r14 + 0x10]
jmp 0x14000ab2b
lea r8, [rsp + 0x30]
lea rcx, [r14 + 0x40]
call fcn.14000fda0
lea r15, [r14 + 0x10]
jmp 0x14000ab2b
xor edx, edx
mov qword [r14 + 0x78], r12
cmp dword [r13 + 0x4c], 3
mov rcx, r14
lea r8d, [rdx + 1]
jne 0x14000b2e1
call fcn.14000b7d0
lea r15, [r14 + 0x10]
jmp 0x14000ab2b
call fcn.14000b9f0
lea r15, [r14 + 0x10]
jmp 0x14000ab2b
lea r8, [r14 + 0x40]
mov rdx, rax
mov rcx, r15
call fcn.14000fbc0
mov r10d, dword [rsp + 0x20]
lea r9, [r14 + 0x28]
mov rdx, qword [rsp + 0x50]
inc r10d
mov rcx, qword [r14 + 0xd0]
inc rdx
mov rax, qword [r14 + 0xd8]
sub rax, rcx
mov dword [rsp + 0x20], r10d
sar rax, 3
mov qword [rsp + 0x50], rdx
cmp r10d, eax
jl 0x14000a8c7
mov rsi, qword [rsp + 0x188]
mov r13, qword [rsp + 0x198]
mov r12, qword [rsp + 0x190]
lea r11, [rsp + 0x150]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rbx
pop rbp
ret
call fcn.14000d3b0
int3
call fcn.14000d3b0
int3