Function at 0x417091
Capabilities:
Check os version
Create thread

Disassembly:
mov eax, 0x49931e
call fcn.0047d43c
sub esp, 0x14c
push ebx
xor ebx, ebx
cmp dword [0x4c6f14], ebx
push esi
push edi
mov edi, ecx
jne 0x4170bc
cmp byte [0x4c6f19], bl
je 0x417464
lea eax, [ebp - 0x158]
mov dword [ebp - 0x158], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, edi
call fcn.004174f9
cmp dword [ebp - 0x154], 5
mov byte [ebp - 0xd], bl
ja 0x4170f0
jne 0x4170fd
cmp dword [ebp - 0x150], ebx
jbe 0x4170fd
cmp dword [ebp - 0x148], 2
jne 0x4170fd
mov byte [ebp - 0xd], 1
cmp byte [0x4c6f19], bl
je 0x4173c1
cmp byte [0x4c6914], bl
mov esi, str.C:CodeBasesisdev_srcRuntimeSharedSetupIsPreReqDlg.cpp
jne 0x41711e
cmp byte [0x4c9568], bl
je 0x417189
lea eax, [ebp - 0x15]
push 1
push eax
push esi
lea ecx, [ebp - 0x74]
call fcn.00401884
mov eax, str.StartStopProgress___Embedded
mov dword [ebp - 4], ebx
mov ecx, eax
mov dword [ebp - 0x4c], 0x4a3670
test ecx, ecx
mov dword [ebp - 0x2c], 0x4a3668
jne 0x41714e
mov eax, 0x4c6e10
lea ecx, [ebp - 0xe]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.004011a9
lea eax, [ebp - 0x74]
push 0x339
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 1
call fcn.0048dff0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00401093
cmp dword [ebp - 0x154], 6
jb 0x417195
mov byte [ebp - 0xd], bl
mov ecx, edi
call fcn.00418cfe
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x417464
cmp byte [ebp - 0xd], bl
je 0x417262
cmp byte [0x4c6914], bl
jne 0x4171c0
cmp byte [0x4c9568], bl
je 0x417230
lea eax, [ebp - 0xe]
push 1
push eax
push esi
lea ecx, [ebp - 0x74]
call fcn.00401884
mov eax, str.StartStopProgress___Embedded_Looping
mov dword [ebp - 4], 2
mov ecx, eax
mov dword [ebp - 0x4c], 0x4a3670
test ecx, ecx
mov dword [ebp - 0x2c], 0x4a3668
jne 0x4171f4
mov eax, 0x4c6e10
lea ecx, [ebp - 0x15]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.004011a9
lea eax, [ebp - 0x74]
push 0x341
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 3
call fcn.0048dff0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00401093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00401093
mov al, byte [ebp + 8]
push ebx
neg al
sbb eax, eax
add eax, 4
push eax
push 0x111
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 2
jne 0x417464
push dword [ebp - 0x14]
mov ecx, edi
call fcn.00418e4a
jmp 0x417464
cmp byte [ebp + 8], bl
je 0x417464
mov eax, dword [edi + 0xc8]
push 1
lea ecx, [ebp - 0x74]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0xb]
push eax
push esi
call fcn.00401884
mov eax, dword [eax + 8]
mov dword [ebp - 4], 4
cmp eax, ebx
mov esi, 0x4a368c
jne 0x41729b
mov eax, esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], 0x349
push dword [edi + 0x16c]
push str.StartStopProgress___Fallback____d_of__d
push eax
call fcn.0040a47f
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x74]
call fcn.00401093
lea eax, [ebp + 0xb]
push ebx
push eax
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x4a3670
mov dword [ebp - 0x7c], 0x4a3668
call fcn.00401907
mov eax, dword [edi + 0xd8]
mov dword [ebp - 4], 5
cmp eax, ebx
je 0x4172ff
mov esi, eax
mov ecx, dword [0x4c6f1c]
lea eax, [ebp - 0xc4]
push 0x675
push eax
call fcn.0040eeb2
mov eax, dword [eax + 8]
mov byte [ebp - 4], 6
cmp eax, ebx
jne 0x417326
mov eax, 0x4a36e0
push esi
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00419226
add esp, 0xc
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 5
call fcn.00402438
lea ecx, [ebp - 0x9c]
call fcn.00401a14
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push ebx
push 0xc
push dword [ebp - 0x14]
call esi
mov eax, dword [edi + 0xc8]
mov eax, dword [eax + 0x14]
inc eax
push eax
push 1
push 0x406
push dword [ebp - 0x14]
call esi
cmp eax, 2
je 0x4173a3
push ebx
push ebx
push 0x402
push dword [ebp - 0x14]
call esi
cmp eax, 2
je 0x4173a3
push ebx
push dword [edi + 0x16c]
push 0x402
push dword [ebp - 0x14]
call esi
cmp eax, 2
jne 0x4173ad
push dword [ebp - 0x14]
mov ecx, edi
call fcn.00418e4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00401093
jmp 0x417464
cmp byte [ebp + 8], bl
je 0x417419
cmp byte [ebp - 0xd], bl
je 0x4173fb
push 0xfffffffffffffff0
push dword [0x4c6f14]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [edi + 0x164], eax
or al, 8
push eax
push 0xfffffffffffffff0
push dword [0x4c6f14]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x64
push 1
push 0x40a
jmp 0x417458
lea eax, [edi + 0x160]
push eax
push ebx
push edi
push 0x417475
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x15c], eax
jmp 0x417464
cmp byte [ebp - 0xd], bl
je 0x417451
cmp dword [edi + 0x164], ebx
lea esi, [edi + 0x164]
je 0x417451
push ebx
push ebx
push 0x40a
push dword [0x4c6f14]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [esi]
push 0xfffffffffffffff0
push dword [0x4c6f14]
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x417464
push ebx
push ebx
push 0x402
push dword [0x4c6f14]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4