Function at 0x140001360
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
mov rsi, rcx
mov qword [rsp + 0x50], rdi
mov ecx, 0xfffffff5
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r15
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 [0x140058328]
xor ebx, ebx
cmp byte [0x14005832b], bl
mov ebp, dword [0x14006f0d8]
mov dword [rsp + 0x68], edx
lea r14d, [rbx + 4]
lea r15d, [rbx + 0x1f]
je 0x140001490
cmp ebp, 2
jl 0x140001456
movdqa xmm3, xmmword [0x140066250]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400662a0]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400662a0]
shufps xmm2, xmm0, 0xdd
movd xmm0, r14d
psrad xmm2, xmm0
movd xmm0, r15d
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140066270]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140066280]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
movd xmm0, edx
xorps xmm2, xmm0
movd dword [rsp + 0x68], xmm2
jmp 0x140001490
lea r9, [rsp + 0x68]
mov r8d, ebx
nop
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x39
xor byte [r9 - 1], al
cmp r8d, r14d
jl 0x140001460
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.140001150
mov edx, 7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [0x140058320]
cmp ebp, 2
movsd xmm0, qword [0x140058318]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
mov dword [rsp + 0x28], eax
movzx eax, word [0x140058324]
mov word [rsp + 0x2c], ax
movzx eax, byte [0x140058326]
mov byte [rsp + 0x2e], al
movsd qword [rsp + 0x20], xmm0
jl 0x1400015fd
movdqa xmm2, xmmword [0x140066250]
mov ebx, 8
movdqa xmm4, xmmword [0x1400662a0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x140066260]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x30], xmm6
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140066270]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x140058318]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140066280]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
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, xmm6
movaps xmm6, xmmword [rsp + 0x30]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140066270]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x24]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140066280]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.9999999999999999]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
mov r15, qword [rsp + 0x40]
lea r8, [rsp + 0x20]
mov r14, qword [rsp + 0x48]
movsxd rax, ebx
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
inc ebx
sub al, cl
add al, 0x39
xor byte [r8 - 1], al
cmp ebx, 0xf
jl 0x140001620
mov rbx, qword [rsp + 0x60]
lea rdx, str.Dec_27_2023
lea rcx, [rsp + 0x20]
call fcn.140001150
add rsp, 0x58
ret