Function at 0x40b1e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442b1b
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x4533e4]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push esi
push edi
mov eax, dword [0x4533e4]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
xor edi, edi
mov esi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], edi
push edi
mov dword [esp + 0x2a4], edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
mov ecx, esi
call edx
mov ebx, eax
cmp ebx, edi
je 0x40b2ac
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x40b26c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [esp + 0x14], edi
cmp eax, edi
je 0x40b285
push eax
call esi
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x40b294
push eax
call esi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x40b7bc
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x40b7bc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ebx, esi
call fcn.0040a630
push str.IIF_LOGFOLDER
lea edi, [esi + 4]
mov dword [esp + 0x14], eax
call fcn.00403fe0
push eax
lea eax, [esp + 0x88]
push 0x104
push eax
call fcn.0042cbdd
lea eax, [esi + 0x84]
mov edi, 8
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x40b2f3
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x88]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0x84]
push edx
call fcn.00406000
push str.____Log_start
push 0x4549c8
mov ecx, 0x4462a0
call fcn.00406230
add esp, 8
cmp byte [esi + 0x2d], 0
jne 0x40b3dd
cmp dword [esi + 0x44], edi
lea eax, [esi + 0x30]
jb 0x40b33a
mov eax, dword [eax]
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.00424520
mov ecx, 0x4462a0
test eax, eax
je 0x40b3cb
cmp eax, 0x652
je 0x40b392
push eax
push str.__Fatal_error_while_trying_to_obtain_single_instance_mutex___X_
push 0x4549c8
call fcn.00406230
add esp, 0xc
push str.____Log_End
push 0x4549c8
mov ecx, 0x4462a0
call fcn.00406230
add esp, 8
lea esi, [esp + 0x14]
call fcn.004244d0
mov eax, 0x643
jmp 0x40b7be
push str.__Unable_to_obtain_single_instance_mutex_ownership
push 0x4549c8
call fcn.00406230
push str.____Log_End
push 0x4549c8
mov ecx, 0x4462a0
call fcn.00406230
add esp, 0x10
lea esi, [esp + 0x14]
call fcn.004244d0
mov eax, 0x652
jmp 0x40b7be
push str.Single_instance_mutex_has_been_obtained
push 0x4549c8
call fcn.00406230
add esp, 8
call fcn.004060b0
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
mov ecx, esi
call edx
movzx ecx, word [esi + 0x144]
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
push ecx
mov ecx, esi
call edx
mov edi, eax
test edi, edi
je 0x40b43e
push edi
push str.Language_load_error___d_
push 0x4549c8
mov ecx, 0x446820
call fcn.00406230
add esp, 0xc
push 0
push str.Setup
push str.Error_loading_language_resource
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esi, [esp + 0x14]
call fcn.004244d0
mov eax, edi
jmp 0x40b7be
mov edi, dword [esp + 0x10]
test edi, edi
je 0x40b491
mov ecx, edi
call fcn.0040b990
push edi
push str.Command_line_error__d
push 0x4549c8
mov ecx, 0x446820
call fcn.00406230
add esp, 0xc
mov eax, esi
call fcn.004085d0
test al, al
jne case.0x40b50c.10
push 0x1f9f
push 0
push 2
push 0x2067
xor ecx, ecx
call fcn.0041bf20
add esp, 0x10
jmp case.0x40b50c.10
mov eax, esi
call fcn.004085d0
test al, al
jne 0x40b4bb
cmp byte [esi + 0x2c], al
je 0x40b4bb
push str._b__force_reboot__is_only_valid_in_silent_mode__switch_will_be_ignored
push 0x4549c8
mov ecx, 0x446470
mov byte [esi + 0x2c], al
call fcn.00406230
add esp, 8
mov eax, str.IIF_FRESH
lea edi, [esi + 4]
call fcn.00404030
test al, al
je 0x40b501
push esi
call fcn.00408430
cmp eax, 0xd
je 0x40b4e2
push esi
call fcn.00408430
cmp eax, 0xc
jne 0x40b501
push str._repair_and__uninstall_switches_are_not_valid_with_fresh_install__they_will_be_ignored
push 0x4549c8
mov ecx, 0x446470
call fcn.00406230
add esp, 8
push esi
xor ecx, ecx
call fcn.0040b9e0
push esi
call fcn.00408430
cmp eax, 0xd
ja case.0x40b50c.10
jmp dword [eax*4 + 0x40b7e4]
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
jmp 0x40b57a
push esi
call fcn.00408230
jmp case.0x40b50c.10
push str.MSFTEDIT.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.Activating_setup_wizard
push 0x4549c8
mov ecx, 0x4462a0
call fcn.00406230
mov eax, dword [esi]
mov edx, dword [eax + 0x5c]
add esp, 8
jmp 0x40b57a
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
jmp 0x40b57a
push esi
call fcn.00408350
jmp case.0x40b50c.10
mov ecx, esi
call fcn.00407a00
jmp case.0x40b50c.10
mov ecx, esi
call fcn.00406af0
jmp case.0x40b50c.10
mov ecx, esi
call fcn.004071f0
jmp case.0x40b50c.10
mov eax, dword [esi]
mov edx, dword [eax + 0x58]
mov ecx, esi
call edx
mov eax, 0x455cb8
call fcn.00412c80
mov ecx, dword [esi + 8]
sub ecx, dword [esi + 4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.Dumping_properties___d_total_
push 0x4549c8
mov ecx, 0x4462a0
call fcn.00406230
mov edi, dword [esi + 4]
add esp, 0xc
cmp edi, dword [esi + 8]
je 0x40b5ff
mov eax, 8
cmp dword [edi + 0x30], eax
jb 0x40b5d0
mov ecx, dword [edi + 0x1c]
jmp 0x40b5d3
lea ecx, [edi + 0x1c]
cmp dword [edi + 0x14], eax
jb 0x40b5dc
mov eax, dword [edi]
jmp 0x40b5de
mov eax, edi
push ecx
push eax
push str.___s_s
push 0x4549c8
mov ecx, 0x4462a0
call fcn.00406230
add edi, 0x38
add esp, 0x10
cmp edi, dword [esi + 8]
jne 0x40b5c1
push str.Dumping_feature_states
push 0x4549c8
mov ecx, 0x4462a0
call fcn.00406230
mov ebx, dword [esi + 0x128]
add esp, 8
cmp ebx, dword [esi + 0x12c]
je 0x40b69e
lea edi, [ebx + 0x1c]
jmp 0x40b630
cmp byte [edi + 0x5d], 0
mov edx, 0x4490e4
jne 0x40b640
mov edx, 0x4490f0
cmp byte [edi + 0x5c], 0
mov dword [esp + 0x10], 0x4490e4
jne 0x40b656
mov dword [esp + 0x10], 0x4490f0
cmp dword [edi + 0x38], 8
jb 0x40b661
mov ecx, dword [edi + 0x24]
jmp 0x40b664
lea ecx, [edi + 0x24]
cmp dword [edi], 8
jb 0x40b66e
mov eax, dword [edi - 0x14]
jmp 0x40b671
lea eax, [edi - 0x14]
push edx
mov edx, dword [esp + 0x14]
push edx
push ecx
push eax
push str.__Feature:__s__Package:__s__Current:__s__New:__s
push 0x4549c8
mov ecx, 0x4462a0
call fcn.00406230
add ebx, 0x7c
add esp, 0x18
add edi, 0x7c
cmp ebx, dword [esi + 0x12c]
jne 0x40b630
push str.IIF_EXITCODE
lea edi, [esi + 4]
call fcn.00403fe0
push eax
call fcn.0042cce6
mov ebx, eax
add esp, 4
mov eax, esi
call fcn.004085d0
test al, al
je 0x40b6ed
cmp byte [esi + 0x2c], 0
je 0x40b6ed
cmp ebx, 0xbc2
jne 0x40b6d6
mov ebx, 0x669
jmp 0x40b6ed
push str.Force_reboot___b__switch_was_used_but_setup_does_not_require_a_reboot
push 0x4549c8
mov ecx, 0x4462a0
call fcn.00406230
add esp, 8
push str.IIF_EXITCODE
call fcn.00403fe0
push eax
call fcn.0042cce6
add esp, 4
cmp eax, 0x661
ja 0x40b714
je 0x40b729
test eax, eax
je 0x40b729
cmp eax, 0x642
jmp 0x40b720
cmp eax, 0x669
je 0x40b729
cmp eax, 0xbc2
je 0x40b729
mov ebx, 0x643
jmp 0x40b760
test ebx, ebx
je 0x40b73d
cmp ebx, 0x669
je 0x40b73d
cmp ebx, 0xbc2
jne 0x40b760
push esi
call fcn.00408430
cmp eax, 9
jl 0x40b760
cmp eax, 0xa
jle 0x40b75a
cmp eax, 0xd
jne 0x40b760
push esi
call fcn.00407500
jmp 0x40b760
push esi
call fcn.0040b820
push ebx
push str.Exit_code__command_line_:__d
push 0x4549c8
mov ecx, 0x4462a0
call fcn.00406230
add esp, 0xc
cmp ebx, 0x669
jne 0x40b79c
call fcn.004183d0
push str.Initiated_reboot
push 0x4549c8
mov ecx, 0x4462a0
call fcn.00406230
add esp, 8
push str.____Log_End
push 0x4549c8
mov ecx, 0x4462a0
call fcn.00406230
add esp, 8
lea esi, [esp + 0x14]
call fcn.004244d0
mov eax, ebx
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.0042c039
mov esp, ebp
pop ebp
ret