Function at 0x14003b1b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x68]
sub rsp, 0x160
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 [0x14007e010]
xor rax, rsp
mov qword [rbp - 0x50], rax
xor eax, eax
mov qword [rsp + 0x58], 0x50
mov dword [rbp - 0x70], eax
xorps xmm0, xmm0
mov qword [rbp - 0x5c], rax
mov rdi, rdx
mov rdx, qword [0x14011a390]
mov rbx, rcx
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x20]
movsd qword [rsp + 0x60], xmm0
movsd qword [rsp + 0x78], xmm0
mov eax, dword [rdx + 8]
mov dword [rsp + 0x40], eax
mov rax, qword [0x14011a420]
add rax, 0xedc66e0
movaps xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
movups xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x20], 0x92b
movups xmmword [rbp - 0x6c], xmm0
mov dword [rsp + 0x24], 0x129
call qword [rdx]
lea rcx, [rsp + 0x60]
mov r8b, 0x40
xor edx, edx
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 0x14003b2a0
movsd xmm2, qword [0x140076a60]
movsd xmm1, qword [0x140076ad8]
movsd xmm7, qword [rsp + 0x78]
movsd xmm6, qword [rbp - 0x80]
movsd xmm8, qword [rbp - 0x78]
mulsd xmm7, xmm2
mulsd xmm6, xmm2
mulsd xmm8, xmm2
divsd xmm7, xmm1
divsd xmm6, xmm1
movaps xmm0, xmm7
divsd xmm8, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movaps xmm9, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movsd qword [rsp + 0x30], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movsd qword [rsp + 0x38], xmm0
movaps xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm14, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movaps xmm15, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movsd xmm10, qword [rdi]
movaps xmm12, xmm0
subsd xmm10, qword [rsp + 0x60]
movsd xmm11, qword [rdi + 8]
xorps xmm3, xmm3
subsd xmm11, qword [rsp + 0x68]
movsd xmm13, qword [rdi + 0x10]
movaps xmm1, xmm14
mulsd xmm1, qword [rsp + 0x30]
xorps xmm6, xmm6
subsd xmm13, qword [rsp + 0x70]
cvtsi2ss xmm6, dword [0x14011a428]
movsd qword [rsp + 0x20], xmm0
movaps xmm8, xmm15
mulss xmm6, dword [0x1400769d8]
movaps xmm0, xmm7
mulsd xmm0, qword [rsp + 0x30]
mulsd xmm8, xmm9
mulsd xmm12, xmm9
cvtsd2ss xmm0, xmm0
cvtss2sd xmm3, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
mulsd xmm3, xmm11
cvtps2pd xmm2, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm9
movsd xmm9, qword [0x140076a40]
cvtps2pd xmm1, xmm0
movss xmm0, dword [rbp - 0x70]
mulss xmm0, dword [0x140076aa8]
mulsd xmm2, xmm10
divss xmm0, dword [0x140076ba0]
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, xmm8
divss xmm1, xmm0
mulsd xmm2, xmm14
cvtps2pd xmm5, xmm1
movsd xmm1, qword [rsp + 0x20]
movaps xmm0, xmm1
mulsd xmm1, xmm14
mulsd xmm0, xmm7
subsd xmm2, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm2
cvtps2pd xmm4, xmm0
mulsd xmm4, xmm10
mulsd xmm8, xmm7
movaps xmm2, xmm15
mov rax, rbx
mov qword [rbx + 0x10], 0
mulsd xmm2, xmm7
addsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm1, xmm0
movaps xmm0, xmm15
mulsd xmm15, xmm14
xorps xmm0, xmmword [0x140076d70]
mulsd xmm0, qword [rsp + 0x30]
mulsd xmm1, xmm11
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 [0x14011a430]
mulsd xmm4, xmm5
mulss xmm1, dword [0x1400769d8]
divsd xmm4, xmm9
addsd xmm4, xmm0
movaps xmm0, xmm12
mulsd xmm0, xmm14
mulsd xmm12, xmm7
movsd qword [rbx], xmm4
addsd xmm2, xmm0
xorps xmm0, xmm0
cvtps2pd xmm4, xmm1
xorps xmm2, xmmword [0x140076d70]
subsd xmm15, xmm12
cvtsd2ss xmm0, xmm2
cvtps2pd xmm3, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm15
mulsd xmm3, xmm10
cvtps2pd xmm1, xmm0
movsd xmm0, qword [rsp + 0x20]
mulsd xmm0, qword [rsp + 0x30]
mulsd xmm1, xmm11
cvtpd2ps xmm0, xmm0
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 - 0x50]
xor rcx, rsp
call fcn.14006d2a0
lea r11, [rsp + 0x160]
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