Function at 0x40cee0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44892b
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x4624c8]
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 0x40d4b3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, edi
call fcn.0040c2d0
lea ecx, [edi + 4]
mov ebx, eax
push 0x45629c
call fcn.00419790
push eax
lea eax, [ebp - 0x228]
push 0x104
push eax
call fcn.004319e1
lea eax, [edi + 0x294]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40cfb6
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.00418e30
push str.____Log_start
push 0x453cac
push 0x463614
call fcn.00419150
add esp, 0xc
cmp byte [edi + 0x231], 0
jne 0x40d09e
cmp dword [edi + 0x248], 8
lea eax, [edi + 0x234]
jb 0x40d005
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x298]
call fcn.00429030
test eax, eax
je 0x40d087
cmp eax, 0x652
je 0x40d052
push eax
push str.__Fatal_error_while_trying_to_obtain_single_instance_mutex___X_
push 0x453cac
push 0x463614
call fcn.00419150
push str.____Log_End
push 0x453cac
push 0x463614
call fcn.00419150
add esp, 0x1c
mov esi, 0x643
jmp 0x40d4b3
push str.__Unable_to_obtain_single_instance_mutex_ownership
push 0x453cac
push 0x463614
call fcn.00419150
add esp, 0xc
push str.____Log_End
push 0x453cac
push 0x463614
call fcn.00419150
mov esi, 0x652
jmp 0x40d4b0
push str.Single_instance_mutex_has_been_obtained
push 0x453cac
push 0x463614
call fcn.00419150
add esp, 0xc
call fcn.00418fc0
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 0x40d0f0
push esi
push str.Language_load_error___d_
push 0x454110
push 0x463614
call fcn.00419150
add esp, 0x10
push 0
push str.Setup
push str.Error_loading_language_resource
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40d4b3
test ebx, ebx
je 0x40d1b5
push 0xa
push 8
lea eax, [ebp - 0x20]
push eax
push ebx
call fcn.0043213f
add esp, 0x10
lea eax, [ebp - 0x20]
lea ecx, [edi + 4]
push eax
push str.IIF_EXITCODE
call fcn.004198c0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
push ebx
push str.Command_line_error__d
push 0x454110
push 0x463614
call fcn.00419150
add esp, 0x10
mov ecx, edi
call fcn.0040a330
test al, al
jne 0x40d15d
push 0x1f9f
push ecx
push 0
push 2
mov edx, 0x2067
xor ecx, ecx
call fcn.00421fa0
add esp, 0x10
lea ebx, [edi + 4]
mov ecx, 0x465d38
call fcn.00424370
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 0x453cac
push 0x463614
call fcn.00419150
mov esi, dword [ebx]
add esp, 0x10
cmp esi, dword [edi + 8]
je 0x40d306
cmp dword [esi + 0x2c], 8
jb 0x40d2d2
mov ecx, dword [esi + 0x18]
jmp 0x40d2d5
mov ecx, edi
call fcn.0040a330
test al, al
jne 0x40d1e5
cmp byte [edi + 0x230], al
je 0x40d1e5
push str._b__force_reboot__is_only_valid_in_silent_mode__switch_will_be_ignored
push 0x454308
push 0x463614
mov byte [edi + 0x230], al
call fcn.00419150
add esp, 0xc
lea ebx, [edi + 4]
push str.IIF_FRESH
mov ecx, ebx
call fcn.004197f0
test al, al
je 0x40d230
mov ecx, edi
call fcn.0040a160
cmp eax, 0xd
je 0x40d210
mov ecx, edi
call fcn.0040a160
cmp eax, 0xc
jne 0x40d230
push str._repair_and__uninstall_switches_are_not_valid_with_fresh_install__they_will_be_ignored
push 0x454308
push 0x463614
call fcn.00419150
add esp, 0xc
mov ecx, edi
push 0
call fcn.0040d6e0
mov ecx, edi
call fcn.0040a160
cmp eax, 0xd
ja case.0x40d240.10
jmp dword [eax*4 + 0x40d4dc]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x40]
jmp case.0x40d240.10
mov ecx, edi
call fcn.00409f60
jmp case.0x40d240.10
lea ecx, [edi + 0x1c]
call fcn.00406ed0
push str.Activating_setup_wizard
push 0x453cac
push 0x463614
call fcn.00419150
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [eax + 0x60]
jmp case.0x40d240.10
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
jmp case.0x40d240.10
mov ecx, edi
call fcn.0040a080
jmp case.0x40d240.10
mov ecx, edi
call fcn.00409870
jmp case.0x40d240.10
mov ecx, edi
call fcn.00408a10
jmp case.0x40d240.10
mov ecx, edi
call fcn.00409070
jmp case.0x40d240.10
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x5c]
jmp case.0x40d240.10
lea ecx, [esi + 0x18]
cmp dword [esi + 0x14], 8
jb 0x40d2df
mov eax, dword [esi]
jmp 0x40d2e1
mov eax, esi
push ecx
push eax
push str.___s_s
push 0x453cac
push 0x463614
call fcn.00419150
add esi, 0x30
add esp, 0x14
cmp esi, dword [edi + 8]
jne 0x40d1a3
push str.Dumping_feature_states
push 0x453cac
push 0x463614
call fcn.00419150
mov esi, dword [edi + 0x320]
add esp, 0xc
cmp esi, dword [edi + 0x324]
je 0x40d397
mov dword [ebp - 0x29c], 0x456c10
cmp dword [esi + 0x4c], 8
jb 0x40d340
mov edx, dword [esi + 0x38]
jmp 0x40d343
lea edx, [esi + 0x38]
cmp dword [esi + 0x1c], 8
jb 0x40d34e
mov ecx, dword [esi + 8]
jmp 0x40d351
lea ecx, [esi + 8]
cmp byte [esi + 0x69], 0
mov eax, 0x456c04
cmove eax, dword [ebp - 0x29c]
cmp byte [esi + 0x68], 0
push eax
mov eax, 0x456c04
cmove eax, dword [ebp - 0x29c]
push eax
push edx
push ecx
push str.__Feature:__s__Package:__s__Current:__s__New:__s
push 0x453cac
push 0x463614
call fcn.00419150
add esi, 0x6c
add esp, 0x1c
cmp esi, dword [edi + 0x324]
jne 0x40d335
push str.IIF_EXITCODE
mov ecx, ebx
call fcn.00419790
push eax
call fcn.00432788
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.0040a330
test al, al
je 0x40d3e8
cmp byte [edi + 0x230], 0
je 0x40d3e8
cmp esi, 0xbc2
jne 0x40d3d1
mov esi, 0x669
jmp 0x40d3e8
push str.Force_reboot___b__switch_was_used_but_setup_does_not_require_a_reboot
push 0x453cac
push 0x463614
call fcn.00419150
add esp, 0xc
push str.IIF_EXITCODE
mov ecx, ebx
call fcn.00419790
push eax
call fcn.00432788
add esp, 4
cmp eax, 0x661
ja 0x40d411
je 0x40d426
test eax, eax
je 0x40d426
cmp eax, 0x642
jmp 0x40d41d
cmp eax, 0x669
je 0x40d426
cmp eax, 0xbc2
je 0x40d426
mov esi, 0x643
jmp 0x40d460
test esi, esi
je 0x40d43a
cmp esi, 0x669
je 0x40d43a
cmp esi, 0xbc2
jne 0x40d460
mov ecx, edi
call fcn.0040a160
cmp eax, 9
jl 0x40d460
cmp eax, 0xa
jle 0x40d459
cmp eax, 0xd
jne 0x40d460
mov ecx, edi
call fcn.00409300
jmp 0x40d460
mov ecx, edi
call fcn.0040d520
push esi
push str.Exit_code__command_line_:__d
push 0x453cac
push 0x463614
call fcn.00419150
add esp, 0x10
cmp esi, 0x669
jne 0x40d49c
call fcn.0041bdf0
push str.Initiated_reboot
push 0x453cac
push 0x463614
call fcn.00419150
add esp, 0xc
push str.____Log_End
push 0x453cac
push 0x463614
call fcn.00419150
add esp, 0xc
lea ecx, [ebp - 0x298]
call fcn.00428fb0
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.00430d5f
mov esp, ebp
pop ebp
ret