Function at 0x409c90
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2018
call fcn.004a0d60
push ebp
mov ebp, ecx
push edi
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2024]
mov eax, dword [ebp]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x20]
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ebp
mov dword [esp + 8], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0x1000
mov dword [esp + 0x10], 0
call fcn.00409f40
mov edi, dword [esp + 8]
test edi, edi
je 0x409d06
mov edx, dword [esp + 0xc]
test edx, edx
je 0x409d06
mov eax, dword [esp + 0x14]
test eax, eax
je 0x409d06
mov ecx, dword [esp + 0x18]
cmp ecx, 0x80
jg 0x409d13
pop edi
xor eax, eax
pop ebp
add esp, 0x2018
ret 4
push ebx
push esi
mov esi, dword [ebp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push ecx
push eax
mov eax, dword [esp + 0x24]
push eax
push str.FixedProductText
push edx
add esi, 0xa0
call ebx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
je 0x409d4e
test eax, eax
je 0x409d4e
push eax
mov ecx, esi
call fcn.004346e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
push str.OptionalProductText
push ecx
call ebx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
je 0x409d85
test eax, eax
je 0x409d85
push eax
lea ecx, [esi + 0x10]
call fcn.004346e0
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.InstalledProductText
push eax
call ebx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
je 0x409db8
test eax, eax
je 0x409db8
push eax
lea ecx, [esi + 0x20]
call fcn.004346e0
push str.PageState
lea ecx, [esp + 0x14]
call fcn.004098a0
mov edi, eax
test edi, edi
je 0x409e1c
mov ebp, dword [sym.imp.MSVCRT.dll__wcsnicmp]
push 0x20
push str.Hide
push edi
call ebp
add esp, 0xc
test eax, eax
jne 0x409dea
mov eax, 1
jmp 0x409e18
push 0x20
push str.Minimized
push edi
call ebp
add esp, 0xc
test eax, eax
jne 0x409e02
mov eax, 2
jmp 0x409e18
push 0x20
push str.Smart
push edi
call ebp
add esp, 0xc
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
mov ebp, dword [esp + 0x24]
mov ecx, dword [ebp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ecx + 0x14c], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push 0
push str.ShowCancelButton
push eax
call edi
mov edx, dword [ebp + 0x1c]
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [edx + 0x150], 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 ebx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
je 0x409e8a
test eax, eax
je 0x409e8a
push eax
lea ecx, [esi + 0x30]
call fcn.004346e0
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 ebx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
je 0x409ebd
test eax, eax
je 0x409ebd
push eax
lea ecx, [esi + 0x40]
call fcn.004346e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push 0
push str.SubTextHeight
push edx
call edi
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 edi
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 ebx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
je 0x409f20
test eax, eax
je 0x409f20
push eax
lea ecx, [esi + 0x50]
call fcn.004346e0
pop esi
pop ebx
pop edi
mov eax, 1
pop ebp
add esp, 0x2018
ret 4