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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549777
mov eax, dword fs:[0]
push eax
sub esp, 0x93c
mov eax, dword [0x5ad040]
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 [str.PreInstall]
mov eax, dword [0x58d6e4]
mov dword [ebp - 0x28], eax
movzx eax, word [0x58d6e8]
movdqu xmmword [ebp - 0x38], xmm0
mov word [ebp - 0x24], ax
movdqu xmm0, xmmword [str.Install]
movzx eax, word [0x58d70c]
mov word [ebp - 0x90], ax
movzx eax, word [0x58d730]
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 [0x58d6fc]
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 [0x58d720]
movdqu xmmword [ebp - 0x6c], xmm0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x5a], xmm0
movq qword [ebp - 0x1e], xmm0
call fcn.00530d50
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 0x407427
xor ecx, ecx
jmp 0x40743f
lea ecx, [ebp - 0x8dc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407430
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0x8f4]
call fcn.00406a30
push 1
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x8f4]
mov byte [edi + 0x2100], 0
call fcn.00406750
push eax
push ecx
lea eax, [ebp - 0x93c]
push eax
lea ecx, [ebp - 0x8f4]
call fcn.00406550
mov esi, eax
lea eax, [ebp - 0x8f4]
cmp eax, esi
je 0x4074d0
cmp dword [ebp - 0x8e0], 8
jb 0x4074a7
push dword [ebp - 0x8f4]
call fcn.0040f8c3
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.00406610
cmp dword [ebp - 0x928], 8
jb 0x4074e7
push dword [ebp - 0x93c]
call fcn.0040f8c3
add esp, 4
push 1
push 0x58cde8
lea ecx, [ebp - 0x8f4]
call fcn.00406670
cmp dword [ebp - 0x8e0], 8
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
lea eax, [edi + 0x1ee4]
push 0x104
push eax
call fcn.0052f5cf
add esp, 0xc
lea ecx, [ebp - 0x8f4]
push 0x13
push 0x58ca14
call fcn.00406670
cmp dword [ebp - 0x8e0], 8
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
lea eax, [edi + 0x1cdc]
push 0x104
push eax
call fcn.0052f5cf
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 0x58c7b0
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x38]
push eax
call esi
test eax, eax
je 0x4077a8
xor eax, eax
mov dword [ebp - 0x8f8], 7
mov dword [ebp - 0x8fc], 0
mov word [ebp - 0x90c], ax
cmp word [ebp - 0x2c4], ax
jne 0x4075c8
xor ecx, ecx
jmp 0x4075e0
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4075d1
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x90c]
call fcn.00406a30
lea esi, [edi + 0x108]
mov byte [ebp - 4], 1
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x90c]
cmp ecx, eax
jae 0x4076b6
mov edx, dword [esi]
cmp edx, ecx
ja 0x4076b6
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 0x40763b
push ecx
mov ecx, esi
call fcn.004067e0
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 0x407745
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
cmp dword [edi + 0x14], 8
jae 0x407688
mov eax, dword [edi + 0x10]
inc eax
je 0x407692
add eax, eax
push eax
push edi
push ecx
call fcn.0052e350
mov ecx, dword [ebp - 0x948]
add esp, 0xc
jmp 0x407692
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 0x407745
cmp eax, dword [esi + 8]
jne 0x4076c3
push ecx
mov ecx, esi
call fcn.004067e0
mov edi, dword [esi + 4]
test edi, edi
je 0x407745
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x8f8], 8
jae 0x407704
mov eax, dword [ebp - 0x8fc]
inc eax
je 0x407716
add eax, eax
push eax
lea eax, [ebp - 0x90c]
push eax
push edi
call fcn.0052e350
add esp, 0xc
jmp 0x407716
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 0x407764
push dword [ebp - 0x90c]
call fcn.0040f8c3
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.0052fe6d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xb0]
push 0x19
push eax
call fcn.0052f62b
mov edi, dword [ebp - 0x940]
add esp, 0x1c
jmp 0x40755d
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 0x58c7b0
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x38]
push eax
call esi
test eax, eax
je 0x4079f7
xor eax, eax
mov dword [ebp - 0x910], 7
mov dword [ebp - 0x914], 0
mov word [ebp - 0x924], ax
cmp word [ebp - 0x2c4], ax
jne 0x407814
xor ecx, ecx
jmp 0x40782f
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407820
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x924]
call fcn.00406a30
lea esi, [edi + 0x114]
mov byte [ebp - 4], 2
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x924]
cmp ecx, eax
jae 0x407905
mov edx, dword [esi]
cmp edx, ecx
ja 0x407905
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 0x40788a
push ecx
mov ecx, esi
call fcn.004067e0
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 0x407994
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
cmp dword [edi + 0x14], 8
jae 0x4078d7
mov eax, dword [edi + 0x10]
inc eax
je 0x4078e1
add eax, eax
push eax
push edi
push ecx
call fcn.0052e350
mov ecx, dword [ebp - 0x948]
add esp, 0xc
jmp 0x4078e1
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 0x407994
cmp eax, dword [esi + 8]
jne 0x407912
push ecx
mov ecx, esi
call fcn.004067e0
mov edi, dword [esi + 4]
test edi, edi
je 0x407994
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x910], 8
jae 0x407953
mov eax, dword [ebp - 0x914]
inc eax
je 0x407965
add eax, eax
push eax
lea eax, [ebp - 0x924]
push eax
push edi
call fcn.0052e350
add esp, 0xc
jmp 0x407965
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 0x4079b3
push dword [ebp - 0x924]
call fcn.0040f8c3
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.0052fe6d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x7c]
push 0x19
push eax
call fcn.0052f62b
mov edi, dword [ebp - 0x940]
add esp, 0x1c
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x4077b2
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 0x58c7b0
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.0052f5cf
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 0x58c7b0
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.0052f5cf
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 + 0x20ec], 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 + 0x20f4], 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 + 0x20f8], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0
push str.LightSize
lea eax, [ebp - 0x38]
push eax
call esi
cmp dword [ebp - 0x8e0], 8
mov dword [edi + 0x20fc], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0
push str.DotNet40Enable
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 0x58c7b0
push str.DotNet40Path
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2c4]
push eax
lea eax, [edi + 0x12ac]
push 0x104
push eax
call fcn.0052f5cf
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 0x58c7b0
push str.DotNet46Path
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.0052f5cf
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 + 0x16bc], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0x104
lea eax, [ebp - 0x2c4]
push eax
push 0x58c7b0
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 + 0x16c0]
push 0x104
push eax
call fcn.0052f5cf
add esp, 0xc
lea eax, [ebp - 0x8f4]
cmp dword [ebp - 0x8e0], 8
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0
push str.Redist2015Enable
lea eax, [ebp - 0x38]
push eax
call esi
cmp dword [ebp - 0x8e0], 8
mov dword [edi + 0x18c8], eax
lea eax, [ebp - 0x8f4]
cmovae eax, dword [ebp - 0x8f4]
push eax
push 0x104
lea eax, [ebp - 0x2c4]
push eax
push 0x58c7b0
push str.Redist2015Path
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2c4]
push eax
lea eax, [edi + 0x18cc]
push 0x104
push eax
call fcn.0052f5cf
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 0x58c7b0
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.0052f5cf
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 0x58c7b0
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.0052f5cf
add esp, 0xc
cmp dword [ebp - 0x8e0], 8
lea eax, [ebp - 0x8f4]
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 [0x58d998]
mov dword [ebp - 0x940], 0
movq qword [ebp - 0x6c4], xmm0
call fcn.00530d50
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
jmp 0x407f20
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 0x58c7b0
lea eax, [ebp - 0x6d4]
push eax
lea eax, [ebp - 0x48]
push eax
call esi
test eax, eax
je 0x408024
xor eax, eax
mov dword [ebp - 0x928], 7
mov dword [ebp - 0x92c], 0
mov word [ebp - 0x93c], ax
cmp word [ebp - 0x2c4], ax
je 0x407f9f
lea eax, [ebp - 0x2c4]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407f90
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x93c]
call fcn.00406a30
lea eax, [ebp - 0x93c]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x204]
call fcn.00406590
mov byte [ebp - 4], 0
cmp dword [ebp - 0x928], 8
jb 0x407fe3
push dword [ebp - 0x93c]
call fcn.0040f8c3
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.0052fe6d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x6d4]
push 0x104
push eax
call fcn.0052f62b
add esp, 0x1c
jmp 0x407f20
movdqu xmm0, xmmword [str.e_propvalue0]
mov ax, word [0x58d9b8]
push 0x1ee
mov word [ebp - 0x4b4], ax
lea eax, [ebp - 0x4b2]
movdqu xmmword [ebp - 0x4cc], xmm0
push 0
movq xmm0, qword [0x58d9b0]
push eax
mov dword [ebp - 0x940], 0
movq qword [ebp - 0x4bc], xmm0
call fcn.00530d50
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 0x58c7b0
lea eax, [ebp - 0x4cc]
push eax
lea eax, [ebp - 0x48]
push eax
call esi
test eax, eax
je 0x408130
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x93c]
call fcn.00406480
lea eax, [ebp - 0x93c]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x210]
call fcn.00406590
mov byte [ebp - 4], 0
cmp dword [ebp - 0x928], 8
jb 0x4080ef
push dword [ebp - 0x93c]
call fcn.0040f8c3
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.0052fe6d
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4cc]
push 0x104
push eax
call fcn.0052f62b
add esp, 0x1c
jmp 0x408071
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 0x58c7b0
push str.InstallDir
lea eax, [ebp - 0x48]
push eax
call esi
lea eax, [ebp - 0x2c4]
mov ecx, edi
push eax
call fcn.00408360
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 0x40819e
lea ecx, [ebp - 0x8f4]
call fcn.00403fa0
or eax, 0xffffffff
jmp 0x4081c7
cmp dword [ebp - 0x8e0], 8
lea eax, [ebp - 0x8f4]
mov ecx, edi
cmovae eax, dword [ebp - 0x8f4]
push eax
call fcn.00408410
lea ecx, [ebp - 0x8f4]
call fcn.00403fa0
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.0052e288
mov esp, ebp
pop ebp
ret 4