Function at 0x405e60
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2014
call fcn.0044c0a0
push ebp
mov ebp, ecx
push edi
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2020]
mov eax, dword [ebp]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0x1000
mov dword [esp + 0x10], 0
call fcn.00406140
mov edi, dword [esp + 8]
test edi, edi
je 0x405ed1
mov edx, dword [esp + 0xc]
test edx, edx
je 0x405ed1
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x405ed1
mov eax, dword [esp + 0x18]
cmp eax, 0x80
jg 0x405ede
pop edi
xor eax, eax
pop ebp
add esp, 0x2014
ret 4
push esi
mov esi, dword [ebp + 0x20]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push eax
push str.FixedProductText
push edx
add esi, 0x80
call edi
mov eax, dword [esp + 0x18]
cmp word [eax], 0
je 0x405f18
test eax, eax
je 0x405f18
push eax
mov ecx, esi
call fcn.0041dcc0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
push str.OptionalProductText
push ecx
call edi
mov eax, dword [esp + 0x18]
cmp word [eax], 0
je 0x405f4f
test eax, eax
je 0x405f4f
push eax
lea ecx, [esi + 0x10]
call fcn.0041dcc0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
push ecx
push eax
mov eax, dword [esp + 0x1c]
push edx
push str.InstalledProductText
push eax
call edi
mov eax, dword [esp + 0x18]
cmp word [eax], 0
je 0x405f82
test eax, eax
je 0x405f82
push eax
lea ecx, [esi + 0x20]
call fcn.0041dcc0
push ebx
push str.PageState
lea ecx, [esp + 0x14]
call fcn.00406100
mov ebx, eax
test ebx, ebx
je 0x405fe6
push 0x20
push str.Hide
push ebx
call fcn.0044c0cf
add esp, 0xc
test eax, eax
jne 0x405fb2
mov eax, 1
jmp 0x405fe6
push 0x20
push str.Minimized
push ebx
call fcn.0044c0cf
add esp, 0xc
test eax, eax
jne 0x405fcd
mov eax, 2
jmp 0x405fe6
push 0x20
push str.Smart
push ebx
call fcn.0044c0cf
add esp, 0xc
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
mov ecx, dword [ebp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ecx + 0xf4], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push 0
push str.ShowCancelButton
push eax
call ebx
mov edx, dword [ebp + 0x20]
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [edx + 0xf8], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push str.SubTitle
push ecx
call edi
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
je 0x406054
test eax, eax
je 0x406054
push eax
lea ecx, [esi + 0x30]
call fcn.0041dcc0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
push ecx
push eax
mov eax, dword [esp + 0x20]
push edx
push str.SubText
push eax
call edi
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
je 0x406087
test eax, eax
je 0x406087
push eax
lea ecx, [esi + 0x40]
call fcn.0041dcc0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push 0
push str.SubTextHeight
push edx
call ebx
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push 0
push str.SubTextMargin
push ecx
call ebx
mov dword [esi + 0x64], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push str.AllProductInstalledPrompt
push eax
call edi
mov eax, dword [esp + 0x1c]
pop ebx
cmp word [eax], 0
je 0x4060eb
test eax, eax
je 0x4060eb
push eax
lea ecx, [esi + 0x50]
call fcn.0041dcc0
pop esi
pop edi
mov eax, 1
pop ebp
add esp, 0x2014
ret 4