Function at 0x4240f3
Capabilities:
Set current directory

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x84
mov eax, 0x4a4934
call fcn.00466e90
mov eax, dword [ebp + 0x218]
mov edi, dword [ebp + 0x214]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x21c]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x220]
inc ebx
mov dword [ebp - 0x18], ecx
mov dword [eax], ebx
cmp edi, 0x2000
je 0x42419b
cmp edi, 0xbc2
je 0x42419b
cmp edi, 0x800704c7
je 0x424160
cmp edi, 0x642
jne 0x424171
cmp dword [ebp + 0x224], 0
je 0x424171
and dword [eax], 0
jmp 0x4243b0
test edi, edi
je 0x4243b0
cmp edi, 0x1008
je 0x4243b0
mov dword [0x4e0670], 0x66d
call fcn.0041fbf3
xor eax, eax
jmp 0x4243b2
push ebx
lea eax, [ebp - 0xd]
push eax
push str.DotNetDelayReboot
lea ecx, [ebp - 0x90]
call fcn.00401890
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 0xd]
push eax
push str.Startup
lea ecx, [ebp - 0x5c]
call fcn.00401890
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
push 0
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004056e6
mov ecx, eax
call fcn.00439ee1
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00401640
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.00401640
movzx eax, byte [ebp - 0xd]
push eax
push edi
lea eax, [ebp - 0x28]
push str.Redist_return_value___d__indicates_a_reboot_is_required__DotNetDelayReboot_is__x
mov esi, str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
push eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0x1ee
call fcn.004113cc
add esp, 0x10
call fcn.0044303a
test eax, eax
jne 0x4242be
cmp edi, 0xbc2
jne 0x424243
cmp byte [ebp - 0xd], al
je 0x4242be
cmp byte [0x4dc3fe], 0
jne 0x424255
cmp byte [0x4e166c], 0
je 0x4242b3
push ebx
lea eax, [ebp - 0xd]
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.00401890
mov dword [ebp - 4], 4
push ebx
lea eax, [ebp - 0xd]
push eax
push str.Reboot_will_be_deferred
lea ecx, [ebp - 0x90]
call fcn.00401890
mov byte [ebp - 4], 5
push 0x1f9
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0049edb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
call fcn.00401640
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00401640
mov eax, dword [ebp - 0x1c]
mov dword [eax], 2
jmp 0x424338
cmp byte [0x4dc3fe], 0
jne 0x4242d0
cmp byte [0x4e166c], 0
je 0x42432e
push ebx
lea eax, [ebp - 0xd]
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.00401890
mov dword [ebp - 4], 2
push ebx
lea eax, [ebp - 0xd]
push eax
push str.System_is_Win9x_or_reboot_is_not_being_suppressed__reboot_will_be_immediate
lea ecx, [ebp - 0x90]
call fcn.00401890
mov byte [ebp - 4], 3
push 0x1f2
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0049edb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.00401640
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00401640
mov eax, dword [ebp - 0x1c]
mov dword [eax], ebx
mov eax, dword [ebp - 0x14]
mov dword [eax], ebx
mov eax, dword [ebp - 0x18]
xor esi, esi
mov dword [eax + 0x54], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 6
push 0x20019
push str.SoftwareMicrosoftWindowsCurrentVersionInstaller
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20]
call fcn.004014b0
test eax, eax
jne 0x4243a4
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
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
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00466e81
add ebp, 0x20c
leave
ret 0x14