Function at 0x140002480
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x98]
sub rsp, 0x190
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 [0x140055010]
xor rax, rsp
mov qword [rbp - 0x20], rax
xor eax, eax
mov qword [rsp + 0x60], 0x50
mov qword [rbp - 0x30], rax
lea r8, [rsp + 0x40]
mov dword [rbp - 0x28], eax
mov rbx, rcx
mov rcx, qword [0x1400561e0]
xorps xmm0, xmm0
xorps xmm1, xmm1
movaps xmmword [rbp - 0x70], xmm0
mov rdi, rdx
movaps xmmword [rbp - 0x60], xmm1
mov edx, 8
movaps xmmword [rbp - 0x50], xmm0
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [0x1400561c8]
add rax, 0xe99fea0
mov qword [rsp + 0x48], rax
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x58], rax
movups xmmword [rbp - 0x40], xmm1
call fcn.140044623
movaps xmm0, xmmword [rbp - 0x70]
lea rcx, [rsp + 0x40]
movaps xmm1, xmmword [rbp - 0x60]
mov r8b, 0x40
movaps xmmword [rsp + 0x40], xmm0
xor edx, edx
movaps xmm0, xmmword [rbp - 0x50]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm1, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm1
nop dword [rax + rax]
xor byte [rcx], r8b
lea eax, [rdx + 0x17]
add r8b, al
lea rcx, [rcx + 1]
inc edx
cmp edx, 0x40
jl 0x140002590
movsd xmm0, qword [rsp + 0x58]
movsd xmm8, qword [0x14004d5a0]
movsd xmm7, qword [0x14004d608]
mulsd xmm0, xmm8
divsd xmm0, xmm7
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movsd xmm1, qword [rsp + 0x60]
mulsd xmm1, xmm8
cvtss2sd xmm0, xmm0
divsd xmm1, xmm7
movsd qword [rsp + 0x30], xmm0
cvtpd2ps xmm6, xmm1
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
cvtss2sd xmm0, xmm0
movsd qword [rsp + 0x20], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movsd xmm1, qword [rsp + 0x68]
mulsd xmm1, xmm8
cvtss2sd xmm0, xmm0
divsd xmm1, xmm7
movsd qword [rsp + 0x28], xmm0
cvtpd2ps xmm6, xmm1
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm14, xmm14
cvtss2sd xmm14, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movsd xmm1, qword [rsp + 0x28]
xorps xmm15, xmm15
mulsd xmm1, qword [rsp + 0x30]
xorps xmm6, xmm6
movsd xmm10, qword [rdi]
movaps xmm8, xmm14
movsd xmm11, qword [rdi + 8]
subsd xmm10, qword [rsp + 0x40]
subsd xmm11, qword [rsp + 0x48]
movsd xmm13, qword [rdi + 0x10]
subsd xmm13, qword [rsp + 0x50]
cvtsi2ss xmm6, dword [0x1400560a8]
cvtss2sd xmm15, xmm0
movsd xmm0, qword [rsp + 0x20]
mulsd xmm0, qword [rsp + 0x30]
movaps xmm12, xmm15
mulss xmm6, dword [0x14004d540]
mulsd xmm8, xmm9
cvtpd2ps xmm0, xmm0
mulsd xmm12, xmm9
cvtps2pd xmm3, xmm0
cvtpd2ps xmm0, xmm1
mulsd xmm3, xmm11
cvtps2pd xmm2, xmm0
cvtpd2ps xmm0, xmm9
movsd xmm9, qword [0x14004d590]
cvtps2pd xmm1, xmm0
movss xmm0, dword [rsp + 0x70]
mulss xmm0, dword [0x14004d5dc]
mulsd xmm2, xmm10
divss xmm0, dword [0x14004d6c0]
addsd xmm3, xmm2
mulsd xmm1, xmm13
addsd xmm3, xmm1
maxsd xmm9, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
movaps xmm2, xmm15
mulsd xmm2, qword [rsp + 0x28]
divss xmm1, xmm0
movaps xmm0, xmm8
mulsd xmm0, qword [rsp + 0x20]
cvtps2pd xmm5, xmm1
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
movsd xmm2, qword [rsp + 0x20]
mov rax, rbx
mulsd xmm8, qword [rsp + 0x28]
mov qword [rbx + 0x10], 0
cvtps2pd xmm4, xmm0
movaps xmm0, xmm15
mulsd xmm15, qword [rsp + 0x30]
mulsd xmm0, xmm2
mulsd xmm4, xmm11
mulsd xmm2, xmm14
subsd xmm8, xmm0
cvtpd2ps xmm0, xmm8
cvtps2pd xmm1, xmm0
movaps xmm0, xmm14
xorps xmm0, xmmword [0x14004dc70]
mulsd xmm0, qword [rsp + 0x30]
mulsd xmm1, xmm10
cvtsd2ss xmm0, xmm0
addsd xmm4, xmm1
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
cvtps2pd xmm0, xmm6
mulsd xmm1, xmm13
addsd xmm4, xmm1
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [0x140056080]
mulsd xmm4, xmm5
mulss xmm1, dword [0x14004d540]
divsd xmm4, xmm9
addsd xmm4, xmm0
movaps xmm0, xmm12
mulsd xmm12, qword [rsp + 0x20]
movsd qword [rbx], xmm4
cvtps2pd xmm4, xmm1
movsd xmm1, qword [rsp + 0x28]
mulsd xmm0, xmm1
mulsd xmm1, xmm14
addsd xmm2, xmm0
xorps xmm0, xmm0
subsd xmm1, xmm12
xorps xmm2, xmmword [0x14004dc70]
cvtsd2ss xmm0, xmm2
cvtps2pd xmm3, xmm0
cvtpd2ps xmm0, xmm1
mulsd xmm3, xmm10
cvtps2pd xmm1, xmm0
cvtpd2ps xmm0, xmm15
mulsd xmm1, xmm11
addsd xmm3, xmm1
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm13
addsd xmm3, xmm1
mulsd xmm3, xmm5
divsd xmm3, xmm9
subsd xmm4, xmm3
movsd qword [rbx + 8], xmm4
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.140044720
lea r11, [rsp + 0x190]
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