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

Disassembly:
push ebp
mov ebp, esp
push 0x44
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push esi
fld dword [0x4023e8]
fstp dword [ebp - 8]
or dword [ebp - 0x10], 0xffffffff
mov eax, dword [0x4d1b68]
sub eax, 1
jo 0x4bdae1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
jmp 0x4bd8f9
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x20]
jo 0x4bdae1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x24]
jg 0x4bdad5
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x302
jae 0x4bd91a
and dword [ebp - 0x28], 0
jmp 0x4bd922
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
shl eax, 7
mov ecx, dword [0x4d1b5c]
fld dword [ecx + eax + 0x14]
fcomp dword [0x402e70]
fnstsw ax
sahf
jae 0x4bdad0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x302
jae 0x4bd956
and dword [ebp - 0x2c], 0
jmp 0x4bd95e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
shl eax, 7
mov ecx, dword [0x4d1b5c]
cmp dword [ecx + eax + 0x48], 4
je 0x4bdad0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x302
jae 0x4bd98a
and dword [ebp - 0x30], 0
jmp 0x4bd992
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
shl eax, 7
mov ecx, dword [0x4d1b5c]
cmp dword [ecx + eax + 4], 6
jne 0x4bdad0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x302
jae 0x4bd9be
and dword [ebp - 0x34], 0
jmp 0x4bd9c6
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x302
jae 0x4bd9db
and dword [ebp - 0x38], 0
jmp 0x4bd9e3
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
shl eax, 7
mov ecx, dword [0x4d1b5c]
push dword [ecx + eax + 0x7c]
push 0x40da04
call sub.MSVBVM60.DLL___vbaStrCmp
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov eax, dword [ebp - 0x18]
shl eax, 7
mov ecx, dword [0x4d1b5c]
lea eax, [ecx + eax + 0x7c]
push eax
call fcn.004a2696
movsx eax, ax
neg eax
sbb eax, eax
neg eax
or esi, eax
test esi, esi
jne 0x4bdad0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x302
jae 0x4bda42
and dword [ebp - 0x3c], 0
jmp 0x4bda4a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
shl eax, 7
mov ecx, dword [0x4d1b5c]
fld dword [ecx + eax + 8]
fcomp dword [0x404250]
fnstsw ax
sahf
jbe 0x4bdad0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x302
jae 0x4bda7a
and dword [ebp - 0x40], 0
jmp 0x4bda82
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
shl eax, 7
mov ecx, dword [0x4d1b5c]
fld dword [ebp - 8]
fcomp dword [ecx + eax + 0x14]
fnstsw ax
sahf
jbe 0x4bdad0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x302
jae 0x4bdaaf
and dword [ebp - 0x44], 0
jmp 0x4bdab7
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
shl eax, 7
mov ecx, dword [0x4d1b5c]
fld dword [ecx + eax + 0x14]
fstp dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
jmp 0x4bd8ea
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
pop esi
leave
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow