Function at 0x300898cd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x300a31b5
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x3002dd90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x18]
call dword [sym.imp.MSO.dll_Ordinal_4375]
test al, al
je 0x3008abf8
mov eax, dword [edi + 0xc]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 0x1b4
push eax
mov ecx, edi
call fcn.30088b48
test al, al
mov esi, dword [sym.imp.ONMain.DLL_public:_void___stdcall_MsoCF::IPropertySet::GetProperty_struct_MsoCF::PropertyInfo_const___class_MsoCF::CPropertyValue__]
je 0x30089973
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov edx, dword [sym.imp.ONMain.DLL_struct_MsoCF::PropertyInfo_const_Jot::PropertySpace_JotMain::priCtrlTbbs]
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x20]
push ecx
push edx
push eax
mov dword [ebp - 4], ebx
call esi
cmp dword [ebp - 0x20], ebx
je 0x30089954
mov byte [edi + 0x20], 1
mov eax, dword [ebp - 0x18]
mov ecx, eax
shr ecx, 0x19
test cl, 1
mov dword [ebp - 4], 0xffffffff
je 0x30089973
push eax
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.ONMain.DLL_public:_static_void___stdcall_MsoCF::CPropertyData::FreeAndZero_ComplexType_void___enum_MsoCF::PropertyType_]
mov eax, dword [edi + 0xc]
push ebx
push ebx
push ebx
push ebx
push 0x251
push eax
mov ecx, edi
call fcn.30088b48
test al, al
je 0x3008abf8
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x278], ebx
mov edx, dword [sym.imp.ONMain.DLL_struct_MsoCF::PropertyInfo_const_Jot::PropertySpace_Jot11::priStationeryPageGuid]
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x280]
push ecx
push edx
push eax
mov dword [ebp - 4], 1
call esi
cmp dword [ebp - 0x278], 0x687003f
sete al
test al, al
je 0x300899dc
mov eax, dword [ebp - 0x280]
cmp eax, ebx
je 0x300899dc
add eax, 8
jmp 0x300899e1
mov eax, 0x3003f830
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x14], edx
mov edx, dword [sym.imp.ONMain.DLL_struct_MsoCF::PropertyInfo_const_Jot::PropertySpace_Jot11::priStationerySectionGuid]
push ecx
push edx
push eax
call esi
cmp dword [ebp - 0x278], 0x687003f
sete al
test al, al
je 0x30089a2c
mov eax, dword [ebp - 0x280]
cmp eax, ebx
je 0x30089a2c
add eax, 8
jmp 0x30089a31
mov eax, 0x3003f830
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2c], edx
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x24], edx
mov edx, dword [sym.imp.ONMain.DLL_struct_MsoCF::PropertyInfo_const_Jot::PropertySpace_Jot11::priStationerySectionLcid]
push ecx
push edx
push eax
call esi
xor eax, eax
cmp dword [ebp - 0x278], 0x850026
setne al
sub eax, 1
and eax, dword [ebp - 0x280]
cmp byte [edi + 0x20], 0
mov dword [ebp - 0x25c], eax
je 0x3008ab65
mov ecx, dword [edi + 0x18]
call dword [sym.imp.MSO.dll_Ordinal_4794]
lea ecx, [edi + 0x24]
push 0x30088174
call fcn.30013bd3
lea ecx, [edi + 0x24]
call fcn.30013b3f
mov eax, dword [edi + 0xc]
push ebx
push ebx
push ebx
push ebx
push 0x2e8
push eax
mov ecx, edi
mov byte [edi + 0x20], 0
call fcn.30088b48
test al, al
je 0x3008a4d2
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x2b8], ebx
mov dword [ebp - 0x2b4], ebx
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 0x2a8], ebx
mov dword [ebp - 0x2a4], ebx
mov dword [ebp - 0x29c], ebx
mov dword [ebp - 0x298], ebx
mov dword [ebp - 0x294], ebx
mov edx, dword [sym.imp.ONMain.DLL_struct_MsoCF::PropertyInfo_const_Jot::PropertySpace_JotMain::priTemplateNotebookNames]
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x2bc]
push ecx
push edx
push eax
mov byte [ebp - 4], 4
call esi
mov eax, dword [ebp - 0x2b4]
cmp eax, ebx
je 0x3008a4a5
cmp eax, 0x1f001f
je 0x3008a4a5
mov eax, dword [ebp - 0x2b8]
cmp eax, ebx
mov dword [ebp - 0x284], eax
jle 0x3008a4a5
mov edx, dword [sym.imp.ONMain.DLL_struct_MsoCF::PropertyInfo_const_Jot::PropertySpace_JotMain::priTemplateNotebookGuids]
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x2ac]
push ecx
push edx
push eax
call esi
mov eax, dword [ebp - 0x2a4]
cmp eax, ebx
je 0x3008a4a5
cmp eax, 0x1f001f
je 0x3008a4a5
mov eax, dword [ebp - 0x284]
cmp eax, dword [ebp - 0x2a8]
jne 0x3008a4a5
mov edx, dword [sym.imp.ONMain.DLL_struct_MsoCF::PropertyInfo_const_Jot::PropertySpace_JotMain::priTemplateNotebookLcids]
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x29c]
push ecx
push edx
push eax
call esi
mov eax, dword [ebp - 0x294]
cmp eax, ebx
je 0x3008a595
cmp eax, 0x1f001f
je 0x3008a595
mov esi, dword [ebp - 0x284]
cmp esi, dword [ebp - 0x298]
jne 0x3008a595
lea ecx, [edi + 0x30]
call fcn.3007aa58
lea ecx, [edi + 0x3c]
push 0x3000b9ec
mov dword [ebp - 0x264], ecx
call fcn.300131d9
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [edi + 0x6c], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x70], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edi + 0x74], edx
mov edx, dword [ebp - 0x2c]
mov dword [edi + 0x5c], ecx
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x78], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x60], edx
mov edx, dword [ebp - 0x25c]
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], ecx
lea ecx, [ebp - 0x2c8]
mov dword [edi + 0x7c], edx
call fcn.300021ab
lea ecx, [ebp - 0x308]
call fcn.3008610e
lea ecx, [ebp - 0x2f8]
call fcn.3008610e
lea ecx, [ebp - 0x2e8]
call fcn.3004284b
cmp esi, ebx
mov byte [ebp - 4], 8
mov dword [ebp - 0x26c], ebx
jle 0x3008a312
push 1
push 0x114
call sub.ONMain.DLL_void____stdcall_MsoCF::Memory::Allocator::Allocate_int__enum_MsoCF::Memory::FailureStrategy_
mov esi, eax
mov dword [ebp - 0x268], esi
cmp esi, ebx
je 0x30089c8e
mov eax, 0x102
mov dword [esi + 0xc], eax
mov ecx, dword [sym.imp.ONMain.DLL_class_MsoCF::CFastBufferAllocator_MsoCF::g_FastBufferAllocator]
lea edx, [esi + 0x10]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esi + 8], eax
push ebx
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.300054e8
mov eax, esi
jmp 0x30089c90
xor eax, eax
mov dword [ebp - 0x260], eax
mov esi, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x2bc]
shl esi, 4
mov ecx, dword [esi + ecx]
push ebx
add ecx, 8
push eax
push ecx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x310], esi
call dword [sym.imp.ONMain.DLL_void___stdcall_MsoCF::Strings::CopyWzToWz_wchar_t_const___class_MsoCF::CWzInBuffer_T_class_MsoCF::String_struct_MsoCF::WzTraits___class_MsoCF::CBuffer_wchar_t_____int__]
lea edx, [ebp - 0x260]
push edx
lea ecx, [edi + 0x30]
call fcn.3007a5bc
mov eax, dword [ebp - 0x2ac]
mov eax, dword [eax + esi]
cmp eax, ebx
jne 0x30089ce0
call dword [sym.imp.ONMain.DLL_class_MsoCF::IAtom____stdcall_MsoCF::TheEmptyAtom_void_]
mov ecx, dword [ebp - 0x264]
add eax, 8
push eax
call fcn.30088de4
lea ecx, [ebp - 0x288]
push ecx
lea ecx, [edi + 0x4c]
mov dword [ebp - 0x288], ebx
mov dword [ebp - 0x25c], ecx
call fcn.3008819f
mov edx, dword [ebp - 0x26c]
push edx
lea ecx, [edi + 0x30]
call fcn.3006e0f4
mov eax, dword [eax + 4]
cmp word [eax], bx
je 0x3008a2d0
mov edx, dword [sym.imp.ONMain.DLL_class_MsoCF::CFastBufferAllocator_MsoCF::g_FastBufferAllocator]
mov eax, 0x102
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x13c], eax
mov word [ebp - 0x134], bx
mov eax, dword [ebp - 0x26c]
lea edx, [ebp - 0x35c]
push edx
push eax
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.300881f8
test al, al
je 0x30089df6
mov ecx, dword [ebp - 0x25c]
mov eax, dword [ebp - 0x35c]
cmp eax, dword [ecx + 4]
mov edx, ecx
mov ecx, dword [edx]
jae 0x3008a437
mov ecx, dword [ecx + eax*4]
lea edx, [ebp - 0x358]
push edx
mov dword [ebp - 0x288], ecx
push eax
mov ecx, edi
call fcn.30088c8f
test al, al
je 0x30089dd0
mov eax, dword [0x300b033c]
mov ecx, dword [ebp - 0x358]
mov eax, dword [eax + 0x64]
push ebx
push ecx
push eax
lea edx, [ebp - 0x144]
push edx
call dword [sym.imp.ONMain.DLL_void___stdcall_MsoCF::Strings::SetWzFromResource_class_MsoCF::CWzInBuffer_T_class_MsoCF::String_struct_MsoCF::WzTraits___class_MsoCF::CBuffer_wchar_t_____struct_HINSTANCE_____unsigned_int__int__]
jmp 0x30089ebd
mov eax, dword [ebp - 0x26c]
push eax
lea ecx, [edi + 0x30]
call fcn.3006e0f4
mov eax, dword [eax + 4]
push ebx
lea ecx, [ebp - 0x144]
push ecx
push eax
call dword [sym.imp.ONMain.DLL_void___stdcall_MsoCF::Strings::CopyWzToWz_wchar_t_const___class_MsoCF::CWzInBuffer_T_class_MsoCF::String_struct_MsoCF::WzTraits___class_MsoCF::CBuffer_wchar_t_____int__]
jmp 0x30089ebd
lea edx, [ebp - 0x28c]
push edx
call dword [sym.imp.MSO.dll_Ordinal_3555]
cmp eax, ebx
jl 0x3008a440
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.MSO.dll_Ordinal_3557]
cmp eax, ebx
jl 0x3008a440
mov edx, dword [ebp - 0x26c]
lea ecx, [ebp - 0x360]
push ecx
push edx
mov ecx, edi
call fcn.30088c8f
test al, al
je 0x30089e59
mov eax, dword [0x300b033c]
mov ecx, dword [ebp - 0x360]
mov eax, dword [eax + 0x64]
push ebx
push ecx
push eax
lea edx, [ebp - 0x144]
push edx
call dword [sym.imp.ONMain.DLL_void___stdcall_MsoCF::Strings::SetWzFromResource_class_MsoCF::CWzInBuffer_T_class_MsoCF::String_struct_MsoCF::WzTraits___class_MsoCF::CBuffer_wchar_t_____struct_HINSTANCE_____unsigned_int__int__]
jmp 0x30089e7a
mov eax, dword [ebp - 0x26c]
push eax
lea ecx, [edi + 0x30]
call fcn.3006e0f4
mov eax, dword [eax + 4]
push ebx
lea ecx, [ebp - 0x144]
push ecx
push eax
call dword [sym.imp.ONMain.DLL_void___stdcall_MsoCF::Strings::CopyWzToWz_wchar_t_const___class_MsoCF::CWzInBuffer_T_class_MsoCF::String_struct_MsoCF::WzTraits___class_MsoCF::CBuffer_wchar_t_____int__]
mov eax, dword [ebp - 0x30c]
lea edx, [ebp - 0x144]
push edx
push eax
call fcn.30087fc0
mov ecx, dword [ebp - 0x30c]
push ecx
mov ecx, dword [ebp - 0x28c]
call dword [sym.imp.MSO.dll_Ordinal_3144]
cmp eax, ebx
jl 0x3008a440
lea edx, [ebp - 0x288]
push edx
call dword [sym.imp.MSO.dll_Ordinal_3556]
cmp eax, ebx
jl 0x3008a440
mov edx, dword [ebp - 0x288]
cmp edx, ebx
jne 0x30089efc
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x134]
cmp eax, ecx
je 0x30089edd
push eax
call sub.ONMain.DLL_void___stdcall_MsoCF::Memory::Allocator::Free_void__
mov esi, dword [ebp - 0x260]
cmp esi, ebx
mov byte [ebp - 4], 8
je 0x3008a2f7
mov eax, dword [esi + 4]
lea edx, [esi + 0x10]
cmp eax, edx
jmp 0x3008a2e6
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x25c]
cmp eax, dword [ecx + 4]
jae 0x3008a712
mov ecx, dword [ecx]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx + esi]
mov ecx, dword [ebp - 0x264]
cmp eax, dword [ecx + 4]
mov dword [ebp - 0x270], edx
jae 0x3008a667
mov edx, ecx
mov eax, dword [edx]
mov ecx, dword [edi + 0xc]
push ebx
lea edx, [ebp - 0x270]
push edx
push ebx
add eax, esi
push eax
push 0x2b4
push ecx
mov ecx, edi
call fcn.30088b48
test al, al
je 0x3008a440
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2d8], ebx
mov dword [ebp - 0x2d4], ebx
mov dword [ebp - 0x2d0], ebx
mov edx, dword [sym.imp.ONMain.DLL_struct_MsoCF::PropertyInfo_const_Jot::PropertySpace_JotMain::priTemplateNames]
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.ONMain.DLL_public:_void___stdcall_MsoCF::IPropertySet::GetProperty_struct_MsoCF::PropertyInfo_const___class_MsoCF::CPropertyValue__]
lea ecx, [ebp - 0x20]
push ecx
push edx
push eax
mov byte [ebp - 4], 0x10
call esi
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x30089fa9
cmp eax, 0x1f001f
jne 0x30089fd5
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0xf
call fcn.30045d59
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.30045d59
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.30045d59
jmp 0x30089ec7
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov dword [ebp - 0x270], eax
jle 0x30089fa9
mov edx, dword [sym.imp.ONMain.DLL_struct_MsoCF::PropertyInfo_const_Jot::PropertySpace_JotMain::priTemplateGuids]
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x30]
push ecx
push edx
push eax
call esi
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x30089fa9
cmp eax, 0x1f001f
je 0x30089fa9
mov edx, dword [sym.imp.ONMain.DLL_struct_MsoCF::PropertyInfo_const_Jot::PropertySpace_JotMain::priTemplateLcids]
mov eax, dword [edi + 0xc]
lea ecx, [ebp - 0x2d8]
push ecx
push edx
push eax
call esi
mov eax, dword [ebp - 0x2d0]
cmp eax, ebx
je 0x30089fa9
cmp eax, 0x1f001f
je 0x30089fa9
mov ecx, dword [sym.imp.ONMain.DLL_class_MsoCF::CFastBufferAllocator_MsoCF::g_FastBufferAllocator]
mov eax, 0x102
lea edx, [ebp - 0x248]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x250], eax
mov word [ebp - 0x248], bx
cmp dword [ebp - 0x270], ebx
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x314], ebx
jle 0x3008a250
xor ebx, ebx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebx + eax]
test eax, eax
jne 0x3008a07e
call dword [sym.imp.ONMain.DLL_class_MsoCF::IAtom____stdcall_MsoCF::TheEmptyAtom_void_]
push 0
lea ecx, [ebp - 0x258]
add eax, 8
push ecx
push eax
call dword [sym.imp.ONMain.DLL_void___stdcall_MsoCF::Strings::CopyWzToWz_wchar_t_const___class_MsoCF::CWzInBuffer_T_class_MsoCF::String_struct_MsoCF::WzTraits___class_MsoCF::CBuffer_wchar_t_____int__]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebx + eax]
test eax, eax
mov edx, dword [ebp - 0x2d8]
mov esi, dword [edx + ebx]
jne 0x3008a0aa
call dword [sym.imp.ONMain.DLL_class_MsoCF::IAtom____stdcall_MsoCF::TheEmptyAtom_void_]
mov edx, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x264]
cmp edx, dword [ecx + 4]
jae 0x3008a678
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x310]
push esi
add eax, 8
push eax
add ecx, edx
push ecx
lea eax, [ebp - 0x258]
push eax
mov ecx, edi
call fcn.30089757
test eax, eax
mov dword [ebp - 0x268], eax
je 0x3008a4f3
push 1
push 0x114
call sub.ONMain.DLL_void____stdcall_MsoCF::Memory::Allocator::Allocate_int__enum_MsoCF::Memory::FailureStrategy_
mov esi, eax
mov dword [ebp - 0x25c], esi
test esi, esi
je 0x3008a12b
mov eax, 0x102
mov dword [esi + 0xc], eax
mov ecx, dword [sym.imp.ONMain.DLL_class_MsoCF::CFastBufferAllocator_MsoCF::g_FastBufferAllocator]
lea edx, [esi + 0x10]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov dword [esi + 8], eax
push 0
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.300054e8
jmp 0x3008a12d
xor esi, esi
mov dword [ebp - 0x25c], esi
mov ecx, dword [ebp - 0x254]
mov eax, dword [0x300b033c]
mov eax, dword [eax + 0x64]
mov edx, dword [ebp - 0x140]
push 0
push 2
mov dword [ebp - 0x36c], ecx
lea ecx, [ebp - 0x36c]
push ecx
push 0x4000ae
push eax
push esi
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x368], edx
call dword [sym.imp.ONMain.DLL_void___stdcall_MsoCF::Strings::SetWzFromPattern_class_MsoCF::CWzInBuffer_T_class_MsoCF::String_struct_MsoCF::WzTraits___class_MsoCF::CBuffer_wchar_t_____struct_HINSTANCE_____unsigned_int__wchar_t_const___const__int__int__]
lea edx, [ebp - 0x25c]
push edx
lea ecx, [ebp - 0x2c8]
call fcn.3007a5bc
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x264]
cmp eax, dword [ecx + 4]
jae 0x3008a667
mov edx, ecx
mov eax, dword [edx]
mov ecx, dword [ebp - 0x310]
add eax, ecx
push eax
lea ecx, [ebp - 0x308]
call fcn.30088de4
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + ebx]
test eax, eax
jne 0x3008a1be
call dword [sym.imp.ONMain.DLL_class_MsoCF::IAtom____stdcall_MsoCF::TheEmptyAtom_void_]
add eax, 8
push eax
lea ecx, [ebp - 0x2f8]
call fcn.30088de4
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + ebx]
lea edx, [ebp - 0x364]
mov dword [ebp - 0x364], ecx
push edx
lea ecx, [ebp - 0x2e8]
call fcn.3008819f
mov eax, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x288]
push eax
call dword [sym.imp.MSO.dll_Ordinal_3144]
test eax, eax
mov esi, dword [ebp - 0x25c]
jl 0x3008a5ea
test esi, esi
mov byte [ebp - 4], 0x12
je 0x3008a230
mov eax, dword [esi + 4]
lea ecx, [esi + 0x10]
cmp eax, ecx
je 0x3008a227
push eax
call sub.ONMain.DLL_void___stdcall_MsoCF::Memory::Allocator::Free_void__
push esi
call fcn.30007d82
add esp, 4
mov eax, dword [ebp - 0x314]
add eax, 1
add ebx, 0x10
cmp eax, dword [ebp - 0x270]
mov dword [ebp - 0x314], eax
jl 0x3008a06e
xor ebx, ebx
mov ecx, dword [ebp - 0x28c]
cmp ecx, ebx
je 0x3008a293
mov edx, dword [ebp - 0x288]
mov esi, dword [sym.imp.MSO.dll_Ordinal_3144]
push edx
call esi
cmp eax, ebx
jl 0x3008a683
mov ecx, dword [ebp - 0x28c]
push 1
call dword [sym.imp.MSO.dll_Ordinal_5512]
mov eax, dword [ebp - 0x28c]
mov ecx, dword [edi + 0x18]
push eax
call esi
cmp eax, ebx
jl 0x3008a6c5
lea ecx, [ebp - 0x258]
call fcn.300153e1
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0xf
call fcn.30045d59
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.30045d59
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.30045d59
lea ecx, [ebp - 0x144]
call fcn.300153e1
mov esi, dword [ebp - 0x260]
cmp esi, ebx
mov byte [ebp - 4], 8
je 0x3008a2f7
mov eax, dword [esi + 4]
lea ecx, [esi + 0x10]
cmp eax, ecx
je 0x3008a2ee
push eax
call sub.ONMain.DLL_void___stdcall_MsoCF::Memory::Allocator::Free_void__
push esi
call fcn.30007d82
add esp, 4
mov eax, dword [ebp - 0x26c]
add eax, 1
cmp eax, dword [ebp - 0x284]
mov dword [ebp - 0x26c], eax
jl 0x30089c4d
mov dword [ebp - 0x344], ebx
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x33c], ebx
mov dword [ebp - 0x354], ebx
mov dword [ebp - 0x350], ebx
mov dword [ebp - 0x34c], ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x320], ebx
mov dword [ebp - 0x31c], ebx
mov eax, dword [ebp - 0x2c4]
mov esi, dword [sym.imp.ONMain.DLL_public:_void___stdcall_MsoCF::CPropertyValueArray::Set_class_MsoCF::CPropertyValue_const___int_]
add eax, 1
push eax
mov dword [ebp - 0x25c], eax
push ebx
lea eax, [ebp - 0x344]
push eax
mov byte [ebp - 4], 0x19
call esi
mov ecx, dword [ebp - 0x25c]
push ecx
push ebx
lea edx, [ebp - 0x354]
push edx
call esi
mov eax, dword [ebp - 0x25c]
push eax
push ebx
lea ecx, [ebp - 0x334]
push ecx
call esi
mov edx, dword [ebp - 0x25c]
push edx
push ebx
lea eax, [ebp - 0x324]
push eax
call esi
mov ecx, dword [0x300b033c]
mov eax, dword [ecx + 0x64]
mov edx, dword [sym.imp.ONMain.DLL_class_MsoCF::CFastBufferAllocator_MsoCF::g_FastBufferAllocator]
mov ecx, 0x102
mov dword [ebp - 0x258], edx
lea edx, [ebp - 0x248]
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x250], ecx
push ebx
push 0x4000af
push eax
lea eax, [ebp - 0x258]
push eax
mov byte [ebp - 4], 0x1a
call dword [sym.imp.ONMain.DLL_void___stdcall_MsoCF::Strings::SetWzFromResource_class_MsoCF::CWzInBuffer_T_class_MsoCF::String_struct_MsoCF::WzTraits___class_MsoCF::CBuffer_wchar_t_____struct_HINSTANCE_____unsigned_int__int__]
mov eax, dword [ebp - 0x344]
mov ecx, dword [ebp - 0x254]
lea esi, [eax + 8]
mov dword [ebp - 0x270], ecx
mov ecx, dword [esi]
mov edx, ecx
shr edx, 0x19
test dl, 1
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x268], eax
je 0x3008a725
push ecx
push eax
call dword [sym.imp.ONMain.DLL_public:_static_void___stdcall_MsoCF::CPropertyData::FreeAndZero_ComplexType_void___enum_MsoCF::PropertyType_]
jmp 0x3008a730
lea edx, [ecx + eax*4]
push edx
call fcn.300960b4
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x134]
cmp eax, ecx
je 0x3008a456
push eax
call sub.ONMain.DLL_void___stdcall_MsoCF::Memory::Allocator::Free_void__
mov esi, dword [ebp - 0x260]
cmp esi, ebx
je 0x3008a479
mov eax, dword [esi + 4]
lea edx, [esi + 0x10]
cmp eax, edx
je 0x3008a470
push eax
call sub.ONMain.DLL_void___stdcall_MsoCF::Memory::Allocator::Free_void__
push esi
call fcn.30007d82
add esp, 4
lea ecx, [ebp - 0x2e8]
call fcn.3001cf6d
lea ecx, [ebp - 0x2f8]
call fcn.3001cf6d
lea ecx, [ebp - 0x308]
call fcn.3001cf6d
lea ecx, [ebp - 0x2c8]
call fcn.3007aaf6
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 3
call fcn.30045d59
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 2
call fcn.30045d59
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 1
call fcn.30045d59
mov eax, dword [ebp - 0x278]
mov ecx, eax
shr ecx, 0x19
test cl, 1
mov dword [ebp - 4], 0xffffffff
je 0x3008abf8
push eax
jmp 0x3008abeb
mov eax, dword [ebp - 0x254]
lea ecx, [ebp - 0x248]
cmp eax, ecx
je 0x3008a509
push eax
call sub.ONMain.DLL_void___stdcall_MsoCF::Memory::Allocator::Free_void__
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0xf
call fcn.30045d59
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.30045d59
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.30045d59
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x134]
cmp eax, edx
je 0x3008a546
push eax
call sub.ONMain.DLL_void___stdcall_MsoCF::Memory::Allocator::Free_void__
mov esi, dword [ebp - 0x260]
test esi, esi
je 0x3008a569
mov eax, dword [esi + 4]
lea ecx, [esi + 0x10]
cmp eax, ecx
je 0x3008a560
push eax
call sub.ONMain.DLL_void___stdcall_MsoCF::Memory::Allocator::Free_void__
push esi
call fcn.30007d82
add esp, 4
lea ecx, [ebp - 0x2e8]
call fcn.3001cf6d
lea ecx, [ebp - 0x2f8]
call fcn.3001cf6d
lea ecx, [ebp - 0x308]
call fcn.3001cf6d
lea ecx, [ebp - 0x2c8]
call fcn.3007aaf6
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 3
call fcn.30045d59
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 2
call fcn.30045d59
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 1
call fcn.30045d59
mov eax, dword [ebp - 0x278]
mov edx, eax
shr edx, 0x19
test dl, 1
mov dword [ebp - 4], 0xffffffff
je 0x3008abf8
push eax
lea eax, [ebp - 0x280]
push eax
jmp 0x3008abf2
test esi, esi
je 0x3008a607
mov eax, dword [esi + 4]
lea ecx, [esi + 0x10]
cmp eax, ecx
je 0x3008a5fe
push eax
call sub.ONMain.DLL_void___stdcall_MsoCF::Memory::Allocator::Free_void__
push esi
call fcn.30007d82
add esp, 4
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x248]
cmp eax, edx
je 0x3008a61d
push eax
call sub.ONMain.DLL_void___stdcall_MsoCF::Memory::Allocator::Free_void__
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0xf
call fcn.30045d59
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.30045d59
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.30045d59
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x134]
cmp eax, ecx
je 0x3008a65a
push eax
call sub.ONMain.DLL_void___stdcall_MsoCF::Memory::Allocator::Free_void__
mov esi, dword [ebp - 0x260]
test esi, esi
jmp 0x3008a45e
mov eax, dword [ebp - 0x26c]
shl eax, 4
add eax, dword [ecx]
push eax
call fcn.300960b4
shl edx, 4
add edx, dword [ecx]
push edx
call fcn.300960b4
mov eax, dword [ebp - 0x254]
lea edx, [ebp - 0x248]
cmp eax, edx
je 0x3008a699
push eax
call sub.ONMain.DLL_void___stdcall_MsoCF::Memory::Allocator::Free_void__
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0xf
call fcn.30045d59
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.30045d59
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.30045d59
jmp 0x3008a440
mov eax, dword [ebp - 0x254]
lea ecx, [ebp - 0x248]
cmp eax, ecx
je 0x3008a6db
push eax
call sub.ONMain.DLL_void___stdcall_MsoCF::Memory::Allocator::Free_void__
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0xf
call fcn.30045d59
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.30045d59
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.30045d59
lea ecx, [ebp - 0x144]
call fcn.300153e1
jmp 0x3008a456
mov edx, ecx
mov eax, dword [edx]
mov ecx, dword [ebp - 0x26c]
lea edx, [eax + ecx*4]
push edx
call fcn.300960b4
mov dword [eax], ebx
mov eax, dword [ebp - 0x344]
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.MSO.dll_Ordinal_295]
mov edx, dword [ebp - 0x270]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [ebp - 0x268]
push edx
push eax
call dword [sym.imp.ONMain.DLL_void___stdcall_MsoCF::ProduceAtom_class_MsoCF::IAtom____void_const___int_]
mov dword [esi], 0x687003a
mov eax, dword [ebp - 0x354]
mov ecx, dword [eax + 8]
lea esi, [eax + 8]
mov edx, ecx
shr edx, 0x19
test dl, 1
mov dword [ebp - 0x268], eax
je 0x3008a782
push ecx
push eax
call dword [sym.imp.ONMain.DLL_public:_static_void___stdcall_MsoCF::CPropertyData::FreeAndZero_ComplexType_void___enum_MsoCF::PropertyType_]
jmp 0x3008a78d
mov dword [eax], ebx
mov eax, dword [ebp - 0x354]
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x268]
push 0x10
push 0x3003f830
push ecx
call dword [sym.imp.ONMain.DLL_void___stdcall_MsoCF::ProduceAtom_class_MsoCF::IAtom____void_const___int_]
mov dword [esi], 0x687003f
mov eax, dword [ebp - 0x334]
mov ecx, dword [eax + 8]
lea esi, [eax + 8]
mov edx, ecx
shr edx, 0x19
test dl, 1
mov dword [ebp - 0x268], eax
je 0x3008a7cd
push ecx
push eax
call dword [sym.imp.ONMain.DLL_public:_static_void___stdcall_MsoCF::CPropertyData::FreeAndZero_ComplexType_void___enum_MsoCF::PropertyType_]
jmp 0x3008a7d8
mov dword [eax], ebx
mov eax, dword [ebp - 0x334]
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x268]
push 0x10
push 0x3003f830
push ecx
call dword [sym.imp.ONMain.DLL_void___stdcall_MsoCF::ProduceAtom_class_MsoCF::IAtom____void_const___int_]
mov dword [esi], 0x687003f
mov eax, dword [ebp - 0x324]
mov ecx, dword [eax + 8]
lea esi, [eax + 8]
mov edx, ecx
shr edx, 0x19
test dl, 1
mov dword [ebp - 0x268], eax
je 0x3008a818
push ecx
push eax
call dword [sym.imp.ONMain.DLL_public:_static_void___stdcall_MsoCF::CPropertyData::FreeAndZero_ComplexType_void___enum_MsoCF::PropertyType_]
jmp 0x3008a823
mov dword [eax], ebx
mov eax, dword [ebp - 0x324]
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0x268]
mov dword [ecx], ebx
lea ecx, [ebp - 0x258]
mov dword [esi], 0x850026
mov byte [ebp - 4], 0x19
call fcn.300153e1
cmp dword [ebp - 0x25c], 1
jle 0x3008aa28
xor eax, eax
mov ebx, 0x10
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x284], eax
mov edx, dword [ebp - 0x264]
push edx
lea ecx, [ebp - 0x2c8]
call fcn.3006e0f4
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x344]
lea esi, [ebx + ecx]
mov dword [ebp - 0x270], eax
mov eax, dword [esi + 8]
mov edx, eax
shr edx, 0x19
test dl, 1
je 0x3008a89b
push eax
push esi
call dword [sym.imp.ONMain.DLL_public:_static_void___stdcall_MsoCF::CPropertyData::FreeAndZero_ComplexType_void___enum_MsoCF::PropertyType_]
jmp 0x3008a8a8
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.MSO.dll_Ordinal_295]
mov ecx, dword [ebp - 0x270]
lea eax, [eax + eax + 2]
push eax
push ecx
push esi
call dword [sym.imp.ONMain.DLL_void___stdcall_MsoCF::ProduceAtom_class_MsoCF::IAtom____void_const___int_]
mov edx, dword [ebp - 0x264]
mov dword [esi + 8], 0x687003a
cmp edx, dword [ebp - 0x304]
jae 0x3008ab50
mov eax, dword [ebp - 0x308]
mov edx, dword [ebp - 0x354]
lea ecx, [ebx + eax - 0x10]
mov eax, dword [ebx + edx + 8]
lea esi, [ebx + edx]
mov dword [ebp - 0x268], ecx
mov ecx, eax
shr ecx, 0x19
test cl, 1
je 0x3008a912
push eax
push esi
call dword [sym.imp.ONMain.DLL_public:_static_void___stdcall_MsoCF::CPropertyData::FreeAndZero_ComplexType_void___enum_MsoCF::PropertyType_]
jmp 0x3008a91f
mov dword [esi], 0
mov dword [esi + 4], 0
mov edx, dword [ebp - 0x268]
push 0x10
push edx
push esi
call dword [sym.imp.ONMain.DLL_void___stdcall_MsoCF::ProduceAtom_class_MsoCF::IAtom____void_const___int_]
mov eax, dword [ebp - 0x264]
mov dword [esi + 8], 0x687003f
cmp eax, dword [ebp - 0x2f4]
jae 0x3008ab41
mov eax, dword [ebp - 0x2f8]
mov edx, dword [ebp - 0x334]
lea ecx, [ebx + eax - 0x10]
mov eax, dword [ebx + edx + 8]
lea esi, [ebx + edx]
mov dword [ebp - 0x268], ecx
mov ecx, eax
shr ecx, 0x19
test cl, 1
je 0x3008a979
push eax
push esi
call dword [sym.imp.ONMain.DLL_public:_static_void___stdcall_MsoCF::CPropertyData::FreeAndZero_ComplexType_void___enum_MsoCF::PropertyType_]
jmp 0x3008a986
mov dword [esi], 0
mov dword [esi + 4], 0
mov edx, dword [ebp - 0x268]
push 0x10
push edx
push esi
call dword [sym.imp.ONMain.DLL_void___stdcall_MsoCF::ProduceAtom_class_MsoCF::IAtom____void_const___int_]
mov eax, dword [ebp - 0x264]
mov dword [esi + 8], 0x687003f
cmp eax, dword [ebp - 0x2e4]
mov ecx, dword [ebp - 0x2e8]
jae 0x3008ab32
mov edx, dword [ebp - 0x284]
mov eax, dword [edx + ecx]
mov ecx, dword [ebp - 0x324]
lea esi, [ebx + ecx]
mov dword [ebp - 0x268], eax
mov eax, dword [esi + 8]
mov edx, eax
shr edx, 0x19
test dl, 1
je 0x3008a9e4
push eax
push esi
call dword [sym.imp.ONMain.DLL_public:_static_void___stdcall_MsoCF::CPropertyData::FreeAndZero_ComplexType_void___enum_MsoCF::PropertyType_]
jmp 0x3008a9f1
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, dword [ebp - 0x268]
add dword [ebp - 0x284], 4
mov dword [esi], eax
mov eax, dword [ebp - 0x264]
add eax, 1
mov dword [ebp - 0x264], eax
add eax, 1
add ebx, 0x10
cmp eax, dword [ebp - 0x25c]
mov dword [esi + 8], 0x850026
jl 0x3008a860
lea ecx, [ebp - 0x344]
push ecx
mov ecx, dword [edi + 0x14]
push 0x40001457
push 1
call fcn.3004c2f7
push eax
call fcn.3004206d
mov ecx, dword [edi + 0x14]
lea edx, [ebp - 0x354]
push edx
push 0x40001458
push 1
call fcn.3004c2f7
push eax
call fcn.3004206d
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x334]
push eax
push 0x40001459
push 1
call fcn.3004c2f7
push eax
call fcn.3004206d
lea ecx, [ebp - 0x324]
push ecx
mov ecx, dword [edi + 0x14]
push 0x40001494
push 1
call fcn.3004c2f7
push eax
call fcn.3004206d
lea ecx, [ebp - 0x324]
mov byte [ebp - 4], 0x18
call fcn.30045d59
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0x17
call fcn.30045d59
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 0x16
call fcn.30045d59
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 8
call fcn.30045d59
lea ecx, [ebp - 0x2e8]
call fcn.3001cf6d
lea ecx, [ebp - 0x2f8]
call fcn.3001cf6d
lea ecx, [ebp - 0x308]
call fcn.3001cf6d
lea ecx, [ebp - 0x2c8]
call fcn.3007aaf6
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 3
call fcn.30045d59
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 2
call fcn.30045d59
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 1
call fcn.30045d59
jmp 0x3008abd0
mov edx, dword [ebp - 0x264]
lea eax, [ecx + edx*4]
push eax
call fcn.300960b4
shl eax, 4
add eax, dword [ebp - 0x2f8]
push eax
call fcn.300960b4
mov eax, dword [ebp - 0x264]
shl eax, 4
add eax, dword [ebp - 0x308]
push eax
call fcn.300960b4
lea eax, [ebp - 0x20]
push eax
lea esi, [edi + 0x6c]
push esi
call fcn.30052408
test al, al
je 0x3008ab98
lea ecx, [ebp - 0x30]
push ecx
lea edx, [edi + 0x5c]
push edx
call fcn.30052408
test al, al
je 0x3008ab98
mov eax, dword [ebp - 0x25c]
cmp eax, ebx
je 0x3008ab9e
cmp dword [edi + 0x7c], eax
je 0x3008ab9e
jmp 0x3008abd0
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x30]
mov dword [esi + 0xc], edx
mov edx, dword [ebp - 0x2c]
mov dword [edi + 0x5c], ecx
mov ecx, dword [ebp - 0x28]
mov dword [edi + 0x60], edx
mov edx, dword [ebp - 0x24]
mov dword [edi + 0x64], ecx
mov dword [edi + 0x68], edx
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 0x278]
shr eax, 0x19
test al, 1
mov dword [ebp - 4], 0xffffffff
je 0x3008abf8
mov ecx, dword [ebp - 0x278]
push ecx
lea edx, [ebp - 0x280]
push edx
call dword [sym.imp.ONMain.DLL_public:_static_void___stdcall_MsoCF::CPropertyData::FreeAndZero_ComplexType_void___enum_MsoCF::PropertyType_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.30001d24
mov esp, ebp
pop ebp
ret