Function at 0x41e595
Capabilities:
Check if file exists
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x209c
call fcn.00432300
push ebx
push esi
mov esi, ecx
push edi
mov edi, str.4.0.0.0
mov eax, dword [esi + 0x30]
push edi
push eax
call fcn.00423f51
xor ecx, ecx
push edi
test eax, eax
mov eax, dword [esi + 0x30]
setl cl
push eax
mov dword [ebp - 4], ecx
call fcn.00423f51
add esp, 0x10
mov edi, str.4.1.0.0
test eax, eax
jl 0x41e5f1
mov eax, dword [esi + 0x30]
push edi
push eax
call fcn.00423f51
pop ecx
test eax, eax
pop ecx
jge 0x41e5f1
mov dword [ebp - 0xc], 1
xor ebx, ebx
jmp 0x41e5f6
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov eax, dword [esi + 0x30]
push str.5.0.0.1
push eax
call fcn.00423f51
xor ecx, ecx
push edi
test eax, eax
mov eax, dword [esi + 0x30]
setge cl
push eax
mov dword [ebp - 8], ecx
call fcn.00423f51
add esp, 0x10
test eax, eax
jle 0x41e638
mov eax, dword [esi + 0x30]
push str.5.0.0.0
push eax
call fcn.00423f51
pop ecx
test eax, eax
pop ecx
jge 0x41e638
push 1
pop edx
jmp 0x41e63a
xor edx, edx
mov ecx, 0x823
xor eax, eax
lea edi, [ebp - 0x209a]
cmp dword [ebp - 4], ebx
mov word [ebp - 0x209c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jne 0x41e771
cmp dword [ebp - 0xc], ebx
jne 0x41e771
cmp dword [ebp - 8], ebx
je 0x41e6fe
mov edi, 0x1047
lea eax, [ebp - 0x209c]
push edi
push eax
mov ecx, 0x466020
mov dword [ebp - 4], 1
mov dword [ebp - 8], edi
call fcn.00404104
cmp word [ebp - 0x209c], bx
jne 0x41e7f8
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e6c8
push dword [esi + 0x3c]
lea eax, [ebp - 0x209c]
push edi
push eax
push 0x466054
push str.HomePage
push str.option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x209c], bx
jne 0x41e7f8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x209c]
push eax
lea eax, [ebp - 4]
push eax
push str.homepage
push str.Software360360se5defaultoption
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
jmp 0x41e7f8
cmp edx, ebx
je 0x41e756
mov edi, 0x1047
lea eax, [ebp - 0x209c]
push edi
push eax
mov ecx, 0x466020
call fcn.00404104
cmp word [ebp - 0x209c], bx
jne 0x41e7f8
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e7f8
push dword [esi + 0x3c]
lea eax, [ebp - 0x209c]
push edi
push eax
push 0x466054
push str.HomePage
push str.option
jmp 0x41e7f2
lea eax, [ebp - 0x209c]
push 0x1047
push eax
mov ecx, 0x466020
call fcn.00404104
jmp 0x41e7f8
mov edi, 0x1047
lea eax, [ebp - 0x209c]
push edi
push eax
mov ecx, 0x466020
call fcn.00404104
cmp word [ebp - 0x209c], bx
jne 0x41e7f8
mov eax, dword [esi + 0x34]
mov ebx, str.option
test eax, eax
je 0x41e7cf
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e7c5
lea eax, [ebp - 0x209c]
push edi
push eax
push str.HomePage
push ebx
mov ecx, 0x466020
push dword [esi + 0x34]
push 0
call fcn.00403195
cmp word [ebp - 0x209c], 0
jne 0x41e7f8
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e7f8
push dword [esi + 0x3c]
lea eax, [ebp - 0x209c]
push edi
push eax
push 0x466054
push str.HomePage
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x209c]
push eax
push 0x43baa0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret 8