Function at 0x41303b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x402f86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, pe_nt_image_headers32
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402380
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
push 0
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x60]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
lea eax, [ebp - 0x60]
push eax
push dword [0x41e198]
push dword [0x41e1b8]
call fcn.0040bf79
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x60]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 4
mov word [ebp - 0x84], 0x19
mov word [ebp - 0x80], 1
and word [ebp - 0x24], 0
jmp 0x413108
mov ax, word [ebp - 0x24]
add ax, word [ebp - 0x80]
jo 0x4134e9
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
cmp ax, word [ebp - 0x84]
jg 0x41348c
mov dword [ebp - 4], 5
mov word [ebp - 0x74], 0xe81
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 4], 6
movsx eax, word [ebp - 0x24]
mov dword [ebp - 0xa8], eax
fild dword [ebp - 0xa8]
fstp qword [ebp - 0xb0]
fld qword [ebp - 0xb0]
push ecx
push ecx
fstp qword [esp]
fld qword [0x401438]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL___vbaPowerR8
call sub.MSVBVM60.DLL___vbaFpI4
mov ecx, dword [ebp - 0x34]
and ecx, eax
mov dword [ebp - 0x90], ecx
mov dword [ebp - 4], 7
cmp dword [ebp - 0x90], 0
je 0x413408
mov dword [ebp - 4], 8
push dword [0x41e0f0]
push 1
call sub.MSVBVM60.DLL___vbaUbound
mov ecx, eax
call sub.MSVBVM60.DLL___vbaI2I4
mov word [ebp - 0x8c], ax
mov word [ebp - 0x88], 1
and word [ebp - 0x2c], 0
jmp 0x4131d2
mov ax, word [ebp - 0x2c]
add ax, word [ebp - 0x88]
jo 0x4134e9
mov word [ebp - 0x2c], ax
mov ax, word [ebp - 0x2c]
cmp ax, word [ebp - 0x8c]
jg 0x4132a2
mov dword [ebp - 4], 9
movsx eax, word [ebp - 0x2c]
push eax
push dword [0x41e0f0]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x4134e9
movsx eax, ax
push eax
call sub.MSVBVM60.DLL_rtcBstrFromAnsi
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x7c], ax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
movsx eax, word [ebp - 0x7c]
test eax, eax
je 0x413296
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x44], 0x82
mov dword [ebp - 0x4c], 2
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0xb
or word [ebp - 0x30], 0xffff
mov dword [ebp - 4], 0xc
mov word [ebp - 0x74], 0x15e0
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_VarPtr
jmp 0x4132a2
mov dword [ebp - 4], 0xf
jmp 0x4131bd
mov dword [ebp - 4], 0x10
movsx eax, word [ebp - 0x30]
test eax, eax
jne 0x413408
mov dword [ebp - 4], 0x11
push 0
push 0x99
push 0x54
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 3
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcInStrRev
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x12
mov dword [ebp - 0x44], 0x26
mov dword [ebp - 0x4c], 2
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x13
push 0
push dword [0x41e0f0]
push 1
call sub.MSVBVM60.DLL___vbaUbound
add eax, 1
jo 0x4134e9
push eax
push 1
push 8
push 0x41e0f0
push 4
push 0x180
call sub.MSVBVM60.DLL___vbaRedimPreserve
add esp, 0x1c
mov dword [ebp - 4], 0x14
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x4134e9
movsx eax, ax
push eax
call sub.MSVBVM60.DLL_rtcBstrFromAnsi
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
mov esi, eax
push dword [0x41e0f0]
push 1
call sub.MSVBVM60.DLL___vbaUbound
push eax
push dword [0x41e0f0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x15
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x4134e9
movsx eax, ax
push eax
call sub.MSVBVM60.DLL_rtcBstrFromAnsi
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x404034
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x41348c
mov dword [ebp - 4], 0x19
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x4c], 2
push 2
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x44], 0x6b
mov dword [ebp - 0x4c], 2
push 1
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1b
and word [ebp - 0x30], 0
mov dword [ebp - 4], 0x1c
jmp 0x4130f6
wait
push 0x4134d7
jmp 0x4134d6
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow