Function at 0x449bf3
Capabilities:
Check os version

Disassembly:
push 0x230
mov eax, 0x491663
call fcn.00474ec1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x10c]
push eax
mov esi, ecx
mov edi, edx
call fcn.0044c69d
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0x234]
xor ebx, ebx
push 7
mov dword [ebp - 4], ebx
call fcn.00449e51
test al, al
jne 0x449c46
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x449e3e
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub eax, dword [ebp - 0x104]
sub ecx, dword [edi]
sub eax, dword [ebp - 0xfc]
sub ecx, dword [ebp - 0x108]
push 1
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
push eax
push ecx
push dword [esi]
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [ebp - 0x22d], bl
mov edi, 0x49c8ac
cmp dword [ebp - 0x24], ebx
jne 0x449c9a
cmp dword [ebp - 0x40], ebx
je 0x449d11
push edi
push edi
push dword [esi]
call dword [sym.imp.UxTheme.dll_SetWindowTheme]
cmp eax, ebx
jne 0x449caf
mov byte [ebp - 0x22d], 1
cmp dword [ebp - 0x24], ebx
je 0x449ce0
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x234], esp
push eax
lea ecx, [ebp - 0x34]
call fcn.00456a76
pop ecx
call fcn.0045948f
add esp, 0x1c
push eax
push ebx
push 0x409
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x40], ebx
je 0x449d11
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x234], esp
push eax
lea ecx, [ebp - 0x50]
call fcn.00456a76
pop ecx
call fcn.0045948f
add esp, 0x1c
push eax
push ebx
push 0x2001
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x18], ebx
je 0x449e3e
mov eax, dword [esi]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x234], eax
cmp eax, ebx
je 0x449e3e
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 1
cmp dword [0x4bfb94], ebx
je 0x449da6
push dword [ebp - 0x234]
lea eax, [ebp - 0x238]
push str.Current_style__d
call fcn.00418ebf
mov eax, dword [ebp - 0x238]
cmp dword [eax - 4], 1
pop ecx
pop ecx
push 1
jle 0x449d90
push dword [eax - 0xc]
lea eax, [ebp - 0x238]
push eax
call fcn.00418cc4
mov eax, dword [ebp - 0x238]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x23c], esp
push eax
call fcn.0040a4c4
call fcn.004437b3
cmp byte [ebp - 0x22d], bl
jne 0x449e05
lea eax, [ebp - 0x22c]
push eax
mov dword [ebp - 0x22c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x449dd2
cmp dword [ebp - 0x228], 6
jae 0x449e05
cmp dword [0x4bfb94], ebx
je 0x449dfb
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x23c], esp
push str.Theme_on__turning_off.
call fcn.00409f78
mov ecx, 0x4bfcf0
call fcn.004437f6
push edi
push edi
push dword [esi]
call dword [sym.imp.UxTheme.dll_SetWindowTheme]
mov eax, dword [ebp - 0x234]
or eax, dword [ebp - 0x18]
push eax
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [ebp - 0x18], 8
jne 0x449e30
push 0x1e
push 1
push 0x40a
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
call fcn.00404bd4
lea esi, [ebp - 0x10c]
call fcn.0043ac32
call fcn.00474f44
ret 4