Function at 0x4073e4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x404606
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x94
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401288
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 4
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 5
push 0
push 0xebff
push 1
push 0x11
lea eax, [ebp - 0x28]
push eax
push 1
push 0x80
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov dword [ebp - 4], 6
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 7
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
call fcn.004152fa
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 8
fld qword [0x4013a8]
call sub.MSVBVM60.DLL__CIexp
fstp qword [ebp - 0x98]
mov dword [ebp - 4], 9
push dword [ebp - 0x28]
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push 0
push dword [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xa
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xb
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x8c], 0x59595958
lea eax, [ebp - 0x8c]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x90], eax
push 4
push dword [ebp - 0x3c]
push dword [ebp - 0x90]
call fcn.0041bcbc
mov dword [ebp - 4], 0xd
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xe
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xf
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x10
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0x3c]
add eax, 4
jo 0x407bdb
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x12
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x13
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x14
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x15
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x16
mov word [ebp - 0x88], 0x5059
lea eax, [ebp - 0x88]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x8c], eax
push 2
push dword [ebp - 0x3c]
push dword [ebp - 0x8c]
call fcn.0041bcbc
mov dword [ebp - 4], 0x17
fld qword [0x4013a0]
call sub.MSVBVM60.DLL__CIcos
fstp qword [ebp - 0x98]
mov dword [ebp - 4], 0x18
mov word [ebp - 0x88], 0x91b
lea eax, [ebp - 0x88]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 4], 0x19
mov eax, dword [ebp - 0x3c]
add eax, 2
jo 0x407bdb
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x1a
push 0
push 0xffffffffffffffff
push 1
push 0xc7
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0xda
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x20
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
mov dword [ebp - 4], 0x1b
mov dword [ebp - 0x5c], 0xc4
mov dword [ebp - 0x64], 2
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1c
push 0
push 0x49
push 0xac
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 8
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcInStrRev
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x1d
and dword [ebp - 0xa0], 0
or dword [ebp - 0x9c], 0xffffffff
mov eax, dword [ebp + 0x10]
push dword [eax]
push 1
call sub.MSVBVM60.DLL___vbaUbound
mov dword [ebp - 0x24], eax
jmp 0x4077bd
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x9c]
jo 0x407bdb
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0xa0]
jl 0x4079a2
mov dword [ebp - 4], 0x1e
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1f
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x20
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x21
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x22
mov word [ebp - 0x88], 0x68
lea eax, [ebp - 0x88]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x8c], eax
push 1
push dword [ebp - 0x3c]
push dword [ebp - 0x8c]
call fcn.0041bcbc
mov dword [ebp - 4], 0x23
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x24
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x25
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x26
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x27
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x28
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x29
mov eax, dword [ebp - 0x3c]
add eax, 1
jo 0x407bdb
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x2a
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x2b
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x2c
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x2d
push dword [ebp - 0x24]
mov eax, dword [ebp + 0x10]
push dword [eax]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov edx, eax
lea ecx, [ebp - 0x84]
call sub.MSVBVM60.DLL___vbaVarVargNofree
push eax
call sub.MSVBVM60.DLL___vbaI4ErrVar
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x90], eax
push 4
push dword [ebp - 0x3c]
push dword [ebp - 0x90]
call fcn.0041bcbc
mov dword [ebp - 4], 0x2e
mov eax, dword [ebp - 0x3c]
add eax, 4
jo 0x407bdb
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x2f
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcFileLen
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x30
jmp 0x4077ab
mov dword [ebp - 4], 0x31
mov word [ebp - 0x88], 0xe8
lea eax, [ebp - 0x88]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x8c], eax
push 1
push dword [ebp - 0x3c]
push dword [ebp - 0x8c]
call fcn.0041bcbc
mov dword [ebp - 4], 0x32
mov eax, dword [ebp - 0x3c]
add eax, 1
jo 0x407bdb
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x33
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x34
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x35
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
jo 0x407bdb
sub eax, 4
jo 0x407bdb
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x90], eax
push 4
push dword [ebp - 0x3c]
push dword [ebp - 0x90]
call fcn.0041bcbc
mov dword [ebp - 4], 0x36
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x37
push 0
call fcn.0040587c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x38
mov eax, dword [ebp - 0x3c]
add eax, 4
jo 0x407bdb
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x39
mov dword [ebp - 0x5c], 0x2f
mov dword [ebp - 0x64], 2
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x3a
mov word [ebp - 0x88], 0xc3
lea eax, [ebp - 0x88]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x8c], eax
push 1
push dword [ebp - 0x3c]
push dword [ebp - 0x8c]
call fcn.0041bcbc
mov dword [ebp - 4], 0x3b
mov eax, dword [ebp - 0x3c]
add eax, 1
jo 0x407bdb
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x3c
push dword [ebp - 0x28]
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push 0
push dword [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
push 0
push 0
push 0
push 0
push dword [ebp - 0x8c]
call fcn.0040582c
mov dword [ebp - 0x90], eax
call sub.MSVBVM60.DLL___vbaSetSystemError
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x30], eax
wait
push 0x407bc7
jmp 0x407ba3
lea eax, [ebp - 0x28]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow