Function at 0x140032ef0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0x140
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 [0x140130080]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rdx
lea r8, [rsp + 0x40]
mov rdx, qword [0x140131580]
xorps xmm0, xmm0
mov rbx, rcx
movaps xmmword [rsp + 0x40], xmm0
mov rcx, qword [0x1401315d0]
xorps xmm1, xmm1
add rdx, 0xf0e8bd0
movaps xmmword [rsp + 0x50], xmm1
mov r9d, 0x50
movaps xmmword [rsp + 0x60], xmm0
call fcn.140031990
lea rcx, [rsp + 0x40]
mov r8b, 0x40
xor edx, edx
nop dword [rax]
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 0x140032fa0
movsd xmm4, qword [0x140121bb8]
xorps xmm8, xmm8
movsd xmm3, qword [0x140121c00]
xorps xmm6, xmm6
movsd xmm0, qword [rsp + 0x58]
movaps xmm2, xmmword [rsp + 0x60]
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 xmm11, xmm0
movaps xmm0, xmm8
movss dword [rsp + 0x24], xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm7, xmm0
movaps xmm0, xmm6
movss dword [rsp + 0x2c], xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm10, xmm0
movaps xmm0, xmm6
movss dword [rsp + 0x30], xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movsd xmm2, qword [rdi + 8]
movaps xmm15, xmm0
movsd xmm1, qword [rdi]
xorps xmm6, xmm6
movaps xmm3, xmmword [rsp + 0x40]
cvtsi2ss xmm6, dword [0x1401315b0]
subsd xmm1, xmm3
movss dword [rsp + 0x28], xmm0
unpckhpd xmm3, xmm3
subsd xmm2, xmm3
mulss xmm10, xmm9
xorps xmm3, xmm3
mulss xmm15, xmm9
cvtpd2ps xmm1, xmm1
cvtpd2ps xmm0, xmm2
cvtps2pd xmm12, xmm1
movsd xmm1, qword [rdi + 0x10]
movaps xmm2, xmm11
subsd xmm1, qword [rsp + 0x50]
mulss xmm2, dword [rsp + 0x20]
movsd xmm11, qword [0x140121b90]
cvtps2pd xmm13, xmm0
cvtpd2ps xmm0, xmm1
cvtss2sd xmm3, xmm2
cvtps2pd xmm14, xmm0
movaps xmm0, xmm7
mulsd xmm3, xmm13
mulss xmm0, dword [rsp + 0x20]
xorps xmm1, xmm1
movaps xmm7, xmm6
mulss xmm7, dword [0x140121b3c]
cvtss2sd xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm9
mulsd xmm1, xmm12
xorps xmm9, xmm9
cvtsi2ss xmm9, dword [0x14013157c]
addsd xmm3, xmm1
mulsd xmm0, xmm14
addsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
cvtps2pd xmm1, xmm0
movss xmm0, dword [rsp + 0x70]
maxsd xmm11, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x140121bb0]
divsd xmm0, qword [0x140121c10]
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movss xmm1, dword [0x140121b6c]
mov rax, rbx
movss xmm5, dword [rsp + 0x2c]
divss xmm6, xmm9
mov qword [rbx + 0x10], 0
mulss xmm9, dword [0x140121b3c]
maxss xmm1, xmm6
movss xmm6, dword [rsp + 0x28]
movaps xmm2, xmm6
mulss xmm2, xmm5
divss xmm1, dword [0x140121b88]
mulss xmm0, xmm1
movaps xmm1, xmm7
divss xmm1, xmm0
movaps xmm0, xmm10
mulss xmm10, xmm5
mulss xmm0, dword [rsp + 0x24]
cvtps2pd xmm4, xmm1
addss xmm2, xmm0
xorps xmm1, xmm1
movaps xmm0, xmm6
movss xmm6, dword [rsp + 0x30]
mulss xmm0, dword [rsp + 0x24]
cvtps2pd xmm3, xmm2
subss xmm10, xmm0
xorps xmm2, xmm2
movaps xmm0, xmm6
mulsd xmm3, xmm13
xorps xmm0, xmmword [0x140121f60]
mulss xmm0, dword [rsp + 0x20]
cvtss2sd xmm1, xmm10
cvtss2sd xmm0, xmm0
mulsd xmm1, xmm12
mulsd xmm0, xmm14
addsd xmm3, xmm1
addsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
cvtps2pd xmm3, xmm9
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm7
mulsd xmm1, xmm4
divsd xmm1, xmm11
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm1, xmm0
movaps xmm0, xmm15
mulss xmm15, dword [rsp + 0x24]
mulss xmm0, xmm5
movsd qword [rbx], xmm1
movaps xmm1, xmm6
mulss xmm1, dword [rsp + 0x24]
mulss xmm6, xmm5
addss xmm1, xmm0
subss xmm6, xmm15
xorps xmm1, xmmword [0x140121f60]
cvtss2sd xmm2, xmm1
cvtps2pd xmm0, xmm6
mulsd xmm2, xmm12
mulsd xmm0, xmm13
addsd xmm2, xmm0
movss xmm0, dword [rsp + 0x28]
mulss xmm0, dword [rsp + 0x20]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm14
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm4
divsd xmm1, xmm11
subsd xmm3, xmm1
cvtpd2ps xmm0, xmm3
cvtps2pd xmm1, xmm0
movsd qword [rbx + 8], xmm1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400a4630
lea r11, [rsp + 0x140]
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