Function at 0x1400029b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0x170
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 [0x140058010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x48], 0x50
movaps xmmword [rsp + 0x70], xmm0
mov rbx, rcx
mov rcx, qword [0x140058d90]
xorps xmm1, xmm1
movaps xmmword [rsp + 0x90], xmm0
mov rdi, rdx
movaps xmmword [rsp + 0x80], xmm1
mov dword [rsp + 0x58], 1
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [0x140058cd8]
add rax, 0xe99fea0
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x4c], eax
lea rax, [rcx + 0x18]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
movups xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x68], rax
mov rax, qword [rcx + 8]
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea rcx, [rsp + 0x70]
mov r8b, 0x40
xor edx, edx
xor byte [rcx], r8b
lea eax, [rdx + 0x17]
add r8b, al
lea rcx, [rcx + 1]
inc edx
cmp edx, 0x40
jl 0x140002ab1
movsd xmm4, qword [0x1400504d0]
xorps xmm8, xmm8
movsd xmm3, qword [0x140050530]
xorps xmm6, xmm6
movsd xmm0, qword [rsp + 0x88]
movaps xmm2, xmmword [rsp + 0x90]
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 + 0x24], 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 + 0x28], 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 + 0x70]
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 + 0x80]
cvtsi2ss xmm6, dword [0x140058d40]
movss dword [rsp + 0x20], xmm0
movaps xmm8, xmm15
mulss xmm6, dword [0x140050458]
movaps xmm0, xmm7
mulss xmm0, dword [rsp + 0x24]
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 + 0x24]
cvtss2sd xmm0, xmm1
xorps xmm1, xmm1
mulsd xmm0, xmm10
cvtss2sd xmm1, xmm9
movsd xmm9, qword [0x1400504a8]
addsd xmm2, xmm0
movss xmm0, dword [rsp + 0xa0]
mulss xmm0, dword [0x14005050c]
mulsd xmm1, xmm12
divss xmm0, dword [0x140050604]
addsd xmm2, xmm1
maxsd xmm9, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movss xmm3, dword [rsp + 0x20]
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 [0x1400507f0]
movaps xmm2, xmm15
mulss xmm1, dword [rsp + 0x24]
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 [0x140058cd4]
mulsd xmm0, xmm12
mulss xmm1, dword [0x140050458]
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 [0x1400507f0]
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 + 0x24]
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 + 0xc0]
xor rcx, rsp
call fcn.140047830
lea r11, [rsp + 0x170]
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