Function at 0x433098
Capabilities:
Set current directory

Disassembly:
push 0x280
mov eax, 0x4a4469
call fcn.00453742
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
cmp esi, 0x2000
je 0x433119
cmp esi, 0xbc2
je 0x433119
cmp esi, 0x800704c7
je 0x4330e1
cmp esi, 0x642
jne 0x4330ef
cmp dword [ebp + 0x18], 0
je 0x4330ef
and dword [eax], 0
jmp 0x4333a8
test esi, esi
je 0x4333a8
cmp esi, 0x1008
je 0x4333a8
mov dword [0x4ef824], 0x66d
call fcn.0042e0b7
xor eax, eax
jmp 0x4333ab
push 1
lea eax, [ebp - 0x279]
push eax
push str.DotNetDelayReboot
lea ecx, [ebp - 0x248]
call fcn.00402ca0
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x279]
push eax
push str.Startup
lea ecx, [ebp - 0x278]
call fcn.00402ca0
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x278]
push eax
mov ecx, edi
call fcn.0040f919
mov ecx, eax
call fcn.004451a2
mov byte [ebp - 0x279], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x278]
call fcn.00401ac0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00401ac0
movzx eax, byte [ebp - 0x279]
push eax
push esi
lea eax, [ebp - 0x288]
push str.Redist_return_value___d__indicates_a_reboot_is_required__DotNetDelayReboot_is__x
push eax
mov dword [ebp - 0x288], str.msiaction.cpp
mov dword [ebp - 0x284], 0x1ee
call fcn.004192e5
add esp, 0x10
call fcn.0045039c
test eax, eax
jne 0x43327a
cmp esi, 0xbc2
jne 0x4331e7
cmp byte [ebp - 0x279], al
je 0x43327a
cmp byte [0x4eb428], 0
jne 0x4331f9
cmp byte [0x4f0b20], 0
je 0x43326c
push 1
lea eax, [ebp - 0x279]
push eax
push str.msiaction.cpp
lea ecx, [ebp - 0x278]
call fcn.00402ca0
mov dword [ebp - 4], 8
push 1
lea eax, [ebp - 0x279]
push eax
push str.Reboot_will_be_deferred
lea ecx, [ebp - 0x248]
call fcn.00402ca0
mov byte [ebp - 4], 9
push 0x1f9
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00402940
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x248]
call fcn.00401ac0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00401ac0
xor ecx, ecx
mov dword [ebx], 2
inc ecx
jmp 0x43330c
cmp byte [0x4eb428], 0
jne 0x43328c
cmp byte [0x4f0b20], 0
je 0x4332ff
push 1
lea eax, [ebp - 0x279]
push eax
push str.msiaction.cpp
lea ecx, [ebp - 0x278]
call fcn.00402ca0
mov dword [ebp - 4], 4
push 1
lea eax, [ebp - 0x279]
push eax
push str.System_is_Win9x_or_reboot_is_not_being_suppressed__reboot_will_be_immediate
lea ecx, [ebp - 0x248]
call fcn.00402ca0
mov byte [ebp - 4], 5
push 0x1f2
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00402940
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
call fcn.00401ac0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.00401ac0
mov eax, dword [ebp - 0x280]
xor ecx, ecx
inc ecx
mov dword [ebx], ecx
mov dword [eax], ecx
xor ebx, ebx
mov dword [edi + 0x54], ecx
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x284], ebx
mov dword [ebp - 4], 0xc
push 0x20019
push str.SoftwareMicrosoftWindowsCurrentVersionInstaller
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x28c]
call fcn.004018f0
test eax, eax
jne 0x433399
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004526c0
add esp, 0xc
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x218]
push eax
push str.InstallerLocation
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x280], 0x104
call fcn.004019e0
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28c]
call fcn.004018c0
xor eax, eax
inc eax
call fcn.004536f1
ret 0x14