Function at 0x41c6f3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403586
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x98
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402c50
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
push 0
push 0
push 1
push 8
lea eax, [ebp - 0x28]
push eax
push 4
push 0x180
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov dword [ebp - 4], 4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 0x4008
push 0x37
lea eax, [ebp - 0x84]
push eax
call sub.MSVBVM60.DLL_rtcDir
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 5
push 0
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL_rtcVarBstrFromAnsi
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 6
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM60.DLL_rtcGetSecondOfMinute
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 7
push dword [ebp - 0x2c]
push 0
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x41cb31
mov dword [ebp - 4], 8
mov esi, dword [ebp - 0x2c]
push 0
push dword [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 9
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM60.DLL_rtcGetSecondOfMinute
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0xa
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0xb
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM60.DLL_rtcGetSecondOfMinute
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x5c], 0x80020004
mov dword [ebp - 0x64], 0xa
and dword [ebp - 0x4c], 0
mov dword [ebp - 0x54], 2
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 2
push 0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcInStr
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x3c], 0x80020004
mov dword [ebp - 0x44], 0xa
push 0
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL_rtcDir
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0xf
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM60.DLL_rtcGetSecondOfMinute
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x10
push dword [ebp - 0x2c]
push 0
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x41c98f
jmp 0x41cb31
mov dword [ebp - 4], 0x13
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM60.DLL_rtcGetSecondOfMinute
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x14
push dword [ebp - 0x28]
push 1
call sub.MSVBVM60.DLL___vbaUbound
add eax, 1
jo 0x41cc0e
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 3
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 2
push 0
push dword [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
push 0
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x84], 0xb
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL_rtcImmediateIf
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL___vbaI4Var
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x84]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0x15
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x16
push 0
push dword [ebp - 0x24]
push 1
push 8
lea eax, [ebp - 0x28]
push eax
push 4
push 0x180
call sub.MSVBVM60.DLL___vbaRedimPreserve
add esp, 0x1c
mov dword [ebp - 4], 0x17
mov esi, dword [ebp - 0x2c]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 0x18
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x19
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
jmp 0x41c8b6
mov dword [ebp - 4], 0x1c
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1d
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 2
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaAryMove
push 0x41cbfa
jmp 0x41cbde
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 - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow