Function at 0x401eb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526201
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x587730]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Compsetupstarter
lea ecx, [ebp - 0x1c]
call fcn.00406480
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406480
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14c]
call fcn.00406440
mov byte [ebp - 4], 2
push 0x536e60
lea ecx, [ebp - 0x148]
call fcn.00406480
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x148]
push ecx
call fcn.00403010
add esp, 4
movzx edx, al
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jne 0x401f94
mov dword [ebp - 0x154], 0x3e8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x148]
call fcn.00406500
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14c]
call fcn.00406500
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00406500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00406500
mov eax, dword [ebp - 0x154]
jmp 0x4021ea
push 0
lea ecx, [ebp - 0x148]
call fcn.00406580
push eax
lea ecx, [ebp - 0x10]
call fcn.00405850
test eax, eax
je 0x401ffc
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.00405bc0
add esp, 0xc
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00406520
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x158]
call fcn.00406500
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00406600
mov edx, dword [ebp - 0x10]
push edx
push str.__Call_msiexec:__Commandline__s
lea ecx, [ebp - 0x1c]
call fcn.00406580
push eax
push 7
push 0x588f50
call fcn.00416d20
add esp, 0x14
mov dword [ebp - 0x144], 0x11c
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x402185
cmp dword [ebp - 0x140], 6
jb 0x4020dc
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00406580
push eax
call fcn.00402760
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x150], 0
jmp 0x402086
mov edx, dword [ebp - 0x150]
add edx, 1
mov dword [ebp - 0x150], edx
cmp dword [ebp - 0x150], 0xa
jge 0x4020da
cmp dword [ebp - 0x14], 0x652
jne 0x4020da
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.__try_again_by_Failed_to_grab_execution_mutex
lea ecx, [ebp - 0x1c]
call fcn.00406580
push eax
push 0xb
push 0x588f50
call fcn.00416d20
add esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00406580
push eax
call fcn.00402760
add esp, 8
mov dword [ebp - 0x14], eax
jmp 0x402077
jmp 0x402111
push str.__OS_XP:__use_CreateProcess
lea ecx, [ebp - 0x1c]
call fcn.00406580
push eax
push 0xb
push 0x588f50
call fcn.00416d20
add esp, 0x10
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00406580
push eax
call fcn.00402210
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x643
jne 0x402137
push str.MSI_Error:_A_fatal_error_occurred_during__un_installation
lea ecx, [ebp - 0x1c]
call fcn.00406580
push eax
push 0
push 0x588f50
call fcn.00416d20
add esp, 0x10
cmp dword [ebp - 0x14], 0x64c
jne 0x40215d
push str.MSI_Error:_The__un_installation_source_for_this_product_is_not_available.
lea ecx, [ebp - 0x1c]
call fcn.00406580
push eax
push 0
push 0x588f50
call fcn.00416d20
add esp, 0x10
cmp dword [ebp - 0x14], 0x653
jne 0x402183
push str.MSI_Error:__un_This_installation_package_could_not_be_opened.
lea ecx, [ebp - 0x1c]
call fcn.00406580
push eax
push 0
push 0x588f50
call fcn.00416d20
add esp, 0x10
jmp 0x4021a2
push str.error_by_OS_determination
lea ecx, [ebp - 0x1c]
call fcn.00406580
push eax
push 0
push 0x588f50
call fcn.00416d20
add esp, 0x10
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x15c], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x148]
call fcn.00406500
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14c]
call fcn.00406500
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00406500
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00406500
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0050c838
mov esp, ebp
pop ebp
ret