Function at 0x10022e72
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1007d32c
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x100e5038]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push dword [edi + 0x18]
call sub.mfc90u.dll_CDC::FromHandle
mov dword [esp + 0x18], eax
lea eax, [edi + 0x1c]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
xor ebx, ebx
push ebx
push 0xffffff
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x24]
lea ecx, [esp + 0x60]
call sym.ASOHelper.dll_public:_void___thiscall_CXTMemDC::constructor_class_CDC___class_CRect_const___unsigned_long_int__int_
mov dword [esp + 0x90], ebx
cmp dword [esi + 0x114], ebx
jne 0x10022f17
lea eax, [esi + 0x110]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esi + 0x110]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.mfc90u.dll_CWnd::FromHandle
mov ecx, eax
call sub.mfc90u.dll_CWnd::ScreenToClient
mov eax, dword [edi + 0x10]
mov edx, dword [esi]
mov dword [esp + 0x18], eax
lea eax, [esi + 0x94]
push eax
mov ecx, esi
call dword [edx + 0x154]
test byte [0x100ed3b8], 1
mov edi, 0x100ed3a8
jne 0x10022f6a
or dword [0x100ed3b8], 1
push 0x448
push edi
mov byte [esp + 0x98], 1
call fcn.10012fdd
push 0x10094dbf
call fcn.10074317
pop ecx
mov byte [esp + 0x90], 0
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
push 0xcc0020
push edi
push eax
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
push eax
push dword [esi + 0x114]
lea eax, [esp + 0x64]
push dword [esi + 0x110]
push ebx
push ebx
push eax
call sym.ASOHelper.dll_void___cdecl_PaintBMPex_class_CDC___int__int__int__int__int__int__class_CBitmap___int_
add esp, 0x24
push dword [esp + 0x18]
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call sym.ASOHelper.dll_public:_void___thiscall_CLeftSideBtns::PaintBtnNumber_class_CDC___unsigned_int_
push 1
lea ecx, [esp + 0x54]
call sub.mfc90u.dll_CDC::SetBkMode
xor eax, eax
cmp byte [esi + 0x54], al
mov dword [esp + 0x34], ebx
sete al
mov dword [esp + 0x38], 0x96
mov dword [esp + 0x3c], 0x20
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], vtable.CFont.0
dec eax
and eax, 0x12c
add eax, 0x190
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0x120]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x94], 2
call sym.ASOHelper.dll_public:_static_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_CSystweakApp::GetLocalizedAppProgramName_void_
pop ecx
mov byte [esp + 0x90], 3
call sym.ASOHelper.dll_enum_ASO_SUPPORTED_LANG___cdecl_GetCurSelLang_void_
mov edi, 0x10098fdc
cmp eax, 2
jne 0x10023074
push edi
lea eax, [esp + 0x1c]
push str.IDS_G_APP_PRIVPROTCT_NAME
push eax
call sym.ASOHelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STLoadStringFromMainINI_wchar_t_const___wchar_t_const__
add esp, 0xc
mov byte [esp + 0x90], 4
push dword [eax]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x18]
inc bl
mov byte [esp + 0x90], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test bl, bl
je 0x10023074
sub dword [esp + 0x30], 2
add dword [esp + 0x38], 0xa
call sym.ASOHelper.dll_enum_ASO_SUPPORTED_LANG___cdecl_GetCurSelLang_void_
cmp eax, 0xa
jne 0x100230cd
push edi
lea eax, [esp + 0x20]
push str.IDS_G_APP_DISKDOC_NAME
push eax
call sym.ASOHelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STLoadStringFromMainINI_wchar_t_const___wchar_t_const__
add esp, 0xc
mov byte [esp + 0x90], 5
push dword [eax]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x1c]
inc bl
mov byte [esp + 0x90], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test bl, bl
je 0x100230cd
sub dword [esp + 0x30], 2
add dword [esp + 0x38], 0xa
call sym.ASOHelper.dll_enum_ASO_SUPPORTED_LANG___cdecl_GetCurSelLang_void_
cmp eax, 1
je 0x100230e5
call sym.ASOHelper.dll_enum_ASO_SUPPORTED_LANG___cdecl_GetCurSelLang_void_
cmp eax, 5
jne 0x100231cd
push edi
lea eax, [esp + 0x24]
push str.IDS_G_APP_DISKDOC_NAME
push eax
call sym.ASOHelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STLoadStringFromMainINI_wchar_t_const___wchar_t_const__
add esp, 0xc
mov byte [esp + 0x90], 6
push dword [eax]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x20]
inc bl
mov byte [esp + 0x90], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test bl, bl
je 0x10023134
sub dword [esp + 0x30], 7
add dword [esp + 0x38], 0x10
call sym.ASOHelper.dll_enum_ASO_SUPPORTED_LANG___cdecl_GetCurSelLang_void_
cmp eax, 1
jne 0x100231cd
push edi
lea eax, [esp + 0x28]
push str.IDS_G_APP_SCHEDULER_NAME
push eax
mov dword [esi + 0xa8], 0x190
mov dword [esi + 0x98], 0xfffffff5
call sym.ASOHelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STLoadStringFromMainINI_wchar_t_const___wchar_t_const__
add esp, 0xc
mov byte [esp + 0x90], 7
push dword [eax]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x24]
inc bl
mov byte [esp + 0x90], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test bl, bl
je 0x100231b9
sub dword [esp + 0x30], 2
add dword [esp + 0x38], 0xa
mov dword [esi + 0x98], 0xfffffff6
mov dword [esi + 0xa8], 0x190
call sym.ASOHelper.dll_unsigned_long_int___cdecl__winmajor_void_
cmp eax, 6
jae 0x100231cd
sub dword [esp + 0x30], 2
add dword [esp + 0x38], 2
lea eax, [esi + 0x98]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x2c]
call sub.mfc90u.dll_CGdiObject::Attach
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x54]
call dword [eax + 0x30]
push 1
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
lea edi, [esi + 0x94]
push edi
mov dword [esi + 0xf4], 0x2014
call dword [0x10096f20]
push esi
call sym.ASOHelper.dll_int___cdecl_GetTextWidthAndHeightSingleLine_class_CWnd___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_CFont___int_
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x40]
add esp, 0x10
add ecx, 7
cmp eax, ecx
jg 0x1002323d
mov dword [esi + 0xf4], 0x24
mov cl, byte [esi + 0x55]
mov eax, dword [esp + 0x50]
xor edx, edx
add eax, 0x38
test cl, cl
sete dl
lea ecx, [esp + 0x50]
dec edx
and edx, 0xfff6f6f7
add edx, 0xd8cfc6
push edx
call dword [eax]
mov al, byte [esi + 0x55]
test al, al
jne 0x10023276
cmp byte [esi + 0x54], al
jne 0x10023276
mov eax, dword [esi + 0x84]
jmp 0x1002327c
mov eax, dword [esi + 0x88]
push eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x54]
call dword [eax + 0x38]
push dword [esi + 0xf4]
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x34]
push edx
push ecx
push eax
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x60]
call dword [eax + 0x70]
mov eax, dword [esp + 0x50]
push ebx
lea ecx, [esp + 0x54]
call dword [eax + 0x30]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x90], 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], vtable.CFont.0
call fcn.1000c826
or dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x50]
call sym.ASOHelper.dll_public_virtual:_void___thiscall_CXTMemDC::destructor_void_
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4