Function at 0x1400023b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov eax, 0xea6f0
call fcn.140003c60
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xea6a0], rax
xor ebx, ebx
mov dword [rsp + 0x88], 0x10001
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x88]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov edx, 0xffffffff
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x8c], 0x7d00
mov dword [rsp + 0x90], 0x7d00
mov dword [rsp + 0x94], 0x80001
mov word [rsp + 0x98], bx
call qword [sym.imp.WINMM.dll_waveOutOpen]
xor edx, edx
lea rcx, [rsp + 0xa1]
mov r8d, 0xea5ff
call sub.VCRUNTIME140.dll_memset
cmp dword [0x140006058], 6
mov r8d, ebx
jl 0x140002787
movdqa xmm0, xmmword [0x140004750]
lea rdx, [rsp + 0xa0]
movdqa xmm1, xmmword [str._a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a]
mov ecx, ebx
movdqa xmm5, xmmword [0x1400046d0]
movaps xmmword [rsp + 0xea6e0], xmm6
movdqa xmm6, xmmword [0x1400047d0]
movaps xmmword [rsp + 0xea6d0], xmm7
movdqa xmm7, xmmword [0x140004710]
movaps xmmword [rsp + 0xea6c0], xmm8
movdqa xmm8, xmmword [0x1400046f0]
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm1
mov r9d, dword [rsp + 0x30]
movaps xmmword [rsp + 0xea6b0], xmm9
movdqa xmm9, xmmword [0x140004700]
movd xmm4, ecx
lea eax, [rcx + 4]
pshufd xmm4, xmm4, 0
paddd xmm4, xmm8
movdqa xmm2, xmm4
movdqa xmm3, xmm4
psrld xmm3, 0x10
movdqa xmm1, xmm3
psrld xmm2, 0xb
punpckldq xmm1, xmm3
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuludq xmm0, xmm6
pmuludq xmm1, xmm6
pshufb xmm2, xmm5
shufps xmm1, xmm0, 0xdd
psrld xmm1, 2
pmulld xmm1, xmm7
psubd xmm3, xmm1
movd xmm0, r8d
pshufb xmm3, xmm5
paddb xmm3, xmm0
vpmovzxbw ymm1, xmm3
vpmovzxbw ymm0, xmm2
vpmullw ymm1, ymm1, ymm0
vpmovzxwd zmm2, ymm1
movdqa xmm0, xmm4
psrld xmm0, 0xa
pshufb xmm0, xmm5
vpmovdb xmm3, zmm2
vpmovzxbw ymm1, xmm3
vpmovzxbw ymm0, xmm0
vpmullw ymm1, ymm1, ymm0
vpmovzxwd zmm2, ymm1
movd xmm0, r9d
vpmovdb xmm3, zmm2
andps xmm3, xmm0
movd xmm1, r8d
paddb xmm3, xmm1
movdqa xmm0, xmm4
pshufb xmm0, xmm5
vpmovzxbw ymm1, xmm3
vpmovzxbw ymm0, xmm0
vpmullw ymm1, ymm1, ymm0
vpmovzxwd zmm2, ymm1
movdqa xmm0, xmm4
psrld xmm0, 0xc
andps xmm0, xmm9
vpsrlvd xmm1, xmm4, xmm0
pshufb xmm1, xmm5
vpmovdb xmm3, zmm2
movdqa xmm0, xmm4
psrld xmm0, 9
paddb xmm3, xmm1
andps xmm0, xmm4
vpsrlvd xmm0, xmm4, xmm0
paddd xmm0, xmm7
vpsrlvd xmm1, xmm4, xmm0
movdqa xmm0, xmm4
psrld xmm0, 3
pmulld xmm0, xmm4
psrld xmm0, 8
pshufb xmm0, xmm5
pshufb xmm1, xmm5
psrld xmm4, 0xd
andps xmm1, xmm0
xorps xmm3, xmm1
pshufb xmm4, xmm5
xorps xmm3, xmm4
movd xmm4, eax
movd dword [rdx], xmm3
pshufd xmm4, xmm4, 0
paddd xmm4, xmm8
movdqa xmm3, xmm4
psrld xmm3, 0x10
movdqa xmm1, xmm3
movdqa xmm0, xmm3
punpckldq xmm1, xmm3
punpckhdq xmm0, xmm3
pmuludq xmm1, xmm6
pmuludq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
lea rdx, [rdx + 8]
psrld xmm1, 2
movdqa xmm2, xmm4
pmulld xmm1, xmm7
psubd xmm3, xmm1
psrld xmm2, 0xb
pshufb xmm3, xmm5
add ecx, 8
movd xmm0, r8d
paddb xmm3, xmm0
vpmovzxbw ymm1, xmm3
pshufb xmm2, xmm5
vpmovzxbw ymm0, xmm2
vpmullw ymm1, ymm1, ymm0
movdqa xmm0, xmm4
psrld xmm0, 0xa
pshufb xmm0, xmm5
vpmovzxwd zmm2, ymm1
vpmovdb xmm3, zmm2
vpmovzxbw ymm1, xmm3
vpmovzxbw ymm0, xmm0
vpmullw ymm1, ymm1, ymm0
movd xmm0, r9d
vpmovzxwd zmm2, ymm1
movd xmm1, r8d
vpmovdb xmm3, zmm2
andps xmm3, xmm0
movdqa xmm0, xmm4
paddb xmm3, xmm1
pshufb xmm0, xmm5
vpmovzxbw ymm1, xmm3
vpmovzxbw ymm0, xmm0
vpmullw ymm1, ymm1, ymm0
movdqa xmm0, xmm4
psrld xmm0, 0xc
andps xmm0, xmm9
vpmovzxwd zmm2, ymm1
vpsrlvd xmm1, xmm4, xmm0
movdqa xmm0, xmm4
psrld xmm0, 9
andps xmm0, xmm4
vpsrlvd xmm0, xmm4, xmm0
paddd xmm0, xmm7
pshufb xmm1, xmm5
vpmovdb xmm3, zmm2
paddb xmm3, xmm1
vpsrlvd xmm1, xmm4, xmm0
movdqa xmm0, xmm4
psrld xmm0, 3
pmulld xmm0, xmm4
psrld xmm0, 8
psrld xmm4, 0xd
pshufb xmm0, xmm5
pshufb xmm1, xmm5
pshufb xmm4, xmm5
andps xmm1, xmm0
xorps xmm3, xmm1
xorps xmm3, xmm4
movd dword [rdx - 4], xmm3
cmp ecx, 0xea600
jb 0x1400024d1
movaps xmm9, xmmword [rsp + 0xea6b0]
movaps xmm8, xmmword [rsp + 0xea6c0]
movaps xmm7, xmmword [rsp + 0xea6d0]
movaps xmm6, xmmword [rsp + 0xea6e0]
jmp 0x14000283b
lea r11, [rsp + 0xa0]
nop
mov r9d, r8d
lea r11, [r11 + 1]
shr r9d, 0x10
mov eax, 0xaaaaaaab
mul r9d
shr edx, 2
lea eax, [rdx + rdx*2]
add eax, eax
sub r9d, eax
mov eax, r8d
shr eax, 0xb
inc r9b
movsx ecx, al
mov eax, r8d
shr eax, 0xa
movsx edx, r9b
imul edx, ecx
movsx ecx, al
movsx eax, r8b
movsx r9d, dl
mov edx, r8d
imul r9d, ecx
mov ecx, r8d
shr ecx, 0xc
and ecx, 3
and r9b, 7
inc r9b
movsx r10d, r9b
imul r10d, eax
mov eax, r8d
shr eax, cl
mov ecx, r8d
shr ecx, 9
and ecx, r8d
add r10b, al
mov eax, r8d
shr eax, cl
lea ecx, [rax + 6]
mov eax, r8d
shr eax, 3
imul eax, r8d
shr edx, cl
shr eax, 8
and dl, al
mov eax, r8d
shr eax, 0xd
xor r10b, dl
xor r10b, al
inc r8d
mov byte [r11 - 1], r10b
cmp r8d, 0xea600
jb 0x140002790
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0xa0]
mov r8d, 0x30
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x60], 0xea600
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbx
call qword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x58]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutWrite]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x58]
mov r8d, 0x30
call qword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINMM.dll_waveOutClose]
mov rcx, qword [rsp + 0xea6a0]
xor rcx, rsp
call fcn.140002e50
add rsp, 0xea6f0
pop rbx
ret