Function at 0x424662
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, 0x4a5007
call fcn.004674a0
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 0x42470a
cmp edi, 0xbc2
je 0x42470a
cmp edi, 0x800704c7
je 0x4246cf
cmp edi, 0x642
jne 0x4246e0
cmp dword [ebp + 0x224], 0
je 0x4246e0
and dword [eax], 0
jmp 0x42491f
test edi, edi
je 0x42491f
cmp edi, 0x1008
je 0x42491f
mov dword [0x4e0670], 0x66d
call fcn.0041fc90
xor eax, eax
jmp 0x424921
push ebx
lea eax, [ebp - 0xd]
push eax
push str.DotNetDelayReboot
lea ecx, [ebp - 0x90]
call fcn.00401850
and dword [ebp - 4], 0
push ebx
lea eax, [ebp - 0xd]
push eax
push str.Startup
lea ecx, [ebp - 0x5c]
call fcn.00401850
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.004056af
mov ecx, eax
call fcn.0043a21e
mov byte [ebp - 0xd], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00401600
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.00401600
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.00411596
add esp, 0x10
call fcn.00443260
test eax, eax
jne 0x42482d
cmp edi, 0xbc2
jne 0x4247b2
cmp byte [ebp - 0xd], al
je 0x42482d
cmp byte [0x4dc3fe], 0
jne 0x4247c4
cmp byte [0x4e166c], 0
je 0x424822
push ebx
lea eax, [ebp - 0xd]
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.00401850
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.00401850
mov byte [ebp - 4], 5
push 0x1f9
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0049f3c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
call fcn.00401600
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00401600
mov eax, dword [ebp - 0x1c]
mov dword [eax], 2
jmp 0x4248a7
cmp byte [0x4dc3fe], 0
jne 0x42483f
cmp byte [0x4e166c], 0
je 0x42489d
push ebx
lea eax, [ebp - 0xd]
push eax
push esi
lea ecx, [ebp - 0x5c]
call fcn.00401850
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.00401850
mov byte [ebp - 4], 3
push 0x1f2
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0049f3c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.00401600
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00401600
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.00401470
test eax, eax
jne 0x424913
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
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
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.00467491
add ebp, 0x20c
leave
ret 0x14