Function at 0x23a0b990
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x23a44de6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x23a7ca94]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
call sub.mfc90u.dll_CView::OnInitialUpdate
mov eax, dword [esi]
mov edx, dword [eax + 0x194]
mov ecx, esi
call edx
mov ebp, eax
push 1
mov ecx, ebp
call dword [sym.imp.XTToolkitPro.dll_public:_void___thiscall_CXTPCalendarControl::EnableMarkup_int_]
xor ebx, ebx
push ebx
mov ecx, ebp
call dword [sym.imp.XTToolkitPro.dll_public:_void___thiscall_CXTPCalendarControl::EnableToolTips_int_]
mov eax, dword [ebp]
mov edx, dword [eax + 0x150]
push 3
mov ecx, ebp
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x194]
mov ecx, esi
call edx
mov ecx, eax
call dword [sym.imp.XTToolkitPro.dll_public:_class_CXTPCalendarTheme____thiscall_CXTPCalendarControl::GetTheme_void_const]
push eax
call dword [sym.imp.XTToolkitPro.dll_public:_static_struct_CRuntimeClass____stdcall_CXTPCalendarThemeOffice2007::GetThisClass_void_]
push eax
call sub.mfc90u.dll_AfxDynamicDownCast
add esp, 8
cmp eax, ebx
je 0x23a0ba5a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xf8]
call eax
mov edi, eax
cmp edi, ebx
je 0x23a0ba5a
push ebx
mov ebx, dword [sym.imp.XTToolkitPro.dll_public:_int___thiscall_CXTPImageManager::SetIcon_unsigned_int__unsigned_int__class_CSize__enum_XTPImageState_]
mov eax, 0x10
mov ecx, eax
push ecx
push eax
push 0xfffffffffffffffc
push 0x6a
mov ecx, edi
call ebx
mov eax, 0x10
push 0
mov ecx, eax
push ecx
push eax
push 0xfffffffffffffffb
push 0x59cd
mov ecx, edi
call ebx
xor ebx, ebx
mov ecx, ebp
call dword [sym.imp.XTToolkitPro.dll_public:_class_CXTPCalendarOptions____thiscall_CXTPCalendarControl::GetCalendarOptions_void_const]
cmp eax, ebx
je 0x23a0ba8a
mov ecx, eax
mov dword [eax + 0x16c], 1
mov dword [eax + 0x164], ebx
mov dword [eax + 0x5c], ebx
mov dword [eax + 0x58], ebx
mov dword [eax + 0x60], ebx
mov dword [eax + 0x64], ebx
call dword [sym.imp.XTToolkitPro.dll_public:_void___thiscall_CXTPCalendarOptions::OnOptionsChanged_void_]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x23a5d3e4
call dword [0x23a4c9f0]
mov edx, dword [esi]
mov eax, dword [edx + 0x198]
push ebx
mov ecx, esi
mov dword [esp + 0x34], ebx
call eax
mov edi, dword [sym.imp.XTToolkitPro.dll_public:_void___thiscall_CXTPCalendarCaptionBarControl::SetButtonText_int__class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____]
or ebx, 0xffffffff
mov ecx, eax
mov dword [esp + 0x34], ebx
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x23a5d3e4
call dword [0x23a4c9f0]
mov edx, dword [esi]
mov eax, dword [edx + 0x198]
push 1
mov ecx, esi
mov dword [esp + 0x34], 1
call eax
mov ecx, eax
mov dword [esp + 0x34], ebx
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x23a5d3e4
call dword [0x23a4c9f0]
mov edx, dword [esi]
mov eax, dword [edx + 0x198]
push 2
mov ecx, esi
mov dword [esp + 0x34], 2
call eax
mov ecx, eax
mov dword [esp + 0x34], ebx
call edi
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_class]
push 0x9d
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::LoadStringW]
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call dword [0x23a4c9f4]
mov eax, dword [esi]
mov edx, dword [eax + 0x198]
push 3
mov ecx, esi
mov byte [esp + 0x34], 4
call edx
mov ecx, eax
mov byte [esp + 0x34], 3
call edi
push 0x9c
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::LoadStringW]
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call dword [0x23a4c9f4]
mov byte [esp + 0x30], 5
mov edx, dword [esi]
mov eax, dword [edx + 0x198]
push 6
mov ecx, esi
call eax
mov ecx, eax
mov byte [esp + 0x34], 3
call edi
mov edi, dword [esi + 0x54]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push str.View
push str.Calendar
mov ecx, 0x23a7d0a4
call dword [sym.imp.XTToolkitPro.dll_public:_int___thiscall_CXTPRegistryManager::GetProfileBinary_wchar_t_const___wchar_t_const___unsigned_char____unsigned_int__]
test eax, eax
je 0x23a0bc7c
cmp dword [esp + 0x1c], 0x24
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 5]
mov byte [esi + 0x365], cl
movzx edx, byte [eax + 6]
mov byte [esi + 0x366], dl
movzx ecx, byte [eax + 4]
mov byte [esi + 0x364], cl
movzx edx, byte [eax + 7]
mov ebx, eax
mov byte [esi + 0x367], dl
jne 0x23a0bc48
mov cl, byte [eax + 9]
mov byte [esi + 0x368], cl
mov edx, dword [eax + 0xc]
mov dword [esi + 0x36c], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x370], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x374], edx
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x378], ecx
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x37c], edx
mov ecx, dword [edi + 0x58]
mov edx, dword [eax + 0x20]
mov dword [ecx + 0x18], edx
mov eax, dword [esi]
mov edx, dword [eax + 0x1a4]
xor ecx, ecx
cmp byte [ebx + 8], cl
setne cl
push ecx
mov ecx, esi
call edx
mov ecx, dword [ebx]
mov eax, dword [ebp]
mov edx, dword [eax + 0x158]
push ecx
mov ecx, ebp
call edx
mov eax, dword [esp + 0x18]
push eax
call sub.mfc90u.dll_delete
add esp, 4
jmp 0x23a0bc99
mov edx, dword [esi]
mov eax, dword [edx + 0x1a4]
push 1
mov ecx, esi
call eax
mov edx, dword [ebp]
mov eax, dword [edx + 0x158]
push 4
mov ecx, ebp
call eax
mov ecx, dword [esi + 0x370]
push ecx
mov ecx, dword [0x23a7cc14]
push 0x1b2
call fcn.23a1b8b0
mov edx, dword [esi + 0x374]
mov ecx, dword [0x23a7cc14]
push edx
push 0x1b0
call fcn.23a1b8b0
mov eax, dword [esi + 0x378]
mov ecx, dword [0x23a7cc14]
push eax
push 0x1ae
call fcn.23a1b8b0
mov ecx, dword [esi + 0x36c]
push ecx
mov ecx, dword [0x23a7cc14]
push 0x1ac
call fcn.23a1b8b0
mov edx, dword [esi + 0x37c]
mov ecx, dword [0x23a7cc14]
push edx
push 0x1aa
call fcn.23a1b8b0
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x18]
push ecx
lea edx, [esp + 0x18]
push 0x23a4e4e0
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format_1]
mov ecx, dword [0x23a7cc14]
mov ecx, dword [ecx + 0x93c]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.XTToolkitPro.dll_public:_void___thiscall_CXTPControlComboBox::SetEditText_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
push 1
mov ecx, ebp
call dword [sym.imp.XTToolkitPro.dll_public:_void___thiscall_CXTPCalendarControl::WeekView_SetShowEndDate_int_]
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 ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret