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

Disassembly:
push ebp
mov ebp, esp
push 0x50
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push esi
mov dword [ebp - 8], 1
mov eax, dword [0x4d1b68]
sub eax, 1
jo 0x4425c4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 1
and dword [ebp - 4], 0
jmp 0x4423a8
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x24]
jo 0x4425c4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x28]
jg 0x4425bc
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x302
jae 0x4423c9
and dword [ebp - 0x2c], 0
jmp 0x4423d1
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x302
jae 0x4423e8
and dword [ebp - 0x30], 0
jmp 0x4423f0
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
shl eax, 7
mov ecx, dword [ebp - 0x10]
shl ecx, 7
mov edx, dword [0x4d1b5c]
mov esi, dword [0x4d1b5c]
mov eax, dword [edx + eax + 0x20]
cmp eax, dword [esi + ecx + 0x20]
je 0x4425b7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x302
jae 0x44242b
and dword [ebp - 0x34], 0
jmp 0x442433
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
shl eax, 7
mov ecx, dword [0x4d1b5c]
cmp dword [ecx + eax + 4], 6
jne 0x4425b7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x302
jae 0x44245f
and dword [ebp - 0x38], 0
jmp 0x442467
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
shl eax, 7
mov ecx, dword [0x4d1b5c]
cmp dword [ecx + eax + 0x48], 4
je 0x4425b7
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x302
jae 0x442495
and dword [ebp - 0x3c], 0
jmp 0x44249d
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x302
jae 0x4424b4
and dword [ebp - 0x40], 0
jmp 0x4424bc
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x302
jae 0x4424d3
and dword [ebp - 0x44], 0
jmp 0x4424db
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x302
jae 0x4424f0
and dword [ebp - 0x48], 0
jmp 0x4424f8
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x302
jae 0x44250d
and dword [ebp - 0x4c], 0
jmp 0x442515
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x302
jae 0x44252a
and dword [ebp - 0x50], 0
jmp 0x442532
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x20]
shl eax, 7
mov ecx, dword [0x4d1b5c]
lea eax, [ecx + eax + 0xc]
push eax
mov eax, dword [ebp - 0x1c]
shl eax, 7
mov ecx, dword [0x4d1b5c]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x18]
shl eax, 7
mov ecx, dword [0x4d1b5c]
lea eax, [ecx + eax + 8]
push eax
mov eax, dword [ebp - 0x14]
shl eax, 7
mov ecx, dword [0x4d1b5c]
lea eax, [ecx + eax + 0xc]
push eax
mov eax, dword [ebp - 0x10]
shl eax, 7
mov ecx, dword [0x4d1b5c]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
shl eax, 7
mov ecx, dword [0x4d1b5c]
lea eax, [ecx + eax + 8]
push eax
call fcn.0045195c
call sub.MSVBVM60.DLL___vbaFpR4
mov eax, dword [ebp + 0xc]
fcomp dword [eax]
fnstsw ax
sahf
ja 0x4425b7
mov eax, dword [ebp - 8]
add eax, 1
jo 0x4425c4
mov dword [ebp - 8], eax
jmp 0x442399
mov eax, dword [ebp - 8]
pop esi
leave
ret 8
call sub.MSVBVM60.DLL___vbaErrorOverflow