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

Disassembly:
sub esp, 0x178
push ebx
push esi
push edi
mov edi, dword [esp + 0x188]
push str.get_Value
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], vtable.CDAOContext.0
mov dword [esp + 0x14], edi
call fcn.10009750
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
test edx, edx
je 0x1001d5df
mov ebx, 0x25
cmp dword [edx + 0x10], ebx
jl 0x1001d634
push 1
push 0
push edx
push 0xffff8abf
call fcn.1005a550
test eax, eax
je 0x1001d617
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, 0x178
ret 8
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.100097c0
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x178
ret 8
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1001d5df
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x1001d5df
cmp dword [eax + 0x34], 0
je 0x1001d5df
mov eax, dword [eax + 0x34]
mov esi, dword [eax + 0x20]
test esi, esi
je 0x1001d5df
cmp dword [ecx + 0x10], ebx
jge 0x1001d5df
mov edx, dword [esi]
mov eax, dword [edx + 0x19c]
push ebp
mov ecx, esi
call eax
test eax, eax
jge 0x1001d6a4
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
push edx
push eax
call fcn.1005a6a0
test eax, eax
je 0x1001d984
movzx eax, ax
or eax, 0x800a0000
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.100097c0
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x178
ret 8
mov eax, dword [edi + 8]
movzx eax, word [eax + 0xc6]
cmp ax, 0xc
je 0x1001d6e0
cmp ax, 0xb
je 0x1001d6e0
mov eax, dword [edi + 0xb8]
mov edx, dword [esp + 0x190]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
push eax
lea ecx, [esp + 0x14]
call fcn.1000c3f0
mov eax, dword [esp + 0x18]
jmp 0x1001d68a
test byte [edi + 0x78], 4
je 0x1001d6f5
mov ecx, esi
call fcn.100327a0
test eax, eax
mov dword [esp + 0x18], eax
jl 0x1001d68a
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [esp + 0x1c], 0
mov ebx, 0x4000
lea esi, [esp + 0x78]
mov edi, 0x11
push esi
call ebp
add esi, 0x10
sub edi, 1
jne 0x1001d711
lea esi, [esp + 0x78]
mov ebp, dword [esp + 0x18c]
mov eax, dword [ebp + 0xb8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6c]
push esi
push ebx
push eax
call edx
test eax, eax
jl 0x1001d795
movzx eax, word [esi]
cmp ax, 8
jne 0x1001d750
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
jmp 0x1001d776
cmp ax, 0x2011
jne 0x1001d774
mov edx, dword [esi + 8]
lea ecx, [esp + 0x24]
push ecx
push 1
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
test eax, eax
jl 0x1001d7b3
mov eax, dword [esp + 0x24]
add eax, 1
jmp 0x1001d776
xor eax, eax
add dword [esp + 0x1c], eax
cmp eax, ebx
mov dword [esp + 0x24], eax
mov dword [esp + edi*4 + 0x34], eax
jl 0x1001d7b3
add edi, 1
add esi, 0x10
cmp edi, 0x11
jge 0x1001d7b3
add ebx, ebx
jmp 0x1001d720
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
push edx
push eax
call fcn.1005a6a0
test eax, eax
je 0x1001d7b3
movzx eax, ax
or eax, 0x800a0000
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x1c]
xor edx, edx
cmp ecx, edx
je 0x1001d962
mov eax, dword [ebp + 8]
cmp eax, edx
je 0x1001d7d4
mov eax, dword [eax + 0x30]
cmp eax, edx
je 0x1001d7d4
mov eax, dword [eax + 0x34]
jmp 0x1001d7d6
xor eax, eax
mov eax, dword [eax + 0x20]
mov dword [eax + 0x74], 1
or word [ebp + 0x78], 4
cmp word [esp + 0x78], 8
mov dword [ebp + 0x74], ecx
jne 0x1001d8b5
cmp ecx, edx
jge 0x1001d825
mov eax, dword [esp + 0x14]
cmp eax, edx
mov ecx, 0x8007000e
mov dword [esp + 0x18], ecx
je 0x1001d81e
mov eax, dword [eax + 8]
cmp eax, edx
je 0x1001d81e
push 2
push ecx
push eax
call fcn.10019ba0
jmp 0x1001d686
mov eax, ecx
jmp 0x1001d686
push ecx
push edx
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test eax, eax
mov dword [esp + 0x20], eax
jne 0x1001d867
mov eax, dword [esp + 0x14]
test eax, eax
mov ecx, 0x8007000e
mov dword [esp + 0x18], ecx
je 0x1001d98d
mov eax, dword [eax + 8]
test eax, eax
je 0x1001d98d
push 2
push ecx
push eax
call fcn.10019ba0
mov dword [esp + 0x18], eax
jmp 0x1001d962
mov ebp, eax
xor edi, edi
lea ebx, [esp + 0x78]
nop
movzx eax, word [ebx]
test ax, ax
je 0x1001d89d
cmp ax, 1
je 0x1001d89d
mov esi, dword [esp + edi*4 + 0x34]
mov ecx, dword [ebx + 8]
push esi
push ecx
push ebp
call sub.msvcrt.dll_memcpy
add edi, 1
add esp, 0xc
add ebp, esi
add ebx, 0x10
cmp edi, 0x11
jl 0x1001d870
mov eax, dword [esp + 0x190]
mov edx, dword [esp + 0x20]
mov word [eax], 8
mov dword [eax + 8], edx
jmp 0x1001d962
lea eax, [esp + 0x2c]
push eax
push 1
push 0x11
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov edi, eax
test edi, edi
mov dword [esp + 0x20], edi
je 0x1001d835
mov ebp, dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
lea ecx, [esp + 0x1c]
push ecx
push edi
call ebp
xor ebx, ebx
lea esi, [esp + 0x80]
lea esp, [esp]
movzx eax, word [esi - 8]
test ax, ax
je 0x1001d94c
cmp ax, 1
je 0x1001d94c
mov eax, dword [esi]
lea edx, [esp + 0x28]
push edx
push eax
call ebp
mov edi, dword [esp + ebx*4 + 0x34]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push edi
push ecx
push edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esi]
add dword [esp + 0x28], edi
add esp, 0xc
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov edi, dword [esp + 0x20]
add ebx, 1
add esi, 0x10
cmp ebx, 0x11
jl 0x1001d900
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov eax, dword [esp + 0x190]
mov word [eax], 0x2011
mov dword [eax + 8], edi
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor edi, edi
lea esi, [esp + 0x78]
mov edi, edi
cmp word [esi], 0
je 0x1001d984
push esi
call ebx
add edi, 1
add esi, 0x10
cmp edi, 0x11
jl 0x1001d970
mov eax, dword [esp + 0x18]
jmp 0x1001d68a
mov dword [esp + 0x18], ecx
jmp 0x1001d962