Function at 0x408515
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [ebp - 0xa4]
add eax, dword [ebp - 0x104]
jo 0x408918
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x108]
jg 0x40855b
mov dword [ebp - 4], 0x77
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.00405008
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x78
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.00405008
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x79
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.00405008
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x7a
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.00405008
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x7b
mov ecx, dword [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaI2I4
mov word [ebp - 0x74], ax
mov dword [ebp - 4], 0x7c
push dword [ebp - 0x74]
mov eax, dword [0x4242cc]
add eax, dword [ebp - 0xa4]
jo 0x408918
push eax
push dword [ebp - 0xa4]
push dword [0x424288]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
push 1
call sub.MSVBVM60.DLL___vbaPut4
mov dword [ebp - 4], 0x7d
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.00405008
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x7e
jmp 0x40845b
mov dword [ebp - 4], 0x7f
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.00405008
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x80
mov ecx, dword [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaI2I4
push eax
call sub.MSVBVM60.DLL___vbaFileClose
mov dword [ebp - 4], 0x81
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.00405008
call sub.MSVBVM60.DLL___vbaSetSystemError
jmp 0x408789
mov dword [ebp - 4], 0x89
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.00405008
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x8a
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.00405008
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x8b
or word [0x424028], 0xffff
mov dword [ebp - 4], 0x8c
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.00405008
call sub.MSVBVM60.DLL___vbaSetSystemError
push 0x408907
jmp 0x40881f
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x2c]
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 - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x68]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x70]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x78]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x7c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x84]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x8c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x98]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x9c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xa0]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow