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

Disassembly:
push 0xffffffffffffffff
push 0x4fb108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x34], vtable.CArray_struct_tagVARIANT__struct_tagVARIANT__.0
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x64]
mov dword [esp + 0x50], esi
mov ebx, eax
cmp byte [eax], 0
je 0x4c8afe
mov eax, dword [esp + 0x68]
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edi, [eax - 4]
cmp byte [ebx], 0x25
jne case.0x4c8a28.70
movsx eax, byte [ebx + 1]
inc ebx
add eax, 0xffffffbc
cmp eax, 0x2f
ja case.0x4c8a28.70
xor ecx, ecx
mov cl, byte [eax + 0x4c8bdc]
jmp dword [ecx*4 + 0x4c8bd0]
mov esi, dword [edi + 4]
add edi, 4
lea edx, [esp + 0x14]
push edx
call ebp
push esi
lea ecx, [esp + 0x14]
mov word [esp + 0x18], 8
call sub.MFC42.DLL_CString::CString_2
mov ecx, eax
mov byte [esp + 0x50], 1
call sub.MFC42.DLL_CString::AllocSysString
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x50], 0
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
lea ecx, [esp + 0x38]
lea eax, [esi + 1]
push eax
call fcn.004c9070
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
shl esi, 4
add esi, eax
mov dword [esi], ecx
mov edx, dword [esp + 0x18]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x1c]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x20]
jmp 0x4c8aed
mov esi, dword [edi + 4]
add edi, 4
lea edx, [esp + 0x24]
push edx
call ebp
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
lea ecx, [esp + 0x38]
lea eax, [esi + 1]
mov word [esp + 0x28], 3
push eax
call fcn.004c9070
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
shl esi, 4
add esi, eax
mov dword [esi], ecx
mov edx, dword [esp + 0x28]
mov dword [esi + 4], edx
mov eax, dword [esp + 0x2c]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xc], ecx
xor esi, esi
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x4c8a06
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x64], esi
push edx
push esi
push 0xc
mov dword [esp + 0x74], esi
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
lea ecx, [esp + 0x64]
mov dword [esp + 0x68], eax
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov edx, dword [esp + 0x3c]
lea ecx, [edx - 1]
cmp ecx, esi
jl 0x4c8b66
xor eax, eax
inc ecx
mov edx, 0x10
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x64]
add edi, eax
add eax, edx
mov ebp, dword [edi]
mov dword [ebx], ebp
mov ebp, dword [edi + 4]
mov dword [ebx + 4], ebp
mov ebp, dword [edi + 8]
mov dword [ebx + 8], ebp
mov edi, dword [edi + 0xc]
mov dword [ebx + 0xc], edi
mov ebp, dword [esp + 0x64]
add ebp, edx
dec ecx
mov dword [esp + 0x64], ebp
jne 0x4c8b37
mov eax, dword [esp + 0x68]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push ecx
call fcn.004c86b0
mov edx, dword [esp + 0x78]
add esp, 0x10
mov bl, al
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
mov dword [esp + 0x34], vtable.CArray_struct_tagVARIANT__struct_tagVARIANT__.0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x50], 2
cmp eax, esi
je 0x4c8bbb
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x48]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret