Function at 0x424c84
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, 0x4a50a0
call fcn.004674a0
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.00468830
add esp, 0xc
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 0xd]
push eax
push edi
lea ecx, [ebp - 0x54]
call fcn.00401850
and dword [ebp - 4], 0
cmp dword [eax + 0x1c], 8
jb 0x424cfc
mov eax, dword [eax + 8]
jmp 0x424cff
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.00411596
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00401600
mov ecx, dword [ebp - 0x1c]
push 4
lea eax, [ebp - 0x54]
push eax
call fcn.004056af
mov ecx, eax
call fcn.0040f536
mov dword [ebp - 4], ebx
cmp dword [eax + 0x1c], 8
jb 0x424d4e
mov eax, dword [eax + 8]
jmp 0x424d51
add eax, 8
push eax
push str.2.0.2600.0
call fcn.0044346d
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00401660
cmp dword [ebp - 0x14], 0
jge 0x424d8f
push edi
lea eax, [ebp + 0x208]
push str.__s___q
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [ebp - 0x14], 0x4b2d24
jmp 0x424dd4
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 0xd], bl
call fcn.004056af
mov ecx, eax
call fcn.004379f1
test eax, eax
push edi
lea eax, [ebp + 0x208]
je 0x424dc1
push str.__s___quiet__norestart
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [ebp - 0x14], str._quiet__norestart
jmp 0x424dd4
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.004056af
mov ecx, eax
call fcn.004379f1
test eax, eax
je 0x424dff
mov ecx, dword [ebp - 0x1c]
call fcn.004056af
push eax
push ebx
push dword [ebp - 0x14]
push edi
call fcn.00444aa9
jmp 0x424e0c
push ebx
lea eax, [ebp + 0x208]
push eax
call fcn.004447ba
mov edi, eax
xor ecx, ecx
cmp edi, ecx
je 0x424eb2
cmp edi, 0xbc2
je 0x424e37
push ecx
push edi
mov dword [0x4e0670], 0x484
call fcn.00444580
pop ecx
pop ecx
mov eax, edi
jmp 0x424eb4
cmp byte [ebp - 0xd], 0
je 0x424eb0
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.00401470
test eax, eax
jne 0x424ea2
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00468830
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.00401540
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401420
jmp 0x424eb2
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.00467491
add ebp, 0x414
leave
ret 8