Function at 0x415f6f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x4033c6
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, 0x408d94
push 1
mov edi, 0x408d8c
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, 0x4094e0
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 0x4094e8
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40950c
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.00421459
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 0x4160f2
push 0x20
push 0x408278
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 0x416349
push esi
push 0xffffffffffffffff
push 0x409514
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 0x41624a
cmp bx, si
jle 0x41624a
sub bx, 1
jo 0x4163d3
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 0x4094e8
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40950c
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.00421459
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 0x416237
push 0x20
push 0x408278
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 0x416110
push dword [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaLenBstr
test eax, eax
jne 0x416349
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 0x4094e8
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 0x40950c
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.00421459
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 0x4162fd
push 0x20
push 0x408278
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 0x416349
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 0x41633b
push 0x20
push 0x408278
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 0x4163b6
jmp 0x41638d
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