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

Disassembly:
sub esp, 0x1c
push ebx
push esi
mov esi, dword [esp + 0x28]
push 0x1006fcbc
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], vtable.CDAOContext.0
mov dword [esp + 0x10], esi
call fcn.10009750
mov ebx, dword [esp + 0x2c]
test ebx, ebx
jl 0x1001e09b
cmp dword [esp + 0x30], 0
jl 0x1001e09b
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001df0b
cmp dword [ecx + 0x10], 0x25
jl 0x1001df44
push 1
push 0
push ecx
push 0xffff8abf
call fcn.1005a550
test eax, eax
je 0x1001df2b
movzx eax, ax
or eax, 0x800a0000
jmp 0x1001e0c6
mov eax, dword [esp + 0x10]
lea ecx, [esp + 8]
mov esi, eax
call fcn.100097c0
mov eax, esi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
mov eax, dword [esi + 8]
test eax, eax
mov edx, dword [esi + 0x74]
mov dword [esp + 0x2c], edx
je 0x1001df0b
mov eax, dword [eax + 0x30]
test eax, eax
je 0x1001df0b
mov eax, dword [eax + 0x34]
test eax, eax
je 0x1001df0b
cmp ebx, edx
push edi
mov edi, dword [eax + 0x20]
mov dword [esp + 0x2c], edi
jae 0x1001df86
mov ecx, edi
call fcn.10007380
test eax, eax
mov dword [esp + 0x14], eax
jl 0x1001e083
mov dword [esi + 0x74], 0
mov edx, dword [edi]
mov eax, dword [edx + 0x19c]
mov ecx, edi
call eax
test eax, eax
jge 0x1001dfce
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
push edx
push eax
call fcn.1005a6a0
test eax, eax
je 0x1001e083
movzx eax, ax
or eax, 0x800a0000
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], eax
mov esi, eax
call fcn.100097c0
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
cmp ebx, dword [esi + 0x74]
push ebp
jbe 0x1001e040
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ebx, [ebx]
mov edi, ebx
sub edi, dword [esi + 0x74]
cmp edi, 0x10000
jbe 0x1001dff2
mov edi, 0x10000
mov eax, dword [esi + 0xb8]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push edi
push eax
mov eax, dword [ecx + 0x6c]
call eax
test eax, eax
jl 0x1001e01b
lea ecx, [esp + 0x1c]
push ecx
call ebp
add dword [esi + 0x74], edi
cmp ebx, dword [esi + 0x74]
ja 0x1001dfe0
jmp 0x1001e039
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 8]
push ecx
push eax
call fcn.1005a6a0
test eax, eax
je 0x1001e039
movzx eax, ax
or eax, 0x800a0000
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x30]
cmp ebx, dword [esi + 0x74]
jne 0x1001e06d
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi + 0xb8]
mov ebp, dword [esp + 0x38]
mov edx, dword [eax]
mov edx, dword [edx + 0x6c]
push ecx
push ebp
push eax
call edx
push eax
lea ecx, [esp + 0x14]
call fcn.1000c3f0
test eax, eax
jne 0x1001e06d
add ebx, ebp
mov dword [esi + 0x74], ebx
mov eax, dword [esp + 0x34]
cmp eax, dword [esi + 0x74]
pop ebp
je 0x1001e083
mov dword [edi + 0x74], 1
or word [esi + 0x78], 4
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
call fcn.100097c0
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 0x10], 0x80070057
je 0x1001e0c1
mov eax, dword [eax + 8]
test eax, eax
je 0x1001e0c1
push 2
push 0x80070057
push eax
call fcn.10019ba0
jmp 0x1001e0c6
mov eax, 0x80070057
lea ecx, [esp + 8]
mov dword [esp + 0x10], eax
mov esi, eax
call fcn.100097c0
mov eax, esi
pop esi
pop ebx
add esp, 0x1c
ret 0x10