Function at 0x444da0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403816
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401b08
mov edx, dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x74], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstrB]
mov esi, eax
add eax, 8
jo 0x444d8f
cdq
and edx, 0x3f
add eax, edx
mov ecx, eax
sar ecx, 6
add ecx, 1
jo 0x444d8f
imul ecx, ecx, 0x10
mov dword [ebp - 0x2c], esi
jo 0x444d8f
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
push ebx
lea edx, [ebp - 0x38]
mov dword [ebp - 0x28], eax
sub ax, 1
jo 0x444d8f
movsx ecx, ax
push ecx
push 1
push 3
push edx
push 4
push 0x80
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
xor edi, edi
cmp edi, esi
mov eax, edi
cdq
jge 0x444b8a
and edx, 3
add eax, edx
mov ebx, eax
mov esi, edi
sar ebx, 2
and esi, 0x80000003
jns 0x444a4a
dec esi
or esi, 0xfffffffc
inc esi
imul esi, esi, 8
jo 0x444d8f
lea ecx, [ebp - 0x54]
push ecx
mov edx, edi
lea eax, [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x6c], eax
jo 0x444d8f
push edx
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x74], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcMidVar]
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcByteValueBstr]
mov byte [ebp - 0x88], al
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x444ae0
cmp word [eax], 1
jne 0x444ae0
mov edx, dword [eax + 0x14]
mov ecx, ebx
sub ecx, edx
cmp ecx, dword [eax + 0x10]
mov dword [ebp - 0x90], ecx
jb 0x444ad5
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x90]
shl ecx, 2
mov dword [ebp - 0x9c], ecx
jmp 0x444aef
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x444b1d
cmp word [eax], 1
jne 0x444b1d
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
sub ebx, edx
cmp ebx, ecx
jb 0x444b0e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x38]
lea edx, [ebx*4]
mov dword [ebp - 0xa0], edx
jmp 0x444b2c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax + 0xc]
mov ecx, esi
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I4]
push eax
mov eax, dword [ebp - 0x88]
and eax, 0xff
push eax
call fcn.00443f20
mov ecx, dword [ebp - 0x9c]
or eax, dword [ebx + ecx]
mov edx, dword [ebp - 0xa0]
lea ecx, [ebp - 0x44]
mov dword [ebx + edx], eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov esi, dword [ebp - 0x2c]
add esp, 0xc
add edi, 1
jo 0x444d8f
xor ebx, ebx
jmp 0x444a26
and edx, 3
add eax, edx
mov esi, eax
sar esi, 2
and edi, 0x80000003
jns 0x444ba1
dec edi
or edi, 0xfffffffc
inc edi
mov eax, dword [ebp - 0x38]
imul edi, edi, 8
jo 0x444d8f
cmp eax, ebx
je 0x444be7
cmp word [eax], 1
jne 0x444be7
mov edx, dword [eax + 0x14]
mov ecx, esi
sub ecx, edx
cmp ecx, dword [eax + 0x10]
mov dword [ebp - 0x90], ecx
jb 0x444bd8
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x90]
lea edx, [ecx*4]
mov dword [ebp - 0xa4], edx
jmp 0x444bf6
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x444c1e
cmp word [eax], 1
jne 0x444c1e
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
sub esi, edx
cmp esi, ecx
jb 0x444c15
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x38]
lea ebx, [esi*4]
jmp 0x444c29
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ebx, eax
mov eax, dword [ebp - 0x38]
mov esi, dword [eax + 0xc]
mov ecx, edi
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I4]
push eax
push 0x80
call fcn.00443f20
mov ecx, dword [ebp - 0xa4]
or eax, dword [esi + ecx]
mov dword [esi + ebx], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x444c80
cmp word [eax], 1
jne 0x444c80
mov edi, dword [ebp - 0x28]
mov ecx, dword [eax + 0x10]
mov dx, di
sub dx, 2
jo 0x444d8f
movsx esi, dx
sub esi, dword [eax + 0x14]
cmp esi, ecx
jb 0x444c7b
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
shl esi, 2
jmp 0x444c8b
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edi, dword [ebp - 0x28]
mov esi, eax
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
mov ecx, 3
call ebx
push eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00443f20
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0xc]
mov dword [edx + esi], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x444cdc
cmp word [eax], 1
jne 0x444cdc
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
sub di, 1
jo 0x444d8f
movsx esi, di
sub esi, edx
cmp esi, ecx
jb 0x444cd7
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
shl esi, 2
jmp 0x444ce4
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov esi, eax
mov ecx, 0x1d
call ebx
push eax
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004444b0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0xc]
mov dword [edx + esi], eax
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], 0x2003
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
push 0x444d60
jmp 0x444d4a
lea eax, [ebp - 0x38]
push eax
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403816
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401b18
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x1c], al
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x90], eax
xor esi, esi
mov eax, 3
cmp si, ax
jg 0x444ee6
mov ebx, 7
cmp ebx, 0x1f
jb 0x444e12
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov cx, si
imul cx, cx, 8
jo 0x444f2f
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004444b0
mov edx, dword [0x48141c]
mov ecx, eax
and ecx, dword [edx + ebx*4]
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I4]
lea ecx, [ebp - 0x70]
mov byte [ebp - 0x1c], al
push ecx
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x1c]
push edx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x70], 0x4011
call dword [sym.imp.MSVBVM60.DLL_rtcHexVarFromVar]
mov eax, dword [ebp - 0x18]
push 2
mov dword [ebp - 0x88], eax
mov eax, 8
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x80], eax
push edx
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x78], 0x40eefc
call edi
push eax
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcRightCharVar]
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x60]
push ecx
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x18]
call dword [0x4012dc]
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x30]
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, 1
add esp, 0x14
add ax, si
jo 0x444f2f
mov esi, eax
jmp 0x444df4
push 0x444f19
jmp 0x444f18
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop