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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x209c
call fcn.00432710
push ebx
push esi
mov esi, ecx
push edi
mov edi, 0x464614
mov eax, dword [esi + 0x30]
push edi
push eax
call fcn.0042435b
xor ecx, ecx
push edi
test eax, eax
mov eax, dword [esi + 0x30]
setl cl
push eax
mov dword [ebp - 4], ecx
call fcn.0042435b
add esp, 0x10
mov edi, 0x464604
test eax, eax
jl 0x41e79d
mov eax, dword [esi + 0x30]
push edi
push eax
call fcn.0042435b
pop ecx
test eax, eax
pop ecx
jge 0x41e79d
mov dword [ebp - 0xc], 1
xor ebx, ebx
jmp 0x41e7a2
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov eax, dword [esi + 0x30]
push 0x463e10
push eax
call fcn.0042435b
xor ecx, ecx
push edi
test eax, eax
mov eax, dword [esi + 0x30]
setge cl
push eax
mov dword [ebp - 8], ecx
call fcn.0042435b
add esp, 0x10
test eax, eax
jle 0x41e7e4
mov eax, dword [esi + 0x30]
push 0x4645f4
push eax
call fcn.0042435b
pop ecx
test eax, eax
pop ecx
jge 0x41e7e4
push 1
pop edx
jmp 0x41e7e6
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 0x41e91d
cmp dword [ebp - 0xc], ebx
jne 0x41e91d
cmp dword [ebp - 8], ebx
je 0x41e8aa
mov edi, 0x1047
lea eax, [ebp - 0x209c]
push edi
push eax
mov ecx, 0x467050
mov dword [ebp - 4], 1
mov dword [ebp - 8], edi
call fcn.00404104
cmp word [ebp - 0x209c], bx
jne 0x41e9a4
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e874
push dword [esi + 0x3c]
lea eax, [ebp - 0x209c]
push edi
push eax
push 0x467084
push 0x4645e0
push str.option
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x209c], bx
jne 0x41e9a4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x209c]
push eax
lea eax, [ebp - 4]
push eax
push str.homepage
push 0x464598
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
jmp 0x41e9a4
cmp edx, ebx
je 0x41e902
mov edi, 0x1047
lea eax, [ebp - 0x209c]
push edi
push eax
mov ecx, 0x467050
call fcn.00404104
cmp word [ebp - 0x209c], bx
jne 0x41e9a4
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e9a4
push dword [esi + 0x3c]
lea eax, [ebp - 0x209c]
push edi
push eax
push 0x467084
push 0x4645e0
push str.option
jmp 0x41e99e
lea eax, [ebp - 0x209c]
push 0x1047
push eax
mov ecx, 0x467050
call fcn.00404104
jmp 0x41e9a4
mov edi, 0x1047
lea eax, [ebp - 0x209c]
push edi
push eax
mov ecx, 0x467050
call fcn.00404104
cmp word [ebp - 0x209c], bx
jne 0x41e9a4
mov eax, dword [esi + 0x34]
mov ebx, str.option
test eax, eax
je 0x41e97b
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e971
lea eax, [ebp - 0x209c]
push edi
push eax
push 0x4645e0
push ebx
mov ecx, 0x467050
push dword [esi + 0x34]
push 0
call fcn.00403195
cmp word [ebp - 0x209c], 0
jne 0x41e9a4
push dword [esi + 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41e9a4
push dword [esi + 0x3c]
lea eax, [ebp - 0x209c]
push edi
push eax
push 0x467084
push 0x4645e0
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