Function at 0x1400106b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
push rdi
sub rsp, 0xe0
movaps xmmword [rax - 0x18], xmm6
xor r8d, r8d
movaps xmmword [rax - 0x28], xmm7
mov rbx, rdx
movaps xmmword [rax - 0x38], xmm8
mov rdi, rcx
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
movsd xmm6, qword [0x140114450]
movsd xmm7, qword [0x140114458]
movsd xmm8, qword [0x140114460]
movaps xmmword [rsp + 0x60], xmm13
movaps xmmword [rsp + 0x50], xmm14
movaps xmmword [rsp + 0x40], xmm15
mov dword [rax + 0x18], 0x858294b9
mov dword [rax + 0x1c], 0x1008191
lea eax, [r8 - 0xc]
xor byte [rsp + r8 + 0x100], al
inc r8
cmp r8, 6
jb 0x140010731
lea rcx, [rsp + 0x100]
mov byte [rsp + 0x107], 0
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginMutation]
movsd xmm2, qword [0x14005aa40]
movsd xmm1, qword [0x14005aa98]
mulsd xmm6, xmm2
mulsd xmm7, xmm2
mulsd xmm8, xmm2
divsd xmm6, xmm1
divsd xmm7, xmm1
divsd xmm8, xmm1
cvtsd2ss xmm6, xmm6
cvtsd2ss xmm7, xmm7
movaps xmm0, xmm6
cvtsd2ss xmm8, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm11, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm10, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm6, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm7, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm4, xmm0
movaps xmm3, xmm7
mulss xmm3, xmm9
movaps xmm1, xmm6
mulss xmm1, xmm11
movaps xmm2, xmm10
mulss xmm2, xmm11
xorps xmm12, xmm12
xorps xmm13, xmm13
xorps xmm8, xmm8
cvtss2sd xmm12, xmm1
movaps xmm1, xmm0
xorps xmm14, xmm14
mulss xmm1, xmm10
xorps xmm0, xmm0
cvtss2sd xmm13, xmm2
movaps xmm2, xmm3
xorps xmm5, xmm5
mulss xmm3, xmm10
xorps xmm15, xmm15
mulss xmm2, xmm6
cvtss2sd xmm5, xmm9
subss xmm2, xmm1
movaps xmm1, xmm7
xorps xmm1, xmmword [0x14005afd0]
mulss xmm1, xmm11
cvtss2sd xmm0, xmm2
cvtss2sd xmm14, xmm1
movsd qword [rsp + 0x100], xmm0
xorps xmm2, xmm2
movaps xmm0, xmm4
mulss xmm0, xmm6
addss xmm3, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm10
mulss xmm7, xmm6
cvtss2sd xmm8, xmm3
movaps xmm3, xmm4
mulss xmm4, xmm11
mulss xmm3, xmm9
movsd qword [rsp + 0xf0], xmm8
movaps xmm1, xmm3
mulss xmm3, xmm10
mulss xmm1, xmm6
subss xmm7, xmm3
addss xmm1, xmm0
cvtss2sd xmm15, xmm7
xorps xmm1, xmmword [0x14005afd0]
cvtss2sd xmm2, xmm1
movsd qword [rsp + 0xf8], xmm2
movsd xmm7, qword [0x14005aa28]
movaps xmm0, xmm12
unpcklpd xmm0, xmm13
xorps xmm11, xmm11
movups xmmword [0x1401144d0], xmm0
movsd xmm0, qword [rsp + 0x100]
xorps xmm6, xmm6
unpcklpd xmm0, xmm8
movups xmmword [0x140114500], xmm0
movsd qword [0x1401144e0], xmm5
movaps xmm0, xmm2
unpcklpd xmm0, xmm15
movups xmmword [0x140114530], xmm0
movsd qword [0x140114510], xmm14
cvtss2sd xmm11, xmm4
movsd qword [0x140114540], xmm11
movsd xmm10, qword [rbx]
movsd xmm8, qword [rbx + 8]
subsd xmm10, qword [0x1401143a8]
subsd xmm8, qword [0x1401143b0]
movsd xmm9, qword [rbx + 0x10]
subsd xmm9, qword [0x1401143b8]
mov ebx, dword [0x140113794]
mulsd xmm12, xmm10
mulsd xmm13, xmm8
mulsd xmm5, xmm9
cvtsi2ss xmm6, rbx
addsd xmm13, xmm12
addsd xmm13, xmm5
cvtpd2ps xmm0, xmm13
cvtps2pd xmm1, xmm0
movss xmm0, dword [0x140113788]
movss dword [0x14011378c], xmm0
maxsd xmm7, xmm1
mulss xmm0, dword [0x14005aa78]
divss xmm0, dword [0x14005ab2c]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movsd xmm1, qword [rsp + 0x100]
lea r11, [rsp + 0xe0]
mov eax, dword [0x140113568]
xorps xmm2, xmm2
divss xmm6, xmm0
movsd xmm0, qword [rsp + 0xf0]
mulsd xmm0, xmm8
mulsd xmm1, xmm10
cvtps2pd xmm3, xmm6
movaps xmm6, xmmword [r11 - 0x10]
addsd xmm0, xmm1
mulsd xmm14, xmm9
mulsd xmm15, xmm8
movaps xmm8, xmmword [r11 - 0x30]
addsd xmm0, xmm14
mulsd xmm11, xmm9
movaps xmm9, xmmword [r11 - 0x40]
cvtsi2sd xmm2, rax
mov rax, rdi
cvtpd2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
mov rbx, qword [r11 + 0x28]
mulsd xmm1, xmm3
divsd xmm1, xmm7
addsd xmm1, xmm0
movsd xmm0, qword [rsp + 0xf8]
mulsd xmm0, xmm10
movaps xmm10, xmmword [r11 - 0x50]
movsd qword [rdi], xmm1
addsd xmm15, xmm0
addsd xmm15, xmm11
cvtpd2ps xmm0, xmm15
cvtps2pd xmm1, xmm0
mulsd xmm1, xmm3
divsd xmm1, xmm7
movaps xmm7, xmmword [r11 - 0x20]
subsd xmm2, xmm1
movsd qword [rdi + 8], xmm2
movups xmm0, xmmword [0x140114450]
movups xmmword [0x1401143c0], xmm0
movsd xmm0, qword [0x140114460]
movsd qword [0x1401143d0], xmm0
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [rsp + 0x50]
movaps xmm15, xmmword [rsp + 0x40]
mov rsp, r11
pop rdi
ret