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

Disassembly:
push 0xffffffffffffffff
push 0x100b68a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
lea eax, [esp + 0x14]
push edi
mov esi, ecx
push eax
call fcn.100967a0
mov eax, dword [esp + 0x6c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
add esp, 4
dec eax
mov dword [esp + 0xc], 0
je 0x1006ebb4
dec eax
je 0x1006eac3
mov dword [esp + 0xc], 0x80070057
jmp 0x1006ece9
mov eax, dword [esi + 0xb0]
cmp eax, 4
je 0x1006eb1a
cmp eax, 7
je 0x1006eb1a
cmp eax, 9
je 0x1006eb1a
cmp eax, 0xb
je 0x1006eb1a
mov ecx, dword [esi + 0xc8]
mov dword [esp + 0x18], eax
push ecx
call edi
mov edx, dword [esi + 0xe0]
mov dword [esp + 0x1c], eax
push edx
call edi
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xf8]
push eax
call edi
mov ecx, dword [esi + 0x110]
mov dword [esp + 0x24], eax
push ecx
call edi
mov dword [esp + 0x28], eax
jmp 0x1006ebcd
mov edx, dword [esi + 0x110]
mov eax, dword [esi + 0xf8]
mov ecx, dword [esi + 0xe0]
push 1
push edx
mov edx, dword [esi + 0xc8]
push eax
push ecx
push edx
push 0
call fcn.1003ebd0
add esp, 0x18
lea ecx, [esp + 0x68]
mov ebx, eax
call sub.MFC42.DLL_CString::CString
push ebx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x64], 0
call sub.MFC42.DLL_CString::operator_3
push str.MSOLAP
push str.MSOLAP.3
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::Replace_1
push str.MSOLAP
push str.MSOLAP.4
lea ecx, [esp + 0x70]
call sub.MFC42.DLL_CString::Replace_1
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x68]
mov dword [esp + 0x18], 8
call sub.MFC42.DLL_CString::AllocSysString
lea ecx, [esp + 0x68]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x60], 0xffffffff
call fcn.100ae920
jmp 0x1006ebcd
mov ecx, dword [esi + 0x2c]
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x1c]
lea eax, [esi + 0x2c]
push edx
mov edx, dword [esp + 0x74]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x1006ece9
mov ebx, dword [esp + 0x70]
push ebx
push 0x100e12e8
push 0x17
push 0
push 0x100e12d8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov dword [esp + 0xc], eax
jl 0x1006ece9
mov eax, dword [esi + 0x90]
test eax, eax
je 0x1006ecd7
lea eax, [esp + 0x30]
push eax
call fcn.10096850
mov ecx, dword [esi + 0x140]
add esp, 4
push ecx
call edi
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x34], eax
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [eax]
push 2
push eax
mov dword [esp + 0x68], 1
call fcn.1005da30
add esp, 8
lea ecx, [esp + 0x68]
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], 0xffffffff
call fcn.100ae920
mov edx, dword [esi + 0x170]
mov dword [esp + 0x38], 2
push edx
call edi
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x188]
push eax
call edi
mov ecx, dword [esi + 0x1a0]
mov dword [esp + 0x40], eax
push ecx
call edi
mov edx, dword [esi + 0x1d0]
mov dword [esp + 0x44], eax
push edx
call edi
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x1e8]
push eax
call edi
mov ecx, dword [esi + 0x200]
mov dword [esp + 0x4c], eax
push ecx
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [ebx]
push ecx
lea ecx, [esp + 0x34]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x20]
lea edx, [esp + 0x30]
push edx
call fcn.10096990
mov eax, dword [esp + 0x10]
add esp, 4
test eax, eax
jl 0x1006ece9
mov eax, dword [ebx]
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
lea eax, [esp + 0x18]
push eax
call fcn.10096810
mov eax, dword [esp + 0x10]
add esp, 4
test eax, eax
jge 0x1006ede8
test esi, esi
je 0x1006ed0f
cmp dword [esi + 0x654], 0x32
jl 0x1006ed13
xor ebx, ebx
jmp 0x1006ed31
push 0x1020
push 0x40
add esi, 0x640
push 0
push esi
call fcn.1009bf70
mov ebx, eax
mov eax, dword [esp + 0x1c]
add esp, 0x10
mov esi, dword [esp + 0x70]
mov ecx, dword [esi]
test ecx, ecx
je 0x1006ede8
lea eax, [esp + 0x14]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x10], 0
mov edx, dword [ecx]
push eax
push 0x100e12c8
push ecx
call dword [edx]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x70]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x1006edce
mov edx, dword [esp + 0x10]
xor edi, edi
test edx, edx
jle 0x1006edc4
xor esi, esi
mov eax, dword [esi + ecx]
test eax, eax
je 0x1006edb8
cmp word [eax], 0
je 0x1006edb8
test ebx, ebx
je 0x1006edb8
push eax
push 0x1007
push ebx
call fcn.1009c140
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c]
add esp, 0xc
inc edi
add esi, 0x10
cmp edi, edx
jl 0x1006ed90
mov esi, dword [esp + 0x70]
push edx
push ecx
call fcn.1008b1c0
add esp, 8
mov eax, dword [esi]
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
mov dword [esi], 0
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc