Function at 0x140002e20
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0x130
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 [0x1400f6080]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rdx
lea r8, [rsp + 0x30]
mov rdx, qword [0x1400f7530]
xorps xmm0, xmm0
xorps xmm1, xmm1
movaps xmmword [rsp + 0x30], xmm0
add rdx, 0xe9ad420
movaps xmmword [rsp + 0x40], xmm1
mov r9d, 0x50
movaps xmmword [rsp + 0x50], xmm0
mov rbx, rcx
call fcn.140002490
lea rcx, [rsp + 0x30]
mov r8b, 0x40
xor edx, edx
nop dword [rax]
xor byte [rcx], r8b
lea eax, [rdx + 0x17]
add r8b, al
lea rcx, [rcx + 1]
inc edx
cmp edx, 0x40
jl 0x140002ec0
movsd xmm4, qword [0x1400e6d00]
xorps xmm8, xmm8
movsd xmm3, qword [0x1400e6d48]
xorps xmm6, xmm6
movsd xmm0, qword [rsp + 0x48]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm1, xmm2
mulsd xmm0, xmm4
unpckhpd xmm2, xmm2
mulsd xmm1, xmm4
divsd xmm0, xmm3
mulsd xmm2, xmm4
divsd xmm1, xmm3
divsd xmm2, xmm3
cvtpd2ps xmm7, xmm0
cvtsd2ss xmm8, xmm1
movaps xmm0, xmm7
cvtsd2ss xmm6, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm9, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss dword [rsp + 0x20], xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm7, xmm0
movaps xmm0, xmm8
movss dword [rsp + 0x24], xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm14, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm15, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm1, xmmword [rsp + 0x30]
movaps xmm13, xmm0
movsd xmm10, qword [rdi]
xorps xmm2, xmm2
movsd xmm11, qword [rdi + 8]
subsd xmm10, xmm1
movsd xmm12, qword [rdi + 0x10]
xorps xmm6, xmm6
subsd xmm12, qword [rsp + 0x40]
cvtsi2ss xmm6, dword [0x1400f7594]
movss dword [rsp + 0x28], xmm0
movaps xmm8, xmm15
mulss xmm6, dword [0x1400e6c80]
movaps xmm0, xmm7
mulss xmm0, dword [rsp + 0x20]
unpckhpd xmm1, xmm1
subsd xmm11, xmm1
mulss xmm8, xmm9
cvtss2sd xmm2, xmm0
xorps xmm0, xmm0
mulss xmm13, xmm9
movaps xmm1, xmm14
mulsd xmm2, xmm11
mulss xmm1, dword [rsp + 0x20]
cvtss2sd xmm0, xmm1
xorps xmm1, xmm1
mulsd xmm0, xmm10
cvtss2sd xmm1, xmm9
movsd xmm9, qword [0x1400e6ce0]
addsd xmm2, xmm0
movss xmm0, dword [rsp + 0x60]
mulss xmm0, dword [0x1400e6d24]
mulsd xmm1, xmm12
divss xmm0, dword [0x1400e6e0c]
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, xmm14
mulss xmm0, xmm7
cvtps2pd xmm5, xmm1
subss xmm2, xmm0
xorps xmm4, xmm4
mulss xmm8, xmm7
mov qword [rbx + 0x10], 0
mov rax, rbx
cvtss2sd xmm4, xmm2
movaps xmm1, xmm15
movaps xmm0, xmm3
xorps xmm1, xmmword [0x1400e72d0]
movaps xmm2, xmm15
mulss xmm1, dword [rsp + 0x20]
mulss xmm0, xmm14
mulsd xmm4, xmm10
addss xmm0, xmm8
mulss xmm2, xmm7
mulss xmm15, xmm14
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm11
addsd xmm4, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [0x1400f7528]
mulsd xmm0, xmm12
mulss xmm1, dword [0x1400e6c80]
addsd xmm4, xmm0
cvtps2pd xmm0, xmm6
mulsd xmm4, xmm5
divsd xmm4, xmm9
addsd xmm4, xmm0
movaps xmm0, xmm13
mulss xmm0, xmm14
mulss xmm13, xmm7
addss xmm2, xmm0
movsd qword [rbx], xmm4
cvtps2pd xmm4, xmm1
xorps xmm2, xmmword [0x1400e72d0]
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 [rsp + 0x80]
xor rcx, rsp
call fcn.1400afe40
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
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 rdi
ret