Function at 0x40e14f
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x443c6c
call fcn.00421898
sub esp, 0xa2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0xa34], esi
lea eax, [esi + 0x6f0]
xor ebx, ebx
cmp dword [eax], ebx
jne 0x40e17f
mov dword [eax], 0xffffec77
mov dword [ebp - 4], ebx
lea edi, [esi + 0x6b0]
push 4
push edi
call fcn.00415801
pop ecx
pop ecx
test al, al
jne 0x40e22f
mov dword [ebp - 0x8d4], 1
mov dword [ebp - 0x664], 0x446564
mov dword [ebp - 0x65c], 0x44655c
push ebx
push str._Setup.dll
lea ecx, [ebp - 0x670]
call fcn.00403177
mov dword [ebp - 0x670], 0x446558
lea eax, [ebp - 0x670]
push eax
mov eax, dword [esi + 0x1e4]
add eax, 0x1fc
push eax
lea eax, [ebp - 0x68c]
push eax
call fcn.004162fa
add esp, 0xc
mov dword [ebp - 0x8f8], eax
mov dword [ebp - 0x8f4], edi
push eax
mov ecx, edi
call fcn.0040266e
lea ecx, [ebp - 0x68c]
call fcn.0040252a
lea ecx, [ebp - 0x670]
call fcn.0040252a
jmp 0x40e22f
or dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x6b0]
mov ecx, edi
call fcn.00402db3
push dword [edi + 4]
mov ecx, dword [esi + 0x1e0]
call fcn.0040dd9e
lea ecx, [ebp - 0x5a4]
call fcn.0040e9b4
lea edi, [esi + 0x744]
mov ecx, edi
call fcn.00402db3
push dword [edi + 4]
lea ecx, [ebp - 0x5a4]
call fcn.0041f14f
mov eax, dword [ebp - 0x594]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
mov eax, dword [ebp - 0x598]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push str._d._d._d._d
lea eax, [ebp - 0x53c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
xor edi, edi
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SetErrorInfo]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40e323
mov dword [ebp - 0x5b0], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x5b0]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x5b0]
mov dword [ebp - 0x5a8], eax
cmp eax, ebx
je 0x40e317
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x5b8], eax
add eax, 3
and al, 0xfc
call fcn.00420c00
mov edi, esp
mov byte [edi], bl
push ebx
push ebx
push dword [ebp - 0x5b8]
push edi
push 0xffffffffffffffff
push dword [ebp - 0x5a8]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 0x5b0]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esi + 0x390]
mov dword [ebp - 0xa38], ecx
push edi
call fcn.0040295c
lea eax, [esi + 0x230]
mov dword [ebp - 0x55c], eax
push 2
push ebx
push 0x5c
push eax
call fcn.00419e5a
add esp, 0x10
cmp eax, ebx
je 0x40e35a
inc eax
mov dword [ebp - 0x55c], eax
mov byte [ebp - 0x438], bl
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x437]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push dword [esi + 0x22c]
push dword [ebp - 0x55c]
push str.__s___d__r_n
lea eax, [ebp - 0x438]
push eax
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
call edi
add esp, 0x10
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0xa38]
call fcn.00403496
push 1
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x558]
call fcn.00407072
mov eax, dword [esi + 0x1e4]
add eax, 0x5f8
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
mov eax, dword [esi + 0x1e4]
lea ecx, [eax + 0x42d]
push ecx
je 0x40e405
lea ecx, [eax + 0x5f8]
push ecx
lea ecx, [eax + 0x4f8]
push ecx
add eax, 0x234
push eax
push str.PAPP:_s_r_nPVENDOR:_s___s__r_nPGUID:_s_r_n
lea eax, [ebp - 0x438]
push eax
call edi
add esp, 0x18
jmp 0x40e423
lea ecx, [eax + 0x4f8]
push ecx
add eax, 0x234
push eax
push str.pAPP:_s_r_nPVENDOR:_s_r_nPGUID:_s_r_n
lea eax, [ebp - 0x438]
push eax
call edi
add esp, 0x14
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0xa38]
call fcn.00403496
lea eax, [ebp - 0x53c]
push eax
push 0x44ce38
lea eax, [ebp - 0x438]
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0xa38]
call fcn.00403496
cmp dword [esi + 0x3dc], ebx
je 0x40e4ad
push 1
push 0x44ce30
lea ecx, [ebp - 0x6a8]
call fcn.004027ac
mov eax, dword [ebp - 0x698]
mov dword [ebp - 0x96c], eax
push eax
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
call edi
push eax
push dword [ebp - 0x96c]
lea ecx, [esi + 0x3a0]
call fcn.004023e3
lea ecx, [ebp - 0x6a8]
call fcn.00402818
jmp 0x40e4b3
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
mov eax, dword [esi + 0x1e4]
cmp byte [eax + 0x838], bl
je 0x40e4ff
push 1
push 0x44ce28
lea ecx, [ebp - 0x6c4]
call fcn.004027ac
mov eax, dword [ebp - 0x6b4]
mov dword [ebp - 0x974], eax
push eax
call edi
push eax
push dword [ebp - 0x974]
lea ecx, [esi + 0x3a0]
call fcn.004023e3
lea ecx, [ebp - 0x6c4]
call fcn.00402818
push 1
push 0x44ce20
lea ecx, [ebp - 0x6e0]
call fcn.004027ac
mov eax, dword [ebp - 0x6d0]
mov dword [ebp - 0x97c], eax
push eax
call edi
push eax
push dword [ebp - 0x97c]
lea ecx, [esi + 0x3a0]
call fcn.004023e3
lea ecx, [ebp - 0x6e0]
call fcn.00402818
push 1
lea ecx, [ebp - 0x34]
call fcn.00402749
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.00414b24
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x984], eax
push eax
call edi
push eax
push dword [ebp - 0x984]
lea ecx, [esi + 0x3a0]
call fcn.004023e3
mov eax, dword [esi + 0x384]
cmp eax, ebx
je 0x40e585
push eax
call edi
test eax, eax
jne 0x40e68d
push 1
lea ecx, [ebp - 0x5d4]
call fcn.00402749
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x5d4]
push eax
push 0x9024
mov ecx, dword [esi + 0x1e0]
call fcn.00419b9f
mov eax, dword [esi + 0x1e4]
add eax, 0x5f8
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
mov eax, dword [esi + 0x1e4]
je 0x40e5ec
lea ecx, [eax + 0x5f8]
push ecx
add eax, 0x4f8
push eax
push str._s___s_
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x40e607
add eax, 0x4f8
push eax
push 0x44c7ec
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x5d4]
call fcn.00402db3
mov eax, dword [ebp - 0x5d0]
mov dword [ebp - 0x990], eax
cmp dword [ebp - 0x5c4], ebx
jne 0x40e62a
xor eax, eax
jmp 0x40e632
push dword [ebp - 0x5c4]
call edi
add eax, 0x200
mov dword [ebp - 0x6f0], eax
mov byte [ebp - 0x6ec], bl
lea eax, [esi + 0x374]
mov dword [ebp - 0x6e8], eax
mov dword [ebp - 0x6e4], ebx
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x990]
lea ecx, [ebp - 0x6f0]
call fcn.00402733
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x6f0]
call fcn.00402a34
lea ecx, [ebp - 0x5d4]
call fcn.00402818
lea ecx, [ebp - 0x558]
call fcn.00402db3
push dword [ebp - 0x554]
push dword [esi + 0x228]
push dword [esi + 0x6f0]
push str.ErrorCode_ld_tException0x_08lx_tErrorInformation_s
push str.UnhandledException
push str.ISSetupDLLOp
call fcn.0041a1b6
add esp, 0x18
mov eax, dword [esi + 0x1e4]
cmp byte [eax + 0x1f2], bl
je 0x40e92b
add eax, 0x7fc
mov dword [ebp - 0x648], 0x446564
mov dword [ebp - 0x640], 0x44655c
push ebx
push eax
lea ecx, [ebp - 0x654]
call fcn.00406d6c
mov dword [ebp - 0x654], 0x446558
cmp dword [ebp - 0x644], ebx
je 0x40e71b
push dword [ebp - 0x644]
call edi
test eax, eax
jne 0x40e815
cmp dword [esi + 0x3dc], ebx
je 0x40e7a2
mov dword [ebp - 0x700], 0x446564
mov dword [ebp - 0x6f8], 0x44655c
push ebx
push str.setup.log
lea ecx, [ebp - 0x70c]
call fcn.00403177
mov dword [ebp - 0x70c], 0x446558
lea eax, [ebp - 0x70c]
push eax
push ebx
lea eax, [ebp - 0x728]
push eax
call fcn.00412cfe
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x744]
push eax
call fcn.004162fa
add esp, 0xc
push eax
lea ecx, [ebp - 0x654]
call fcn.0040266e
lea ecx, [ebp - 0x744]
call fcn.0040252a
lea ecx, [ebp - 0x728]
call fcn.0040252a
lea ecx, [ebp - 0x70c]
jmp 0x40e810
mov dword [ebp - 0x754], 0x446564
mov dword [ebp - 0x74c], 0x44655c
push ebx
push str.setup.log
lea ecx, [ebp - 0x760]
call fcn.00403177
mov dword [ebp - 0x760], 0x446558
lea eax, [ebp - 0x760]
push eax
mov eax, dword [esi + 0x1e4]
add eax, 0x1fc
push eax
lea eax, [ebp - 0x77c]
push eax
call fcn.004162fa
add esp, 0xc
push eax
lea ecx, [ebp - 0x654]
call fcn.0040266e
lea ecx, [ebp - 0x77c]
call fcn.0040252a
lea ecx, [ebp - 0x760]
call fcn.0040252a
mov byte [ebp - 0x638], bl
push 0x18
pop ecx
xor eax, eax
lea edi, [ebp - 0x637]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x654]
call fcn.00402db3
push dword [ebp - 0x650]
push 0x64
lea eax, [ebp - 0x638]
push eax
push 0x451a40
push str.File
mov edi, str.InstallShield_Silent
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x40e8a7
lea ecx, [ebp - 0x654]
call fcn.00402db3
push dword [ebp - 0x650]
push str.v7.00
push str.Version
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call edi
lea ecx, [ebp - 0x654]
call fcn.00402db3
push dword [ebp - 0x650]
push str.Log_File
push str.File
push str.InstallShield_Silent
call edi
jmp 0x40e8ad
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push dword [esi + 0x6f0]
push 0x44cd84
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x654]
call fcn.00402db3
push dword [ebp - 0x650]
lea eax, [ebp - 0x638]
push eax
push str.ResultCode
push str.ResponseResult
call edi
lea ecx, [ebp - 0x654]
call fcn.00402db3
mov esi, dword [ebp - 0x650]
mov ecx, dword [ebp - 0xa38]
call fcn.00402db3
push esi
mov eax, dword [ebp - 0xa38]
push dword [eax + 4]
push str.ErrorInfo
push str.ExtendedError
call edi
lea ecx, [ebp - 0x654]
call fcn.0040252a
jmp 0x40e96a
cmp byte [eax + 0x1f3], bl
jne 0x40e96a
mov ecx, esi
call fcn.00405787
test al, al
jne 0x40e96a
mov edi, dword [ebp - 0xa38]
mov ecx, edi
call fcn.00402db3
push 0x10
mov eax, dword [esi + 0x1e4]
add eax, 0x234
push eax
push dword [edi + 4]
mov eax, dword [esi + 0x1e0]
push dword [eax]
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x34]
call fcn.00402818
lea ecx, [ebp - 0x558]
call fcn.00402818
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40e98a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x5a4], 0x44717c
lea ecx, [ebp - 0x5a4]
call fcn.0040ea11
lea esp, [ebp - 0xa44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret