Function at 0x40cbb0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2018
call fcn.004a2ae0
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.0040ce60
mov edi, dword [esp + 8]
test edi, edi
je 0x40cc26
mov edx, dword [esp + 0xc]
test edx, edx
je 0x40cc26
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40cc26
mov ecx, dword [esp + 0x18]
cmp ecx, 0x80
jg 0x40cc33
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, 0xa8
call ebx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0
je 0x40cc6e
test eax, eax
je 0x40cc6e
push eax
mov ecx, esi
call fcn.0043b3d0
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 0x40cca5
test eax, eax
je 0x40cca5
push eax
lea ecx, [esi + 0x18]
call fcn.0043b3d0
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 0x40ccd8
test eax, eax
je 0x40ccd8
push eax
lea ecx, [esi + 0x30]
call fcn.0043b3d0
push str.PageState
lea ecx, [esp + 0x14]
call fcn.0040c7f0
mov edi, eax
test edi, edi
je 0x40cd3c
mov ebp, dword [sym.imp.MSVCRT.dll__wcsnicmp]
push 0x20
push str.Hide
push edi
call ebp
add esp, 0xc
test eax, eax
jne 0x40cd0a
mov eax, 1
jmp 0x40cd38
push 0x20
push str.Minimized
push edi
call ebp
add esp, 0xc
test eax, eax
jne 0x40cd22
mov eax, 2
jmp 0x40cd38
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 + 0x184], 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 + 0x188], 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 0x40cdaa
test eax, eax
je 0x40cdaa
push eax
lea ecx, [esi + 0x48]
call fcn.0043b3d0
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 0x40cddd
test eax, eax
je 0x40cddd
push eax
lea ecx, [esi + 0x60]
call fcn.0043b3d0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push 0
push str.SubTextHeight
push edx
call edi
mov dword [esi + 0x90], 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 + 0x94], 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 0x40ce46
test eax, eax
je 0x40ce46
push eax
lea ecx, [esi + 0x78]
call fcn.0043b3d0
pop esi
pop ebx
pop edi
mov eax, 1
pop ebp
add esp, 0x2018
ret 4