Function at 0x4065c0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545057
mov eax, dword fs:[0]
push eax
sub esp, 0x93c
mov eax, dword [0x5a8040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x940], edi
movdqu xmm0, xmmword [0x58957c]
mov eax, dword [0x58958c]
mov dword [ebp - 0x28], eax
movzx eax, word [0x589590]
movdqu xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x24], ax
movdqu xmm0, xmmword [str.Install]
movzx eax, word [0x5895b4]
mov word [ebp - 0x90], ax
movzx eax, word [0x5895d8]
movdqu xmmword [ebp - 0x48], xmm0
mov word [ebp - 0x5c], ax
xor eax, eax
movdqu xmm0, xmmword [str.PostVersionCode0]
push 0x208
push eax
movdqu xmmword [ebp - 0xb0], xmm0
mov word [ebp - 0x20], ax
movdqu xmm0, xmmword [0x5895a4]
mov word [ebp - 0x2c4], ax
lea eax, [ebp - 0x2c2]
push eax
movdqu xmmword [ebp - 0xa0], xmm0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x8e], xmm0
movdqu xmm0, xmmword [str.PostVersionName0]
movdqu xmmword [ebp - 0x7c], xmm0
movdqu xmm0, xmmword [0x5895c8]
movdqu xmmword [ebp - 0x6c], xmm0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x5a], xmm0
movq qword [ebp - 0x1e], xmm0
call fcn.0052c790
add esp, 0xc
mov dword [ebp - 0x944], 0
lea eax, [ebp - 0x8dc]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x8e0], 7
mov dword [ebp - 0x8e4], 0
mov word [ebp - 0x8f4], ax
cmp word [ebp - 0x8dc], ax
jne 0x4066f7
xor ecx, ecx
jmp 0x40670f
lea ecx, [ebp - 0x8dc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406700
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0x8f4]
call fcn.00405e40
push 1
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x8f4]
mov byte [edi + 0x1ef0], 0
call fcn.00405c00
push eax
push 0
lea eax, [ebp - 0x93c]
push eax
lea ecx, [ebp - 0x8f4]
call fcn.00405a80
mov esi, eax
lea eax, [ebp - 0x8f4]
cmp eax, esi
je 0x4067a1
cmp dword [ebp - 0x8e0], 8
jb 0x406778
push dword [ebp - 0x8f4]
call fcn.0040b23d
add esp, 4
xor eax, eax
mov dword [ebp - 0x8e0], 7
push esi
lea ecx, [ebp - 0x8f4]
mov dword [ebp - 0x8e4], 0
mov word [ebp - 0x8f4], ax
call fcn.00405ac0
cmp dword [ebp - 0x928], 8
jb 0x4067b8
push dword [ebp - 0x93c]
call fcn.0040b23d
add esp, 4
push 1
push 0x58938c
lea ecx, [ebp - 0x8f4]
call fcn.00405b20
cmp dword [ebp - 0x8e0], 8
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
lea eax, [edi + 0x1cd8]
push 0x104
push eax
call fcn.0052b09f
add esp, 0xc
lea ecx, [ebp - 0x8f4]
push 0x13
push 0x588c20
call fcn.00405b20
cmp dword [ebp - 0x8e0], 8
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
lea eax, [edi + 0x1ad0]
push 0x104
push eax
call fcn.0052b09f
add esp, 0xc
cmp dword [ebp - 0x8e0], 8
lea eax, [ebp - 0x8f4]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0x104
lea eax, [ebp - 0x2c4]
push eax
push 0x58877c
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x38]
push eax
call esi
test eax, eax
je 0x406a79
xor eax, eax
mov dword [ebp - 0x8f8], 7
mov dword [ebp - 0x8fc], 0
mov word [ebp - 0x90c], ax
cmp word [ebp - 0x2c4], ax
jne 0x406899
xor ecx, ecx
jmp 0x4068b1
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4068a2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x90c]
call fcn.00405e40
lea esi, [edi + 0x108]
mov byte [ebp - 4], 1
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x90c]
cmp ecx, eax
jae 0x406987
mov edx, dword [esi]
cmp edx, ecx
ja 0x406987
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [esi + 4]
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp eax, dword [esi + 8]
jne 0x40690c
push ecx
mov ecx, esi
call fcn.0040adf0
mov eax, dword [esi]
lea ecx, [edi + edi*2]
lea edi, [eax + ecx*8]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x948], ecx
test ecx, ecx
je 0x406a16
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
cmp dword [edi + 0x14], 8
jae 0x406959
mov eax, dword [edi + 0x10]
inc eax
je 0x406963
add eax, eax
push eax
push edi
push ecx
call fcn.00529e20
mov ecx, dword [ebp - 0x948]
add esp, 0xc
jmp 0x406963
mov eax, dword [edi]
mov dword [ecx], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ecx + 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
jmp 0x406a16
cmp eax, dword [esi + 8]
jne 0x406994
push ecx
mov ecx, esi
call fcn.0040adf0
mov edi, dword [esi + 4]
test edi, edi
je 0x406a16
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x8f8], 8
jae 0x4069d5
mov eax, dword [ebp - 0x8fc]
inc eax
je 0x4069e7
add eax, eax
push eax
lea eax, [ebp - 0x90c]
push eax
push edi
call fcn.00529e20
add esp, 0xc
jmp 0x4069e7
mov eax, dword [ebp - 0x90c]
mov dword [edi], eax
mov dword [ebp - 0x90c], 0
mov eax, dword [ebp - 0x8fc]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x8f8]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [ebp - 0x8f8], 7
mov dword [ebp - 0x8fc], 0
mov word [ebp - 0x90c], ax
add dword [esi + 4], 0x18
mov byte [ebp - 4], 0
cmp dword [ebp - 0x8f8], 8
jb 0x406a35
push dword [ebp - 0x90c]
call fcn.0040b23d
add esp, 4
mov eax, dword [ebp - 0x944]
xor ecx, ecx
push 0xa
mov word [ebp - 0x92], cx
inc eax
push 5
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x944], eax
push ecx
push eax
call fcn.0052b93d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xb0]
push 0x19
push eax
call fcn.0052b0fb
mov edi, dword [ebp - 0x940]
add esp, 0x1c
jmp 0x40682e
mov dword [ebp - 0x944], 0
cmp dword [ebp - 0x8e0], 8
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0x104
lea eax, [ebp - 0x2c4]
push eax
push 0x58877c
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x38]
push eax
call esi
test eax, eax
je 0x406cc7
xor eax, eax
mov dword [ebp - 0x910], 7
mov dword [ebp - 0x914], 0
mov word [ebp - 0x924], ax
cmp word [ebp - 0x2c4], ax
jne 0x406ae5
xor ecx, ecx
jmp 0x406aff
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406af0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x924]
call fcn.00405e40
lea esi, [edi + 0x114]
mov byte [ebp - 4], 2
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x924]
cmp ecx, eax
jae 0x406bd5
mov edx, dword [esi]
cmp edx, ecx
ja 0x406bd5
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [esi + 4]
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp eax, dword [esi + 8]
jne 0x406b5a
push ecx
mov ecx, esi
call fcn.0040adf0
mov eax, dword [esi]
lea ecx, [edi + edi*2]
lea edi, [eax + ecx*8]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x948], ecx
test ecx, ecx
je 0x406c64
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
cmp dword [edi + 0x14], 8
jae 0x406ba7
mov eax, dword [edi + 0x10]
inc eax
je 0x406bb1
add eax, eax
push eax
push edi
push ecx
call fcn.00529e20
mov ecx, dword [ebp - 0x948]
add esp, 0xc
jmp 0x406bb1
mov eax, dword [edi]
mov dword [ecx], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ecx + 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
jmp 0x406c64
cmp eax, dword [esi + 8]
jne 0x406be2
push ecx
mov ecx, esi
call fcn.0040adf0
mov edi, dword [esi + 4]
test edi, edi
je 0x406c64
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x910], 8
jae 0x406c23
mov eax, dword [ebp - 0x914]
inc eax
je 0x406c35
add eax, eax
push eax
lea eax, [ebp - 0x924]
push eax
push edi
call fcn.00529e20
add esp, 0xc
jmp 0x406c35
mov eax, dword [ebp - 0x924]
mov dword [edi], eax
mov dword [ebp - 0x924], 0
mov eax, dword [ebp - 0x914]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x910]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [ebp - 0x910], 7
mov dword [ebp - 0x914], 0
mov word [ebp - 0x924], ax
add dword [esi + 4], 0x18
mov byte [ebp - 4], 0
cmp dword [ebp - 0x910], 8
jb 0x406c83
push dword [ebp - 0x924]
call fcn.0040b23d
add esp, 4
mov eax, dword [ebp - 0x944]
xor ecx, ecx
push 0xa
mov word [ebp - 0x5e], cx
inc eax
push 5
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x944], eax
push ecx
push eax
call fcn.0052b93d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x7c]
push 0x19
push eax
call fcn.0052b0fb
mov edi, dword [ebp - 0x940]
add esp, 0x1c
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x406a83
cmp dword [ebp - 0x8e0], 8
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0x104
lea eax, [ebp - 0x2c4]
push eax
push 0x58877c
push str.SetupTitle
lea eax, [ebp - 0x38]
push eax
call esi
lea eax, [ebp - 0x2c4]
push eax
lea eax, [edi + 0x138]
push 0x64
push eax
call fcn.0052b09f
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x8f4]
add esp, 0xc
cmp dword [ebp - 0x8e0], 8
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0
push str.EnableContinue
lea eax, [ebp - 0x38]
push eax
call esi
cmp dword [ebp - 0x8e0], 8
mov dword [edi + 0x200], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0
push str.ForceUnInstallPostVersion
lea eax, [ebp - 0x38]
push eax
call esi
cmp dword [ebp - 0x8e0], 8
mov dword [edi + 0xa54], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0x104
lea eax, [ebp - 0x2c4]
push eax
push 0x58877c
push str.CurrentCode
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2c4]
push eax
lea eax, [edi + 0x21c]
push 0x104
push eax
call fcn.0052b09f
add esp, 0xc
lea eax, [ebp - 0x8f4]
cmp dword [ebp - 0x8e0], 8
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0
push str.LogEnable
lea eax, [ebp - 0x38]
push eax
call esi
cmp dword [ebp - 0x8e0], 8
mov dword [edi + 0x1ee0], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0
push str.SelfUninstall
lea eax, [ebp - 0x38]
push eax
call esi
cmp dword [ebp - 0x8e0], 8
mov dword [edi + 0x1ee8], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0
push str.ResetTrial
lea eax, [ebp - 0x38]
push eax
call esi
cmp dword [ebp - 0x8e0], 8
mov dword [edi + 0x1eec], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0
push str.DotNet48Enable
lea eax, [ebp - 0x38]
push eax
call esi
cmp dword [ebp - 0x8e0], 8
mov dword [edi + 0x12a4], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0x104
lea eax, [ebp - 0x2c4]
push eax
push 0x58877c
push str.DotNet48Path
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2c4]
push eax
lea eax, [edi + 0x12a8]
push 0x104
push eax
call fcn.0052b09f
add esp, 0xc
lea eax, [ebp - 0x8f4]
cmp dword [ebp - 0x8e0], 8
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0
push str.RedistEnable
lea eax, [ebp - 0x38]
push eax
call esi
cmp dword [ebp - 0x8e0], 8
mov dword [edi + 0x14b0], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0x104
lea eax, [ebp - 0x2c4]
push eax
push 0x58877c
push str.RedistPath
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2c4]
push eax
lea eax, [edi + 0x14b4]
push 0x104
push eax
call fcn.0052b09f
add esp, 0xc
lea eax, [ebp - 0x8f4]
cmp dword [ebp - 0x8e0], 8
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0
push str.Redist2013Enable
lea eax, [ebp - 0x38]
push eax
call esi
cmp dword [ebp - 0x8e0], 8
mov dword [edi + 0x16bc], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0x104
lea eax, [ebp - 0x2c4]
push eax
push 0x58877c
push str.Redist2013Path
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2c4]
push eax
lea eax, [edi + 0x16c0]
push 0x104
push eax
call fcn.0052b09f
add esp, 0xc
lea eax, [ebp - 0x8f4]
cmp dword [ebp - 0x8e0], 8
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0x104
lea eax, [ebp - 0x2c4]
push eax
push 0x58877c
push str.MsiFileName
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2c4]
push eax
lea eax, [edi + 0x424]
push 0x104
push eax
call fcn.0052b09f
add esp, 0xc
lea eax, [ebp - 0x8f4]
cmp dword [ebp - 0x8e0], 8
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0x104
lea eax, [ebp - 0x2c4]
push eax
push 0x58877c
push str.FeatureSelection
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2c4]
push eax
lea eax, [edi + 0x62c]
push 0x104
push eax
call fcn.0052b09f
add esp, 0xc
lea eax, [ebp - 0x8f4]
cmp dword [ebp - 0x8e0], 8
cmovae eax, dword [ebp - 0x8f4]
push eax
push 3
push str.LevelOption
lea eax, [ebp - 0x48]
push eax
call esi
cmp dword [ebp - 0x8e0], 8
mov dword [edi + 0xa3c], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 1
push str.m_Page1
lea eax, [ebp - 0x48]
push eax
call esi
cmp dword [ebp - 0x8e0], 8
mov dword [edi + 0xa40], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 1
push str.m_Page2
lea eax, [ebp - 0x48]
push eax
call esi
cmp dword [ebp - 0x8e0], 8
mov dword [edi + 0xa44], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 1
push str.m_Page3
lea eax, [ebp - 0x48]
push eax
call esi
cmp dword [ebp - 0x8e0], 8
mov dword [edi + 0xa48], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 1
push str.m_Page4
lea eax, [ebp - 0x48]
push eax
call esi
cmp dword [ebp - 0x8e0], 8
mov dword [edi + 0xa4c], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0
push str.HIDEPID
lea eax, [ebp - 0x48]
push eax
call esi
mov dword [edi + 0xa50], eax
lea eax, [ebp - 0x6bc]
movdqu xmm0, xmmword [str.e_propname0]
push 0x1f0
push 0
movdqu xmmword [ebp - 0x6d4], xmm0
push eax
movq xmm0, qword [0x589810]
mov dword [ebp - 0x940], 0
movq qword [ebp - 0x6c4], xmm0
call fcn.0052c790
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
lea esp, [esp]
cmp dword [ebp - 0x8e0], 8
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0x104
lea eax, [ebp - 0x2c4]
push eax
push 0x58877c
lea eax, [ebp - 0x6d4]
push eax
lea eax, [ebp - 0x48]
push eax
call esi
test eax, eax
je 0x407274
xor eax, eax
mov dword [ebp - 0x928], 7
mov dword [ebp - 0x92c], 0
mov word [ebp - 0x93c], ax
cmp word [ebp - 0x2c4], ax
je 0x4071ef
lea eax, [ebp - 0x2c4]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4071e0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x93c]
call fcn.00405e40
lea eax, [ebp - 0x93c]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x204]
call fcn.0040acf0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x928], 8
jb 0x407233
push dword [ebp - 0x93c]
call fcn.0040b23d
add esp, 4
mov eax, dword [ebp - 0x940]
xor ecx, ecx
push 0xa
mov word [ebp - 0x6c0], cx
inc eax
push 5
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x940], eax
push ecx
push eax
call fcn.0052b93d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x6d4]
push 0x104
push eax
call fcn.0052b0fb
add esp, 0x1c
jmp 0x407170
movdqu xmm0, xmmword [str.e_propvalue0]
mov ax, word [0x589830]
push 0x1ee
mov word [ebp - 0x4b4], ax
lea eax, [ebp - 0x4b2]
movdqu xmmword [ebp - 0x4cc], xmm0
push 0
movq xmm0, qword [0x589828]
push eax
mov dword [ebp - 0x940], 0
movq qword [ebp - 0x4bc], xmm0
call fcn.0052c790
add esp, 0xc
cmp dword [ebp - 0x8e0], 8
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0x104
lea eax, [ebp - 0x2c4]
push eax
push 0x58877c
lea eax, [ebp - 0x4cc]
push eax
lea eax, [ebp - 0x48]
push eax
call esi
test eax, eax
je 0x407380
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x93c]
call fcn.004059f0
lea eax, [ebp - 0x93c]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x210]
call fcn.0040acf0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x928], 8
jb 0x40733f
push dword [ebp - 0x93c]
call fcn.0040b23d
add esp, 4
mov eax, dword [ebp - 0x940]
xor ecx, ecx
push 0xa
mov word [ebp - 0x4b6], cx
inc eax
push 5
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x940], eax
push ecx
push eax
call fcn.0052b93d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4cc]
push 0x104
push eax
call fcn.0052b0fb
add esp, 0x1c
jmp 0x4072c1
cmp dword [ebp - 0x8e0], 8
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0x104
lea eax, [ebp - 0x2c4]
push eax
push 0x58877c
push str.InstallDir
lea eax, [ebp - 0x48]
push eax
call esi
lea eax, [ebp - 0x2c4]
mov ecx, edi
push eax
call fcn.00408600
cmp dword [ebp - 0x8e0], 8
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4073ee
lea ecx, [ebp - 0x8f4]
call fcn.00405a50
or eax, 0xffffffff
jmp 0x40741e
cmp dword [ebp - 0x8e0], 8
lea eax, [ebp - 0x8f4]
mov ecx, edi
cmovae eax, dword [ebp - 0x8f4]
push eax
call fcn.004086b0
mov ecx, edi
call fcn.00407440
lea ecx, [ebp - 0x8f4]
call fcn.00405a50
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00529d59
mov esp, ebp
pop ebp
ret 4