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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b77a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov eax, dword [ebx + 4]
push edi
cmp eax, esi
mov dword [esp + 0x14], ebx
jne 0x1007ff5f
mov eax, 0x80004005
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
lea ecx, [esp + 0xe0]
mov dword [esp + 0x10], esi
call fcn.100ae9aa
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x278], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], esi
lea eax, [edi + edi*2]
lea ecx, [edi + eax*4]
lea edx, [ecx*8 + 4]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x4c], eax
cmp eax, esi
mov byte [esp + 0x278], 1
je 0x1007ffc5
push 0x10078660
push 0x10078650
lea esi, [eax + 4]
push edi
push 0x68
push esi
mov dword [eax], edi
call fcn.100af098
mov eax, esi
xor esi, esi
jmp 0x1007ffc7
xor eax, eax
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov byte [esp + 0x278], 0
mov dword [ecx], eax
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x14]
mov dword [edx], esi
mov dword [eax], esi
mov eax, dword [ebp + 0x1c]
cmp eax, esi
je 0x10080000
cmp dword [eax + 4], esi
je 0x10080000
cmp dword [eax], esi
jle 0x10080000
test ecx, 0x1000000
je 0x10080000
mov eax, 1
jmp 0x10080002
xor eax, eax
mov edx, dword [ebp + 0x3c]
mov dword [edx], eax
mov eax, dword [ebp + 0x20]
cmp eax, esi
je 0x10080026
cmp dword [eax + 4], esi
je 0x10080026
cmp dword [eax], esi
jle 0x10080026
test ecx, 0x2000000
je 0x10080026
mov eax, 1
jmp 0x10080028
xor eax, eax
mov ecx, dword [ebp + 0x40]
lea esi, [esp + 0x110]
mov dword [esp + 0x20], 0xc
mov dword [ecx], eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x20]
add esi, 0x10
dec eax
mov dword [esp + 0x20], eax
jne 0x1008003c
mov ecx, dword [ebx + 8]
mov esi, 8
mov word [esp + 0x130], si
call fcn.1000fe40
mov edx, dword [eax + 0x18]
add edx, esi
push edx
call fcn.100af44e
mov dword [esp + 0x138], eax
xor eax, eax
cmp edi, eax
mov word [esp + 0x140], si
mov dword [esp + 0x148], eax
mov word [esp + 0x150], si
mov dword [esp + 0x158], eax
mov word [esp + 0x190], si
mov dword [esp + 0x198], eax
mov word [esp + 0x1c0], 3
mov dword [esp + 0x1c8], 1
mov dword [esp + 0x44], eax
jle 0x10080a20
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xe0]
push 0
push ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
push edx
push eax
call fcn.10099e30
mov ecx, dword [ebp + 0x24]
mov esi, dword [esp + 0x30]
add esp, 0x10
mov edx, dword [ecx]
lea ecx, [esp + 0xa0]
add esi, edx
mov dword [esp + 0x50], esi
call dword [sym.imp.OOLAPLib.dll_public:_void___thiscall_CMdCommentArray::constructor_void_]
mov eax, dword [ebx + 0x16b8]
mov byte [esp + 0x278], 2
test eax, eax
jne 0x100801ad
push 0
lea edx, [esp + 0xa4]
push 1
push edx
push 0
push 3
lea eax, [esp + 0xf4]
push 6
push eax
lea ecx, [ebx + 0x1620]
call dword [sym.imp.OOLAPLib.dll_public:_int___thiscall_CMdCommentArray::FindPos_class_CStringArray___long_int__long_int__long_int___class_CMdCommentArray___long_int__int_]
test eax, eax
jl 0x100801ad
push 0x400
lea ecx, [esp + 0xa4]
call dword [sym.imp.OOLAPLib.dll_public:_void___thiscall_CMdCommentArray::RemoveAttributes_unsigned_long_int_]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x100801f4
mov ecx, dword [esp + 0xa8]
xor edi, edi
dec ecx
test ecx, ecx
jl 0x100801ad
mov edx, dword [esp + 0xa4]
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [edx + edi*4]
push 0
push 0
lea eax, [esp + 0xf4]
push 1
push eax
call dword [sym.imp.OOLAPLib.dll_public:_long_int___thiscall_CMdComment::HasSameCoord_class_CStringArray___long_int__struct___MIDL___MIDL_itf_OpenMD_0000_0007___long_int__long_int__int____cdecl___struct__MdCoordCallbackParam____unsigned_long_int_]
cmp eax, 1
jne 0x100801f4
mov ecx, dword [esp + 0xa8]
inc edi
dec ecx
cmp edi, ecx
jle 0x10080177
push 0
push 1
mov ecx, esi
mov dword [esi + 0x14], 1
call fcn.10078670
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 4]
lea edi, [esi + 4]
push edx
push eax
call fcn.10095770
mov ecx, dword [esp + 0x20]
push 1
push ecx
push edi
call fcn.100956f0
mov eax, dword [ebp + 0x28]
add esp, 0x14
mov ecx, dword [eax]
inc ecx
mov dword [eax], ecx
mov eax, dword [esi + 0xc]
or al, 4
mov dword [esi + 0xc], eax
jmp 0x100809d1
mov eax, dword [esp + 0xa8]
mov edi, eax
mov dword [esp + 0x3c], eax
lea edx, [eax + eax*4]
mov dword [esp + 0x34], edi
lea eax, [edx*4 + 4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
mov byte [esp + 0x278], 3
je 0x1008024e
mov ecx, edi
push sub.MFC42.DLL_CStringArray::CStringArray
push fcn.100ae9aa
lea edi, [eax + 4]
push ecx
push 0x14
push edi
mov dword [eax], ecx
call fcn.100af098
mov eax, edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
jmp 0x10080254
xor eax, eax
mov dword [esp + 0x1c], eax
lea ecx, [edi*4]
mov byte [esp + 0x278], 2
push ecx
mov dword [esp + 0x44], eax
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0xf4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], 0
push 0xa
call fcn.100aea28
lea ecx, [esp + 0x8c]
mov byte [esp + 0x278], 4
call fcn.100aea1c
push 0xa
lea ecx, [esp + 0xc8]
mov byte [esp + 0x27c], 5
call fcn.100aea28
mov dword [esp + 0xc4], 0x100c98f8
test edi, edi
mov byte [esp + 0x278], 6
mov dword [esp + 0x38], 0
jle 0x10080449
mov edx, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x38]
mov edi, dword [eax + ecx*4]
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x7c]
push 0
push edx
lea ecx, [edi + 0x48]
mov byte [esp + 0x280], 7
call fcn.1000be00
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x27c], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x7c]
mov byte [esp + 0x278], 7
call fcn.100ae920
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x24]
push 0
push 0
mov edx, dword [eax + 0x25d8]
mov eax, dword [eax + 0x25d4]
push ecx
push edx
push eax
call fcn.100991a0
mov edi, eax
add esp, 0x14
test edi, edi
jl 0x10080a84
mov eax, dword [ebp + 0x44]
test eax, eax
jl 0x1008036b
cmp eax, edi
jne 0x10080423
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xc8]
call sub.MFC42.DLL_CStringList::AddTail
mov ecx, dword [ebx + 8]
lea eax, [edi*8]
sub eax, edi
push 0
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
mov edx, dword [ecx + 0x25d4]
shl eax, 2
mov dword [esp + 0x40], eax
lea ecx, [esp + 0xf8]
lea eax, [edx + eax + 0x81]
push eax
call sub.MFC42.DLL_CStringList::Find
test eax, eax
jne 0x10080423
mov ecx, dword [ebx + 8]
mov eax, dword [esp + 0x3c]
mov edx, dword [ecx + 0x25d4]
lea ecx, [edx + eax + 0x81]
push ecx
lea ecx, [esp + 0xf8]
call sub.MFC42.DLL_CStringList::AddTail_1
mov edx, dword [esp + 0x94]
push edi
push edx
lea ecx, [esp + 0x94]
call sub.MFC42.DLL_CDWordArray::SetAtGrow
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x68]
push eax
push ecx
push edx
mov ecx, ebx
call fcn.1007a140
mov ecx, dword [esp + 0x2c]
test eax, eax
mov dword [ecx], eax
jl 0x10080ab0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
inc ecx
add eax, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x278], 6
call fcn.100ae920
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x38], eax
jl 0x100802df
mov eax, dword [esp + 0x28]
xor edi, edi
test eax, eax
jle 0x10080656
mov edx, dword [esp + 0x90]
mov ecx, dword [edx + edi*4]
mov edx, dword [ebx + 8]
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [edx + 0x25d4]
lea ecx, [eax + ecx*4 + 0x188]
push ecx
call fcn.100af44e
mov edx, dword [esp + 0x90]
mov dword [esp + 0x148], eax
mov ecx, dword [edx + edi*4]
mov edx, dword [ebx + 8]
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov eax, dword [edx + 0x25d4]
lea ecx, [eax + ecx*4 + 0x81]
push ecx
call fcn.100af44e
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x158], eax
mov eax, dword [edx + edi*4]
mov edx, dword [ecx + 4]
mov ecx, dword [0x100f0d50]
mov eax, dword [edx + eax*4]
lea edx, [esp + 0x54]
mov dword [esp + 0x198], eax
xor eax, eax
push eax
push eax
push eax
push eax
push ecx
push 0x1f4
lea ecx, [esp + 0x60]
push edx
push ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x74], eax
push eax
mov eax, dword [ebx + 8]
lea edx, [esp + 0x134]
push edx
push 0xc
mov ecx, dword [eax + 0x267c]
push ecx
call fcn.1003dd60
mov edx, dword [esp + 0x178]
add esp, 0x30
neg eax
sbb eax, eax
push edx
and eax, 0x7fffbffb
add eax, 0x80004005
mov dword [esp + 0x14], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x158]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x10080b75
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x34], 0
test ecx, ecx
jle 0x1008061e
xor ebx, ebx
mov eax, dword [esp + 0x48]
cmp dword [eax + ebx + 0x14], 1
jne 0x100805fe
mov ecx, dword [eax + ebx + 8]
push ecx
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x280], 9
call fcn.10037d80
lea ecx, [esp + 0x80]
mov esi, eax
mov byte [esp + 0x278], 6
call fcn.100ae920
test esi, esi
jne 0x100805fe
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x78]
mov eax, dword [edx + ebx + 8]
push eax
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x1c]
lea ecx, [edi + edi*4]
push eax
mov byte [esp + 0x27c], 0xa
lea ecx, [edx + ecx*4]
mov edx, dword [ecx + 8]
push edx
call sub.MFC42.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x78]
mov byte [esp + 0x278], 6
call fcn.100ae920
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x54]
inc eax
add ebx, 0x1c
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x1008056c
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
push ecx
push eax
call fcn.10098090
add esp, 8
mov eax, 1
test edi, edi
je 0x10080638
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x1c]
lea ecx, [edi + edi*4]
mov ecx, dword [edx + ecx*4 + 8]
imul ecx, eax
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
mov dword [esi + 0x14], ecx
jl 0x10080457
mov ecx, dword [esi + 0x14]
cmp ecx, 1
jle 0x1008066c
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x1008066c
mov eax, 1
jmp 0x1008066e
xor eax, eax
push eax
push ecx
mov ecx, esi
call fcn.10078670
mov eax, dword [ebp + 0x28]
mov edx, dword [esi + 0x14]
mov dword [esi + 0xc], 2
mov edi, dword [eax]
add edi, edx
mov dword [eax], edi
mov eax, dword [esp + 0x28]
lea edi, [eax*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [esp + 0x3c], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x14]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x3c], eax
jle 0x10080962
mov ebx, dword [esi + 4]
mov ecx, dword [esp + 0x18]
lea edi, [eax*8]
push ecx
mov eax, edi
add eax, ebx
xor ebx, ebx
push eax
mov dword [esp + 0x3c], eax
call fcn.100956c0
mov al, byte [esi]
add esp, 8
test al, 1
je 0x10080703
mov ebx, dword [esi + 0x28]
mov edx, dword [ebp + 0x1c]
add ebx, edi
push edx
push ebx
call fcn.100956c0
add esp, 8
mov eax, dword [esp + 0x28]
mov dword [esp + 0x60], 0
test eax, eax
jle 0x100808c9
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
sub eax, esi
mov dword [esp + 0x40], eax
mov edi, dword [esp + 0x34]
mov ecx, dword [esi]
mov edx, dword [edi + 4]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x84]
mov edx, dword [ecx + esi]
mov ecx, dword [esp + 0x2c]
push edx
push eax
call fcn.1000be00
mov ecx, eax
mov byte [esp + 0x278], 0xb
call sub.MFC42.DLL_CString::AllocSysString
mov ecx, dword [esi]
mov edx, dword [edi + 4]
mov byte [esp + 0x278], 6
mov dword [edx + ecx*4], eax
lea ecx, [esp + 0x84]
call fcn.100ae920
mov eax, dword [esp + 0x50]
test byte [eax], 1
je 0x100808a6
mov ecx, dword [ebp + 0x3c]
cmp dword [ecx], 0
jne 0x100808a6
mov edx, dword [esi]
mov eax, edi
mov dword [esp + 0x64], 0xffffffff
mov ecx, dword [eax + 4]
mov edx, dword [ecx + edx*4]
lea ecx, [esp + 0x88]
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push ebx
mov byte [esp + 0x284], 0xc
call fcn.1007a140
lea ecx, [esp + 0x88]
mov edi, eax
mov byte [esp + 0x278], 6
call fcn.100ae920
test edi, edi
jl 0x10080928
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x5c]
mov eax, dword [edx + edi*4]
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x58]
mov byte [esp + 0x278], 0xd
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x4c]
mov byte [esp + 0x278], 0xe
mov edx, dword [ecx + esi]
mov ecx, dword [esp + 0x2c]
push edx
push eax
call fcn.1000be00
mov ecx, dword [esp + 0x5c]
mov edx, dword [eax]
push ecx
push edx
push 0x63
lea eax, [esp + 0x64]
push str._c_s__s
push eax
mov byte [esp + 0x28c], 0xf
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x4c]
mov byte [esp + 0x278], 0xe
call fcn.100ae920
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + edi*4]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::AllocSysString
mov ecx, dword [ebx + 4]
mov byte [esp + 0x278], 0xd
mov dword [ecx + edi*4], eax
lea ecx, [esp + 0x58]
call fcn.100ae920
lea ecx, [esp + 0x5c]
mov byte [esp + 0x278], 6
call fcn.100ae920
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
inc eax
add esi, 4
add edx, 0x14
cmp eax, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x2c], edx
jl 0x1008072d
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x1008095e
mov edx, dword [esp + 0x28]
lea ecx, [edx - 1]
test ecx, ecx
jl 0x1008090f
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
lea edx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
lea edx, [esi + edx*4 + 8]
mov esi, dword [eax]
inc esi
mov dword [eax], esi
mov edi, dword [edx]
dec edi
cmp esi, edi
jle 0x1008090f
mov dword [eax], 0
dec ecx
sub edx, 0x14
sub eax, 4
test ecx, ecx
jge 0x100808f2
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
inc eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x3c], eax
cmp eax, ecx
jge 0x1008095e
jmp 0x100806c9
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x10080956
cmp dword [eax + 0x654], 0x32
jge 0x10080956
push 0x1021
push 0x40
add eax, 0x640
push 0
push eax
call fcn.1009bf70
add esp, 0x10
mov dword [esp + 0x10], 0x80004005
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
push edx
call fcn.100ae914
mov ecx, dword [esp + 0x20]
xor esi, esi
add esp, 4
cmp ecx, esi
je 0x10080980
mov eax, dword [ecx]
push 3
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x40], esi
push ecx
call fcn.100ae914
add esp, 4
lea ecx, [esp + 0xc4]
mov dword [esp + 0x30], esi
mov byte [esp + 0x278], 5
call sub.MFC42.DLL_CStringList::CStringList
lea ecx, [esp + 0x8c]
mov byte [esp + 0x278], 4
call sub.MFC42.DLL_CDWordArray::CDWordArray
lea ecx, [esp + 0xf4]
mov byte [esp + 0x278], 2
call sub.MFC42.DLL_CStringList::CStringList
lea ecx, [esp + 0xa0]
mov byte [esp + 0x278], 0
call dword [sym.imp.OOLAPLib.dll_public_virtual:_void___thiscall_CMdCommentArray::destructor_void_]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
inc eax
add esi, 0x68
add edx, 8
cmp eax, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edx
jl 0x100800d3
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x10081019
mov ebx, dword [esp + 0x14]
mov eax, dword [ebp + 0x34]
mov esi, dword [ebp + 0x38]
xor edi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov eax, dword [ebp + 0x20]
mov dword [esi], edi
cmp eax, edi
mov dword [esi + 4], edi
je 0x10080c1c
mov edx, dword [ebp + 0x40]
cmp dword [edx], edi
jne 0x10080c1c
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edx, dword [ebp + 0x20]
push edi
lea ecx, [esp + 0x6c]
push 5
push ecx
push edx
lea ecx, [ebx + 0x1654]
call dword [sym.imp.OOLAPLib.dll_public:_long_int___thiscall_CSimpleOLAP::GetCellValue_struct___MIDL___MIDL_itf_OpenMD_0000_0025_const___struct_tagVARIANT___unsigned_short_int__struct___MIDL___MIDL_itf_OpenMD_0000_0022__]
cmp eax, edi
mov dword [esp + 0x10], eax
jge 0x10080c0f
mov eax, dword [ebx + 8]
mov eax, dword [eax + 8]
cmp eax, edi
jmp 0x10080fb8
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
test eax, eax
je 0x10080b06
cmp dword [eax + 0x654], 0x32
jge 0x10080b06
push 0x1021
push 0x40
add eax, 0x640
push 0
push eax
call fcn.1009bf70
add esp, 0x10
jmp 0x10080b06
mov eax, dword [ebx + 8]
mov eax, dword [eax + 8]
test eax, eax
je 0x10080b06
cmp dword [eax + 0x654], 0x32
jge 0x10080b06
push 0x101f
push 0x40
add eax, 0x640
push 0
push eax
call fcn.1009bf70
add esp, 0x10
test eax, eax
je 0x10080b06
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x44]
mov ecx, dword [ecx + edx*4]
mov edx, dword [ebp + 8]
mov edx, dword [edx + esi*8 + 4]
mov ecx, dword [edx + ecx*4]
push ecx
push 0x1019
push eax
call fcn.1009c140
add esp, 0xc
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0x80004005
mov byte [esp + 0x278], 6
call fcn.100ae920
lea ecx, [esp + 0xc4]
mov byte [esp + 0x278], 5
call sub.MFC42.DLL_CStringList::CStringList
lea ecx, [esp + 0x8c]
mov byte [esp + 0x278], 4
call sub.MFC42.DLL_CDWordArray::CDWordArray
lea ecx, [esp + 0xf4]
mov byte [esp + 0x278], 2
call sub.MFC42.DLL_CStringList::CStringList
lea ecx, [esp + 0xa0]
mov byte [esp + 0x278], 0
call dword [sym.imp.OOLAPLib.dll_public_virtual:_void___thiscall_CMdCommentArray::destructor_void_]
jmp 0x10081019
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
test eax, eax
je 0x10080bb9
cmp dword [eax + 0x654], 0x32
jge 0x10080bb9
push 0x100f
push 0x40
add eax, 0x640
push 0
push eax
call fcn.1009bf70
add esp, 0x10
test eax, eax
je 0x10080bb9
mov ecx, dword [esp + 0x198]
push ecx
push 0x1007
push eax
call fcn.1009c140
add esp, 0xc
lea ecx, [esp + 0xc4]
mov byte [esp + 0x278], 5
call sub.MFC42.DLL_CStringList::CStringList
lea ecx, [esp + 0x8c]
mov byte [esp + 0x278], 4
call sub.MFC42.DLL_CDWordArray::CDWordArray
lea ecx, [esp + 0xf4]
mov byte [esp + 0x278], 2
call sub.MFC42.DLL_CStringList::CStringList
lea ecx, [esp + 0xa0]
mov byte [esp + 0x278], 0
call dword [sym.imp.OOLAPLib.dll_public_virtual:_void___thiscall_CMdCommentArray::destructor_void_]
jmp 0x10081019
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov ebx, dword [ebp + 0x30]
mov eax, dword [ebp + 0xc]
cmp eax, edi
mov dword [esp + 0x44], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
jle 0x10081019
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x10]
and eax, 0x8000000
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], ecx
jmp 0x10080c5b
mov eax, dword [esp + 0x4c]
mov ebx, dword [ebp + 0x30]
mov edx, dword [ebp + 0x24]
mov esi, dword [esp + 0x20]
add esi, dword [edx]
test eax, eax
jne 0x10080c71
mov eax, dword [0x100f0d58]
test eax, eax
jne 0x10080c84
mov eax, dword [ebp + 0x10]
cmp byte [eax + 0x13], 0x20
jne 0x10080c84
mov eax, dword [esi + 0xc]
or al, 8
mov dword [esi + 0xc], eax
jmp 0x10080caf
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 0
lea ecx, [esi + 0x58]
push 5
push ecx
push edx
lea ecx, [eax + 0x1654]
call dword [sym.imp.OOLAPLib.dll_public:_long_int___thiscall_CSimpleOLAP::GetCellValue_struct___MIDL___MIDL_itf_OpenMD_0000_0025_const___struct_tagVARIANT___unsigned_short_int__struct___MIDL___MIDL_itf_OpenMD_0000_0022__]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
jl 0x10080f94
cmp word [esi + 0x58], 5
jne 0x10080cbd
fld qword [esi + 0x60]
fadd qword [ebx]
fstp qword [ebx]
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, ebx
jle 0x10080ee2
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x1d0]
push ecx
call fcn.10094520
lea edx, [esp + 0x224]
push edx
call fcn.10094520
mov al, byte [esi]
add esp, 8
test al, 1
je 0x10080d5d
mov eax, dword [ebp + 0x3c]
cmp dword [eax], 0
je 0x10080d5d
lea ecx, [esp + 0x68]
push ecx
call fcn.10095670
mov edx, dword [esi + 0x28]
lea edi, [ebx*8]
add edx, edi
lea eax, [esp + 0x6c]
push edx
push eax
call fcn.100956c0
mov ecx, dword [esi + 0x28]
add ecx, edi
push ecx
call fcn.10095750
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 4]
add esp, 0x10
add edx, edi
lea eax, [esp + 0x68]
add ecx, edi
push edx
push eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.1007fdf0
lea edx, [esp + 0x68]
mov edi, eax
push edx
mov dword [esp + 0x14], edi
call fcn.10095750
add esp, 4
test edi, edi
jl 0x10080fa0
mov eax, dword [esi + 0xc]
test al, 8
jne 0x10080e2a
test al, 4
je 0x10080da2
mov edx, dword [esp + 0x1c]
push 5
lea eax, [esi + 0x58]
push 0
push eax
mov eax, dword [esi + 8]
add eax, edx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
jl 0x10080dd3
lea eax, [esi + 0x58]
lea ecx, [esp + 0x1e8]
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
jmp 0x10080dcd
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x1d0]
push edx
mov edx, dword [esp + 0x20]
add eax, edx
push 5
push eax
mov eax, dword [esp + 0x20]
lea edx, [ecx + ebx*8]
push edx
lea ecx, [eax + 0x1654]
call dword [sym.imp.OOLAPLib.dll_public:_long_int___thiscall_CSimpleOLAP::GetCellValue_struct___MIDL___MIDL_itf_OpenMD_0000_0025_const___struct_tagVARIANT___unsigned_short_int__struct___MIDL___MIDL_itf_OpenMD_0000_0022__]
mov edi, eax
mov dword [esp + 0x10], edi
test byte [esi], 1
je 0x10080e2a
mov edx, dword [esi + 0x2c]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x220]
add edx, eax
mov eax, dword [esi + 0x28]
push ecx
push 5
push edx
mov edx, dword [esp + 0x20]
lea ecx, [eax + ebx*8]
push ecx
lea ecx, [edx + 0x1654]
call dword [sym.imp.OOLAPLib.dll_public:_long_int___thiscall_CSimpleOLAP::GetCellValue_struct___MIDL___MIDL_itf_OpenMD_0000_0025_const___struct_tagVARIANT___unsigned_short_int__struct___MIDL___MIDL_itf_OpenMD_0000_0022__]
mov edi, eax
mov ax, word [esp + 0x238]
test ax, ax
mov dword [esp + 0x10], edi
je 0x10080e1c
cmp ax, 1
jne 0x10080e2a
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + ebx*4]
lea eax, [eax + ebx*4]
or ecx, 0x10
mov dword [eax], ecx
test edi, edi
jl 0x10080e77
mov ax, word [esp + 0x1e8]
test ax, ax
je 0x10080e41
cmp ax, 1
jne 0x10080e77
test byte [esi], 1
jne 0x10080e77
test byte [esi + 0xc], 8
je 0x10080e5a
mov ecx, dword [esi + 0x10]
lea eax, [ecx + ebx*4]
mov ecx, dword [ecx + ebx*4]
or ecx, 8
jmp 0x10080e75
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + ebx*4]
lea eax, [edx + ebx*4]
or ecx, 1
mov dword [eax], ecx
mov edx, dword [esi + 0x18]
mov eax, dword [ebp + 0x2c]
inc edx
mov dword [esi + 0x18], edx
mov ecx, dword [eax]
inc ecx
mov dword [eax], ecx
lea eax, [esp + 0x1d0]
push eax
call fcn.10094560
lea ecx, [esp + 0x224]
push ecx
call fcn.10094560
add esp, 8
test edi, edi
jl 0x10080fac
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x1c]
cmp word [edx + ecx], 5
lea eax, [edx + ecx]
jne 0x10080eb6
fld qword [eax + 8]
fadd qword [esi + 0x20]
fstp qword [esi + 0x20]
test byte [esi], 1
je 0x10080ecf
mov eax, dword [esi + 0x2c]
add eax, ecx
cmp word [eax], 5
jne 0x10080ecf
fld qword [eax + 8]
fadd qword [esi + 0x30]
fstp qword [esi + 0x30]
mov eax, dword [esi + 0x14]
inc ebx
add ecx, 0x10
cmp ebx, eax
mov dword [esp + 0x1c], ecx
jl 0x10080cce
mov ecx, dword [ebp + 0x3c]
cmp dword [ecx], 0
je 0x10080f12
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x10080f12
mov ecx, dword [esp + 0x18]
lea edx, [esi + 0x38]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.1007fdf0
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
jl 0x10080fc5
mov edx, dword [ebp + 0x40]
cmp dword [edx], 0
je 0x10080f65
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x10080f65
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
lea edi, [esi + 0x40]
push edi
push eax
push ecx
mov ecx, ebx
call fcn.1007fdf0
test eax, eax
mov dword [esp + 0x10], eax
jl 0x10080fd1
push 0
add esi, 0x48
push 5
push esi
push edi
lea ecx, [ebx + 0x1654]
call dword [sym.imp.OOLAPLib.dll_public:_long_int___thiscall_CSimpleOLAP::GetCellValue_struct___MIDL___MIDL_itf_OpenMD_0000_0025_const___struct_tagVARIANT___unsigned_short_int__struct___MIDL___MIDL_itf_OpenMD_0000_0022__]
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
jl 0x10080feb
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
inc eax
add esi, 0x68
add edx, 8
cmp eax, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edx
jl 0x10080c54
jmp 0x10081019
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
jmp 0x10080fb6
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
jmp 0x10080fd7
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x10081019
cmp dword [eax + 0x654], 0x32
jge 0x10081019
jmp 0x10081002
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
jmp 0x10080fd7
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x10081019
cmp dword [eax + 0x654], 0x32
jge 0x10081019
push 0x1021
jmp 0x10081007
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
test eax, eax
je 0x10081019
cmp dword [eax + 0x654], 0x32
jge 0x10081019
push 0x1008
push 0x40
add eax, 0x640
push 0
push eax
call fcn.1009bf70
add esp, 0x10
mov ecx, dword [esp + 0x138]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esp + 0x10]
test esi, esi
jge 0x1008104b
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x1008103e
mov edx, dword [ecx]
push 3
call dword [edx + 4]
mov eax, dword [esp + 0x30]
push eax
call fcn.100ae914
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esp + 0x278], 0xffffffff
call sub.MFC42.DLL_CStringArray::CStringArray
mov ecx, dword [esp + 0x270]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x40