Function at 0x40d880
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446c8b
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x45f4c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x298], 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x44]
mov esi, eax
test esi, esi
jne 0x40de53
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, edi
call fcn.0040cca0
lea ecx, [edi + 4]
mov ebx, eax
push 0x453794
call fcn.004146e0
push eax
lea eax, [ebp - 0x228]
push 0x104
push eax
call fcn.0042ffd1
lea eax, [edi + 0x294]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40d956
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x228]
push eax
call fcn.004177b0
push str.____Log_start
push 0x450cfc
push 0x46064c
call fcn.00417ac0
add esp, 0xc
cmp byte [edi + 0x231], 0
jne 0x40da3e
cmp dword [edi + 0x248], 8
lea eax, [edi + 0x234]
jb 0x40d9a5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x298]
call fcn.00423e50
test eax, eax
je 0x40da27
cmp eax, 0x652
je 0x40d9f2
push eax
push str.__Fatal_error_while_trying_to_obtain_single_instance_mutex___X_
push 0x450cfc
push 0x46064c
call fcn.00417ac0
push str.____Log_End
push 0x450cfc
push 0x46064c
call fcn.00417ac0
add esp, 0x1c
mov esi, 0x643
jmp 0x40de53
push str.__Unable_to_obtain_single_instance_mutex_ownership
push 0x450cfc
push 0x46064c
call fcn.00417ac0
add esp, 0xc
push str.____Log_End
push 0x450cfc
push 0x46064c
call fcn.00417ac0
mov esi, 0x652
jmp 0x40de50
push str.Single_instance_mutex_has_been_obtained
push 0x450cfc
push 0x46064c
call fcn.00417ac0
add esp, 0xc
call fcn.00417930
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x54]
mov edx, dword [edi]
mov ecx, edi
movzx eax, word [edi + 0x338]
push eax
call dword [edx + 0x50]
mov esi, eax
test esi, esi
je 0x40da90
push esi
push str.Language_load_error___d_
push 0x451150
push 0x46064c
call fcn.00417ac0
add esp, 0x10
push 0
push str.Setup
push str.Error_loading_language_resource
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40de53
test ebx, ebx
je 0x40db55
push 0xa
push 8
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.004308c2
add esp, 0x10
lea eax, [ebp - 0x20]
lea ecx, [edi + 4]
push eax
push str.IIF_EXITCODE
call fcn.00414810
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
push ebx
push str.Command_line_error__d
push 0x451150
push 0x46064c
call fcn.00417ac0
add esp, 0x10
mov ecx, edi
call fcn.0040ad00
test al, al
jne 0x40dafd
push 0x1f9f
push ecx
push 0
push 2
mov edx, 0x2067
xor ecx, ecx
call fcn.00405460
add esp, 0x10
lea ebx, [edi + 4]
mov ecx, 0x4621e0
call fcn.00419b70
mov ecx, dword [ebx + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.Dumping_properties___d_total_
push 0x450cfc
push 0x46064c
call fcn.00417ac0
mov esi, dword [ebx]
add esp, 0x10
cmp esi, dword [edi + 8]
je 0x40dca6
cmp dword [esi + 0x2c], 8
jb 0x40dc72
mov ecx, dword [esi + 0x18]
jmp 0x40dc75
mov ecx, edi
call fcn.0040ad00
test al, al
jne 0x40db85
cmp byte [edi + 0x230], al
je 0x40db85
push str._b__force_reboot__is_only_valid_in_silent_mode__switch_will_be_ignored
push 0x450cac
push 0x46064c
mov byte [edi + 0x230], al
call fcn.00417ac0
add esp, 0xc
lea ebx, [edi + 4]
push str.IIF_FRESH
mov ecx, ebx
call fcn.00414740
test al, al
je 0x40dbd0
mov ecx, edi
call fcn.0040ab30
cmp eax, 0xd
je 0x40dbb0
mov ecx, edi
call fcn.0040ab30
cmp eax, 0xc
jne 0x40dbd0
push str._repair_and__uninstall_switches_are_not_valid_with_fresh_install__they_will_be_ignored
push 0x450cac
push 0x46064c
call fcn.00417ac0
add esp, 0xc
mov ecx, edi
push 0
call fcn.0040e080
mov ecx, edi
call fcn.0040ab30
cmp eax, 0xd
ja case.0x40dbe0.10
jmp dword [eax*4 + 0x40de7c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
jmp case.0x40dbe0.10
mov ecx, edi
call fcn.0040a920
jmp case.0x40dbe0.10
lea ecx, [edi + 0x1c]
call fcn.00407880
push str.Activating_setup_wizard
push 0x450cfc
push 0x46064c
call fcn.00417ac0
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [eax + 0x60]
jmp case.0x40dbe0.10
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
jmp case.0x40dbe0.10
mov ecx, edi
call fcn.0040aa40
jmp case.0x40dbe0.10
mov ecx, edi
call fcn.0040a2b0
jmp case.0x40dbe0.10
mov ecx, edi
call fcn.00409440
jmp case.0x40dbe0.10
mov ecx, edi
call fcn.00409aa0
jmp case.0x40dbe0.10
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x5c]
jmp case.0x40dbe0.10
lea ecx, [esi + 0x18]
cmp dword [esi + 0x14], 8
jb 0x40dc7f
mov eax, dword [esi]
jmp 0x40dc81
mov eax, esi
push ecx
push eax
push str.___s_s
push 0x450cfc
push 0x46064c
call fcn.00417ac0
add esi, 0x30
add esp, 0x14
cmp esi, dword [edi + 8]
jne 0x40db43
push str.Dumping_feature_states
push 0x450cfc
push 0x46064c
call fcn.00417ac0
mov esi, dword [edi + 0x320]
add esp, 0xc
cmp esi, dword [edi + 0x324]
je 0x40dd37
mov dword [ebp - 0x29c], str.false
cmp dword [esi + 0x4c], 8
jb 0x40dce0
mov edx, dword [esi + 0x38]
jmp 0x40dce3
lea edx, [esi + 0x38]
cmp dword [esi + 0x1c], 8
jb 0x40dcee
mov ecx, dword [esi + 8]
jmp 0x40dcf1
lea ecx, [esi + 8]
cmp byte [esi + 0x69], 0
mov eax, str.true
cmove eax, dword [ebp - 0x29c]
cmp byte [esi + 0x68], 0
push eax
mov eax, str.true
cmove eax, dword [ebp - 0x29c]
push eax
push edx
push ecx
push str.__Feature:__s__Package:__s__Current:__s__New:__s
push 0x450cfc
push 0x46064c
call fcn.00417ac0
add esi, 0x6c
add esp, 0x1c
cmp esi, dword [edi + 0x324]
jne 0x40dcd5
push str.IIF_EXITCODE
mov ecx, ebx
call fcn.004146e0
push eax
call fcn.00430e39
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.0040ad00
test al, al
je 0x40dd88
cmp byte [edi + 0x230], 0
je 0x40dd88
cmp esi, 0xbc2
jne 0x40dd71
mov esi, 0x669
jmp 0x40dd88
push str.Force_reboot___b__switch_was_used_but_setup_does_not_require_a_reboot
push 0x450cfc
push 0x46064c
call fcn.00417ac0
add esp, 0xc
push str.IIF_EXITCODE
mov ecx, ebx
call fcn.004146e0
push eax
call fcn.00430e39
add esp, 4
cmp eax, 0x661
ja 0x40ddb1
je 0x40ddc6
test eax, eax
je 0x40ddc6
cmp eax, 0x642
jmp 0x40ddbd
cmp eax, 0x669
je 0x40ddc6
cmp eax, 0xbc2
je 0x40ddc6
mov esi, 0x643
jmp 0x40de00
test esi, esi
je 0x40ddda
cmp esi, 0x669
je 0x40ddda
cmp esi, 0xbc2
jne 0x40de00
mov ecx, edi
call fcn.0040ab30
cmp eax, 9
jl 0x40de00
cmp eax, 0xa
jle 0x40ddf9
cmp eax, 0xd
jne 0x40de00
mov ecx, edi
call fcn.00409d30
jmp 0x40de00
mov ecx, edi
call fcn.0040dec0
push esi
push str.Exit_code__command_line_:__d
push 0x450cfc
push 0x46064c
call fcn.00417ac0
add esp, 0x10
cmp esi, 0x669
jne 0x40de3c
call fcn.00416ca0
push str.Initiated_reboot
push 0x450cfc
push 0x46064c
call fcn.00417ac0
add esp, 0xc
push str.____Log_End
push 0x450cfc
push 0x46064c
call fcn.00417ac0
add esp, 0xc
lea ecx, [ebp - 0x298]
call fcn.00423dd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f51f
mov esp, ebp
pop ebp
ret