Function at 0x421000
Capabilities:
Check for time delay via gettickcount
Check if file exists
Create process on windows
Get common file path
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x51ef22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
push ebx
push ebp
push esi
mov esi, dword [esp + 0x29c]
xor ebp, ebp
push edi
cmp esi, ebp
mov dword [esp + 0x18], ebp
je 0x42153b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42153b
mov eax, dword [esp + 0x2ac]
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
push str..exe
push ecx
mov dword [esp + 0x2a0], ebp
call ebx
add esp, 8
test eax, eax
jne 0x4210a4
mov edx, dword [esp + 0x2a4]
push 5
push ebp
push edx
push esi
call fcn.00420fa0
add esp, 0x10
mov ebp, eax
jmp 0x4213fd
mov eax, dword [esp + 0x14]
push str..rar
push eax
call ebx
add esp, 8
test eax, eax
je 0x4211c3
mov ecx, dword [esp + 0x14]
push str..zip
push ecx
call ebx
add esp, 8
test eax, eax
je 0x4211c3
mov edx, dword [esp + 0x14]
push str..msi
push edx
call ebx
add esp, 8
test eax, eax
jne 0x4211a8
mov ecx, 0x40
lea edi, [esp + 0x89]
mov byte [esp + 0x88], al
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x8c]
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [esp + 0x88]
push str.msiexec.exe
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42118c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
push esi
lea eax, [esp + 0x14]
push str._i___s_
push eax
mov byte [esp + 0x2a4], 5
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
push 5
push 0
lea edx, [esp + 0x9c]
push ecx
push edx
call fcn.00420fa0
add esp, 0x1c
lea ecx, [esp + 0x10]
mov ebp, eax
mov byte [esp + 0x298], 0
call sub.MFC42.DLL_CString::CString
jmp 0x4213fd
mov eax, dword [esp + 0x2a4]
push 5
push 0
push eax
push esi
call fcn.00420fa0
add esp, 0x10
mov ebp, eax
jmp 0x4213fd
mov ecx, dword [esp + 0x2a4]
push 5
push ebp
push ecx
push esi
call fcn.00420fa0
add esp, 0x10
mov ebp, eax
jmp 0x4213fd
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x89]
mov byte [esp + 0x88], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x24]
lea eax, [esp + 0x88]
push edx
lea ecx, [esp + 0x24]
push eax
xor edi, edi
push ecx
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsWinRAR.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x42127d
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42127d
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
push esi
lea eax, [esp + 0x14]
push 0x562430
push eax
mov byte [esp + 0x2a4], 1
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
push 5
push edi
lea edx, [esp + 0x9c]
push ecx
push edx
call fcn.00420fa0
add esp, 0x1c
lea ecx, [esp + 0x10]
mov ebp, eax
mov byte [esp + 0x298], 0
call sub.MFC42.DLL_CString::CString
cmp ebp, edi
jne 0x4213f5
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4213f5
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x1c]
mov byte [esp + 0x298], 2
push eax
call fcn.00421830
add esp, 4
cmp ax, 8
jb 0x421357
mov ecx, dword [esp + 0x14]
push str..zip
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x421357
mov ecx, 0x40
lea edi, [esp + 0x18d]
mov byte [esp + 0x18c], al
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x190]
push 0x24
push edx
push 0
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0x18c]
push str.explorer.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
push esi
lea ecx, [esp + 0x14]
push 0x562430
push ecx
mov byte [esp + 0x2a4], 3
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
push 5
push 0
lea eax, [esp + 0x1a0]
push edx
push eax
call fcn.00420fa0
add esp, 0x1c
mov ebp, eax
mov byte [esp + 0x298], 2
lea ecx, [esp + 0x10]
jmp 0x4213df
push str.__select_
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
push esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x29c], 4
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x88], edi
mov dword [esp + 0x50], 0x3c
mov dword [esp + 0x54], 0x440
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], str.open
mov dword [esp + 0x60], str.explorer.exe
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [esp + 0x84]
cmp eax, edi
je 0x4213d3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x298], 2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x298], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x1c], 2
test ebp, ebp
je 0x421527
mov eax, dword [esp + 0x1c]
sub eax, 0
je 0x421439
dec eax
je 0x421432
dec eax
jne 0x421442
lea ecx, [esp + 0x14]
mov dword [esp + 0x298], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x42153f
push 0xea60
jmp 0x42143b
push 0xffffffffffffffff
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [esp + 0x2a8]
mov esi, eax
lea eax, [esp + 0x10]
mov edi, 1
push eax
push ebp
mov dword [esp + 0x18], edi
call fcn.00476bf0
add esp, 8
test eax, eax
je 0x42147c
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
jne 0x42147e
mov dword [esp + 0x18], edi
jmp 0x421482
xor ebx, ebx
mov dword [esp + 0x18], ebx
sub esi, dword [esp + 0x28]
cmp esi, 0x3e8
jge 0x421527
mov esi, dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x3e], ecx
mov dword [esp + 0x2e], edx
mov dword [esp + 0x42], ecx
mov dword [esp + 0x32], edx
lea eax, [esp + 0x3c]
mov dword [esp + 0x46], ecx
mov dword [esp + 0x36], edx
push eax
mov word [esp + 0x40], bx
mov word [esp + 0x4e], cx
mov word [esp + 0x30], bx
mov word [esp + 0x3e], dx
call esi
cmp dword [esp + 0x18], ebx
jne 0x421527
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call edi
lea ecx, [esp + 0x10]
push ecx
push ebp
call fcn.00476bf0
add esp, 8
test eax, eax
je 0x4214fc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42151f
lea edx, [esp + 0x2c]
push edx
call esi
mov eax, dword [esp + 0x46]
mov ecx, dword [esp + 0x36]
and eax, 0xffff
and ecx, 0xffff
sub ecx, eax
cmp ecx, 1
jge 0x421527
jmp 0x4214db
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x298], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x290]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28c
ret