Function at 0x414e4d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403376
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401390
mov edx, dword [ebp + 0x10]
xor esi, esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, dword [ebp + 0x18]
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrCopy
push esi
push 0xffffffffffffffff
mov ebx, 0x408d24
push 1
mov edi, 0x408d1c
push ebx
push edi
push dword [ebp - 0x3c]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
push esi
push 0xffffffffffffffff
push 1
push ebx
push edi
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push dword [ebp - 0x3c]
mov edi, 0x40947c
push edi
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push edi
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
mov dword [ebp - 0x5c], esi
push 0x409484
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4094a8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0041f67f
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x40]
mov ebx, dword [eax]
push ecx
lea ecx, [ebp - 0x34]
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0x20]
cmp eax, esi
fnclex
jge 0x414fd0
push 0x20
push 0x4081e4
push ebx
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x40], esi
call sub.MSVBVM60.DLL___vbaStrMove
push dword [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaLenBstr
test eax, eax
jne 0x415227
push esi
push 0xffffffffffffffff
push 0x4094b0
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL_rtcInStrRev
mov ecx, eax
call sub.MSVBVM60.DLL___vbaI2I4
push dword [ebp - 0x30]
mov ebx, eax
call sub.MSVBVM60.DLL___vbaLenBstr
test eax, eax
jne 0x415128
cmp bx, si
jle 0x415128
sub bx, 1
jo 0x4152b1
movsx eax, bx
push eax
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL_rtcLeftCharBstr
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push dword [ebp - 0x3c]
push edi
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push edi
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
mov dword [ebp - 0x5c], esi
push 0x409484
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4094a8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0041f67f
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x40]
mov ebx, dword [eax]
push ecx
lea ecx, [ebp - 0x34]
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0x20]
cmp eax, esi
fnclex
jge 0x415115
push 0x20
push 0x4081e4
push ebx
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x40], esi
call sub.MSVBVM60.DLL___vbaStrMove
jmp 0x414fee
push dword [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaLenBstr
test eax, eax
jne 0x415227
push dword [ebp - 0x3c]
push edi
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaFreeStr
push 0x409484
mov dword [ebp - 0x5c], esi
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4094a8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0041f67f
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
mov ebx, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x40]
mov edi, dword [ebx]
push ecx
lea ecx, [ebp - 0x34]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x20]
cmp eax, esi
fnclex
jge 0x4151db
push 0x20
push 0x4081e4
push edi
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x40], esi
call sub.MSVBVM60.DLL___vbaStrMove
push dword [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaLenBstr
test eax, eax
jne 0x415227
mov edi, dword [ebx]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x18]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x20]
cmp eax, esi
fnclex
jge 0x415219
push 0x20
push 0x4081e4
push edi
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x40], esi
call sub.MSVBVM60.DLL___vbaStrMove
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x58], 8
call sub.MSVBVM60.DLL___vbaVarCopy
push 0x415294
jmp 0x41526b
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow