Function at 0x7ff6581e22e0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x118]
sub rsp, 0x210
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 [0x7ff658221040]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor eax, eax
mov qword [rbp - 0x78], 0xfc6
xor ebx, ebx
mov dword [rbp - 0x10], eax
mov qword [rbp + 4], rax
lea r8, [rbp - 0x80]
mov rax, qword [0x7ff658221900]
xorps xmm0, xmm0
add rax, 0x10cb8d0
mov qword [rsp + 0x38], rbx
mov qword [rbp - 0x70], rax
lea r9d, [rbx + 0x28]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x68], rax
mov rdi, rdx
mov eax, dword [0x7ff658221908]
mov rsi, rcx
mov rcx, qword [0x7ff658221910]
xorps xmm1, xmm1
mov dword [rsp + 0x28], ebx
mov edx, 0x2209a4
mov dword [rbp - 0x7c], eax
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0xc], xmm0
mov dword [rbp - 0x80], 0xcabd5e5
mov qword [rbp - 0x60], 0x50
mov qword [rsp + 0x20], rbx
call qword [sym.imp.kernel32.dll_DeviceIoControl]
movaps xmm0, xmmword [rbp - 0x40]
lea rcx, [rbp + 0x10]
movaps xmm1, xmmword [rbp - 0x30]
mov dl, 0x40
movaps xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x30], xmm0
movaps xmm0, xmmword [rbp]
movaps xmmword [rbp + 0x20], xmm1
movaps xmm1, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0x50], xmm0
movaps xmmword [rbp + 0x40], xmm1
xor byte [rcx], dl
lea eax, [rbx + 0x17]
add dl, al
lea rcx, [rcx + 1]
inc ebx
cmp ebx, 0x40
jl 0x7ff6581e2400
cmp byte [0x7ff65822191a], 0
movups xmm0, xmmword [rbp + 0x28]
movsd xmm5, qword [rbp + 0x20]
movsd xmm2, qword [rbp + 0x38]
movss xmm3, dword [rbp + 0x40]
movaps xmm4, xmmword [rbp + 0x10]
movups xmmword [rbp - 0x68], xmm0
movups xmm0, xmmword [rbp - 0x70]
movups xmm1, xmmword [rbp - 0x60]
movsd xmm0, xmm5
movups xmmword [rbp - 0x70], xmm0
movups xmmword [0x7ff658221220], xmm0
movsd xmm0, qword [rbp - 0x50]
movss xmm0, xmm3
unpcklpd xmm1, xmm2
movsd qword [rbp - 0x50], xmm0
movsd qword [0x7ff658221240], xmm0
movups xmmword [0x7ff658221210], xmm4
movups xmmword [rbp - 0x60], xmm1
movups xmmword [0x7ff658221230], xmm1
je 0x7ff6581e257d
movzx eax, word [0x7ff658216780]
lea rdx, [rsp + 0x60]
xorps xmm0, xmm0
mov qword [rbp - 0x70], 0xa
movups xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x68], 0xf
movsd xmm0, qword [0x7ff658216778]
movsd qword [rbp - 0x80], xmm0
mov word [rbp - 0x78], ax
mov byte [rbp - 0x76], 0
movaps xmmword [rsp + 0x60], xmm4
movsd qword [rsp + 0x70], xmm5
call fcn.7ff658213200
movzx eax, word [0x7ff658216790]
lea rdx, [rsp + 0x60]
movsd xmm1, qword [0x7ff658221238]
lea rcx, [rbp - 0x80]
xorps xmm0, xmm0
mov qword [rbp - 0x70], 0xa
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x68], 0xf
movsd xmm0, qword [0x7ff658216788]
movsd qword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x7ff658221228]
mov word [rbp - 0x78], ax
mov byte [rbp - 0x76], 0
movaps xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x70], xmm1
call fcn.7ff658213200
mov eax, dword [0x7ff658216794]
lea rdx, [rsp + 0x50]
movss xmm1, dword [0x7ff658221240]
lea rcx, [rbp - 0x80]
movsd xmm2, qword [0x7ff65821a858]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x80], eax
movzx eax, byte [0x7ff658216798]
cvtps2pd xmm1, xmm1
mov qword [rbp - 0x70], 5
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x7c], al
mov byte [rbp - 0x7b], 0
unpcklpd xmm1, xmm2
movdqa xmmword [rsp + 0x50], xmm1
call fcn.7ff658213120
movsd xmm4, qword [0x7ff65821a838]
movsd xmm3, qword [0x7ff65821a868]
movsd xmm0, qword [0x7ff658221228]
movsd xmm1, qword [0x7ff658221230]
movsd xmm2, qword [0x7ff658221238]
mulsd xmm0, xmm4
mulsd xmm1, xmm4
mulsd xmm2, xmm4
divsd xmm0, xmm3
divsd xmm1, xmm3
divsd xmm2, xmm3
cvtpd2ps xmm6, xmm0
cvtpd2ps xmm7, xmm1
movaps xmm0, xmm6
cvtpd2ps xmm8, xmm2
call sub.ucrtbase.dll_sinf
movaps xmm9, xmm0
movaps xmm0, xmm6
call sub.ucrtbase.dll_cosf
movss dword [rsp + 0x40], xmm0
movaps xmm0, xmm7
call sub.ucrtbase.dll_sinf
movaps xmm6, xmm0
movaps xmm0, xmm7
movss dword [rsp + 0x44], xmm6
call sub.ucrtbase.dll_cosf
movaps xmm14, xmm0
movaps xmm0, xmm8
call sub.ucrtbase.dll_sinf
movaps xmm15, xmm0
movaps xmm0, xmm8
call sub.ucrtbase.dll_cosf
movsd xmm10, qword [rdi]
movaps xmm13, xmm0
subsd xmm10, qword [0x7ff658221210]
movsd xmm11, qword [rdi + 8]
xorps xmm2, xmm2
subsd xmm11, qword [0x7ff658221218]
movsd xmm12, qword [rdi + 0x10]
movaps xmm1, xmm14
mulss xmm1, dword [rsp + 0x40]
movaps xmm8, xmm15
subsd xmm12, qword [0x7ff658221220]
movss dword [rsp + 0x50], xmm0
movaps xmm0, xmm6
mulss xmm0, dword [rsp + 0x40]
xorps xmm6, xmm6
cvtsi2ss xmm6, dword [0x7ff6582219c4]
cvtss2sd xmm2, xmm0
mulss xmm6, dword [0x7ff65821a7d8]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
mulsd xmm2, xmm11
xorps xmm1, xmm1
mulsd xmm0, xmm10
cvtss2sd xmm1, xmm9
addsd xmm2, xmm0
mulss xmm8, xmm9
movss xmm0, dword [0x7ff658221240]
mulss xmm0, dword [0x7ff65821a854]
mulss xmm13, xmm9
divss xmm0, dword [0x7ff65821a8e8]
movsd xmm9, qword [0x7ff65821a820]
mulsd xmm1, xmm12
addsd xmm2, xmm1
maxsd xmm9, xmm2
call sub.ucrtbase.dll_tanf
movss xmm3, dword [rsp + 0x50]
movaps xmm1, xmm6
divss xmm1, xmm0
movaps xmm2, xmm8
movaps xmm0, xmm3
mulss xmm2, dword [rsp + 0x44]
xorps xmm4, xmm4
mulss xmm0, xmm14
cvtps2pd xmm5, xmm1
addss xmm2, xmm0
mulss xmm8, xmm14
movaps xmm0, xmm3
cvtss2sd xmm4, xmm2
mulsd xmm4, xmm11
mulss xmm0, dword [rsp + 0x44]
xorps xmm1, xmm1
mov rax, rsi
movaps xmm2, xmm13
mulss xmm13, dword [rsp + 0x44]
subss xmm8, xmm0
mulss xmm2, xmm14
movaps xmm0, xmm15
xorps xmm0, xmmword [0x7ff65821aa90]
mulss xmm0, dword [rsp + 0x40]
cvtss2sd xmm1, xmm8
cvtss2sd xmm0, xmm0
mulsd xmm1, xmm10
mulsd xmm0, xmm12
addsd xmm4, xmm1
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [0x7ff6582219c0]
addsd xmm4, xmm0
mulss xmm1, dword [0x7ff65821a7d8]
cvtps2pd xmm0, xmm6
mulsd xmm4, xmm5
divsd xmm4, xmm9
addsd xmm4, xmm0
movaps xmm0, xmm15
mulss xmm0, dword [rsp + 0x44]
mulss xmm15, xmm14
addss xmm2, xmm0
movsd qword [rsi], xmm4
cvtps2pd xmm4, xmm1
xorps xmm2, xmmword [0x7ff65821aa90]
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 + 0x40]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm12
addsd xmm1, xmm0
mulsd xmm1, xmm5
divsd xmm1, xmm9
subsd xmm4, xmm1
movsd qword [rsi + 8], xmm4
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.7ff658213b40
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
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