Function at 0x40a4df
Capabilities:
Check os version
Create directory
Delete file
Get common file path
Get startup folder
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push 0x46c
mov eax, 0x457acc
call fcn.00456afc
mov byte [ebp - 0x46e], dl
mov byte [ebp - 0x46d], cl
lea eax, [ebp - 0x474]
xor ebx, ebx
push eax
push 0x101
push ebx
push str.SOFTWAREMicrosoftCryptography
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a7d0
push 0x28
pop eax
push eax
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x3c]
push ebx
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push ebx
push str.MachineGuid
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x474]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
lea esi, [ebp - 0x3c]
mov dl, byte [esi]
cmp dl, 0x2d
jne 0x40a572
inc esi
mov dl, byte [esi]
mov al, dl
inc esi
sub al, 0x30
xor cl, cl
cmp al, 9
ja 0x40a582
lea ecx, [edx - 0x30]
jmp 0x40a59c
cmp dl, 0x61
jl 0x40a58c
cmp dl, 0x66
jle 0x40a594
mov al, dl
sub al, 0x41
cmp al, 5
ja 0x40a59c
mov cl, dl
and cl, 0xf
add cl, 9
mov edx, ebx
shr edx, 1
test bl, 1
je 0x40a5b5
mov al, byte [edx + 0x678870]
or al, cl
mov byte [edx + 0x678870], al
jmp 0x40a5be
shl cl, 4
mov byte [edx + 0x678870], cl
inc ebx
cmp ebx, 0x20
jl 0x40a568
call fcn.0040a2ff
test al, al
je 0x40a7d0
lea eax, [ebp - 0x474]
xor ebx, ebx
push eax
push 3
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, 0x678f80
test eax, eax
jne 0x40a623
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push ebx
push 0x64f888
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x474]
call edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x23c]
push ebx
push 0x18
push eax
push ebx
call edi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp - 0x23c]
push 0x64fa3c
push 0x100
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x23c]
add esp, 0xc
push eax
call ebx
push 0
push 0x17
lea eax, [ebp - 0x23c]
push eax
push 0
call edi
push 0x64fa58
lea eax, [ebp - 0x23c]
push 0x100
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x23c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x23c]
push str.VKSaver.lnk
push eax
mov edi, str._s_s
lea eax, [ebp - 0x43c]
push edi
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x43c]
push eax
call ebx
push str.Launch_VKSaver.lnk
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x43c]
push edi
push eax
call esi
push 0xffffffffffffff95
lea eax, [ebp - 0x43c]
mov edx, 0x64fab8
push 0x463d18
push eax
call fcn.0040a380
add esp, 0x1c
lea eax, [ebp - 0x23c]
push str.Uninstall.lnk
push eax
lea eax, [ebp - 0x43c]
push edi
push eax
call esi
push 0xffffff78
lea eax, [ebp - 0x43c]
mov edx, 0x64fb10
push str._uninstall
push eax
call fcn.0040a380
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov cl, byte [ebp - 0x46d]
movzx eax, al
cmp eax, 6
jb 0x40a742
call fcn.00409f63
jmp 0x40a747
call fcn.00409d62
test al, al
je 0x40a7d0
push 0x678f80
lea ecx, [ebp - 0x46c]
call fcn.00403fc1
and dword [ebp - 4], 0
lea ecx, [ebp - 0x454]
push 0x6573dc
call fcn.00403fc1
lea edx, [ebp - 0x46c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x454]
call fcn.004060b7
lea ecx, [ebp - 0x454]
call fcn.004044f6
lea ecx, [ebp - 0x46c]
call fcn.004044f6
cmp byte [ebp - 0x46e], 0
je 0x40a7be
cmp byte [0x658838], 0
je 0x40a7c2
mov edx, str._popup
call fcn.0040a42c
test al, al
je 0x40a7d0
mov al, 1
jmp 0x40a7d2
xor edx, edx
call fcn.0040a42c
test al, al
setne al
jmp 0x40a7d2
xor al, al
call fcn.00456aba
ret