Function at 0x140003580
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rax - 0x88], xmm13
movaps xmmword [rax - 0x98], xmm14
movaps xmmword [rax - 0xa8], xmm15
mov rax, qword [0x1400c3158]
xor rax, rsp
mov qword [rbp - 0x30], rax
xor eax, eax
lea r8, [rbp - 0x80]
xorps xmm0, xmm0
mov dword [rbp - 0x50], eax
mov rdi, rdx
movaps xmmword [rbp - 0x80], xmm0
mov rdx, qword [0x1400f7e00]
xorps xmm1, xmm1
lea r9d, [rax + 0x50]
movaps xmmword [rbp - 0x70], xmm1
add rdx, 0xe49c7e0
movaps xmmword [rbp - 0x60], xmm0
mov rbx, rcx
mov qword [rbp - 0x3c], rax
movups xmmword [rbp - 0x4c], xmm0
call fcn.140002070
movaps xmm0, xmmword [rbp - 0x80]
lea rcx, [rsp + 0x30]
movaps xmm1, xmmword [rbp - 0x70]
mov r8b, 0x40
movaps xmmword [rsp + 0x30], xmm0
xor edx, edx
movaps xmm0, xmmword [rbp - 0x60]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rbp - 0x40]
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [rbp - 0x50]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm1
nop word [rax + rax]
xor byte [rcx], r8b
lea eax, [rdx + 0x17]
add r8b, al
lea rcx, [rcx + 1]
inc edx
cmp edx, 0x40
jl 0x140003660
movsd xmm4, qword [0x1400b9200]
movsd xmm3, qword [0x1400b9258]
movsd xmm0, qword [rsp + 0x48]
movsd xmm1, qword [rsp + 0x50]
movsd xmm2, qword [rsp + 0x58]
mulsd xmm0, xmm4
mulsd xmm1, xmm4
mulsd xmm2, xmm4
divsd xmm0, xmm3
divsd xmm1, xmm3
divsd xmm2, xmm3
cvtpd2ps xmm6, xmm0
cvtpd2ps xmm7, xmm1
movaps xmm0, xmm6
cvtpd2ps xmm8, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss dword [rsp + 0x20], xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm6, xmm0
movaps xmm0, xmm7
movss dword [rsp + 0x24], xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm14, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm15, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movsd xmm10, qword [rdi]
movaps xmm13, xmm0
subsd xmm10, qword [rsp + 0x30]
movsd xmm11, qword [rdi + 8]
xorps xmm2, xmm2
subsd xmm11, qword [rsp + 0x38]
movsd xmm12, qword [rdi + 0x10]
movaps xmm1, xmm14
mulss xmm1, dword [rsp + 0x20]
movaps xmm8, xmm15
subsd xmm12, qword [rsp + 0x40]
movss dword [rsp + 0x28], xmm0
movaps xmm0, xmm6
mulss xmm0, dword [rsp + 0x20]
xorps xmm6, xmm6
cvtsi2ss xmm6, dword [0x1400f7dfc]
cvtss2sd xmm2, xmm0
mulss xmm6, dword [0x1400b91e8]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
mulsd xmm2, xmm11
xorps xmm1, xmm1
mulsd xmm0, xmm10
cvtss2sd xmm1, xmm9
addsd xmm2, xmm0
mulss xmm8, xmm9
movss xmm0, dword [rsp + 0x60]
mulss xmm0, dword [0x1400b9248]
mulss xmm13, xmm9
divss xmm0, dword [0x1400b92a4]
movsd xmm9, qword [0x1400b91f0]
mulsd xmm1, xmm12
addsd xmm2, xmm1
maxsd xmm9, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movss xmm3, dword [rsp + 0x28]
movaps xmm1, xmm6
divss xmm1, xmm0
movaps xmm2, xmm8
movaps xmm0, xmm3
mulss xmm2, dword [rsp + 0x24]
xorps xmm4, xmm4
mulss xmm0, xmm14
cvtps2pd xmm5, xmm1
addss xmm2, xmm0
mulss xmm8, xmm14
movaps xmm0, xmm3
cvtss2sd xmm4, xmm2
mulsd xmm4, xmm11
mulss xmm0, dword [rsp + 0x24]
xorps xmm1, xmm1
mov qword [rbx + 0x10], 0
mov rax, rbx
movaps xmm2, xmm13
mulss xmm13, dword [rsp + 0x24]
subss xmm8, xmm0
mulss xmm2, xmm14
movaps xmm0, xmm15
xorps xmm0, xmmword [0x1400b9530]
mulss xmm0, dword [rsp + 0x20]
cvtss2sd xmm1, xmm8
cvtss2sd xmm0, xmm0
mulsd xmm1, xmm10
mulsd xmm0, xmm12
addsd xmm4, xmm1
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [0x1400f7df8]
addsd xmm4, xmm0
mulss xmm1, dword [0x1400b91e8]
cvtps2pd xmm0, xmm6
mulsd xmm4, xmm5
divsd xmm4, xmm9
addsd xmm4, xmm0
movaps xmm0, xmm15
mulss xmm0, dword [rsp + 0x24]
mulss xmm15, xmm14
addss xmm2, xmm0
movsd qword [rbx], xmm4
cvtps2pd xmm4, xmm1
xorps xmm2, xmmword [0x1400b9530]
xorps xmm1, xmm1
xorps xmm0, xmm0
subss xmm15, xmm13
cvtss2sd xmm1, xmm2
cvtss2sd xmm0, xmm15
mulsd xmm1, xmm10
mulsd xmm0, xmm11
addsd xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [rsp + 0x20]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm12
addsd xmm1, xmm0
mulsd xmm1, xmm5
divsd xmm1, xmm9
subsd xmm4, xmm1
movsd qword [rbx + 8], xmm4
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.140049f50
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
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]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop rbp
ret