Function at 0x450980
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5020b4
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x468ad0
call fcn.004dbbc8
mov dword [ebp - 0x1b4], ebx
push 0x150
push ebx
lea eax, [ebp - 0x1b0]
push eax
call fcn.004dba80
add esp, 0x10
mov dword [ebp - 0x1b4], 0x154
push ebx
lea ecx, [ebp - 0x1b4]
push ecx
push 0x154
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp eax, ebx
je 0x450b4d
mov dword [ebp - 0x60], ebx
push 0x38
push ebx
lea edx, [ebp - 0x5c]
push edx
call fcn.004dba80
add esp, 0xc
cmp dword [edi + 0x10], ebx
je 0x450a27
lea eax, [ebp - 0x60]
push eax
lea ecx, [edi + 0x10]
call fcn.0044f850
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [ebp - 0x114]
jne 0x450ad7
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 0x110]
jne 0x450ad7
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x10c]
jne 0x450ad7
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebp - 0x108]
jne 0x450ad7
mov edx, dword [ebp - 0x50]
cmp edx, dword [ebp - 0x104]
jne 0x450ad7
mov al, byte [ebp - 0x4c]
cmp al, byte [ebp - 0x100]
jne 0x450ad7
mov cl, byte [ebp - 0x4b]
cmp cl, byte [ebp - 0xff]
jne 0x450ad7
mov dl, byte [ebp - 0x4a]
cmp dl, byte [ebp - 0xfe]
jne 0x450ad7
mov al, byte [ebp - 0x49]
cmp al, byte [ebp - 0xfd]
jne 0x450ad7
mov cl, byte [ebp - 0x48]
cmp cl, byte [ebp - 0xfc]
jne 0x450ad7
mov dl, byte [ebp - 0x47]
cmp dl, byte [ebp - 0xfb]
jne 0x450ad7
mov al, byte [ebp - 0x46]
cmp al, byte [ebp - 0xfa]
jne 0x450ad7
mov cl, byte [ebp - 0x45]
cmp cl, byte [ebp - 0xf9]
jne 0x450ad7
lea edx, [ebp - 0xf8]
push edx
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x450b4d
mov dword [ebp - 0x104], 0x190
mov dword [ebp - 0x114], 0x11
mov ecx, dword [0x513e8c]
mov dword [ebp - 0xf8], ecx
mov edx, dword [0x513e90]
mov dword [ebp - 0xf4], edx
mov eax, dword [0x513e94]
mov dword [ebp - 0xf0], eax
mov cl, byte [0x513e98]
mov byte [ebp - 0xec], cl
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [ebp - 0x24c], eax
cmp eax, ebx
je 0x450b4d
cmp dword [edi + 0x10], ebx
je 0x450b44
lea ecx, [edi + 0x10]
call fcn.0044f830
mov eax, dword [ebp - 0x24c]
push eax
lea ecx, [edi + 0x10]
call fcn.0044f800
cmp edi, ebx
je 0x450b56
lea eax, [edi - 0x24]
jmp 0x450b58
xor eax, eax
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x254]
call fcn.0044fd90
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x10]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push 0x424
lea edx, [ebp - 0x24]
push edx
push 0xffffffffffffffff
push 0x518bb8
mov eax, dword [ebp - 0x254]
push eax
mov esi, dword [sym.imp.USER32.dll_DrawTextA]
call esi
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
cmp ecx, 4
jge 0x450be6
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea eax, [ebp - 0x24]
push eax
push 0xffffffffffffffff
push 0x516aa0
mov ecx, dword [ebp - 0x254]
push ecx
call esi
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x24]
mov dword [edi + 0x14], edx
jmp 0x450be9
mov dword [edi + 0x14], ebx
mov eax, dword [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x248], 0x94
push 0x90
push ebx
lea edx, [ebp - 0x244]
push edx
call fcn.004dba80
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x244]
cmp eax, 5
jne 0x450c3f
cmp dword [ebp - 0x240], 1
jae 0x450c41
jmp 0x450c73
jbe 0x450c73
mov dword [ebp - 0x24c], ebx
push ebx
lea ecx, [ebp - 0x24c]
push ecx
push ebx
push 0x1022
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp eax, ebx
je 0x450c6e
cmp dword [ebp - 0x24c], ebx
je 0x450c6e
mov eax, 1
jmp 0x450c70
xor eax, eax
mov byte [edi + 0x18], al
push 4
call fcn.004dc69d
add esp, 4
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x450c8f
mov dword [eax], ebx
jmp 0x450c91
xor eax, eax
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x24c]
call fcn.0045c070
mov byte [ebp - 4], 3
lea edx, [ebp - 0x24c]
push edx
lea ecx, [edi + 0x2c]
call fcn.00450540
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.004504f0
cmp dword [edi + 0x2c], ebx
je 0x450ccf
mov esi, dword [edi + 0x2c]
mov esi, dword [esi]
jmp 0x450cd1
xor esi, esi
push 0xa
push 0xa
push 0x21
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [esi], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x254]
call fcn.0044fdf0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret