Function at 0x100044e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d4fd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100521b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x28], edi
mov dword [edi], vtable.CBalBaseBootstrapperApplication.0
mov dword [edi + 0x20], 1
mov eax, dword [ecx + 4]
mov dword [edi + 0x24], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x28], eax
mov eax, dword [esi]
push esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], esi
call dword [eax + 4]
lea eax, [edi + 4]
mov dword [edi + 0x2c], esi
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0xbb8
push 3
mov dword [edi + 0x1c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.10014e90
mov eax, dword [ebp + 8]
lea esi, [edi + 0x44]
mov dword [ebp - 4], 0
mov dword [edi], vtable.CWixStandardBootstrapperApplication.0
mov dword [edi + 0x40], eax
test esi, esi
jne 0x10004597
call fcn.10022a59
mov dword [eax], 0x16
call fcn.1002297f
jmp 0x100045b2
mov eax, dword [ebp - 0x1c]
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x20], xmm0
cmp dword [ebp + 0xc], 0
je 0x100045de
mov eax, dword [esi]
cmp eax, 1
je 0x100045de
cmp eax, 5
je 0x100045de
push str.fPrereqtrue___Setting_action__BOOTSTRAPPER_ACTION_INSTALL
push 1
mov dword [esi], 5
call fcn.10014a99
add esp, 8
jmp 0x100046be
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
push str.WixBundleInstalled
movlpd qword [ebp - 0x18], xmm0
call fcn.100149a3
push dword [ebp - 0x14]
mov esi, eax
push dword [ebp - 0x18]
push str.Detected_WixBundleInstalled:__I64d
push 1
call fcn.10014a99
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov ecx, dword [ebp - 0x18]
test esi, esi
js 0x10004647
cmp dword [edi + 0x58], 4
je 0x10004647
test eax, eax
jl 0x10004647
jg 0x10004625
test ecx, ecx
je 0x10004647
cmp dword [edi + 0x44], 5
lea esi, [edi + 0x44]
jne 0x1000464a
push 7
push str.Default_command:__d___Setting_action__BOOTSTRAPPER_ACTION_REPAIR
push 1
mov dword [esi], 7
call fcn.10014a99
add esp, 0xc
jmp 0x100046be
lea esi, [edi + 0x44]
test ecx, ecx
jne 0x10004677
test eax, eax
jne 0x10004677
mov eax, dword [esi]
cmp eax, 6
je 0x1000465e
cmp eax, 7
jne 0x10004677
push 5
push str.Default_command:__d___Setting_action__BOOTSTRAPPER_ACTION_INSTALL
push 1
mov dword [esi], 5
call fcn.10014a99
add esp, 0xc
jmp 0x100046be
mov ecx, dword [esi]
cmp ecx, 5
jne 0x10004685
mov eax, str.BOOTSTRAPPER_ACTION_INSTALL
jmp 0x100046ad
cmp ecx, 7
jne 0x10004691
mov eax, str.BOOTSTRAPPER_ACTION_REPAIR
jmp 0x100046ad
cmp ecx, 6
jne 0x1000469d
mov eax, str.BOOTSTRAPPER_ACTION_MODIFY
jmp 0x100046ad
cmp ecx, 3
mov eax, str.BOOTSTRAPPER_ACTION_UNINSTALL
mov edx, str.SPECIAL_ACTION
cmovne eax, edx
push eax
push ecx
push str.Using_default_command_action____d___s
push 1
call fcn.10014a99
add esp, 0x10
cmp dword [edi + 0x58], 4
lea eax, [edi + 0x74]
mov dword [edi + 0x70], 0
mov dword [eax], 0
jne 0x10004709
cmp dword [esi], 3
jle 0x10004709
push eax
push str.WixBundleForcedRestartPackage
call fcn.100149da
test eax, eax
js 0x100046f5
mov eax, dword [edi + 0x74]
test eax, eax
je 0x100046f5
cmp word [eax], 0
jne 0x10004709
mov eax, dword [edi + 0x74]
test eax, eax
je 0x10004709
push eax
call fcn.100179af
mov dword [edi + 0x74], 0
mov esi, dword [ebp - 0x20]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x78], 0
movups xmmword [edi + 0x7c], xmm0
push esi
movq qword [edi + 0x8c], xmm0
mov dword [edi + 0x94], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
movups xmmword [edi + 0xa8], xmm0
movups xmmword [edi + 0xb8], xmm0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 1
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0xffffffff
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov ecx, dword [esi]
call dword [ecx + 4]
mov dword [edi + 0x6c], esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e205
mov esp, ebp
pop ebp
ret 0x10