Function at 0x4522b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5832a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x384
push ebx
push esi
push edi
push 0x1f0
xor ebx, ebx
lea eax, [ebp - 0x278]
push ebx
push eax
mov esi, ecx
call fcn.00555020
add esp, 0xc
push ebx
lea ecx, [ebp - 0x27c]
push ecx
push 0x1f4
push 0x29
mov dword [ebp - 0x27c], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp eax, ebx
je 0x452448
push 0x58
lea edx, [ebp - 0x84]
push ebx
push edx
mov dword [ebp - 0x88], ebx
call fcn.00555020
mov eax, dword [esi + 0x10]
add esp, 0xc
cmp eax, ebx
je 0x452340
lea ecx, [ebp - 0x88]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [ebp - 0x88]
cmp edx, dword [ebp - 0x19c]
jne 0x4523f6
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x198]
jne 0x4523f6
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [ebp - 0x194]
jne 0x4523f6
mov edx, dword [ebp - 0x7c]
cmp edx, dword [ebp - 0x190]
jne 0x4523f6
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x18c]
jne 0x4523f6
mov cl, byte [ebp - 0x74]
cmp cl, byte [ebp - 0x188]
jne 0x4523f6
mov dl, byte [ebp - 0x73]
cmp dl, byte [ebp - 0x187]
jne 0x4523f6
mov al, byte [ebp - 0x72]
cmp al, byte [ebp - 0x186]
jne 0x4523f6
mov cl, byte [ebp - 0x71]
cmp cl, byte [ebp - 0x185]
jne 0x4523f6
mov dl, byte [ebp - 0x70]
cmp dl, byte [ebp - 0x184]
jne 0x4523f6
mov al, byte [ebp - 0x6f]
cmp al, byte [ebp - 0x183]
jne 0x4523f6
mov cl, byte [ebp - 0x6e]
cmp cl, byte [ebp - 0x182]
jne 0x4523f6
mov dl, byte [ebp - 0x6d]
cmp dl, byte [ebp - 0x181]
jne 0x4523f6
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x452448
lea edx, [ebp - 0x19c]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov edi, eax
cmp edi, ebx
je 0x452448
cmp dword [esi + 0x10], ebx
je 0x45241f
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
je 0x45241f
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x452431
cmp eax, edi
je 0x452431
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
mov eax, edi
push eax
mov dword [esi + 0x10], edi
mov ecx, dword [esi - 0x268]
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, ebx
je 0x452454
lea eax, [esi - 0x26c]
jmp 0x452456
xor eax, eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x10]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x424
lea edx, [ebp - 0x20]
push edx
push 0xffffffffffffffff
push 0x59d11c
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cmp eax, 4
jge 0x4524e0
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea edx, [ebp - 0x20]
push edx
push 0xffffffffffffffff
push 0x59d118
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [esi + 0x14], eax
jmp 0x4524e3
mov dword [esi + 0x14], ebx
mov ecx, dword [ebp - 0x10]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x110
lea edx, [ebp - 0x38c]
push ebx
push edx
mov dword [ebp - 0x390], 0x114
call fcn.00555020
add esp, 0xc
lea eax, [ebp - 0x390]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x38c]
cmp eax, 5
jne 0x452530
cmp dword [ebp - 0x388], 1
jae 0x452532
jmp 0x45255b
jbe 0x45255b
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 0x1022
mov dword [ebp - 0x10], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp eax, ebx
je 0x452556
cmp dword [ebp - 0x10], ebx
je 0x452556
mov eax, 1
jmp 0x452558
xor eax, eax
mov byte [esi + 0x18], al
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
push edi
push edx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret