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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x100b767f
push eax
mov eax, 0x10d4
mov dword fs:[0], esp
call fcn.100af040
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 4]
push esi
cmp eax, ebp
push edi
je 0x1007ef41
cmp dword [ebx + 0x1690], ebp
je 0x1007ef41
lea ecx, [esp + 0x3c]
call fcn.100aec9e
mov edi, dword [esp + 0x10f4]
mov dword [esp + 0x10ec], ebp
xor esi, esi
cmp dword [esp + 0x10f4], ebp
je 0x1007ee2d
mov eax, dword [esp + 0x10f8]
cmp eax, ebp
jle 0x1007ee2d
cmp esi, eax
jge 0x1007ee79
push edi
lea ecx, [ebx + 0x1174]
call fcn.10078110
jmp 0x1007ee41
mov eax, dword [ebx + 0x117c]
dec eax
cmp esi, eax
jg 0x1007ee79
mov ecx, dword [ebx + 0x1178]
mov eax, dword [ecx + esi*4]
cmp eax, ebp
je 0x1007ee73
mov ecx, dword [eax + 8]
test ecx, 0x20000
jne 0x1007ee73
test byte [esp + 0x10fc], 1
je 0x1007ee64
shr ecx, 0x1c
and ecx, 1
cmp ecx, ebp
je 0x1007ee73
mov edx, dword [esp + 0x44]
push eax
push edx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CPtrArray::SetAtGrow
inc esi
add edi, 0x10
jmp 0x1007ee07
mov eax, dword [esp + 0x44]
dec eax
test eax, eax
jge 0x1007ee9d
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10ec], 0xffffffff
call sub.MFC42.DLL_CPtrArray::CPtrArray
xor eax, eax
jmp 0x1007ef46
lea ecx, [esp + 0xc4]
call dword [sym.imp.OOLAPLib.dll_public:_void___thiscall_CMDXParamBuilderEx::constructor_void_]
mov ecx, dword [ebx + 0xc]
mov byte [esp + 0x10ec], 1
mov eax, dword [ecx + 8]
lea ecx, [esp + 0xc4]
mov edx, dword [eax + 0x68c]
mov eax, dword [eax + 0x688]
push edx
push eax
push ebp
push ebp
call dword [sym.imp.OOLAPLib.dll_public:_int___thiscall_CMDXParamBuilder::Create_struct___MIDL___MIDL_itf_OpenMD_0000_0075___long_int__struct___MIDL___MIDL_itf_OpenMD_0000_0074___long_int_]
test eax, eax
je 0x1007ef19
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebx + 0x16a8]
lea ecx, [esp + 0x1c]
push ebp
push ecx
push eax
lea ecx, [esp + 0x10dc]
mov byte [esp + 0x10f8], 2
call dword [sym.imp.OOLAPLib.dll_public:_long_int___thiscall_CMDXParseString::ParseStringForVar_char_const___class_CString___long_int_]
test eax, eax
jge 0x1007ef61
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10ec], 1
call fcn.100ae920
lea ecx, [esp + 0x10d0]
mov byte [esp + 0x10ec], 0
call fcn.100ae920
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10ec], 0xffffffff
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, 0x80004005
mov ecx, dword [esp + 0x10e4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10e0
ret 0xc
lea edx, [esp + 0x28]
mov ecx, ebx
push edx
mov dword [esp + 0x2c], ebp
call fcn.1007be80
cmp eax, ebp
mov dword [esp + 0x10], eax
jge 0x1007efb8
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x10ec], 1
call fcn.100ae920
lea ecx, [esp + 0x10d0]
mov byte [esp + 0x10ec], 0
call fcn.100ae920
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10ec], 0xffffffff
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, esi
jmp 0x1007ef46
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x54]
lea ecx, [esp + 0x30]
push eax
mov eax, dword [esp + 0x2c]
push ecx
or edi, 0xffffffff
push edx
push eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x64], ebp
call dword [sym.imp.OOLAPLib.dll_long_int___cdecl_SimHelp::GetVersionFromTableStruct_struct_IDbConnect___char_const___long_int___long_int__]
add esp, 0x10
cmp eax, ebp
mov dword [esp + 0x10], eax
jl 0x1007f307
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [ebx + 8]
push edx
push eax
mov dword [esp + 0x24], ebp
call fcn.1002cae0
cmp eax, ebp
mov dword [esp + 0x10], eax
jl 0x1007f307
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString
push 0xa
lea ecx, [esp + 0x74]
mov byte [esp + 0x10f0], 3
call fcn.100aea28
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], edi
mov ecx, dword [ebx + 0x1694]
lea edx, [esp + 0x1c]
mov dword [esp + 0x58], ecx
push edx
lea ecx, [esp + 0x60]
mov byte [esp + 0x10f0], 4
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 0x25d8]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], edx
call sub.MFC42.DLL_CString::CString
push ebp
push ebp
push edi
lea eax, [esp + 0x38]
push ebp
push eax
push 2
push ebp
push ebp
lea ecx, [esp + 0x78]
push ebp
push ecx
mov byte [esp + 0x1114], 5
call dword [sym.imp.OOLAPLib.dll_long_int___cdecl_SimHelp::BuildSimTableQuery_struct_SimHelp::_StoreTableParamTag_const___struct___MIDL___MIDL_itf_OpenMD_0000_0054___long_int__long_int___long_int__class_CString___unsigned_short_int___long_int__unsigned_short_int___char_const__]
add esp, 0x28
cmp eax, ebp
mov dword [esp + 0x10], eax
jl 0x1007f2c2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x50]
push edx
push eax
push ecx
mov ecx, dword [ebx + 8]
call fcn.1002cb80
cmp eax, ebp
mov dword [esp + 0x10], eax
jl 0x1007f2c2
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push ecx
push 0x100e09d0
mov edx, dword [eax]
push eax
call dword [edx]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x8c]
push 1
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x98], 0x272b
mov word [esp + 0x9c], 3
mov dword [esp + 0xa4], 0x800
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x34]
push eax
mov edx, dword [eax]
call dword [edx + 8]
lea ecx, [esp + 0x2c]
mov word [esp + 0xb4], bp
call sub.MFC42.DLL_CString::AllocSysString
lea edx, [esp + 0x10]
mov esi, eax
mov eax, dword [esp + 0x18]
push edx
lea edx, [esp + 0xa8]
push ebp
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x20]
push 0x418
push 2
push esi
push edx
push eax
call dword [ecx + 0x10]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esp + 0x10], ebp
jl 0x1007f2c2
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x1007f25d
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
jle 0x1007f25d
lea ecx, [ecx + ecx*4]
mov esi, dword [eax + ecx*8 - 0x10]
lea eax, [eax + ecx*8]
add esi, dword [eax - 0xc]
push esi
call sub.MFC42.DLL_operatornew
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x38]
push ecx
push 0x100e0a70
mov edx, dword [eax]
push eax
call dword [edx]
mov edx, dword [esp + 0x44]
dec edx
test edx, edx
jl 0x1007f234
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push ecx
mov eax, dword [eax + ebp*4]
push esi
push edi
push eax
mov eax, dword [esp + 0x30]
push edx
push eax
mov ecx, ebx
call fcn.1007e270
test eax, eax
mov dword [esp + 0x10], eax
jl 0x1007f234
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push esi
push edi
push edx
push eax
call dword [ecx + 0x58]
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x1007f234
mov eax, dword [esp + 0x44]
inc ebp
dec eax
cmp ebp, eax
jle 0x1007f1e4
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call fcn.100ae914
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.1008b170
add esp, 0xc
or edi, 0xffffffff
xor ebp, ebp
jmp 0x1007f265
mov dword [esp + 0x10], 0x80004005
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
xor ecx, ecx
cmp edx, ebp
mov edx, dword [esp + 0x14]
setge cl
push ecx
mov ecx, dword [ebx + 8]
push edx
push eax
call fcn.1002cbe0
cmp eax, ebp
mov dword [esp + 0x10], eax
jl 0x1007f2b3
mov ecx, dword [esp + 0x44]
xor eax, eax
dec ecx
test ecx, ecx
jl 0x1007f2b3
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + eax*4]
mov ebp, dword [ecx + 8]
or ebp, 0x20000
inc eax
mov dword [ecx + 8], ebp
mov ecx, dword [esp + 0x44]
dec ecx
cmp eax, ecx
jle 0x1007f296
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 8]
push edx
push eax
call fcn.1002cb60
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10ec], 4
call fcn.100ae920
lea ecx, [esp + 0x70]
mov byte [esp + 0x10ec], 6
call sub.MFC42.DLL_CStringList::CStringList
lea ecx, [esp + 0x5c]
mov byte [esp + 0x10ec], 2
call fcn.100ae920
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [ebx + 8]
call fcn.1002cac0
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10ec], 1
call fcn.100ae920
lea ecx, [esp + 0x10d0]
mov byte [esp + 0x10ec], 0
call fcn.100ae920
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10ec], edi
call sub.MFC42.DLL_CPtrArray::CPtrArray
mov eax, esi
jmp 0x1007ef46