Function at 0x140001340
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0xd
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, dword [0x14004f2ec]
xor ebx, ebx
cmp byte [0x14004f2ef], bl
mov ebp, dword [0x140071148]
mov dword [rsp + 0x48], edx
je 0x140001451
cmp ebp, 2
jl 0x140001414
movdqa xmm3, xmmword [0x140069590]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140069610]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140069610]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400695b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400695d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400695f0]
movd xmm0, edx
xorps xmm2, xmm0
movd dword [rsp + 0x48], xmm2
jmp 0x140001451
lea r9, [rsp + 0x48]
mov r8d, ebx
nop dword [rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x140001420
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140001130
mov edx, 7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [0x14004f2d8]
movsd xmm0, qword [0x14004f2d0]
mov dword [rsp + 0x28], eax
movzx eax, word [0x14004f2dc]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x14004f2de]
mov byte [rsp + 0x2e], al
movsd qword [rsp + 0x20], xmm0
cmp ebp, 2
jl 0x14000159f
movdqa xmm2, xmmword [0x140069590]
mov ebx, 8
movdqa xmm4, xmmword [0x140069610]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400695a0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400695b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x14004f2d0]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400695d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400695f0]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x20], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400695b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x24]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400695d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400695f0]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movsxd rax, ebx
lea r8, [rsp + 0x20]
add r8, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0xf
jl 0x1400015b0
lea rdx, str.Mar_24_2024
lea rcx, [rsp + 0x20]
call fcn.140001130
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret