Function at 0x42ef39
Capabilities:
Check os version

Disassembly:
push 0x384
mov eax, 0x4b2b73
call fcn.0049560c
mov edi, ecx
push 0x1f0
xor ebx, ebx
lea eax, [ebp - 0x26c]
push ebx
mov esi, 0x1f4
push eax
mov dword [ebp - 0x270], esi
call fcn.00491060
add esp, 0xc
lea eax, [ebp - 0x270]
push ebx
push eax
push esi
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x42f0c1
push 0x58
lea eax, [ebp - 0x78]
mov dword [ebp - 0x7c], ebx
push ebx
push eax
call fcn.00491060
lea esi, [edi + 0xb0]
add esp, 0xc
cmp dword [esi], ebx
je 0x42efaf
lea eax, [ebp - 0x7c]
push eax
push 0x5c
push dword [esi]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x190]
jne 0x42f05f
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x18c]
jne 0x42f05f
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x188]
jne 0x42f05f
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x184]
jne 0x42f05f
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x180]
jne 0x42f05f
mov al, byte [ebp - 0x68]
cmp al, byte [ebp - 0x17c]
jne 0x42f05f
mov al, byte [ebp - 0x67]
cmp al, byte [ebp - 0x17b]
jne 0x42f05f
mov al, byte [ebp - 0x66]
cmp al, byte [ebp - 0x17a]
jne 0x42f05f
mov al, byte [ebp - 0x65]
cmp al, byte [ebp - 0x179]
jne 0x42f05f
mov al, byte [ebp - 0x64]
cmp al, byte [ebp - 0x178]
jne 0x42f05f
mov al, byte [ebp - 0x63]
cmp al, byte [ebp - 0x177]
jne 0x42f05f
mov al, byte [ebp - 0x62]
cmp al, byte [ebp - 0x176]
jne 0x42f05f
mov al, byte [ebp - 0x61]
cmp al, byte [ebp - 0x175]
jne 0x42f05f
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42f0c1
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebx, eax
test ebx, ebx
je 0x42f0bf
cmp dword [esi], 0
je 0x42f086
push dword [esi]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x42f086
and dword [esi], 0
push ebx
mov ecx, esi
call fcn.004181e7
push 1
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
push dword [edi + 4]
call esi
push 0x4bd80c
xor ebx, ebx
push ebx
push 0x44d
push dword [edi + 4]
call esi
push ebx
push ebx
push 0x421
push dword [edi + 4]
call esi
jmp 0x42f0c1
xor ebx, ebx
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0x38c], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
mov dword [ebp - 0x390], esi
push dword [edi + 0xb0]
mov dword [ebp - 4], ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
xorps xmm0, xmm0
push 0x424
mov dword [ebp - 0x388], eax
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
push 0x4bd814
push esi
movdqu xmmword [ebp - 0x20], xmm0
call ebx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cmp eax, 4
jge 0x42f148
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
push 0x4bd818
push esi
call ebx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
xor ebx, ebx
mov dword [edi + 0xbc], eax
jmp 0x42f150
xor ebx, ebx
mov dword [edi + 0xbc], ebx
push dword [ebp - 0x388]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push pe_nt_image_headers32
lea eax, [ebp - 0x380]
mov dword [ebp - 0x384], 0x114
push ebx
push eax
call fcn.00491060
add esp, 0xc
lea eax, [ebp - 0x384]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x380]
cmp eax, 5
jb 0x42f244
push ebx
lea eax, [ebp - 0x388]
mov dword [ebp - 0x388], 1
push eax
push ebx
push 0x100a
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x42f1c5
cmp dword [ebp - 0x388], 0
mov cl, 1
je 0x42f1c7
mov cl, bl
mov al, byte [edi + 0x85]
and cl, 1
or cl, 4
and al, 0xfd
add cl, cl
or cl, al
mov byte [edi + 0x85], cl
shr cl, 1
not cl
and cl, 1
movzx eax, cl
mov ecx, edi
push eax
call fcn.0044653b
mov eax, dword [ebp - 0x380]
cmp eax, 5
jne 0x42f207
cmp dword [ebp - 0x37c], 1
jae 0x42f209
cmp eax, eax
jbe 0x42f244
push ebx
lea eax, [ebp - 0x388]
mov dword [ebp - 0x388], ebx
push eax
push ebx
push 0x1022
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x42f232
cmp dword [ebp - 0x388], 0
mov cl, 1
jne 0x42f234
mov cl, bl
mov al, byte [edi + 0x85]
xor al, cl
and al, 1
xor byte [edi + 0x85], al
call fcn.00431a27
test al, al
je 0x42f2b4
call fcn.004317d8
test al, al
je 0x42f2b4
test byte [edi + 0x58], 0x10
jne 0x42f2b4
push str.uxtheme.dll
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42f2d0
push str.IsThemeActive
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42f287
call eax
test eax, eax
je 0x42f287
jmp 0x42f289
xor bl, bl
push str.IsAppThemed
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test bl, bl
je 0x42f2a7
test eax, eax
je 0x42f2a7
call eax
test eax, eax
je 0x42f2a7
mov bl, 1
jmp 0x42f2a9
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test bl, bl
jne 0x42f2d0
test byte [edi + 0x86], 1
je 0x42f2d0
cmp dword [edi + 0x44], 0
je 0x42f2d0
cmp dword [edi + 0x50], 0
jle 0x42f2d0
mov ecx, edi
call fcn.00452ffe
mov al, byte [edi + 0x86]
lea ecx, [ebp - 0x390]
xor al, bl
and al, 1
xor byte [edi + 0x86], al
call fcn.00412a37
call fcn.004955bb
ret