Function at 0x424262
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401e88
mov edx, dword [ebp + 8]
xor edi, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edi
call sub.MSVBVM60.DLL___vbaStrCopy
push dword [ebp - 0x2c]
push 0x409cd0
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x424438
push dword [ebp - 0x2c]
call fcn.004246c3
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MSVBVM60.DLL___vbaAryMove
push dword [ebp - 0x1c]
push 1
pop ebx
push ebx
call sub.MSVBVM60.DLL___vbaLbound
push dword [ebp - 0x1c]
mov esi, eax
push ebx
call sub.MSVBVM60.DLL___vbaUbound
push edi
mov dword [ebp - 0x58], esi
push 4
mov esi, eax
mov eax, dword [ebp - 0x58]
push ebx
sub esi, eax
jo 0x42449d
push 0x11
lea eax, [ebp - 0x28]
push eax
add esi, ebx
jo 0x42449d
push ebx
add ebx, 0x7f
push ebx
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push edi
push edi
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
push esi
push edi
push dword [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
push edi
push 0xfde9
call sub.KERNEL32.DLL_MultiByteToWideChar
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
mov eax, dword [ebp - 0x48]
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x424438
add eax, 0xa
push edi
jo 0x42449d
push eax
call fcn.004244a2
push eax
push 1
push 0x11
lea eax, [ebp - 0x28]
push eax
push 1
push ebx
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push dword [ebp - 0x18]
push edi
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
push esi
push edi
push dword [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
push edi
push 0xfde9
call sub.KERNEL32.DLL_MultiByteToWideChar
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
cmp dword [ebp - 0x48], edi
je 0x424438
push edi
push dword [ebp - 0x48]
call fcn.004244a2
push eax
push 1
push 0x11
lea eax, [ebp - 0x28]
push eax
push 1
push ebx
call sub.MSVBVM60.DLL___vbaRedimPreserve
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
add esp, 0x1c
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 0x2011
call sub.MSVBVM60.DLL___vbaStrVarCopy
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
push 0x424489
jmp 0x424460
lea eax, [ebp - 0x4c]
push eax
xor edi, edi
push edi
call sub.MSVBVM60.DLL___vbaAryDestruct
lea eax, [ebp - 0x1c]
push eax
push edi
call sub.MSVBVM60.DLL___vbaAryDestruct
lea eax, [ebp - 0x28]
push eax
push edi
call sub.MSVBVM60.DLL___vbaAryDestruct
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow