Function at 0x180041df0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xd0
mov rsi, qword [rbp + 0x7f]
mov r15, r9
movsd xmm4, qword [0x1800ae460]
mov r14, rcx
movdqa xmm0, xmmword [0x180054a30]
movaps xmmword [rax - 0x28], xmm6
movaps xmm6, xmm1
movsd xmm3, qword [rsi]
comisd xmm4, xmm3
movaps xmmword [rax - 0x38], xmm7
movaps xmm7, xmm2
movaps xmmword [rax - 0x48], xmm8
movss xmm8, dword [0x180054878]
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movups xmmword [rbp - 0x41], xmm0
jbe 0x180041f37
movaps xmm0, xmm3
addsd xmm0, qword [0x180054828]
comisd xmm0, xmm4
jbe 0x180041f37
movsd xmm0, qword [rsi + 8]
lea rdi, [rsi + 8]
movsd xmm1, qword [0x1800ae468]
comisd xmm1, xmm0
jbe 0x180041f37
addsd xmm0, qword [0x180054800]
comisd xmm0, xmm1
jbe 0x180041f37
mov rcx, qword [0x1800ae448]
xor eax, eax
movups xmm0, xmmword [0x1800ae398]
mov dword [rbp - 0x49], eax
movsd xmm1, qword [0x1800ae3a8]
mov r9, qword [rcx]
movsd qword [rbp - 0x51], xmm1
movups xmmword [rbp - 0x61], xmm0
test r9, r9
je 0x180041ef9
mov rax, qword [0x1800ad248]
mov r9, qword [r9 + rax*8]
test r9, r9
je 0x180041ef9
mov rdx, qword [0x1800adf88]
lea r8, [rbp - 0x61]
call r9
movsd xmm3, qword [rsi]
movsd xmm4, qword [0x1800ae460]
cmp byte [rbp - 0x49], 0
je 0x180041f3b
movss xmm2, dword [0x18004e85c]
subsd xmm4, xmm3
xorps xmm1, xmm1
cvtpd2ps xmm0, xmm4
divss xmm0, xmm8
maxss xmm1, xmm0
movaps xmm0, xmm7
subss xmm0, xmm6
minss xmm2, xmm1
mulss xmm2, xmm0
addss xmm2, xmm6
cvttss2si eax, xmm2
mov dword [r15], eax
jmp 0x180041f3b
lea rdi, [rsi + 8]
movd xmm0, dword [r15]
subss xmm7, xmm6
movdqa xmm9, xmmword [0x18004e980]
lea r9, [rbp - 0x61]
cvtdq2ps xmm0, xmm0
mov rcx, rsi
movaps xmm1, xmm8
subss xmm0, xmm6
movss xmm6, dword [0x18004e874]
movaps xmm2, xmm6
movups xmmword [rbp - 0x61], xmm9
divss xmm0, xmm7
mulss xmm0, xmm8
cvttss2si ebx, xmm0
movsd xmm0, qword [rdi]
addsd xmm0, qword [0x1800547f0]
movsd qword [rdi], xmm0
call fcn.18004a950
movsd xmm0, qword [rsi]
lea r9, [rbp - 0x41]
movsd xmm3, qword [rdi]
lea rcx, [rbp - 0x61]
movaps xmm2, xmm6
movsd qword [rbp - 0x61], xmm0
movaps xmm1, xmm8
movsd qword [rbp - 0x59], xmm3
call fcn.18004a950
movdqa xmm0, xmmword [0x180054970]
lea r9, [rbp - 0x41]
movsd xmm1, qword [rdi]
lea rcx, [rbp - 0x61]
subsd xmm1, qword [0x1800547c0]
movss xmm2, dword [0x18004e88c]
movups xmmword [rbp - 0x41], xmm0
movd xmm10, ebx
cvtdq2pd xmm10, xmm10
movsd qword [rbp - 0x59], xmm1
movss xmm1, dword [0x18004e87c]
movaps xmm0, xmm10
addsd xmm0, qword [rsi]
movsd qword [rbp - 0x61], xmm0
call fcn.18004a950
movsd xmm0, qword [rdi]
subsd xmm0, qword [0x1800547f0]
movsd qword [rdi], xmm0
mov ecx, dword [r15]
xor r15d, r15d
test ecx, ecx
je 0x18004228e
sub ecx, 1
je 0x180042237
sub ecx, 1
je 0x1800421f5
cmp ecx, 1
jne 0x180042469
cmp dword [0x1800adb58], 2
mov r8d, r15d
movsd xmm0, qword [0x1800541e0]
movzx eax, byte [0x1800541ec]
mov ecx, dword [0x1800541e8]
movsd qword [rbp - 0x61], xmm0
mov byte [rbp - 0x55], al
mov dword [rbp - 0x59], ecx
jl 0x1800421b0
movdqa xmm5, xmmword [0x18004e960]
mov r8d, 0xc
movdqa xmm2, xmmword [0x18004e8e0]
movdqa xmm3, xmmword [0x18004e900]
movdqa xmm1, xmm2
movdqa xmm6, xmmword [str.7777]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm4, xmmword [0x18004e950]
movdqa xmm7, xmmword [0x18004e970]
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, dword [0x1800541e0]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movd dword [rbp - 0x61], xmm2
movdqa xmm2, xmmword [0x18004e8f0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm6
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rbp - 0x5d]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
pmuldq xmm1, xmm5
paddb xmm2, xmm7
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rbp - 0x5d], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
movd xmm0, ecx
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
xorps xmm3, xmm0
movd dword [rbp - 0x59], xmm3
mov eax, r8d
lea r9, [rbp - 0x61]
add r9, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x1800421c0
jmp 0x180042450
movsd xmm0, qword [0x1800541d0]
lea rdx, [rbp - 0x61]
movzx eax, byte [0x1800541d8]
movsd qword [rbp - 0x61], xmm0
xor byte [rbp - 0x60], 0x37
xor byte [rbp - 0x5f], 0x38
xor byte [rbp - 0x5e], 0x39
xor byte [rbp - 0x5d], 0x3a
xor byte [rbp - 0x5c], 0x3b
xor byte [rbp - 0x5b], 0x3c
xor byte [rbp - 0x5a], 0x3d
xor al, 0x3e
mov byte [rbp - 0x61], 0x25
mov byte [rbp - 0x59], al
jmp 0x180042454
movzx ecx, word [0x1800541c8]
lea rdx, [rbp - 0x61]
movsd xmm0, qword [0x1800541c0]
movzx eax, byte [0x1800541ca]
movsd qword [rbp - 0x61], xmm0
xor byte [rbp - 0x60], 0x37
xor byte [rbp - 0x5f], 0x38
xor byte [rbp - 0x5e], 0x39
xor byte [rbp - 0x5d], 0x3a
xor byte [rbp - 0x5c], 0x3b
xor byte [rbp - 0x5b], 0x3c
xor byte [rbp - 0x5a], 0x3d
mov word [rbp - 0x59], cx
xor cl, 0x3e
xor byte [rbp - 0x58], 0x3f
xor al, 0x40
mov byte [rbp - 0x61], 0x25
mov byte [rbp - 0x57], al
mov byte [rbp - 0x59], cl
jmp 0x180042454
cmp dword [0x1800adb58], 2
mov r8d, r15d
movsd xmm0, qword [0x1800541b0]
movzx eax, byte [0x1800541bc]
mov ecx, dword [0x1800541b8]
movsd qword [rbp - 0x61], xmm0
mov byte [rbp - 0x55], al
mov dword [rbp - 0x59], ecx
jl 0x180042407
movdqa xmm5, xmmword [0x18004e960]
mov r8d, 0xc
movdqa xmm3, xmmword [0x18004e8e0]
movdqa xmm2, xmmword [0x18004e8f0]
movdqa xmm1, xmm3
movdqa xmm6, xmmword [str.7777]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
movdqa xmm4, xmmword [0x18004e950]
mov eax, dword [0x18004e970]
punpckldq xmm1, xmm3
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
andps xmm3, xmm4
pmuldq xmm1, xmm5
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [0x1800541b0]
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rbp - 0x61], xmm3
movdqa xmm3, xmmword [0x18004e900]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x5d]
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
xorps xmm2, xmm1
movdqa xmm1, xmm3
pmuldq xmm0, xmm5
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movd dword [rbp - 0x5d], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, ecx
pmulld xmm0, xmm6
psubd xmm3, xmm0
movd xmm0, eax
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm0
xorps xmm3, xmm1
movd dword [rbp - 0x59], xmm3
mov eax, r8d
lea r9, [rbp - 0x61]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x180042420
lea rdx, [rbp - 0x61]
mov r8, r14
lea rcx, [rbp - 0x31]
call fcn.180019220
movdqa xmm9, xmmword [0x18004e980]
movsd xmm6, qword [rdi]
addsd xmm6, qword [0x180054808]
addsd xmm10, qword [rsi]
movdqa xmmword [rbp - 0x41], xmm9
call fcn.180009040
lea rcx, [rbp - 0x41]
mov rbx, rax
call fcn.1800072c0
xorps xmm0, xmm0
mov qword [rsp + 0x20], r15
cvtpd2ps xmm1, xmm6
lea r9, [rbp - 0x31]
mov r8d, eax
lea rdx, [rbp + 0x7f]
mov rcx, rbx
cvtsd2ss xmm0, xmm10
movss dword [rbp + 0x83], xmm1
movss dword [rbp + 0x7f], xmm0
call fcn.18001bb40
movdqa xmm0, xmmword [0x18004e980]
movsd xmm7, qword [rsi]
addsd xmm7, qword [0x1800547c8]
movsd xmm6, qword [rdi]
movdqa xmmword [rbp - 0x41], xmm0
call fcn.180009040
lea rcx, [rbp - 0x41]
mov rbx, rax
call fcn.1800072c0
cvtpd2ps xmm0, xmm7
mov r9, r14
mov r8d, eax
lea rdx, [rbp + 0x7f]
mov rcx, rbx
mov qword [rsp + 0x20], r15
cvtpd2ps xmm1, xmm6
movss dword [rbp + 0x7f], xmm0
movss dword [rbp + 0x83], xmm1
call fcn.18001bb40
movsd xmm0, qword [rdi]
lea r11, [rsp + 0xd0]
addsd xmm0, qword [0x180054808]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
addsd xmm0, qword [0x1800547d0]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movsd qword [rdi], xmm0
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret