Function at 0x421ff0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3e1b
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x4e4738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x110
lea eax, [ebp - 0x4a4]
mov dword [ebp - 0x4a8], 0x114
push 0
push eax
mov esi, 0x1f8
call fcn.004aaf60
add esp, 0xc
lea eax, [ebp - 0x4a8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42205e
cmp dword [ebp - 0x4a4], 6
jae 0x422063
mov esi, 0x1f4
push 0x1f4
lea eax, [ebp - 0x274]
mov dword [ebp - 0x278], esi
push 0
push eax
call fcn.004aaf60
add esp, 0xc
lea eax, [ebp - 0x278]
push 0
push eax
push 0x1f8
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x4221fc
push 0x5c
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.004aaf60
mov eax, dword [edi + 0xa4]
add esp, 0xc
test eax, eax
je 0x4220c4
lea ecx, [ebp - 0x80]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x198]
jne 0x422178
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x194]
jne 0x422178
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x190]
jne 0x422178
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x18c]
jne 0x422178
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x188]
jne 0x422178
mov al, byte [ebp - 0x6c]
cmp al, byte [ebp - 0x184]
jne 0x422178
mov al, byte [ebp - 0x6b]
cmp al, byte [ebp - 0x183]
jne 0x422178
mov al, byte [ebp - 0x6a]
cmp al, byte [ebp - 0x182]
jne 0x422178
mov al, byte [ebp - 0x69]
cmp al, byte [ebp - 0x181]
jne 0x422178
mov al, byte [ebp - 0x68]
cmp al, byte [ebp - 0x180]
jne 0x422178
mov al, byte [ebp - 0x67]
cmp al, byte [ebp - 0x17f]
jne 0x422178
mov al, byte [ebp - 0x66]
cmp al, byte [ebp - 0x17e]
jne 0x422178
mov al, byte [ebp - 0x65]
cmp al, byte [ebp - 0x17d]
jne 0x422178
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4221fc
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, eax
test esi, esi
je 0x4221fc
cmp dword [edi + 0xa4], 0
mov ecx, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x4221b6
push dword [edi + 0xa4]
call ecx
mov ecx, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4221b6
mov dword [edi + 0xa4], 0
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x4221c7
cmp eax, esi
je 0x4221c7
push eax
call ecx
push 1
push esi
mov dword [edi + 0xa4], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
push dword [edi + 4]
call esi
push 0x4d5cec
push 0
push 0x44d
push dword [edi + 4]
call esi
push 0
push 0
push 0x421
push dword [edi + 4]
call esi
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0x4b4], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
mov dword [ebp - 0x4b8], esi
mov dword [ebp - 4], 0
push dword [edi + 0xa4]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x424
mov dword [ebp - 0x4b0], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
push 0x4d4070
push esi
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cmp eax, 4
jge 0x422287
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
push 0x4d5cf4
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [edi + 0xb0], eax
jmp 0x422291
mov dword [edi + 0xb0], 0
push dword [ebp - 0x4b0]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x110
lea eax, [ebp - 0x38c]
mov dword [ebp - 0x390], 0x114
push 0
push eax
call fcn.004aaf60
add esp, 0xc
lea eax, [ebp - 0x390]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x38c]
cmp eax, 5
jb 0x422392
push 0
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x4b0], 1
push eax
push 0
push 0x100a
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x42230b
cmp dword [ebp - 0x4b0], 0
jne 0x42230b
mov cl, 1
jmp 0x42230d
xor cl, cl
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.004224d0
mov eax, dword [ebp - 0x38c]
cmp eax, 5
jne 0x42234d
cmp dword [ebp - 0x388], 1
jae 0x42234f
jmp 0x422392
jbe 0x422392
push 0
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x4b0], 0
push eax
push 0
push 0x1022
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x422380
cmp dword [ebp - 0x4b0], 0
je 0x422380
mov cl, 1
jmp 0x422382
xor cl, cl
mov al, byte [edi + 0x85]
xor al, cl
and al, 1
xor byte [edi + 0x85], al
test byte [edi + 0x58], 0x10
jne 0x4223ae
call fcn.0041a980
test al, al
je 0x4223ae
call fcn.0041a9f0
test al, al
je 0x4223ae
mov cl, 1
jmp 0x4223d7
test byte [edi + 0x86], 1
mov byte [ebp - 0x4a9], 0
je 0x4223d1
cmp dword [edi + 0x44], 0
je 0x4223d1
cmp dword [edi + 0x50], 0
jle 0x4223d1
mov ecx, edi
call fcn.00420a10
mov cl, byte [ebp - 0x4a9]
mov al, byte [edi + 0x86]
xor al, cl
push esi
push dword [ebp - 0x4b4]
and al, 1
xor byte [edi + 0x86], al
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a83d2
mov esp, ebp
pop ebp
ret