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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10070470
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x1008d200]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov byte [esp + 0x17], 0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], 0x1007cbb4
mov dword [esp + 0x38], eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x78], ebx
mov eax, dword [ecx]
cmp eax, ebx
jne 0x1001e7cd
push 0x80004003
call fcn.10069d90
mov edx, dword [eax]
mov edx, dword [edx + 0x68]
lea ecx, [esp + 0x20]
push ecx
push eax
call edx
test eax, eax
js 0x1001eb00
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1001eb0f
lea ecx, [esp + 0x28]
push ecx
push 1
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push edx
push 1
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x28]
jl 0x1001eb00
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
cmp eax, ebx
jl 0x1001eb00
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp + 0xc]
mov byte [esp + 0x78], 1
mov eax, dword [ecx]
cmp eax, ebx
je 0x1001e7c3
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x58]
push ecx
push eax
call edx
cmp eax, ebx
mov eax, dword [esp + 0x18]
jl 0x1001eb48
cmp eax, ebx
je 0x1001eb48
mov dword [esp + 0x1c], ebx
push eax
lea edi, [esp + 0x20]
mov byte [esp + 0x7c], 2
call fcn.10024160
cmp eax, ebx
jl 0x1001ea46
mov eax, 9
mov word [esp + 0x3c], ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], eax
cmp eax, ebx
je 0x1001e8b6
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x78], 4
mov edx, dword [esp + 0x1c]
cmp edx, ebx
je 0x1001e7c3
mov ecx, dword [0x10098790]
mov eax, dword [ecx + 0x7c]
cmp eax, 0x200
jl 0x1001e8e6
xor eax, eax
jmp 0x1001e8eb
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax]
cmp eax, ebx
je 0x1001e8f5
mov ecx, dword [eax]
jmp 0x1001e8f7
xor ecx, ecx
mov edi, dword [esp + 0x3c]
mov esi, dword [edx]
lea eax, [esp + 0x5c]
push eax
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x58]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x5c]
push ebx
push 0x1014
mov dword [eax + 8], edi
mov edi, dword [esp + 0x68]
push ecx
mov ecx, dword [esi + 0xe4]
push edx
mov dword [eax + 0xc], edi
call ecx
cmp eax, ebx
jl 0x1001ea79
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x78], 5
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x1001e7c3
mov eax, dword [0x10098790]
mov eax, dword [eax + 0x64]
call fcn.10028170
mov eax, dword [eax]
cmp eax, ebx
je 0x1001e96a
mov ecx, dword [eax]
jmp 0x1001e96c
xor ecx, ecx
mov edi, dword [esp + 0x3c]
mov edx, dword [esi]
lea eax, [esp + 0x4c]
push eax
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x58]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x5c]
push ebx
push 0x1014
mov dword [eax + 8], edi
mov edi, dword [esp + 0x68]
push ecx
mov ecx, dword [edx + 0xe4]
push esi
mov dword [eax + 0xc], edi
call ecx
cmp eax, ebx
jl 0x1001eb28
mov edx, dword [esp + 0x4c]
and edx, 0xfff
cmp edx, 0x14
jne 0x1001eb28
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
mov edi, dword [esp + 0x54]
lea edx, [esp + 0x5c]
push edx
call eax
mov ebx, eax
push edi
push ebx
lea esi, [esp + 0x3c]
call fcn.10029520
test al, al
jne 0x1001eaa4
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x4c]
push ecx
call esi
lea edx, [esp + 0x5c]
push edx
call esi
lea eax, [esp + 0x3c]
push eax
call esi
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1001ea17
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1001ea2c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
dec eax
xor ebx, ebx
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x28]
jge 0x1001e820
jmp 0x1001eb00
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1001ea5b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1001eb00
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x1001eb00
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x5c]
push eax
call esi
lea ecx, [esp + 0x3c]
push ecx
call esi
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1001ea5b
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x1001ea5b
mov eax, dword [ebp + 0x18]
push eax
push edi
lea ecx, [esp + 0x3c]
push ebx
push ecx
call dword [ebp + 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
add esp, 0x10
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x1b], al
call esi
lea eax, [esp + 0x5c]
push eax
call esi
lea ecx, [esp + 0x3c]
push ecx
call esi
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1001eae9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1001eafe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor ebx, ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x1001eb0f
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x4c]
push eax
call esi
lea ecx, [esp + 0x5c]
push ecx
call esi
lea edx, [esp + 0x3c]
push edx
call esi
jmp 0x1001ea46
mov byte [esp + 0x78], 0
jmp 0x1001ea64