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

Disassembly:
push ebp
mov ebp, esp
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push esi
mov eax, dword [0x502210]
cmp dword [eax + 0xf4], 0
jne 0x4d1b9c
mov eax, dword [0x502210]
mov dword [eax + 0xf4], 8
push 0
mov eax, dword [0x502210]
push dword [eax + 0xf4]
push 1
push 8
mov eax, dword [0x502210]
add eax, 0xf0
push eax
push 4
push 0x180
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov esi, 0x43d8e0
push 0
mov eax, dword [0x502210]
push dword [eax + 0xf0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x43d8ec
push 1
mov eax, dword [0x502210]
push dword [eax + 0xf0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x43d8fc
push 2
mov eax, dword [0x502210]
push dword [eax + 0xf0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x43d90c
push 3
mov eax, dword [0x502210]
push dword [eax + 0xf0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x43d91c
push 4
mov eax, dword [0x502210]
push dword [eax + 0xf0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x43d92c
push 5
mov eax, dword [0x502210]
push dword [eax + 0xf0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x43d93c
push 6
mov eax, dword [0x502210]
push dword [eax + 0xf0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x43be24
push 7
mov eax, dword [0x502210]
push dword [eax + 0xf0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [0x502210]
mov eax, dword [eax + 0xf4]
sub eax, 1
jo 0x4d1c04
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
and dword [ebp - 4], 0
jmp 0x4d1bc7
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
jo 0x4d1c04
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jg 0x4d1bfb
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 4]
mov eax, dword [0x502210]
push dword [eax + 0xf0]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4d1bf9
or word [ebp - 8], 0xffff
jmp 0x4d1bfb
jmp 0x4d1bbc
mov ax, word [ebp - 8]
pop esi
leave
ret 4
call sub.MSVBVM60.DLL___vbaErrorOverflow
push ebp
mov ebp, esp
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push esi
mov eax, dword [0x502210]
cmp dword [eax + 0xfc], 0
jne 0x4d1ce1
mov eax, dword [0x502210]
mov dword [eax + 0xfc], 4
push 0
mov eax, dword [0x502210]
push dword [eax + 0xfc]
push 1
push 8
mov eax, dword [0x502210]
add eax, 0xf8
push eax
push 4
push 0x180
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov esi, 0x43ba0c
push 0
mov eax, dword [0x502210]
push dword [eax + 0xf8]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x43d880
push 1
mov eax, dword [0x502210]
push dword [eax + 0xf8]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x43d8d0
push 2
mov eax, dword [0x502210]
push dword [eax + 0xf8]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x43d8c0
push 3
mov eax, dword [0x502210]
push dword [eax + 0xf8]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, dword [0x502210]
mov eax, dword [eax + 0xfc]
sub eax, 1
jo 0x4d1d49
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
and dword [ebp - 4], 0
jmp 0x4d1d0c
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
jo 0x4d1d49
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jg 0x4d1d40
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 4]
mov eax, dword [0x502210]
push dword [eax + 0xf8]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4d1d3e
or word [ebp - 8], 0xffff
jmp 0x4d1d40
jmp 0x4d1d01
mov ax, word [ebp - 8]
pop esi
leave
ret 4
call sub.MSVBVM60.DLL___vbaErrorOverflow