Function at 0x423df0
Capabilities:
Check os version

Disassembly:
push 0x394
mov eax, 0x446f2b
call fcn.00437296
mov edi, 0x1f8
mov esi, ecx
mov ebx, edi
call fcn.00425dac
lea ecx, [edi - 4]
test al, al
jne 0x423e16
mov ebx, ecx
mov dword [ebp - 0x268], ebx
push ecx
xor ebx, ebx
lea eax, [ebp - 0x264]
push ebx
push eax
call fcn.00437340
add esp, 0xc
push ebx
lea eax, [ebp - 0x268]
push eax
push edi
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp eax, ebx
je 0x423fa9
push 0x58
lea eax, [ebp - 0x6c]
push ebx
push eax
mov dword [ebp - 0x70], ebx
call fcn.00437340
mov eax, dword [esi + 0xa4]
add esp, 0xc
cmp eax, ebx
je 0x423e71
lea ecx, [ebp - 0x70]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x188]
jne 0x423f25
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x184]
jne 0x423f25
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x180]
jne 0x423f25
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x17c]
jne 0x423f25
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x178]
jne 0x423f25
mov al, byte [ebp - 0x5c]
cmp al, byte [ebp - 0x174]
jne 0x423f25
mov al, byte [ebp - 0x5b]
cmp al, byte [ebp - 0x173]
jne 0x423f25
mov al, byte [ebp - 0x5a]
cmp al, byte [ebp - 0x172]
jne 0x423f25
mov al, byte [ebp - 0x59]
cmp al, byte [ebp - 0x171]
jne 0x423f25
mov al, byte [ebp - 0x58]
cmp al, byte [ebp - 0x170]
jne 0x423f25
mov al, byte [ebp - 0x57]
cmp al, byte [ebp - 0x16f]
jne 0x423f25
mov al, byte [ebp - 0x56]
cmp al, byte [ebp - 0x16e]
jne 0x423f25
mov al, byte [ebp - 0x55]
cmp al, byte [ebp - 0x16d]
jne 0x423f25
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x423fa9
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebp - 0x388], eax
cmp eax, ebx
je 0x423fa9
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esi + 0xa4], ebx
je 0x423f5c
push dword [esi + 0xa4]
call edi
cmp eax, ebx
je 0x423f5c
mov dword [esi + 0xa4], ebx
mov eax, dword [esi + 0xa4]
cmp eax, ebx
je 0x423f71
cmp eax, dword [ebp - 0x388]
je 0x423f71
push eax
call edi
mov eax, dword [ebp - 0x388]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
mov dword [esi + 0xa4], eax
push dword [esi + 4]
call edi
push 0x44e394
push ebx
push 0x44d
push dword [esi + 4]
call edi
push ebx
push ebx
push 0x421
push dword [esi + 4]
call edi
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x38c], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov dword [ebp - 0x390], eax
mov dword [ebp - 4], ebx
push dword [esi + 0xa4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
push 0x424
mov dword [ebp - 0x388], eax
lea eax, [ebp - 0x3a0]
push eax
push 0xffffffffffffffff
push 0x44e39c
push dword [ebp - 0x390]
mov dword [ebp - 0x3a0], ebx
mov dword [ebp - 0x39c], ebx
mov dword [ebp - 0x398], ebx
mov dword [ebp - 0x394], ebx
call edi
mov eax, dword [ebp - 0x398]
sub eax, dword [ebp - 0x3a0]
cmp eax, 4
jge 0x42405b
lea eax, [ebp - 0x3a0]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea eax, [ebp - 0x3a0]
push eax
push 0xffffffffffffffff
push 0x44e3a0
push dword [ebp - 0x390]
call edi
mov eax, dword [ebp - 0x398]
sub eax, dword [ebp - 0x3a0]
mov dword [esi + 0xb0], eax
jmp 0x424061
mov dword [esi + 0xb0], ebx
push dword [ebp - 0x388]
push dword [ebp - 0x390]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x110
lea eax, [ebp - 0x37c]
push ebx
push eax
mov dword [ebp - 0x380], 0x114
call fcn.00437340
add esp, 0xc
lea eax, [ebp - 0x380]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x37c], 5
jb 0x424152
push ebx
lea eax, [ebp - 0x388]
push eax
push ebx
push 0x100a
mov dword [ebp - 0x388], 1
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x4240da
cmp dword [ebp - 0x388], ebx
jne 0x4240da
mov al, 1
jmp 0x4240dc
xor al, al
and al, 1
or al, 4
lea edi, [esi + 0x85]
mov cl, byte [edi]
add al, al
and cl, 0xfd
or al, cl
mov byte [edi], al
shr al, 1
not al
and al, 1
call fcn.004242db
cmp dword [ebp - 0x37c], 5
jne 0x424115
cmp dword [ebp - 0x378], 1
jae 0x424117
cmp dword [ebp - 0x37c], 5
jbe 0x424152
push ebx
lea eax, [ebp - 0x388]
push eax
push ebx
push 0x1022
mov dword [ebp - 0x388], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x424141
cmp dword [ebp - 0x388], ebx
je 0x424141
mov al, 1
jmp 0x424143
xor al, al
lea edi, [esi + 0x85]
mov cl, byte [edi]
xor cl, al
and cl, 1
xor byte [edi], cl
call fcn.00425dac
test al, al
je 0x424234
call fcn.00425e93
test al, al
je 0x424234
test byte [esi + 0x58], 0x10
jne 0x424234
push str.uxtheme.dll
mov byte [ebp - 0x381], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x388], eax
cmp eax, ebx
je 0x424211
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsThemeActive
push eax
call edi
cmp eax, ebx
je 0x4241b1
call eax
mov byte [ebp - 0x381], 1
test eax, eax
jne 0x4241b7
mov byte [ebp - 0x381], bl
push str.IsAppThemed
push dword [ebp - 0x388]
call edi
cmp byte [ebp - 0x381], bl
je 0x4241dd
cmp eax, ebx
je 0x4241dd
call eax
mov byte [ebp - 0x381], 1
test eax, eax
jne 0x4241e3
mov byte [ebp - 0x381], bl
push dword [ebp - 0x388]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebp - 0x381], bl
jne 0x424211
test byte [esi + 0x86], 1
je 0x424211
cmp dword [esi + 0x44], ebx
je 0x424211
cmp dword [esi + 0x50], ebx
jle 0x424211
mov edi, esi
call fcn.00424323
add esi, 0x86
mov al, byte [esi]
xor al, byte [ebp - 0x381]
and al, 1
xor byte [esi], al
lea esi, [ebp - 0x390]
call fcn.00425ec2
call fcn.00437319
ret
mov byte [ebp - 0x381], bl
jmp 0x4241f7