Function at 0x180007418
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x28], xmm6
xor esi, esi
movss xmm6, dword [rdx]
mov rbx, rdx
movaps xmmword [rax - 0x38], xmm7
mov rdi, rcx
movaps xmmword [rax - 0x48], xmm8
movaps xmm7, xmm3
movaps xmmword [rax - 0x58], xmm9
movaps xmm8, xmm2
mov eax, dword [0x18000905c]
cmp dword [0x180009060], eax
movss xmm9, dword [0x1800080b8]
jne 0x18000750f
movaps xmm0, xmmword [0x1800081a0]
lea r9, [rbp - 0x80]
movss xmm3, dword [0x180009058]
movss xmm2, dword [0x1800080f0]
movss xmm1, dword [0x180008114]
movdqa xmmword [rbp - 0x80], xmm0
movss xmm0, dword [0x1800080d0]
unpcklps xmm0, xmm3
movq rcx, xmm0
movss dword [rsp + 0x20], xmm9
call fcn.180004ac8
cmp byte [0x1800090a8], sil
movss xmm1, dword [rbp + 0xc0]
je 0x1800074cb
mulss xmm1, dword [0x1800080e0]
cmp byte [0x180009098], sil
je 0x1800074ec
cmp dword [0x18000909c], 1
jne 0x1800074ec
movaps xmm0, xmm6
addss xmm0, xmm1
minss xmm7, xmm0
movss dword [rbx], xmm7
cmp byte [0x180009090], sil
je 0x18000750f
cmp dword [0x180009094], 1
jne 0x18000750f
movaps xmm0, xmm6
subss xmm0, xmm1
maxss xmm8, xmm0
movss dword [rbx], xmm8
mov dword [rsp + 0x70], 0xb709b749
mov edx, esi
mov dword [rsp + 0x74], 0xb74ab740
mov dword [rsp + 0x78], 0xb714
movsxd rcx, edx
movzx eax, dx
mov r8d, 0x4894
inc edx
sub ax, r8w
xor word [rsp + rcx*2 + 0x70], ax
cmp edx, 5
jb 0x180007529
cvttss2si r8d, xmm6
lea rdx, [rsp + 0x70]
mov word [rsp + 0x7a], si
lea rcx, [rbp - 0x40]
mulss xmm6, dword [0x1800080fc]
imul eax, r8d, 0x64
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm6, xmm0
cvttss2si r9d, xmm6
call fcn.180006740
mov ecx, esi
mov dword [rbp + 0xa0], 0x3f666666
mov dword [rbp + 0xa4], 0x3f666666
cmp word [rbp - 0x40], si
je 0x1800075a6
lea rax, [rbp - 0x40]
inc ecx
lea rax, [rax + 2]
cmp word [rax], si
jne 0x180007599
inc ecx
movsd xmm1, qword [rbp + 0xa0]
lea rax, [rbp - 0x40]
mov r8, qword [0x180009040]
lea r9, [rbp - 0x80]
test ecx, ecx
mov dword [rsp + 0x78], ecx
mov dword [rsp + 0x7c], ecx
lea rdx, [rsp + 0x70]
mov rcx, qword [0x180009078]
cmove rax, rsi
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x80], xmm0
movsd qword [rsp + 0x20], xmm1
call fcn.180002fd0
movss xmm1, dword [0x180008110]
xorps xmm6, xmm6
movss xmm0, dword [0x180009058]
mov ecx, esi
addss xmm0, dword [0x1800080e4]
subss xmm1, dword [rax]
and dword [rbp + 0xa0], esi
and dword [rbp + 0xa4], esi
movaps xmm2, xmmword [0x180008160]
addss xmm0, xmm6
movaps xmm4, xmmword [0x1800081b0]
addss xmm1, xmm6
movaps xmm3, xmm2
mov dword [rbp + 0xa8], 0x3f666666
mov dword [rbp + 0xac], 0x3f666666
movss dword [rsp + 0x74], xmm0
movss dword [rsp + 0x70], xmm1
cmp word [rbp - 0x40], si
je 0x18000766e
lea rax, [rbp - 0x40]
inc ecx
lea rax, [rax + 2]
cmp word [rax], si
jne 0x180007661
inc ecx
mov r9, qword [rsp + 0x70]
lea rax, [rbp - 0x40]
mov rdx, qword [0x180009040]
lea r8, [rbp - 0x80]
mov dword [rbp - 0x78], ecx
test ecx, ecx
mov dword [rbp - 0x74], ecx
mov rcx, qword [0x180009078]
cmove rax, rsi
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x60]
movaps xmm0, xmmword [rbp - 0x80]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x50]
mov byte [rsp + 0x58], sil
mov byte [rsp + 0x50], 1
mov byte [rsp + 0x48], sil
movdqa xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [rbp + 0xa0]
movsd qword [rsp + 0x40], xmm0
movsd xmm0, qword [rbp + 0xa8]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x70]
movss dword [rsp + 0x30], xmm6
mov qword [rsp + 0x28], rax
movsd qword [rsp + 0x20], xmm0
movdqa xmmword [rbp - 0x60], xmm2
movdqa xmmword [rbp - 0x50], xmm3
movdqa xmmword [rbp - 0x70], xmm4
call fcn.180002cd8
movss xmm1, dword [0x180009058]
mov ecx, esi
addss xmm1, dword [0x1800080e4]
and dword [rbp + 0xa0], esi
and dword [rbp + 0xa4], esi
movaps xmm2, xmmword [0x180008160]
movaps xmm3, xmm2
movss xmm0, dword [0x1800080f8]
movaps xmm4, xmmword [0x180008150]
movss dword [rsp + 0x74], xmm1
movss dword [rsp + 0x70], xmm0
mov dword [rbp + 0xa8], 0x3f666666
mov dword [rbp + 0xac], 0x3f666666
cmp word [rdi], si
je 0x18000776e
mov rax, rdi
inc ecx
lea rax, [rax + 2]
cmp word [rax], si
jne 0x180007761
inc ecx
mov r9, qword [rsp + 0x70]
lea r8, [rbp - 0x80]
mov rdx, qword [0x180009040]
test ecx, ecx
mov dword [rbp - 0x78], ecx
mov rax, rsi
cmovne rax, rdi
mov dword [rbp - 0x74], ecx
mov rcx, qword [0x180009078]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x70]
movaps xmm0, xmmword [rbp - 0x80]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x50]
mov byte [rsp + 0x58], sil
mov byte [rsp + 0x50], 1
mov byte [rsp + 0x48], sil
movdqa xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [rbp + 0xa0]
movsd qword [rsp + 0x40], xmm0
movsd xmm0, qword [rbp + 0xa8]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x60]
movss dword [rsp + 0x30], xmm6
mov qword [rsp + 0x28], rax
movsd qword [rsp + 0x20], xmm0
movdqa xmmword [rbp - 0x70], xmm2
movdqa xmmword [rbp - 0x50], xmm3
movdqa xmmword [rbp - 0x60], xmm4
call fcn.180002cd8
movaps xmm0, xmmword [0x1800081b0]
lea r9, [rbp - 0x70]
movss xmm3, dword [0x180009058]
movss xmm2, dword [0x1800080f0]
movss xmm1, dword [0x1800080d0]
movdqa xmmword [rbp - 0x70], xmm0
movaps xmm0, xmm6
unpcklps xmm0, xmm3
movq rcx, xmm0
movss dword [rsp + 0x20], xmm9
call fcn.180004ac8
movss xmm0, dword [0x180009058]
lea r11, [rsp + 0x180]
addss xmm0, dword [0x1800080f0]
inc dword [0x180009060]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movss dword [0x180009058], xmm0
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret