Function at 0x407596
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x401686
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4012f8
mov edi, 0x4038d8
xor esi, esi
mov edx, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc0], esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov ebx, 0x403734
lea ecx, [ebp - 0x28]
mov edx, ebx
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408436
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, edi
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, 0x4037a0
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00408436
mov edx, eax
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, edi
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, ebx
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00408436
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, edi
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, 0x403698
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00408436
mov edx, eax
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrMove
push esi
push 4
push 1
lea eax, [ebp - 0x6c]
push esi
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
or dword [ebp - 0x74], 0xffffffff
lea ebx, [ebp - 0x7c]
push 2
pop edi
push esi
mov dword [ebp - 0x7c], edi
push dword [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x1c]
push eax
call sub.MSVBVM60.DLL_VarPtr
push 1
mov dword [ebp - 0x84], eax
push dword [ebp - 0x6c]
mov dword [ebp - 0x8c], 3
lea ebx, [ebp - 0x8c]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
push esi
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x68]
push esi
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
mov edx, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x60]
add esp, 0x1c
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x64], esi
push eax
mov dword [ebp - 0x60], esi
call sub.MSVBVM60.DLL___vbaStrMove
push eax
mov edx, ebx
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call fcn.0040e76a
mov ebx, eax
lea eax, [ebp - 0x68]
push eax
push esi
call sub.MSVBVM60.DLL___vbaErase
add ebx, 0x30
push edi
push dword [ebp - 0x6c]
mov dword [ebp - 0x9c], 3
jo 0x407e27
mov dword [ebp - 0x94], ebx
lea ebx, [ebp - 0x9c]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
push 3
mov dword [ebp - 0xa4], 4
push dword [ebp - 0x6c]
mov dword [ebp - 0xac], edi
lea ebx, [ebp - 0xac]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
push 4
mov dword [ebp - 0xb4], esi
push dword [ebp - 0x6c]
mov dword [ebp - 0xbc], edi
lea ebx, [ebp - 0xbc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
mov edx, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x58]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x54]
push eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], esi
call sub.MSVBVM60.DLL___vbaStrMove
push eax
mov edx, ebx
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call fcn.0040e76a
lea eax, [ebp - 0x6c]
push eax
push esi
call sub.MSVBVM60.DLL___vbaErase
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x10
call sub.MSVBVM60.DLL___vbaFreeStrList
mov ebx, 0x4038d8
add esp, 0x44
mov edx, ebx
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, 0x403734
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408436
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, ebx
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, 0x4037a0
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00408436
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
push esi
push 4
push 1
lea eax, [ebp - 0x68]
push esi
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
or dword [ebp - 0x74], 0xffffffff
add esp, 0x1c
mov dword [ebp - 0x7c], edi
lea ebx, [ebp - 0x7c]
push esi
push dword [ebp - 0x68]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL_VarPtr
push 1
mov dword [ebp - 0x84], eax
push dword [ebp - 0x68]
mov dword [ebp - 0x8c], 3
lea ebx, [ebp - 0x8c]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
mov eax, dword [ebp - 0x1c]
push edi
push dword [ebp - 0x68]
add eax, 0x20
jo 0x407e27
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], 3
lea ebx, [ebp - 0x9c]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
push 3
mov dword [ebp - 0xa4], 4
push dword [ebp - 0x68]
mov dword [ebp - 0xac], edi
lea ebx, [ebp - 0xac]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
push 4
mov dword [ebp - 0xb4], esi
push dword [ebp - 0x68]
mov dword [ebp - 0xbc], edi
lea ebx, [ebp - 0xbc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
mov edx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x40]
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x3c]
push eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
call sub.MSVBVM60.DLL___vbaStrMove
push eax
mov edx, ebx
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call fcn.0040e76a
lea eax, [ebp - 0x68]
push eax
push esi
call sub.MSVBVM60.DLL___vbaErase
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 8
call sub.MSVBVM60.DLL___vbaFreeStrList
mov ebx, 0x4038d8
add esp, 0x24
mov edx, ebx
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, 0x403734
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408436
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, ebx
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, 0x4037a0
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00408436
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
push esi
push 4
push 1
lea eax, [ebp - 0x68]
push esi
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
or dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x7c], edi
lea ebx, [ebp - 0x7c]
push esi
push dword [ebp - 0x68]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL_VarPtr
push 1
mov dword [ebp - 0x84], eax
push dword [ebp - 0x68]
mov dword [ebp - 0x8c], 3
lea ebx, [ebp - 0x8c]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
mov eax, dword [ebp - 0x1c]
push edi
push dword [ebp - 0x68]
add eax, edi
jo 0x407e27
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], 3
lea ebx, [ebp - 0x9c]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
push 3
mov dword [ebp - 0xa4], 1
push dword [ebp - 0x68]
mov dword [ebp - 0xac], edi
lea ebx, [ebp - 0xac]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
push 4
mov dword [ebp - 0xb4], esi
push dword [ebp - 0x68]
mov dword [ebp - 0xbc], edi
lea ebx, [ebp - 0xbc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
mov edx, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x40]
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x3c]
push eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
call sub.MSVBVM60.DLL___vbaStrMove
push eax
mov edx, ebx
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call fcn.0040e76a
lea eax, [ebp - 0x68]
push eax
push esi
call sub.MSVBVM60.DLL___vbaErase
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 8
call sub.MSVBVM60.DLL___vbaFreeStrList
mov ebx, 0x4038d8
add esp, 0x24
mov edx, ebx
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, 0x403734
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408436
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, ebx
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, 0x4037a0
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00408436
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
push esi
push 4
push 1
lea eax, [ebp - 0x68]
push esi
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
or dword [ebp - 0x74], 0xffffffff
add esp, 0x1c
mov dword [ebp - 0x7c], edi
lea ebx, [ebp - 0x7c]
push esi
push dword [ebp - 0x68]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
push 1
lea eax, [ebp - 0xc0]
pop ebx
push eax
mov dword [ebp - 0xc0], ebx
call sub.MSVBVM60.DLL_VarPtr
push ebx
lea edx, [ebp - 0x8c]
push dword [ebp - 0x68]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x8c], 3
mov dword [ebp - 0xf4], edx
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov eax, dword [ebp - 0xf4]
mov edx, eax
call sub.MSVBVM60.DLL___vbaVarMove
mov eax, dword [ebp - 0x20]
push edi
push dword [ebp - 0x68]
add eax, 0x10
jo 0x407e27
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], 3
lea ebx, [ebp - 0x9c]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
push 3
mov dword [ebp - 0xa4], 4
push dword [ebp - 0x68]
mov dword [ebp - 0xac], edi
lea ebx, [ebp - 0xac]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, ebx
call sub.MSVBVM60.DLL___vbaVarMove
push 4
mov dword [ebp - 0xbc], edi
push dword [ebp - 0x68]
mov dword [ebp - 0xb4], esi
lea edi, [ebp - 0xbc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, edi
call sub.MSVBVM60.DLL___vbaVarMove
mov edx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x40]
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x3c]
push eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
call sub.MSVBVM60.DLL___vbaStrMove
push eax
mov edx, edi
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call fcn.0040e76a
lea eax, [ebp - 0x68]
push eax
push esi
call sub.MSVBVM60.DLL___vbaErase
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 8
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x24
cmp word [ebp - 0x24], 0xffff
jne 0x407dab
or dword [ebp - 0x14], 0xffffffff
push 0x407e14
jmp 0x407e13
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow