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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2098
call fcn.0042e5e0
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.00420595
xor ecx, ecx
push edi
test eax, eax
mov eax, dword [esi + 0x30]
setl cl
push eax
mov dword [ebp - 8], ecx
call fcn.00420595
add esp, 0x10
mov edi, str.4.1.0.0
test eax, eax
jl 0x41da2a
mov eax, dword [esi + 0x30]
push edi
push eax
call fcn.00420595
pop ecx
test eax, eax
pop ecx
jge 0x41da2a
mov dword [ebp - 4], 1
jmp 0x41da2e
and dword [ebp - 4], 0
mov eax, dword [esi + 0x30]
push str.5.0.0.1
push eax
call fcn.00420595
xor ebx, ebx
push edi
test eax, eax
mov eax, dword [esi + 0x30]
push eax
setge bl
call fcn.00420595
add esp, 0x10
test eax, eax
jle 0x41da6d
mov eax, dword [esi + 0x30]
push str.5.0.0.0
push eax
call fcn.00420595
pop ecx
test eax, eax
pop ecx
jge 0x41da6d
push 1
pop edx
jmp 0x41da6f
xor edx, edx
and word [ebp - 0x2098], 0
mov ecx, 0x823
xor eax, eax
lea edi, [ebp - 0x2096]
cmp dword [ebp - 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jne 0x41dbab
cmp dword [ebp - 4], 0
jne 0x41dbab
test ebx, ebx
je 0x41db37
mov edi, 0x1047
lea eax, [ebp - 0x2098]
push edi
push eax
mov ecx, 0x43fc90
mov dword [ebp - 4], 1
mov dword [ebp - 8], edi
call fcn.00404104
cmp word [ebp - 0x2098], 0
jne 0x41dc3d
push dword [esi + 0x38]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41db00
push dword [esi + 0x38]
lea eax, [ebp - 0x2098]
push edi
push eax
push 0x43fcc4
push str.HomePage
push str.option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x2098], 0
jne 0x41dc3d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2098]
push eax
lea eax, [ebp - 4]
push eax
push str.homepage
push str.Software360360se5defaultoption
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
jmp 0x41dc33
test edx, edx
je 0x41db90
mov edi, 0x1047
lea eax, [ebp - 0x2098]
push edi
push eax
mov ecx, 0x43fc90
call fcn.00404104
cmp word [ebp - 0x2098], 0
jne 0x41dc3d
push dword [esi + 0x38]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41dc33
push dword [esi + 0x38]
lea eax, [ebp - 0x2098]
push edi
push eax
push 0x43fcc4
push str.HomePage
push str.option
jmp 0x41dc2d
lea eax, [ebp - 0x2098]
push 0x1047
push eax
mov ecx, 0x43fc90
call fcn.00404104
jmp 0x41dc33
mov edi, 0x1047
lea eax, [ebp - 0x2098]
push edi
push eax
mov ecx, 0x43fc90
call fcn.00404104
cmp word [ebp - 0x2098], 0
jne 0x41dc3d
mov eax, dword [esi + 0x34]
mov ebx, str.option
test eax, eax
je 0x41dc0a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41dc00
lea eax, [ebp - 0x2098]
push edi
push eax
push str.HomePage
push ebx
mov ecx, 0x43fc90
push dword [esi + 0x34]
push 0
call fcn.00403195
cmp word [ebp - 0x2098], 0
jne 0x41dc3d
push dword [esi + 0x38]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41dc33
push dword [esi + 0x38]
lea eax, [ebp - 0x2098]
push edi
push eax
push 0x43fcc4
push str.HomePage
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x2098], 0
je 0x41dc74
lea eax, [ebp - 0x2098]
push 0x43e070
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
pop ecx
test eax, eax
pop ecx
je 0x41dc59
and word [eax], 0
lea eax, [ebp - 0x2098]
push eax
push 0x438aa0
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