Function at 0x410235
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4034b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xd4
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402170
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 - 0x7c]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
lea eax, [ebp - 0x7c]
push eax
push dword [0x41f198]
push dword [0x41f1b8]
call fcn.0041b7f6
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x7c]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 4
push 0xee
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcAnsiValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 5
fld qword [0x401338]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcSqr
fstp qword [ebp - 0xbc]
mov dword [ebp - 4], 6
mov word [ebp - 0xc8], 0x19
mov word [ebp - 0xc4], 1
and word [ebp - 0x24], 0
jmp 0x410354
mov ax, word [ebp - 0x24]
add ax, word [ebp - 0xc4]
jo 0x4107b0
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
cmp ax, word [ebp - 0xc8]
jg 0x410738
mov dword [ebp - 4], 7
movsx eax, word [ebp - 0x24]
mov dword [ebp - 0xec], eax
fild dword [ebp - 0xec]
fstp qword [ebp - 0xf4]
fld qword [ebp - 0xf4]
push ecx
push ecx
fstp qword [esp]
fld qword [0x401e20]
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 - 0xd4], ecx
mov dword [ebp - 4], 8
cmp dword [ebp - 0xd4], 0
je 0x410720
mov dword [ebp - 4], 9
fld qword [0x402238]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcCos
fstp qword [ebp - 0xbc]
mov dword [ebp - 4], 0xa
fld qword [0x402230]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcExp
fstp qword [ebp - 0xbc]
mov dword [ebp - 4], 0xb
push 0x9c
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcAnsiValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0xc
push dword [0x41f0f0]
push 1
call sub.MSVBVM60.DLL___vbaUbound
mov ecx, eax
call sub.MSVBVM60.DLL___vbaI2I4
mov word [ebp - 0xd0], ax
mov word [ebp - 0xcc], 1
and word [ebp - 0x28], 0
jmp 0x41046b
mov ax, word [ebp - 0x28]
add ax, word [ebp - 0xcc]
jo 0x4107b0
mov word [ebp - 0x28], ax
mov ax, word [ebp - 0x28]
cmp ax, word [ebp - 0xd0]
jg 0x4104f3
mov dword [ebp - 4], 0xd
movsx eax, word [ebp - 0x28]
push eax
push dword [0x41f0f0]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x4107b0
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 - 0xc0], ax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
movsx eax, word [ebp - 0xc0]
test eax, eax
je 0x4104e7
mov dword [ebp - 4], 0xe
or word [ebp - 0x30], 0xffff
jmp 0x4104f3
mov dword [ebp - 4], 0x11
jmp 0x410456
mov dword [ebp - 4], 0x12
push 0xeb
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcAnsiValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x40], 0xd5
mov dword [ebp - 0x48], 2
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x60], 0xa9
mov dword [ebp - 0x68], 2
mov dword [ebp - 0x50], 0xe6
mov dword [ebp - 0x58], 2
mov dword [ebp - 0x40], 0xa
mov dword [ebp - 0x48], 2
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x78]
push eax
call sub.MSVBVM60.DLL_rtcInStrChar
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0x15
movsx eax, word [ebp - 0x30]
test eax, eax
jne 0x410720
mov dword [ebp - 4], 0x16
push 0
push dword [0x41f0f0]
push 1
call sub.MSVBVM60.DLL___vbaUbound
add eax, 1
jo 0x4107b0
push eax
push 1
push 8
push 0x41f0f0
push 4
push 0x180
call sub.MSVBVM60.DLL___vbaRedimPreserve
add esp, 0x1c
mov dword [ebp - 4], 0x17
push 9
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcAnsiValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x18
push 0xcaa
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_VarPtr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x19
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x4107b0
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 [0x41f0f0]
push 1
call sub.MSVBVM60.DLL___vbaUbound
push eax
push dword [0x41f0f0]
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], 0x1a
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x4107b0
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 0x4043c0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x1b
mov word [ebp - 0xb0], 0x1217
lea eax, [ebp - 0xb0]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 4], 0x1c
fld qword [0x402228]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcSin
fstp qword [ebp - 0xbc]
jmp 0x410755
mov dword [ebp - 4], 0x20
and word [ebp - 0x30], 0
mov dword [ebp - 4], 0x21
jmp 0x41033f
mov dword [ebp - 4], 0x22
fld qword [0x402220]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcCos
fstp qword [ebp - 0xbc]
wait
push 0x41079e
jmp 0x41079d
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow