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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x209c
call fcn.00432650
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.004241a7
xor ecx, ecx
push edi
test eax, eax
mov eax, dword [esi + 0x30]
setl cl
push eax
mov dword [ebp - 4], ecx
call fcn.004241a7
add esp, 0x10
mov edi, str.4.1.0.0
test eax, eax
jl 0x41e633
mov eax, dword [esi + 0x30]
push edi
push eax
call fcn.004241a7
pop ecx
test eax, eax
pop ecx
jge 0x41e633
mov dword [ebp - 0xc], 1
xor ebx, ebx
jmp 0x41e638
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov eax, dword [esi + 0x30]
push str.5.0.0.1
push eax
call fcn.004241a7
xor ecx, ecx
push edi
test eax, eax
mov eax, dword [esi + 0x30]
setge cl
push eax
mov dword [ebp - 8], ecx
call fcn.004241a7
add esp, 0x10
test eax, eax
jle 0x41e67a
mov eax, dword [esi + 0x30]
push str.5.0.0.0
push eax
call fcn.004241a7
pop ecx
test eax, eax
pop ecx
jge 0x41e67a
push 1
pop edx
jmp 0x41e67c
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 0x41e7b3
cmp dword [ebp - 0xc], ebx
jne 0x41e7b3
cmp dword [ebp - 8], ebx
je 0x41e740
mov edi, 0x1047
lea eax, [ebp - 0x209c]
push edi
push eax
mov ecx, 0x4670d0
mov dword [ebp - 4], 1
mov dword [ebp - 8], edi
call fcn.00404104
cmp word [ebp - 0x209c], bx
jne 0x41e83a
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e70a
push dword [esi + 0x3c]
lea eax, [ebp - 0x209c]
push edi
push eax
push 0x467104
push str.HomePage
push str.option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x209c], bx
jne 0x41e83a
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 0x41e83a
cmp edx, ebx
je 0x41e798
mov edi, 0x1047
lea eax, [ebp - 0x209c]
push edi
push eax
mov ecx, 0x4670d0
call fcn.00404104
cmp word [ebp - 0x209c], bx
jne 0x41e83a
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e83a
push dword [esi + 0x3c]
lea eax, [ebp - 0x209c]
push edi
push eax
push 0x467104
push str.HomePage
push str.option
jmp 0x41e834
lea eax, [ebp - 0x209c]
push 0x1047
push eax
mov ecx, 0x4670d0
call fcn.00404104
jmp 0x41e83a
mov edi, 0x1047
lea eax, [ebp - 0x209c]
push edi
push eax
mov ecx, 0x4670d0
call fcn.00404104
cmp word [ebp - 0x209c], bx
jne 0x41e83a
mov eax, dword [esi + 0x34]
mov ebx, str.option
test eax, eax
je 0x41e811
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e807
lea eax, [ebp - 0x209c]
push edi
push eax
push str.HomePage
push ebx
mov ecx, 0x4670d0
push dword [esi + 0x34]
push 0
call fcn.00403195
cmp word [ebp - 0x209c], 0
jne 0x41e83a
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e83a
push dword [esi + 0x3c]
lea eax, [ebp - 0x209c]
push edi
push eax
push 0x467104
push str.HomePage
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x209c]
push eax
push 0x43caa8
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