Function at 0x67928780
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6798ffe3
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push esi
push edi
mov edi, ecx
call sym.MfcHlpr520.dll_class_CMHPSystemVersion____stdcall_MHPSystemVersion_void_
mov ecx, eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPSystemVersion::GetComCtlVersion_void_const
shr eax, 0x10
cmp eax, 5
mov ecx, edi
ja 0x67928970
call sub.MFC42.DLL_CWnd::GetStyle
test al, 8
je 0x6792896e
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x6792896e
call sym.MfcHlpr520.dll_class_CMHPSystemVersion____stdcall_MHPSystemVersion_void_
mov ecx, eax
call sym.MfcHlpr520.dll_public:_bool___thiscall_CMHPSystemVersion::IsWinVistaOrGreater_void_const
and eax, 0xff
push edi
lea ecx, [esp + 0x5c]
mov esi, eax
call fcn.6797db2c
lea eax, [esp + 0x58]
lea ecx, [esp + 0x28]
push eax
mov dword [esp + 0xb8], 0
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBufferDC::constructor_class_CPaintDC__
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 1
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPClientRect::constructor_class_CWnd_const__
push 0xf
call sym.MfcHlpr520.dll_private:_static_class_CMHPColorManager____cdecl_CMHPColorManager::Instance_void_
mov ecx, eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPColorManager::GetColor_int_const
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CDC::FillSolidRect_1
mov eax, dword [edi + 0x40]
cmp eax, 2
je 0x67928932
cmp eax, 3
je 0x67928932
push ebx
push ebp
push 0xffffffffffffffff
lea edx, [esp + 0x24]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
sub eax, ecx
shl eax, 1
mov dword [esp + 0x14], ecx
mov ecx, eax
mov eax, 0x55555556
mov ebp, dword [esp + 0x28]
imul ecx
mov ecx, edx
mov eax, dword [edi + 0x44]
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x18], ebp
neg esi
sbb esi, esi
mov ebx, edx
and esi, 0xfffffffe
mov edi, 5
add esi, 2
inc eax
mov dword [esp + 0x10], eax
jmp 0x679288af
mov ebp, dword [esp + 0x28]
cmp eax, ebp
jl 0x679288bc
mov eax, 1
mov dword [esp + 0x10], eax
add eax, ebx
cmp eax, ebp
mov dword [esp + 0x18], eax
jle 0x679288ca
mov dword [esp + 0x18], ebp
push 0xd
call sym.MfcHlpr520.dll_private:_static_class_CMHPColorManager____cdecl_CMHPColorManager::Instance_void_
mov ecx, eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPColorManager::GetColor_int_const
lea edx, [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CDC::FillSolidRect_1
mov eax, dword [esp + 0x18]
add eax, esi
dec edi
mov dword [esp + 0x10], eax
jne 0x679288ab
lea ecx, [esp + 0x30]
mov byte [esp + 0xbc], 0
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPBufferDC::destructor_void_
lea ecx, [esp + 0x60]
mov dword [esp + 0xbc], 0xffffffff
call sub.MFC42.DLL_CPaintDC::CPaintDC
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
add esp, 0xb0
ret
lea ecx, [esp + 0x28]
mov byte [esp + 0xb4], 0
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPBufferDC::destructor_void_
lea ecx, [esp + 0x58]
mov dword [esp + 0xb4], 0xffffffff
call sub.MFC42.DLL_CPaintDC::CPaintDC
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
add esp, 0xb0
ret
mov ecx, edi
call sub.MFC42.DLL_CWnd::Default
mov ecx, dword [esp + 0xac]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xb0
ret