Function at 0x4304a5
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov dword [ebp - 0xa0], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0043bf85
cmp eax, 6
jb 0x4304cf
call fcn.00430184
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x814]
push eax
mov dword [0x4ac180], eax
call fcn.004317b5
lea eax, [ebp - 9]
mov edi, 0x48b6a0
push ebx
push eax
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0x48b6a8
mov dword [ebp - 0x1c0], edi
call fcn.00403cd9
mov esi, 0x104
lea eax, [ebp - 0x34]
push esi
push eax
lea ecx, [ebp - 0x1e0]
call fcn.00402f01
mov ecx, dword [eax]
mov dword [ebp - 0x38], eax
call fcn.004042dd
mov ecx, dword [ebp - 0x38]
push esi
push eax
push ebx
mov dword [ecx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x34]
call fcn.00403013
sub esp, 0x28
lea eax, [ebp - 9]
mov dword [ebp - 0x14], esp
mov ecx, esp
push ebx
push eax
push 0x4aa140
mov dword [ecx], 0x48b6a8
mov dword [ecx + 0x20], edi
call fcn.00404d89
sub esp, 0x28
lea eax, [ebp - 0x1e0]
mov ecx, esp
mov dword [ebp - 0x14], esp
push 1
push eax
call fcn.00407ae3
lea ecx, [ebp - 0x814]
call fcn.00431c55
push 0x400
lea eax, [ebp - 0x814]
push ebx
push 0x4abd78
mov dword [0x4ac17c], eax
call fcn.00467b20
mov eax, dword [0x4ac464]
add esp, 0xc
mov dword [ebp - 0x38], eax
mov eax, dword [0x4ac468]
push dword [ebp + 0x10]
lea ecx, [ebp - 0x74]
mov dword [0x4ac178], ebx
mov dword [ebp - 0x28], eax
call fcn.00431770
lea eax, [ebp - 9]
push ebx
push eax
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x168], 0x48b660
mov dword [ebp - 0x148], 0x48b658
call fcn.00401907
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x168]
push eax
call fcn.00426e0b
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.0040afcb
push ebx
push ebx
push eax
push str.debuglog
lea ecx, [ebp - 0x74]
call fcn.00408ccc
lea ecx, [ebp - 0x34]
mov byte [ebp - 0xa], al
call fcn.004325ab
cmp byte [ebp - 0xa], bl
je 0x43066d
call fcn.00477f20
push ebx
call fcn.004780b0
cmp dword [ebp - 0x15c], ebx
je 0x43066d
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x168]
push eax
call fcn.004325bc
lea ecx, [ebp - 0x60]
call fcn.00401093
sub esp, 0x28
lea eax, [ebp - 0x168]
mov dword [ebp - 0x14], esp
mov ecx, esp
push ebx
push eax
mov dword [ecx], 0x48b660
mov dword [ecx + 0x20], 0x48b658
call fcn.00401d87
call fcn.00477f30
lea eax, [ebp - 9]
push 1
push eax
lea ecx, [ebp - 0x118]
push dword [ebp + 0x10]
call fcn.00401884
add eax, 4
mov dword [ebp - 0x20], 0x48b67c
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x430695
mov dword [ebp - 0x20], eax
lea eax, [ebp - 1]
push 1
push eax
push str.C:Codebasesisdev_srcRuntimeMSISharedSetupSetup.cpp
lea ecx, [ebp - 0x60]
call fcn.00401884
add eax, 4
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x4306b7
mov eax, 0x48b67c
push dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0xa3
push str.InstallShield_setup.exe__Ansi__started__cmdline:__s
push eax
call fcn.0040a552
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00401093
lea ecx, [ebp - 0x118]
call fcn.00401093
push 1
push 1
push ebx
push 0x4a04e8
lea ecx, [ebp - 0x74]
call fcn.00408ccc
push ebx
push ebx
push ebx
push 0x4a0688
lea ecx, [ebp - 0x74]
mov byte [ebp - 8], al
call fcn.00408ccc
test al, al
je 0x430806
cmp byte [0x4a9c6c], bl
jne 0x430725
cmp byte [0x4ac7e8], bl
je 0x43079e
lea eax, [ebp + 0xb]
push 1
push eax
push str.C:Codebasesisdev_srcRuntimeMSISharedSetupSetup.cpp
lea ecx, [ebp - 0x118]
call fcn.00401884
mov eax, 0x4a4300
mov dword [ebp - 0x190], 0x48b660
mov ecx, eax
mov dword [ebp - 0x170], 0x48b658
test ecx, ecx
jne 0x43075f
mov eax, 0x4aa140
lea ecx, [ebp - 1]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x190]
call fcn.004011a9
lea eax, [ebp - 0x118]
push 0xad
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.00477ed0
lea ecx, [ebp - 0x190]
call fcn.00401093
lea ecx, [ebp - 0x118]
call fcn.00401093
lea eax, [ebp - 0x60]
push eax
call fcn.00411744
pop ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.00411618
lea ecx, [ebp - 0x60]
call fcn.00402438
lea ecx, [ebp - 0x260]
call fcn.00411881
test eax, eax
jne 0x4307d3
mov esi, dword [0x4ac178]
jmp 0x4307f6
sub esp, 0x28
lea eax, [ebp + 0x13]
mov ecx, esp
mov dword [ebp + 8], esp
push 1
push eax
push dword [ebp + 0x10]
call fcn.00401884
lea ecx, [ebp - 0x260]
call fcn.00411c14
mov esi, eax
lea ecx, [ebp - 0x260]
call fcn.00411721
jmp 0x431738
cmp byte [ebp - 8], bl
je 0x430823
push ebx
push ebx
push ebx
push 0x4a42fc
lea ecx, [ebp - 0x74]
call fcn.00408ccc
test al, al
je 0x43094d
lea eax, [ebp - 1]
push ebx
push eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x140], 0x48b660
mov dword [ebp - 0x120], 0x48b658
call fcn.00401907
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x140]
push eax
call fcn.00426e0b
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.0040afcb
push 1
push ebx
push eax
push str.removeasmajorupgrade
lea ecx, [ebp - 0x74]
call fcn.00408ccc
lea ecx, [ebp - 0x34]
mov byte [ebp - 9], al
call fcn.004325ab
cmp byte [ebp - 9], bl
je 0x430942
cmp byte [0x4a9c6c], bl
jne 0x430896
cmp byte [0x4ac7e8], bl
je 0x43090f
lea eax, [ebp + 0x13]
push 1
push eax
push str.C:Codebasesisdev_srcRuntimeMSISharedSetupSetup.cpp
lea ecx, [ebp - 0x118]
call fcn.00401884
mov eax, str.Running_as_remove_major_upgrade
mov dword [ebp - 0x190], 0x48b660
mov ecx, eax
mov dword [ebp - 0x170], 0x48b658
test ecx, ecx
jne 0x4308d0
mov eax, 0x4aa140
lea ecx, [ebp + 0xb]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x190]
call fcn.004011a9
lea eax, [ebp - 0x118]
push 0xbc
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.00477ed0
lea ecx, [ebp - 0x190]
call fcn.00401093
lea ecx, [ebp - 0x118]
call fcn.00401093
push dword [ebp - 8]
lea eax, [ebp - 0x140]
sub esp, 0x28
mov ecx, esp
mov dword [ebp + 0x10], esp
push 1
push eax
call fcn.0040a99e
call fcn.004322a1
add esp, 0x2c
lea ecx, [ebp - 0x140]
mov esi, eax
call fcn.00401093
jmp 0x431738
lea ecx, [ebp - 0x140]
call fcn.00401093
cmp dword [ebp - 0x38], 1
mov eax, dword [ebp + 0x10]
jbe 0x430b07
mov cl, byte [eax]
cmp cl, 0x2d
je 0x430966
cmp cl, 0x2f
jne 0x4309ca
cmp byte [eax + 1], 0x25
jne 0x4309ca
add eax, 2
mov cl, byte [eax]
inc eax
cmp cl, 0x2f
jne 0x43096f
mov byte [eax - 2], bl
dec eax
push eax
mov ecx, 0x4ab4a0
call fcn.00401a14
push eax
lea eax, [ebp - 0x500]
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x500]
push 1
push eax
call fcn.00435eb5
lea ecx, [ebp - 0x34]
call fcn.004020ad
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.004020e1
lea ecx, [ebp - 0x34]
call fcn.004020da
jmp 0x431592
cmp cl, 0x2d
je 0x4309d4
cmp cl, 0x2f
jne 0x430a2b
mov dl, byte [eax + 1]
cmp dl, 0x6b
je 0x4309e1
cmp dl, 0x4b
jne 0x430a2b
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x3fb]
mov byte [ebp - 0x3fc], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x10]
add eax, 2
push eax
mov eax, dword [ebp - 0x28]
push dword [eax]
lea eax, [ebp - 0x3fc]
push 0x4a0948
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x3fc]
push 1
push eax
call fcn.00436095
jmp 0x431592
cmp cl, 0x2d
je 0x430a39
cmp cl, 0x2f
jne 0x430b07
mov cl, byte [eax + 1]
cmp cl, 0x67
je 0x430a4a
cmp cl, 0x47
jne 0x430b07
lea esi, [eax + 2]
mov al, byte [esi]
inc esi
cmp al, 0x2f
jne 0x430a4d
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x3fb]
mov byte [ebp - 0x3fc], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x3fc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x3fc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [ebp + eax - 0x3fe]
lea eax, [ebp + eax - 0x3fc]
cmp cl, 0x2d
mov dword [ebp + 8], ebx
je 0x430aa3
cmp cl, 0x2f
jne 0x430aba
mov cl, byte [eax - 1]
cmp cl, 0x73
je 0x430ab0
cmp cl, 0x53
jne 0x430aba
mov dword [ebp + 8], 1
mov byte [eax - 2], bl
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x4ff]
mov byte [ebp - 0x500], bl
mov byte [esi - 2], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x10]
add eax, 3
push eax
lea eax, [ebp - 0x500]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp + 8]
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x500]
push eax
call fcn.004367d6
add esp, 0xc
mov esi, eax
jmp 0x431738
cmp dword [ebp - 0x38], 1
mov dword [ebp - 0x20], ebx
jbe 0x430b32
mov cl, byte [eax]
cmp cl, 0x2d
je 0x430b1c
cmp cl, 0x2f
jne 0x430b32
mov al, byte [eax + 1]
cmp al, 0x71
je 0x430b27
cmp al, 0x51
jne 0x430b32
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
inc eax
inc eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 1]
push ebx
push eax
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0x48b6a8
mov dword [ebp - 0xd0], edi
call fcn.00403cd9
push 1
lea ecx, [ebp - 0x234]
call fcn.0043297d
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x234]
push eax
call fcn.00432ade
mov eax, dword [eax]
push ebx
add eax, 0x10
push ebx
push eax
push str.tempdisk1folder
lea ecx, [ebp - 0x74]
call fcn.00408ccc
test al, al
je 0x430bad
lea ecx, [ebp - 0x234]
call fcn.00432a02
mov eax, dword [ebp - 0x224]
cmp eax, ebx
jne 0x430ba1
mov eax, 0x4aa140
push eax
lea ecx, [ebp - 0xf0]
call fcn.00403eb2
cmp dword [ebp - 0xe4], ebx
jne 0x430c59
lea eax, [ebp - 0x34]
push esi
push eax
lea ecx, [ebp - 0xf0]
call fcn.00402f01
mov ecx, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.004042dd
mov ecx, dword [ebp - 0x10]
push eax
push esi
mov dword [ecx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x34]
call fcn.00403013
sub esp, 0x28
lea eax, [ebp - 1]
mov dword [ebp - 0x14], esp
mov ecx, esp
push ebx
push eax
push 0x4aa140
mov dword [ecx], 0x48b6a8
mov dword [ecx + 0x20], edi
call fcn.00404d89
sub esp, 0x28
lea eax, [ebp - 9]
mov ecx, esp
mov dword [ebp - 0x14], esp
push 1
push eax
push 0x4aa140
call fcn.0040ade9
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.0043a508
add esp, 0x58
lea ecx, [ebp - 0xf0]
push eax
call fcn.004024b2
lea ecx, [ebp - 0x60]
call fcn.00402438
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0xf0]
push eax
call fcn.0040509d
lea ecx, [ebp - 0x60]
call fcn.00402438
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0xf0]
push eax
call fcn.0040ae3c
lea ecx, [ebp - 0x60]
call fcn.00402438
lea ecx, [ebp - 0xf0]
call fcn.004042dd
push eax
push 0x4abd78
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
sub esp, 0x28
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x14], esp
mov ecx, esp
push ebx
push eax
mov dword [ecx], 0x48b6a8
mov dword [ecx + 0x20], edi
call fcn.00403d4e
mov ecx, dword [0x4ac17c]
call fcn.004320e2
cmp dword [ebp - 0x20], ebx
je 0x430cc6
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x431617
cmp byte [ebp - 8], bl
jne 0x430cee
mov eax, dword [ebp - 0x28]
push dword [eax]
call fcn.00435a97
test eax, eax
je 0x431617
push dword [ebp + 0x10]
call fcn.0043211e
test al, al
pop ecx
je 0x431617
lea eax, [ebp - 0x190]
push ebx
push eax
lea eax, [ebp - 1]
push 1
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x60]
push dword [eax]
call fcn.00402e7f
mov ecx, eax
call fcn.00402f2e
lea ecx, [ebp - 0x60]
call fcn.00402438
lea eax, [ebp - 0x118]
push ebx
push eax
lea ecx, [ebp - 0x190]
call fcn.00402f2e
push ebx
lea eax, [ebp - 0x208]
push ebx
push eax
lea eax, [ebp - 1]
push 1
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x60]
push dword [eax]
call fcn.00402e7f
mov ecx, eax
call fcn.00403fe4
lea ecx, [ebp - 0x60]
call fcn.00402438
cmp dword [ebp - 0x1fc], ebx
jne 0x430ddc
lea eax, [ebp - 1]
push ebx
push eax
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x48b6a8
mov dword [ebp - 0x7c], edi
call fcn.00403cd9
lea eax, [ebp - 0x1c]
push esi
push eax
lea ecx, [ebp - 0x9c]
call fcn.00402f01
mov ecx, dword [eax]
mov dword [ebp - 8], eax
call fcn.004042dd
mov ecx, dword [ebp - 8]
push esi
push eax
push ebx
mov dword [ecx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x1c]
call fcn.00403013
push ebx
lea eax, [ebp - 0x60]
push ebx
push eax
lea ecx, [ebp - 0x9c]
call fcn.00403fe4
push eax
lea ecx, [ebp - 0x208]
call fcn.004024b2
lea ecx, [ebp - 0x60]
call fcn.00402438
lea ecx, [ebp - 0x9c]
call fcn.00402438
lea ecx, [ebp - 0x34]
call fcn.004020ad
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x208]
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.0040fc5d
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.0040fc5d
lea ecx, [ebp - 0x1b8]
call fcn.004042dd
push ebx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 8], eax
call fcn.004042dd
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x1c]
push esi
push eax
lea ecx, [ebp - 0xc8]
call fcn.00402f01
mov ecx, dword [eax]
mov dword [ebp - 8], eax
call fcn.004042dd
mov ecx, dword [ebp - 8]
push eax
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x34]
call fcn.00402533
lea ecx, [ebp - 0x1c]
call fcn.00403013
lea eax, [ebp - 1]
push 1
push eax
lea ecx, [ebp - 0x9c]
push dword [0x4a4144]
call fcn.00402e7f
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x208]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040fc5d
push eax
lea ecx, [ebp - 0x1b8]
call fcn.004024b2
lea ecx, [ebp - 0x60]
call fcn.00402438
lea ecx, [ebp - 0x9c]
call fcn.00402438
lea eax, [ebp - 1]
push 1
push eax
lea ecx, [ebp - 0x9c]
push dword [0x4a4144]
call fcn.00402e7f
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040fc5d
push eax
lea ecx, [ebp - 0xc8]
call fcn.004024b2
lea ecx, [ebp - 0x60]
call fcn.00402438
lea ecx, [ebp - 0x9c]
call fcn.00402438
lea ecx, [ebp - 0x1b8]
call fcn.004042dd
mov dword [ebp - 8], eax
push ebx
lea ecx, [ebp - 0xc8]
call fcn.004042dd
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x1c]
push esi
push eax
lea ecx, [ebp - 0xc8]
call fcn.00402f01
mov ecx, dword [eax]
mov dword [ebp - 8], eax
call fcn.004042dd
mov ecx, dword [ebp - 8]
push eax
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x34]
call fcn.00402533
lea ecx, [ebp - 0x1c]
call fcn.00403013
lea eax, [ebp - 1]
push 1
push eax
push str.ISSetup.dll
lea ecx, [ebp - 0x9c]
call fcn.00402e7f
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x208]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040fc5d
push eax
lea ecx, [ebp - 0x1b8]
call fcn.004024b2
lea ecx, [ebp - 0x60]
call fcn.00402438
lea ecx, [ebp - 0x9c]
call fcn.00402438
mov eax, 0x4a0cf0
mov dword [ebp - 0x9c], 0x48b6a8
mov ecx, eax
mov dword [ebp - 0x7c], edi
test ecx, ecx
jne 0x430fc0
mov eax, 0x4aa140
lea ecx, [ebp - 1]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.00404d89
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040fc5d
push eax
lea ecx, [ebp - 0xc8]
call fcn.004024b2
lea ecx, [ebp - 0x60]
call fcn.00402438
lea ecx, [ebp - 0x9c]
call fcn.00402438
lea ecx, [ebp - 0x1b8]
call fcn.004042dd
push ebx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 8], eax
call fcn.004042dd
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x1c]
push esi
push eax
lea ecx, [ebp - 0xc8]
call fcn.00402f01
mov ecx, dword [eax]
mov dword [ebp - 8], eax
call fcn.004042dd
mov ecx, dword [ebp - 8]
push eax
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x34]
call fcn.00402533
lea ecx, [ebp - 0x1c]
call fcn.00403013
lea eax, [ebp - 1]
push ebx
push eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x140], 0x48b6a8
mov dword [ebp - 0x120], edi
call fcn.00403cd9
lea eax, [ebp - 0x1c]
push esi
push eax
lea ecx, [ebp - 0x140]
call fcn.00402f01
mov ecx, dword [eax]
mov dword [ebp - 8], eax
call fcn.004042dd
mov ecx, dword [ebp - 8]
push esi
push eax
push str.Skin
push 0x4a02b0
mov dword [ecx + 8], eax
call fcn.0043683b
add esp, 0x10
lea ecx, [ebp - 0x1c]
call fcn.00403013
cmp dword [ebp - 0x134], ebx
jne 0x4310f2
lea eax, [ebp - 1]
push 1
push eax
push str.setup.isn
lea ecx, [ebp - 0x9c]
call fcn.00402e7f
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0x140]
push eax
call fcn.004024b2
lea ecx, [ebp - 0x9c]
call fcn.00402438
lea eax, [ebp - 0x140]
lea ecx, [ebp - 0x208]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040fc5d
push eax
lea ecx, [ebp - 0x1b8]
call fcn.004024b2
lea ecx, [ebp - 0x60]
call fcn.00402438
lea eax, [ebp - 0x140]
lea ecx, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040fc5d
push eax
lea ecx, [ebp - 0xc8]
call fcn.004024b2
lea ecx, [ebp - 0x60]
call fcn.00402438
lea ecx, [ebp - 0x1b8]
call fcn.004042dd
push ebx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 8], eax
call fcn.004042dd
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x43119f
lea eax, [ebp - 0x1c]
push esi
push eax
lea ecx, [ebp - 0xc8]
call fcn.00402f01
mov ecx, dword [eax]
mov dword [ebp - 8], eax
call fcn.004042dd
mov ecx, dword [ebp - 8]
push eax
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x34]
call fcn.00402533
lea ecx, [ebp - 0x1c]
call fcn.00403013
lea eax, [ebp - 0x2d0]
push 0x10
push eax
push str.count
push str.Languages
call fcn.0043683b
push 0xa
lea eax, [ebp - 0x2d0]
push ebx
push eax
call fcn.004677e8
add esp, 0x1c
cmp eax, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], ebx
jbe 0x43138b
push dword [ebp - 8]
lea eax, [ebp - 0x2b0]
push str.key_d
push eax
call fcn.004679a3
lea eax, [ebp - 0x2c0]
push 0x10
push eax
lea eax, [ebp - 0x2b0]
push eax
push str.Languages
call fcn.0043683b
push 0x10
lea eax, [ebp - 0x2c0]
push ebx
push eax
call fcn.004677e8
add esp, 0x28
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x43137c
mov eax, dword [ebp - 0x200]
cmp eax, ebx
jne 0x431231
mov eax, 0x48b6d0
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1b8]
push str._s0x_04x.ini
push eax
call fcn.0040fce8
mov eax, dword [ebp - 0xe8]
add esp, 0x10
cmp eax, ebx
jne 0x431258
mov eax, 0x48b6d0
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0xc8]
push str._s0x_04x.ini
push eax
call fcn.0040fce8
add esp, 0x10
lea ecx, [ebp - 0x1b8]
call fcn.004042dd
push ebx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x24], eax
call fcn.004042dd
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4312cf
lea eax, [ebp - 0x2a0]
push esi
push eax
lea ecx, [ebp - 0xc8]
call fcn.00402f01
mov ecx, dword [eax]
mov dword [ebp - 0x24], eax
call fcn.004042dd
mov ecx, dword [ebp - 0x24]
push eax
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x34]
call fcn.00402533
lea ecx, [ebp - 0x2a0]
call fcn.00403013
mov eax, dword [ebp - 0x200]
cmp eax, ebx
jne 0x4312de
mov eax, 0x48b6d0
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1b8]
push str._s_04x.mst
push eax
call fcn.0040fce8
mov eax, dword [ebp - 0xe8]
add esp, 0x10
cmp eax, ebx
jne 0x431305
mov eax, 0x48b6d0
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0xc8]
push str._s_04x.mst
push eax
call fcn.0040fce8
add esp, 0x10
lea ecx, [ebp - 0x1b8]
call fcn.004042dd
push ebx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x24], eax
call fcn.004042dd
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x43137c
lea eax, [ebp - 0x294]
push esi
push eax
lea ecx, [ebp - 0xc8]
call fcn.00402f01
mov ecx, dword [eax]
mov dword [ebp - 0x24], eax
call fcn.004042dd
mov ecx, dword [ebp - 0x24]
push eax
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x34]
call fcn.00402533
lea ecx, [ebp - 0x294]
call fcn.00403013
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jb 0x4311d7
lea eax, [ebp - 1]
push ebx
push eax
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x288], 0x48b6a8
mov dword [ebp - 0x268], edi
call fcn.00403cd9
lea eax, [ebp + 0x13]
push 1
push eax
lea ecx, [ebp - 0x25c]
push dword [ebp + 0x10]
call fcn.00402e7f
add eax, 4
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x4313d3
mov esi, 0x48b6d0
mov dword [ebp - 8], esi
jmp 0x4313db
mov dword [ebp - 8], eax
mov esi, 0x48b6d0
lea eax, [ebp - 1]
push 1
push eax
push 0x4abd78
lea ecx, [ebp - 0x2f8]
call fcn.00402e7f
add eax, 4
mov dword [ebp - 0x10], esi
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x431401
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x190]
lea ecx, [ebp - 0x208]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.0040fc5d
add eax, 4
mov edi, esi
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x431428
mov edi, eax
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0040fc5d
add eax, 4
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x43144a
mov eax, esi
push dword [ebp - 8]
push dword [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x288]
push str._s__q__s___tempdisk1folder__s___s
push eax
call fcn.0040fce8
add esp, 0x18
lea ecx, [ebp - 0x60]
call fcn.00402438
lea ecx, [ebp - 0x9c]
call fcn.00402438
lea ecx, [ebp - 0x2f8]
call fcn.00402438
lea ecx, [ebp - 0x25c]
call fcn.00402438
cmp byte [0x4a9c6c], bl
jne 0x43149f
cmp byte [0x4ac7e8], bl
je 0x43150c
lea eax, [ebp + 0x13]
push 1
push eax
push str.C:Codebasesisdev_srcRuntimeMSISharedSetupSetup.cpp
lea ecx, [ebp - 0x60]
call fcn.00401884
mov eax, str.Relaunching_setup_from_temp
mov dword [ebp - 0x9c], 0x48b660
mov ecx, eax
mov dword [ebp - 0x7c], 0x48b658
test ecx, ecx
jne 0x4314d3
mov eax, 0x4aa140
lea ecx, [ebp - 1]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.004011a9
lea eax, [ebp - 0x60]
push 0x193
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00477ed0
lea ecx, [ebp - 0x9c]
call fcn.00401093
lea ecx, [ebp - 0x60]
call fcn.00401093
push 1
lea ecx, [ebp - 0x288]
call fcn.004042dd
push eax
call fcn.00436095
test eax, eax
lea ecx, [ebp - 0x288]
je 0x4315c8
call fcn.00402438
lea ecx, [ebp - 0x140]
call fcn.00402438
lea ecx, [ebp - 0xc8]
call fcn.00402438
lea ecx, [ebp - 0x1b8]
call fcn.00402438
lea ecx, [ebp - 0x34]
call fcn.004020da
lea ecx, [ebp - 0x208]
call fcn.00402438
lea ecx, [ebp - 0x118]
call fcn.00402438
lea ecx, [ebp - 0x190]
call fcn.00402438
lea ecx, [ebp - 0x234]
call fcn.0040d2d5
lea ecx, [ebp - 0xf0]
call fcn.00402438
lea ecx, [ebp - 0x168]
call fcn.00401093
lea ecx, [ebp - 0x74]
call fcn.00408c86
lea ecx, [ebp - 0x1e0]
call fcn.00402438
lea ecx, [ebp - 0x814]
call fcn.00431abf
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x431769
call fcn.00402438
lea ecx, [ebp - 0x140]
call fcn.00402438
lea ecx, [ebp - 0xc8]
call fcn.00402438
lea ecx, [ebp - 0x1b8]
call fcn.00402438
lea ecx, [ebp - 0x34]
call fcn.004020da
lea ecx, [ebp - 0x208]
call fcn.00402438
lea ecx, [ebp - 0x118]
call fcn.00402438
lea ecx, [ebp - 0x190]
call fcn.00402438
call fcn.004357a0
lea ecx, [ebp - 0x218]
call fcn.004151b7
cmp byte [ebp - 0xa], bl
je 0x431634
lea eax, [ebp - 0x168]
jmp 0x43166d
lea eax, [ebp + 0x13]
push ebx
push eax
push 0x4aa140
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], 0x48b660
mov dword [ebp - 0xf8], 0x48b658
call fcn.004011a9
mov dword [ebp - 0xa0], 1
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x814]
push ecx
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x14], esp
push 1
push eax
call fcn.0040a99e
push dword [ebp - 0x20]
lea ecx, [ebp - 0x218]
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push dword [ebp + 8]
call fcn.004151fc
test byte [ebp - 0xa0], 1
mov esi, eax
je 0x4316b1
lea ecx, [ebp - 0x118]
call fcn.00401093
cmp esi, ebx
je 0x4316c0
lea ecx, [ebp - 0x218]
call fcn.00415426
lea eax, [ebp + 0x13]
push 1
push eax
push str.C:Codebasesisdev_srcRuntimeMSISharedSetupSetup.cpp
lea ecx, [ebp - 0x25c]
call fcn.00401884
add eax, 4
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x4316e5
mov eax, 0x48b67c
push dword [0x4ac178]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1b5
push str.Setup_returning__d
push eax
call fcn.0040a552
add esp, 0xc
lea ecx, [ebp - 0x25c]
call fcn.00401093
mov esi, dword [0x4ac178]
lea ecx, [ebp - 0x218]
call fcn.004151e7
lea ecx, [ebp - 0x234]
call fcn.0040d2d5
lea ecx, [ebp - 0xf0]
call fcn.00402438
lea ecx, [ebp - 0x168]
call fcn.00401093
lea ecx, [ebp - 0x74]
call fcn.00408c86
lea ecx, [ebp - 0x1e0]
call fcn.00402438
lea ecx, [ebp - 0x814]
call fcn.00431abf
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10