Function at 0x401e80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e5ac
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x456ea4]
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 dword [ebp - 0x134], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x138]
call fcn.00406960
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.00406900
mov byte [ebp - 4], 1
push 0x442630
lea ecx, [ebp - 0x140]
call fcn.00406960
mov byte [ebp - 4], 2
lea eax, [ebp - 0x140]
push eax
call fcn.00403270
add esp, 4
movzx ecx, al
mov dword [ebp - 0x130], ecx
cmp dword [ebp - 0x130], 0
jne 0x401f5c
mov dword [ebp - 0x190], 0x3e8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.004069e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.004069e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.004069e0
mov eax, dword [ebp - 0x190]
jmp 0x4021c9
mov eax, dword [ebp - 0x138]
push eax
push str.__szMSICommandline:__s
push 0xb
push 0x45858c
call fcn.00416150
add esp, 0x10
push 0
lea ecx, [ebp - 0x140]
call fcn.00406a90
push eax
lea ecx, [ebp - 0x138]
call fcn.00405b30
test eax, eax
je 0x401fe8
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x140]
push ecx
lea edx, [ebp - 0x18c]
push edx
call fcn.00405eb0
add esp, 0xc
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x198]
push ecx
lea ecx, [ebp - 0x138]
call fcn.00406a00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18c]
call fcn.004069e0
push 0xffffffffffffffff
lea ecx, [ebp - 0x138]
call fcn.00406b40
mov eax, dword [ebp - 0x138]
push eax
push str.Call_msiexec:__Commandline__s
push 0xb
push 0x45858c
call fcn.00416150
add esp, 0x10
mov dword [ebp - 0x12c], 0x11c
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x402173
cmp dword [ebp - 0x128], 6
jb 0x4020df
push str.OS_Vista:__use_ShellExecute
push 0xb
push 0x45858c
call fcn.00416150
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x138]
call fcn.00406a90
push eax
call fcn.004028c0
add esp, 8
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x144], 0
jmp 0x402089
mov eax, dword [ebp - 0x144]
add eax, 1
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xa
jge 0x4020dd
cmp dword [ebp - 0x134], 0x652
jne 0x4020dd
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.try_again_by_Failed_to_grab_execution_mutex
push 0xb
push 0x45858c
call fcn.00416150
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x138]
call fcn.00406a90
push eax
call fcn.004028c0
add esp, 8
mov dword [ebp - 0x134], eax
jmp 0x40207a
jmp 0x402111
push str.OS_XP:__use_CreateProcess
push 0xb
push 0x45858c
call fcn.00416150
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x138]
call fcn.00406a90
push eax
call fcn.004021f0
add esp, 8
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0x643
jne 0x402131
push str.MSI_Error:_A_fatal_error_occurred_during__un_installation
push 0
push 0x45858c
call fcn.00416150
add esp, 0xc
cmp dword [ebp - 0x134], 0x64c
jne 0x402151
push str.MSI_Error:_The__un_installation_source_for_this_product_is_not_available.
push 0
push 0x45858c
call fcn.00416150
add esp, 0xc
cmp dword [ebp - 0x134], 0x653
jne 0x402171
push str.MSI_Error:__un_This_installation_package_could_not_be_opened.
push 0
push 0x45858c
call fcn.00416150
add esp, 0xc
jmp 0x402187
push str.error_by_OS_determination
push 0
push 0x45858c
call fcn.00416150
add esp, 0xc
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x188], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.004069e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.004069e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.004069e0
mov eax, dword [ebp - 0x188]
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.00425f3c
mov esp, ebp
pop ebp
ret