Function at 0x418170
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b9d8b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4f54d8]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
push edi
mov eax, dword [0x4f54d8]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0xc], eax
push 1
push 0
push 0
push 0
lea esi, [eax + 0x2c]
push 0xc
push 0x4d9b60
mov ecx, esi
call fcn.00441840
push 1
push 0
push 0
push 0
push 0xc
push 0x4d9b60
push 0
mov ecx, esi
call fcn.0043beb0
push 1
push 0
push 0
push 0
push 0xe
push 0x4d9b60
push 1
mov ecx, esi
call fcn.0043beb0
push 1
push 0
push 0
push 0
push 0x10
push 0x4d9b60
push 2
mov ecx, esi
call fcn.0043beb0
push 1
push 0
push 0
push 0
push 0x12
push 0x4d9b60
push 3
mov ecx, esi
call fcn.0043beb0
push 1
push 0
push 0
push 0
push 0x14
push 0x4d9b60
push 4
mov ecx, esi
call fcn.0043beb0
push 0x100
lea eax, [esp + 0x150]
push 0
push eax
call fcn.0048bcb0
add esp, 0xc
lea eax, [esp + 0x14c]
push 0x80
push str.uninstall_window
push 0x80
push eax
push 0
call fcn.00483a9b
add esp, 0x14
lea eax, [esp + 0x14c]
push eax
call fcn.0043d480
mov edx, eax
add esp, 4
test edx, edx
jne 0x4182b4
lea eax, [esp + 0x14c]
push eax
push eax
call fcn.0043c670
lea eax, [esp + 0x154]
push eax
call fcn.0043d480
add esp, 0xc
mov edx, eax
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
cmp word [edx], ax
jne 0x4182d4
xor ecx, ecx
jmp 0x4182ef
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4182e0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00406a70
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
mov dword [esp + 0x260], 0
cmp dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x14]
push eax
call fcn.00471800
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push str.titleLabel
mov ecx, esi
call fcn.0043c9a0
cmp dword [esp + 0x28], 8
lea ecx, [esp + 0x14]
cmovae ecx, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x30], 0x11c
call edi
test eax, eax
jne 0x41836e
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x114
push eax
call edi
push dword [esp + 0x30]
push str.windows_os_dwMajorVersion___d
push 0x616
push str.isWin7OS
call fcn.0042a930
add esp, 0x10
cmp dword [esp + 0x30], 6
jb 0x4183a7
push 1
mov ecx, esi
call fcn.00441e80
push str.root_shadow.png
mov ecx, esi
call fcn.00441fe0
jmp 0x4183ed
sub esp, 8
mov ecx, esp
push 0x1a4
push 0x28a
call fcn.00438a30
mov ecx, dword [esp + 0x14]
call fcn.00471800
mov ecx, eax
call fcn.0041b3b0
add esp, 8
mov ecx, esi
push str.rootContainer
call fcn.0043c9a0
sub esp, 0x10
xorps xmm0, xmm0
mov ecx, esp
mov edx, dword [eax]
movdqu xmmword [ecx], xmm0
mov ecx, eax
call dword [edx + 0x68]
cmp dword [esp + 0x28], 8
jb 0x418400
push dword [esp + 0x14]
call fcn.00464c00
add esp, 4
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.00482fe3
mov esp, ebp
pop ebp
ret