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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x404446
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x48
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401620
cmp dword [0x4d1818], 4
je 0x44104c
cmp dword [0x4d1818], 3
je 0x44104c
jmp 0x4417bd
mov eax, dword [0x4d2144]
mov ecx, dword [0x4d1400]
sub ecx, dword [eax + 8]
jo 0x4417e3
cmp ecx, 0xc8
jl 0x441071
cmp dword [0x4d1910], 0
je 0x441076
jmp 0x4417bd
cmp dword [0x4d1818], 4
jne 0x441448
mov eax, dword [0x4d2144]
cmp dword [eax + 0x10], 0
jne 0x4411e6
mov eax, dword [0x4d2144]
mov dword [eax + 0x10], 0xa
push 0
mov eax, dword [0x4d2144]
push dword [eax + 0x10]
push 1
push 8
mov eax, dword [0x4d2144]
add eax, 0xc
push eax
push 4
push 0x180
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov esi, 0x4110d8
push 0
mov eax, dword [0x4d2144]
push dword [eax + 0xc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x4110e4
push 1
mov eax, dword [0x4d2144]
push dword [eax + 0xc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x4110f0
push 2
mov eax, dword [0x4d2144]
push dword [eax + 0xc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x4110fc
push 3
mov eax, dword [0x4d2144]
push dword [eax + 0xc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x41110c
push 4
mov eax, dword [0x4d2144]
push dword [eax + 0xc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x411118
push 5
mov eax, dword [0x4d2144]
push dword [eax + 0xc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x411118
push 6
mov eax, dword [0x4d2144]
push dword [eax + 0xc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x411124
push 7
mov eax, dword [0x4d2144]
push dword [eax + 0xc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x411130
push 8
mov eax, dword [0x4d2144]
push dword [eax + 0xc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x411140
push 9
mov eax, dword [0x4d2144]
push dword [eax + 0xc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
movzx ax, byte [0x4d188c]
cmp ax, 1
jne 0x44131d
mov eax, dword [0x4d2144]
mov eax, dword [eax + 0x10]
sub eax, 1
jo 0x4417e3
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 1
and dword [ebp - 0x14], 0
jmp 0x441228
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x28]
jo 0x4417e3
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x2c]
jg 0x441257
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 0x14]
mov eax, dword [0x4d2144]
push dword [eax + 0xc]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x441255
jmp 0x4417bd
jmp 0x441219
or word [ebp - 0x1c], 0xffff
mov edx, 0x4110cc
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x20]
push eax
call fcn.0043f4c1
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x18], 0
jl 0x4412fa
call fcn.0044e363
cmp ax, 0xffff
jne 0x441293
jmp 0x4417bd
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x81
jae 0x4412a8
and dword [ebp - 0x4c], 0
jmp 0x4412b0
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
imul eax, eax, 0xac
mov ecx, dword [0x4d2104]
lea eax, [ecx + eax + 4]
push eax
call fcn.0043933e
mov edx, 0x4110a4
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x20]
push eax
call fcn.004513fb
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [0x4d2144]
mov ecx, dword [0x4d1400]
mov dword [eax + 8], ecx
jmp 0x4417bd
mov edx, 0x4110b4
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x20]
push eax
call fcn.004513fb
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4417bd
mov eax, dword [0x4d2144]
mov eax, dword [eax + 0x10]
sub eax, 1
jo 0x4417e3
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 1
and dword [ebp - 0x14], 0
jmp 0x44134d
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x30]
jo 0x4417e3
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x34]
jg 0x441448
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 0x14]
mov eax, dword [0x4d2144]
push dword [eax + 0xc]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x441443
or word [ebp - 0x1c], 0xffff
mov edx, 0x4110cc
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x20]
push eax
call fcn.0043f4c1
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x18], 0
jl 0x441420
call fcn.0044e363
cmp ax, 0xffff
jne 0x4413b9
jmp 0x4417bd
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x81
jae 0x4413ce
and dword [ebp - 0x50], 0
jmp 0x4413d6
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x24]
imul eax, eax, 0xac
mov ecx, dword [0x4d2104]
lea eax, [ecx + eax + 4]
push eax
call fcn.0043933e
mov edx, 0x4110a4
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x20]
push eax
call fcn.004513fb
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [0x4d2144]
mov ecx, dword [0x4d1400]
mov dword [eax + 8], ecx
jmp 0x4417bd
mov edx, 0x4110b4
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x20]
push eax
call fcn.004513fb
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4417bd
jmp 0x44133e
cmp dword [0x4d1818], 3
jne 0x4417bd
mov eax, dword [0x4d2144]
cmp dword [eax + 0x18], 0
jne 0x441561
mov eax, dword [0x4d2144]
mov dword [eax + 0x18], 7
push 0
mov eax, dword [0x4d2144]
push dword [eax + 0x18]
push 1
push 8
mov eax, dword [0x4d2144]
add eax, 0x14
push eax
push 4
push 0x180
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov esi, 0x41114c
push 0
mov eax, dword [0x4d2144]
push dword [eax + 0x14]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x411158
push 1
mov eax, dword [0x4d2144]
push dword [eax + 0x14]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x411164
push 2
mov eax, dword [0x4d2144]
push dword [eax + 0x14]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x410fbc
push 3
mov eax, dword [0x4d2144]
push dword [eax + 0x14]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x410a5c
push 4
mov eax, dword [0x4d2144]
push dword [eax + 0x14]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x40fa30
push 5
mov eax, dword [0x4d2144]
push dword [eax + 0x14]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov esi, 0x40ffa4
push 6
mov eax, dword [0x4d2144]
push dword [eax + 0x14]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
movzx ax, byte [0x4d188c]
cmp ax, 1
jne 0x441698
mov eax, dword [0x4d2144]
mov eax, dword [eax + 0x18]
sub eax, 1
jo 0x4417e3
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 1
and dword [ebp - 0x14], 0
jmp 0x4415a3
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x38]
jo 0x4417e3
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x3c]
jg 0x4415d2
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 0x14]
mov eax, dword [0x4d2144]
push dword [eax + 0x14]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4415d0
jmp 0x4417bd
jmp 0x441594
or word [ebp - 0x1c], 0xffff
mov edx, 0x411098
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x20]
push eax
call fcn.0043f4c1
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x18], 0
jl 0x441675
call fcn.0044e363
cmp ax, 0xffff
jne 0x44160e
jmp 0x4417bd
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x81
jae 0x441623
and dword [ebp - 0x54], 0
jmp 0x44162b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x24]
imul eax, eax, 0xac
mov ecx, dword [0x4d2104]
lea eax, [ecx + eax + 4]
push eax
call fcn.0043933e
mov edx, 0x4110a4
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x20]
push eax
call fcn.004513fb
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [0x4d2144]
mov ecx, dword [0x4d1400]
mov dword [eax + 8], ecx
jmp 0x4417bd
mov edx, 0x4110b4
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x20]
push eax
call fcn.004513fb
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4417bd
mov eax, dword [0x4d2144]
mov eax, dword [eax + 0x18]
sub eax, 1
jo 0x4417e3
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 1
and dword [ebp - 0x14], 0
jmp 0x4416c8
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x40]
jo 0x4417e3
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x44]
jg 0x4417bd
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 0x14]
mov eax, dword [0x4d2144]
push dword [eax + 0x14]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4417b8
or word [ebp - 0x1c], 0xffff
mov edx, 0x411098
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x20]
push eax
call fcn.0043f4c1
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x18], 0
jl 0x441798
call fcn.0044e363
cmp ax, 0xffff
jne 0x441734
jmp 0x4417bd
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x81
jae 0x441749
and dword [ebp - 0x58], 0
jmp 0x441751
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x24]
imul eax, eax, 0xac
mov ecx, dword [0x4d2104]
lea eax, [ecx + eax + 4]
push eax
call fcn.0043933e
mov edx, 0x4110a4
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x20]
push eax
call fcn.004513fb
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [0x4d2144]
mov ecx, dword [0x4d1400]
mov dword [eax + 8], ecx
jmp 0x4417bd
mov edx, 0x4110b4
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x20]
push eax
call fcn.004513fb
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4417bd
jmp 0x4416b9
push 0x4417ce
jmp 0x4417cd
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow