Function at 0x45f210
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x48841b
mov eax, dword fs:[0]
push eax
sub esp, 0x38c
mov eax, dword [0x4ace70]
xor eax, esp
mov dword [esp + 0x388], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x3a0]
mov dword fs:[0], eax
push 0x1f0
xor edi, edi
lea eax, [esp + 0x9c]
push edi
push eax
mov esi, ecx
mov dword [esp + 0xa0], 0x1f4
call fcn.0046a210
add esp, 0xc
push edi
lea ecx, [esp + 0x98]
push ecx
push 0x1f4
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp eax, edi
je 0x45f414
push 0x58
lea edx, [esp + 0x40]
push edi
push edx
mov dword [esp + 0x44], edi
call fcn.0046a210
mov eax, dword [esi + 0xa4]
add esp, 0xc
cmp eax, edi
je 0x45f2ba
lea ecx, [esp + 0x38]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x38]
cmp edx, dword [esp + 0x174]
jne 0x45f392
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x178]
jne 0x45f392
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x17c]
jne 0x45f392
mov edx, dword [esp + 0x44]
cmp edx, dword [esp + 0x180]
jne 0x45f392
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x184]
jne 0x45f392
mov cl, byte [esp + 0x4c]
cmp cl, byte [esp + 0x188]
jne 0x45f392
mov dl, byte [esp + 0x4d]
cmp dl, byte [esp + 0x189]
jne 0x45f392
mov al, byte [esp + 0x4e]
cmp al, byte [esp + 0x18a]
jne 0x45f392
mov cl, byte [esp + 0x4f]
cmp cl, byte [esp + 0x18b]
jne 0x45f392
mov dl, byte [esp + 0x50]
cmp dl, byte [esp + 0x18c]
jne 0x45f392
mov al, byte [esp + 0x51]
cmp al, byte [esp + 0x18d]
jne 0x45f392
mov cl, byte [esp + 0x52]
cmp cl, byte [esp + 0x18e]
jne 0x45f392
mov dl, byte [esp + 0x53]
cmp dl, byte [esp + 0x18f]
jne 0x45f392
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x45f414
lea edx, [esp + 0x174]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebx, eax
cmp ebx, edi
je 0x45f414
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esi + 0xa4], edi
je 0x45f3c7
mov eax, dword [esi + 0xa4]
push eax
call ebp
cmp eax, edi
je 0x45f3c7
mov dword [esi + 0xa4], edi
mov eax, dword [esi + 0xa4]
cmp eax, edi
je 0x45f3d8
cmp eax, ebx
je 0x45f3d8
push eax
call ebp
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov eax, ebx
push eax
mov dword [esi + 0xa4], ebx
mov ecx, dword [esi + 4]
push 0x30
push ecx
call edi
mov edx, dword [esi + 4]
push 0x4914c0
push 0
push 0x44d
push edx
call edi
mov eax, dword [esi + 4]
push 0
push 0
push 0x421
push eax
call edi
xor edi, edi
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebp, eax
mov dword [esp + 0x2c], ebp
mov eax, dword [esi + 0xa4]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebp
mov dword [esp + 0x3b0], edi
call ebx
push 0x424
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 0x4914bc
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
push ebp
mov dword [esp + 0x28], eax
call edi
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
cmp edx, 4
jge 0x45f4ad
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 0x4914b8
push ebp
call edi
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
mov dword [esi + 0xb0], edx
jmp 0x45f4b7
mov dword [esi + 0xb0], 0
mov eax, dword [esp + 0x14]
push eax
push ebp
call ebx
push 0x110
xor edi, edi
lea ecx, [esp + 0x290]
push edi
push ecx
mov dword [esp + 0x294], 0x114
call fcn.0046a210
add esp, 0xc
lea edx, [esp + 0x288]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x28c]
cmp eax, 5
jb 0x45f5a3
push edi
lea eax, [esp + 0x18]
push eax
push edi
push 0x100a
mov dword [esp + 0x24], 1
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x45f528
cmp dword [esp + 0x14], edi
jne 0x45f528
mov al, 1
jmp 0x45f52a
xor al, al
mov cl, byte [esi + 0x85]
and al, 1
or al, 4
add al, al
and cl, 0xfd
or al, cl
mov byte [esi + 0x85], al
shr al, 1
not al
and al, 1
movzx edx, al
push edx
mov ecx, esi
call fcn.0045e410
mov eax, dword [esp + 0x28c]
cmp eax, 5
jne 0x45f56a
cmp dword [esp + 0x290], 1
jae 0x45f56c
jmp 0x45f5a3
jbe 0x45f5a3
push edi
lea eax, [esp + 0x18]
push eax
push edi
push 0x1022
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x45f590
cmp dword [esp + 0x14], edi
je 0x45f590
mov al, 1
jmp 0x45f592
xor al, al
mov cl, byte [esi + 0x85]
xor cl, al
and cl, 1
xor byte [esi + 0x85], cl
call fcn.0045b720
test al, al
je 0x45f5fe
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edi
call fcn.0045b6b0
add esp, 8
test eax, eax
jl 0x45f5fe
cmp dword [esp + 0x14], 6
jb 0x45f5fe
test byte [esi + 0x58], 0x10
jne 0x45f5fe
push str.uxtheme.dll
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x45f64b
push str.IsThemeActive
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45f602
call eax
test eax, eax
je 0x45f602
jmp 0x45f604
xor bl, bl
jmp 0x45f62f
xor bl, bl
push str.IsAppThemed
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test bl, bl
je 0x45f622
test eax, eax
je 0x45f622
call eax
test eax, eax
je 0x45f622
mov bl, 1
jmp 0x45f624
xor bl, bl
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test bl, bl
jne 0x45f64b
test byte [esi + 0x86], 1
je 0x45f64b
cmp dword [esi + 0x44], 0
je 0x45f64b
cmp dword [esi + 0x50], 0
jle 0x45f64b
mov ecx, esi
call fcn.0045e470
mov cl, byte [esi + 0x86]
mov edx, dword [esp + 0x28]
xor cl, bl
push ebp
and cl, 1
xor byte [esi + 0x86], cl
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x3a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x388]
xor ecx, esp
call fcn.00469e0a
add esp, 0x398
ret