Function at 0x424410
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x150
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x1a4], 0x154
push 0
push eax
mov edi, ecx
call fcn.00530cf0
add esp, 0xc
lea eax, [ebp - 0x1a4]
push 0
push eax
mov eax, dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0x154
push 0x29
mov dword [ebp - 0x23c], eax
call eax
mov esi, dword [edi + 0xa8]
test esi, esi
je 0x424494
push 0x3c
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.00530cf0
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push 0x3c
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0x50]
jmp 0x424579
test eax, eax
je 0x4245ed
push 0x3c
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.00530cf0
mov eax, dword [edi + 0xa4]
add esp, 0xc
test eax, eax
je 0x4244c3
lea ecx, [ebp - 0x50]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x104]
jne 0x424573
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x100]
jne 0x424573
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0xfc]
jne 0x424573
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0xf8]
jne 0x424573
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0xf4]
jne 0x424573
mov al, byte [ebp - 0x3c]
cmp al, byte [ebp - 0xf0]
jne 0x424573
mov al, byte [ebp - 0x3b]
cmp al, byte [ebp - 0xef]
jne 0x424573
mov al, byte [ebp - 0x3a]
cmp al, byte [ebp - 0xee]
jne 0x424573
mov al, byte [ebp - 0x39]
cmp al, byte [ebp - 0xed]
jne 0x424573
mov al, byte [ebp - 0x38]
cmp al, byte [ebp - 0xec]
jne 0x424573
mov al, byte [ebp - 0x37]
cmp al, byte [ebp - 0xeb]
jne 0x424573
mov al, byte [ebp - 0x36]
cmp al, byte [ebp - 0xea]
jne 0x424573
mov al, byte [ebp - 0x35]
cmp al, byte [ebp - 0xe9]
jne 0x424573
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4245ed
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov esi, eax
test esi, esi
je 0x4245ed
mov eax, dword [edi + 0xa4]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4245a7
push eax
call ebx
test eax, eax
je 0x4245a7
mov dword [edi + 0xa4], 0
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x4245b8
cmp eax, esi
je 0x4245b8
push eax
call ebx
push 1
push esi
push 0x30
mov dword [edi + 0xa4], esi
push dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
call esi
push 0x572190
push 0
push 0x41c
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 - 0x248], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push dword [edi + 0xa4]
mov esi, eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov dword [ebp - 0x244], eax
call eax
mov ebx, dword [sym.imp.USER32.dll_DrawTextA]
xorps xmm0, xmm0
push 0x424
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
push 0x5707c4
push esi
movups xmmword [ebp - 0x14], xmm0
call ebx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
cmp eax, 4
jge 0x424669
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
push 0x572194
push esi
call ebx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
jmp 0x42466b
xor eax, eax
mov dword [edi + 0xb4], eax
push dword [ebp - 0x240]
push esi
call dword [ebp - 0x244]
push 0x90
lea eax, [ebp - 0x234]
mov dword [ebp - 0x238], 0x94
push 0
push eax
call fcn.00530cf0
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x234]
mov ebx, dword [ebp - 0x23c]
cmp eax, 5
jb 0x424769
push 0
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 1
push eax
push 0
push 0x100a
call ebx
test eax, eax
je 0x4246ed
cmp dword [ebp - 0x240], 0
jne 0x4246ed
mov cl, 2
jmp 0x4246ef
xor cl, cl
mov al, byte [edi + 0x85]
and al, 0xfd
or al, cl
mov ecx, edi
or al, 8
mov byte [edi + 0x85], al
shr al, 1
not al
and al, 1
movzx eax, al
push eax
call fcn.0042be30
mov eax, dword [ebp - 0x234]
cmp eax, 5
jne 0x424728
cmp dword [ebp - 0x230], 1
jae 0x42472a
jmp 0x424769
jbe 0x424769
push 0
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0
push eax
push 0
push 0x1022
call ebx
test eax, eax
je 0x424757
cmp dword [ebp - 0x23c], 0
je 0x424757
mov cl, 1
jmp 0x424759
xor cl, cl
mov al, byte [edi + 0x85]
and al, 0xfe
or al, cl
mov byte [edi + 0x85], al
push esi
push dword [ebp - 0x248]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005189ad
mov esp, ebp
pop ebp
ret