Function at 0x40e208
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x443e6c
call fcn.00421bd8
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 0x40e238
mov dword [eax], 0xffffec77
mov dword [ebp - 4], ebx
lea edi, [esi + 0x6b0]
push 4
push edi
call fcn.004158db
pop ecx
pop ecx
test al, al
jne 0x40e2e8
mov dword [ebp - 0x8d4], 1
mov dword [ebp - 0x664], 0x44655c
mov dword [ebp - 0x65c], 0x446554
push ebx
push str._Setup.dll
lea ecx, [ebp - 0x670]
call fcn.00403191
mov dword [ebp - 0x670], 0x446550
lea eax, [ebp - 0x670]
push eax
mov eax, dword [esi + 0x1e4]
add eax, 0x1fc
push eax
lea eax, [ebp - 0x68c]
push eax
call fcn.00416468
add esp, 0xc
mov dword [ebp - 0x8f8], eax
mov dword [ebp - 0x8f4], edi
push eax
mov ecx, edi
call fcn.00402d12
lea ecx, [ebp - 0x68c]
call fcn.00402544
lea ecx, [ebp - 0x670]
call fcn.00402544
jmp 0x40e2e8
or dword [ebp - 4], 0xffffffff
lea edi, [esi + 0x6b0]
mov ecx, edi
call fcn.00402c9d
push dword [edi + 4]
mov ecx, dword [esi + 0x1e0]
call fcn.0040dea8
lea ecx, [ebp - 0x5a4]
call fcn.0040ea6d
lea edi, [esi + 0x744]
mov ecx, edi
call fcn.00402c9d
push dword [edi + 4]
lea ecx, [ebp - 0x5a4]
call fcn.0041f49d
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 0x40e3dc
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 0x40e3d0
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.00420f40
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.00402996
lea eax, [esi + 0x230]
mov dword [ebp - 0x55c], eax
push 2
push ebx
push 0x5c
push eax
call fcn.0041a005
add esp, 0x10
cmp eax, ebx
je 0x40e413
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.00403428
push 1
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x558]
call fcn.00407074
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 0x40e4be
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 0x40e4dc
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.00403428
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.00403428
cmp dword [esi + 0x3dc], ebx
je 0x40e566
push 1
push 0x44ce30
lea ecx, [ebp - 0x6a8]
call fcn.004027e6
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.004023fd
lea ecx, [ebp - 0x6a8]
call fcn.00402852
jmp 0x40e56c
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
mov eax, dword [esi + 0x1e4]
cmp byte [eax + 0x838], bl
je 0x40e5b8
push 1
push 0x44ce28
lea ecx, [ebp - 0x6c4]
call fcn.004027e6
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.004023fd
lea ecx, [ebp - 0x6c4]
call fcn.00402852
push 1
push 0x44ce20
lea ecx, [ebp - 0x6e0]
call fcn.004027e6
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.004023fd
lea ecx, [ebp - 0x6e0]
call fcn.00402852
push 1
lea ecx, [ebp - 0x34]
call fcn.00402783
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.00414bfe
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.004023fd
mov eax, dword [esi + 0x384]
cmp eax, ebx
je 0x40e63e
push eax
call edi
test eax, eax
jne 0x40e746
push 1
lea ecx, [ebp - 0x5d4]
call fcn.00402783
push ebx
push 0xffffffffffffffff
lea eax, [ebp - 0x5d4]
push eax
push 0x9024
mov ecx, dword [esi + 0x1e0]
call fcn.00419d4a
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 0x40e6a5
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 0x40e6c0
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.00402c9d
mov eax, dword [ebp - 0x5d0]
mov dword [ebp - 0x990], eax
cmp dword [ebp - 0x5c4], ebx
jne 0x40e6e3
xor eax, eax
jmp 0x40e6eb
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.0040276d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x6f0]
call fcn.00402746
lea ecx, [ebp - 0x5d4]
call fcn.00402852
lea ecx, [ebp - 0x558]
call fcn.00402c9d
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.0041a361
add esp, 0x18
mov eax, dword [esi + 0x1e4]
cmp byte [eax + 0x1f2], bl
je 0x40e9e4
add eax, 0x7fc
mov dword [ebp - 0x648], 0x44655c
mov dword [ebp - 0x640], 0x446554
push ebx
push eax
lea ecx, [ebp - 0x654]
call fcn.00406d6e
mov dword [ebp - 0x654], 0x446550
cmp dword [ebp - 0x644], ebx
je 0x40e7d4
push dword [ebp - 0x644]
call edi
test eax, eax
jne 0x40e8ce
cmp dword [esi + 0x3dc], ebx
je 0x40e85b
mov dword [ebp - 0x700], 0x44655c
mov dword [ebp - 0x6f8], 0x446554
push ebx
push str.setup.log
lea ecx, [ebp - 0x70c]
call fcn.00403191
mov dword [ebp - 0x70c], 0x446550
lea eax, [ebp - 0x70c]
push eax
push ebx
lea eax, [ebp - 0x728]
push eax
call fcn.00412dcf
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x744]
push eax
call fcn.00416468
add esp, 0xc
push eax
lea ecx, [ebp - 0x654]
call fcn.00402d12
lea ecx, [ebp - 0x744]
call fcn.00402544
lea ecx, [ebp - 0x728]
call fcn.00402544
lea ecx, [ebp - 0x70c]
jmp 0x40e8c9
mov dword [ebp - 0x754], 0x44655c
mov dword [ebp - 0x74c], 0x446554
push ebx
push str.setup.log
lea ecx, [ebp - 0x760]
call fcn.00403191
mov dword [ebp - 0x760], 0x446550
lea eax, [ebp - 0x760]
push eax
mov eax, dword [esi + 0x1e4]
add eax, 0x1fc
push eax
lea eax, [ebp - 0x77c]
push eax
call fcn.00416468
add esp, 0xc
push eax
lea ecx, [ebp - 0x654]
call fcn.00402d12
lea ecx, [ebp - 0x77c]
call fcn.00402544
lea ecx, [ebp - 0x760]
call fcn.00402544
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.00402c9d
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 0x40e960
lea ecx, [ebp - 0x654]
call fcn.00402c9d
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.00402c9d
push dword [ebp - 0x650]
push str.Log_File
push str.File
push str.InstallShield_Silent
call edi
jmp 0x40e966
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.00402c9d
push dword [ebp - 0x650]
lea eax, [ebp - 0x638]
push eax
push str.ResultCode
push str.ResponseResult
call edi
lea ecx, [ebp - 0x654]
call fcn.00402c9d
mov esi, dword [ebp - 0x650]
mov ecx, dword [ebp - 0xa38]
call fcn.00402c9d
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.00402544
jmp 0x40ea23
cmp byte [eax + 0x1f3], bl
jne 0x40ea23
mov ecx, esi
call fcn.00405772
test al, al
jne 0x40ea23
mov edi, dword [ebp - 0xa38]
mov ecx, edi
call fcn.00402c9d
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.00402852
lea ecx, [ebp - 0x558]
call fcn.00402852
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40ea43
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x5a4], 0x447174
lea ecx, [ebp - 0x5a4]
call fcn.0040eaca
lea esp, [ebp - 0xa44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret