Function at 0x442cb8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x403d46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x220
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x401698
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x174], 0x413a20
mov dword [ebp - 0x17c], 8
lea edx, [ebp - 0x17c]
mov ecx, dword [ebp + 0x10]
call sub.MSVBVM60.DLL___vbaVargVarCopy
push 1
call sub.MSVBVM60.DLL___vbaOnError
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x17c]
call sub.MSVBVM60.DLL___vbaVarVargNofree
push eax
lea eax, [ebp - 0x40]
push eax
call sub.MSVBVM60.DLL___vbaStrVarVal
push eax
call sub.MSVBVM60.DLL_rtcFileLen
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x17c], 0x8003
lea eax, [ebp - 0x17c]
push eax
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x18c]
call sub.MSVBVM60.DLL___vbaVarVargNofree
push eax
call sub.MSVBVM60.DLL___vbaVarTstGt
movsx eax, ax
test eax, eax
je 0x4433b4
mov dword [ebp - 0x164], 0x80020004
mov dword [ebp - 0x16c], 0xa
mov dword [ebp - 0x154], 0x80020004
mov dword [ebp - 0x15c], 0xa
mov dword [ebp - 0x144], 0x80020004
mov dword [ebp - 0x14c], 0xa
push 0x1f6
call fcn.004a4667
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 8
mov eax, dword [0x4cf1c4]
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x18c], 8
push 0x39
call fcn.004a4667
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], 8
mov dword [ebp - 0x194], 0x4163a0
mov dword [ebp - 0x19c], 8
mov dword [ebp - 0xc4], 0x80020004
mov dword [ebp - 0xcc], 0xa
lea eax, [ebp - 0x38]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1ac], 0x4003
push 1
push 1
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0xdc]
push eax
call sub.MSVBVM60.DLL_rtcVarFromFormatVar
mov dword [ebp - 0x1c4], 0x4163ac
mov dword [ebp - 0x1cc], 8
mov eax, dword [0x4cf1c4]
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 0x1dc], 8
push 0x4d
call fcn.004a4667
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x11c], 8
mov dword [ebp - 0x1e4], 0x415b34
mov dword [ebp - 0x1ec], 8
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x14c]
push eax
push 0
lea eax, [ebp - 0x6c]
push eax
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x17c]
call sub.MSVBVM60.DLL___vbaVarVargNofree
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
push eax
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xac]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
push eax
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0xbc]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xec]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
push eax
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0xfc]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
push eax
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x10c]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x12c]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
push eax
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x13c]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
push eax
call sub.MSVBVM60.DLL_rtcMsgBox
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0x11
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x48
push 0x4163c4
push dword [0x4cf1c4]
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 8
lea edx, [ebp - 0x6c]
mov ecx, dword [ebp + 0x10]
call sub.MSVBVM60.DLL___vbaVargVarMove
mov dword [ebp - 0x174], 0x416418
mov dword [ebp - 0x17c], 8
push 0x3a
call fcn.004a4667
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], 8
mov dword [ebp - 0x194], 0x416424
mov dword [ebp - 0x19c], 8
mov eax, dword [0x4cf1c4]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1ac], 8
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x18c]
call sub.MSVBVM60.DLL___vbaVarVargNofree
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
push eax
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x9c]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
push eax
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0xac]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
mov edx, eax
mov ecx, dword [ebp + 0x10]
call sub.MSVBVM60.DLL___vbaVargVarMove
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 0x174], 0x4163c4
mov dword [ebp - 0x17c], 8
mov eax, dword [0x4cf1c4]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x19c], 8
mov eax, dword [0x4cf1c4]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1ac], 8
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x18c]
call sub.MSVBVM60.DLL___vbaVarVargNofree
push eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
push eax
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
push eax
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
mov edx, eax
mov ecx, dword [ebp + 0x10]
call sub.MSVBVM60.DLL___vbaVargVarMove
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 0x64], 0x80020004
mov dword [ebp - 0x6c], 0xa
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL_rtcFreeFile
mov word [ebp - 0x3c], ax
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18c]
call sub.MSVBVM60.DLL___vbaVarVargNofree
push eax
call sub.MSVBVM60.DLL___vbaStrVarCopy
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x3c]
push 0xffffffffffffffff
push 1
call sub.MSVBVM60.DLL___vbaFileOpen
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaFreeStr
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1ac], 0x8003
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x17c], 3
mov dword [ebp - 0x194], 0x400
mov dword [ebp - 0x19c], 2
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x17c]
push eax
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x18c]
call sub.MSVBVM60.DLL___vbaVarVargNofree
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL___vbaVarSub
push eax
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarSub
push eax
call sub.MSVBVM60.DLL___vbaVarTstLt
movsx eax, ax
test eax, eax
je 0x4432ab
push dword [ebp - 0x3c]
push 0x400
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL_rtcInputCharCountVar
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaFreeVar
mov eax, dword [ebp - 0x20]
add eax, 0x400
jo 0x4437a0
mov dword [ebp - 0x20], eax
jmp 0x4431eb
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x20]
jo 0x4437a0
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x17c], 3
push dword [ebp - 0x3c]
lea eax, [ebp - 0x17c]
push eax
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x18c]
call sub.MSVBVM60.DLL___vbaVarVargNofree
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL___vbaVarSub
push eax
call sub.MSVBVM60.DLL___vbaI4Var
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL_rtcInputCharCountVar
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x7c]
call sub.MSVBVM60.DLL___vbaFreeVar
push dword [ebp - 0x3c]
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x17c]
call sub.MSVBVM60.DLL___vbaVarVargNofree
push eax
call sub.MSVBVM60.DLL___vbaI4Var
push eax
call sub.MSVBVM60.DLL_rtcInputCharCount
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 8
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x18c]
call sub.MSVBVM60.DLL___vbaVarVargNofree
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarAdd
mov edx, eax
mov ecx, dword [ebp + 0x10]
call sub.MSVBVM60.DLL___vbaVargVarMove
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaFreeVar
push dword [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFileClose
and dword [ebp - 0x174], 0
mov dword [ebp - 0x17c], 0xb
lea edx, [ebp - 0x17c]
mov ecx, dword [ebp + 0x18]
call sub.MSVBVM60.DLL___vbaVargVarMove
or dword [ebp - 0x174], 0xffffffff
mov dword [ebp - 0x17c], 0xb
lea edx, [ebp - 0x17c]
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaVarMove
jmp 0x443481
mov dword [ebp - 0x64], 0x80020004
mov dword [ebp - 0x6c], 0xa
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL_rtcFreeFile
mov word [ebp - 0x3c], ax
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18c]
call sub.MSVBVM60.DLL___vbaVarVargNofree
push eax
call sub.MSVBVM60.DLL___vbaStrVarCopy
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x3c]
push 0xffffffffffffffff
push 1
call sub.MSVBVM60.DLL___vbaFileOpen
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaFreeStr
push dword [ebp - 0x3c]
call sub.MSVBVM60.DLL_rtcFileLength
mov dword [ebp - 0x220], eax
push dword [ebp - 0x3c]
push dword [ebp - 0x220]
call sub.MSVBVM60.DLL_rtcInputCharCount
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 8
lea edx, [ebp - 0x6c]
mov ecx, dword [ebp + 0x10]
call sub.MSVBVM60.DLL___vbaVargVarMove
push dword [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFileClose
or dword [ebp - 0x174], 0xffffffff
mov dword [ebp - 0x17c], 0xb
lea edx, [ebp - 0x17c]
mov ecx, dword [ebp + 0x18]
call sub.MSVBVM60.DLL___vbaVargVarMove
or dword [ebp - 0x174], 0xffffffff
mov dword [ebp - 0x17c], 0xb
lea edx, [ebp - 0x17c]
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaVarMove
jmp 0x4436ae
call sub.MSVBVM60.DLL___vbaExitProc
push 0x443782
jmp 0x443779
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow