Function at 0x411c10
Capabilities:
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x414020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x28], 0x100
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x2c]
mov byte [esp + 0x54], 1
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0xf003f
push ebx
push str.SOFTWAREKingsaft
push 0x80000002
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x411c91
mov edi, dword [esp + 0x24]
mov dword [esp + 0x18], edi
jmp 0x411cca
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x24]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWAREKingsaft
push 0x80000002
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x411e48
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov edi, edx
push 0x100
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x28]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
push ebx
push str.NextUpdateTime
push edi
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov esi, eax
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], ebx
je 0x411de3
cmp esi, ebx
jne 0x411de3
lea ecx, [esp + 0x24]
push 4
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x24]
mov edi, eax
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x24]
push 4
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x24]
push 2
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x24]
mov ebp, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
push 2
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push eax
call esi
add esp, 4
lea ecx, [esp + 0x24]
mov esi, eax
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push esi
push ebp
push edi
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CTime::CTime
mov edx, dword [esp + 0x2c]
push ecx
mov eax, esp
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], esp
mov dword [eax], edx
call fcn.00409c70
cmp eax, ebx
je 0x411e48
mov dword [esp + 0x1c], ebx
jmp 0x411e48
push ecx
lea ecx, [esp + 0x24]
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], 0x15180
call fcn.00410960
lea eax, [esp + 0x2c]
push str._Y_m_d
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CTime::Format
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push 1
push ebx
push str.NextUpdateTime
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0x30]
call fcn.0041230a
push 0x100
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp + 0x14]
push str.iconsICO
lea edx, [esp + 0x30]
push ecx
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push ebx
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 5
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 4
sete byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
cmp byte [esp + 0x13], bl
je 0x411ef9
lea eax, [esp + 0x14]
push str.icons_ver.ini
lea ecx, [esp + 0x30]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
push 0x418368
push 0x41a5ac
push str.main
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x411f23
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret