Function at 0x42454b
Capabilities:
Set current directory

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x48
mov eax, 0x4a49ba
call fcn.00466e90
mov esi, dword [ebp + 0x420]
mov edi, dword [ebp + 0x41c]
and dword [esi], 0
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push eax
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0xd], 0
call fcn.00468220
add esp, 0xc
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 0xd]
push eax
push edi
lea ecx, [ebp - 0x54]
call fcn.00401890
and dword [ebp - 4], 0
cmp dword [eax + 0x1c], 8
jb 0x4245c3
mov eax, dword [eax + 8]
jmp 0x4245c6
add eax, 8
push eax
lea eax, [ebp - 0x18]
push str.Installing_MSI_engine__s
push eax
mov dword [ebp - 0x18], str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
mov dword [ebp - 0x14], 0x835
call fcn.004113cc
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00401640
mov ecx, dword [ebp - 0x1c]
push 4
lea eax, [ebp - 0x54]
push eax
call fcn.004056e6
mov ecx, eax
call fcn.0040f640
mov dword [ebp - 4], ebx
cmp dword [eax + 0x1c], 8
jb 0x424615
mov eax, dword [eax + 8]
jmp 0x424618
add eax, 8
push eax
push str.2.0.2600.0
call fcn.00443247
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004016a0
cmp dword [ebp - 0x14], 0
jge 0x424656
push edi
lea eax, [ebp + 0x208]
push str.__s___q
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [ebp - 0x14], 0x4b2c9c
jmp 0x42469b
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0xd], bl
call fcn.004056e6
mov ecx, eax
call fcn.00437953
test eax, eax
push edi
lea eax, [ebp + 0x208]
je 0x424688
push str.__s___quiet__norestart
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [ebp - 0x14], str._quiet__norestart
jmp 0x42469b
push str.__s___c:_msiinst__delayrebootq_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [ebp - 0x14], str._c:_msiinst__delayrebootq_
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
call fcn.004056e6
mov ecx, eax
call fcn.00437953
test eax, eax
je 0x4246c6
mov ecx, dword [ebp - 0x1c]
call fcn.004056e6
push eax
push ebx
push dword [ebp - 0x14]
push edi
call fcn.00444883
jmp 0x4246d3
push ebx
lea eax, [ebp + 0x208]
push eax
call fcn.00444594
mov edi, eax
xor ecx, ecx
cmp edi, ecx
je 0x424779
cmp edi, 0xbc2
je 0x4246fe
push ecx
push edi
mov dword [0x4e0670], 0x484
call fcn.0044435a
pop ecx
pop ecx
mov eax, edi
jmp 0x42477b
cmp byte [ebp - 0xd], 0
je 0x424777
push 2
pop eax
mov dword [esi], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], eax
push 0x20019
push str.SoftwareMicrosoftWindowsCurrentVersionInstaller
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20]
call fcn.004014b0
test eax, eax
jne 0x424769
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00468220
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
push str.InstallerLocation
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x104
call fcn.00401580
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401460
jmp 0x424779
mov dword [esi], ebx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.00466e81
add ebp, 0x414
leave
ret 8