Function at 0x411c5e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403bc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xc4
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4026c0
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
mov dword [ebp - 0x58], 0x47
mov dword [ebp - 0x60], 2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 4
mov dword [ebp - 0x7c], 0x4047ac
mov dword [ebp - 0x84], 8
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0x60]
push eax
push 0xff
call sub.MSVBVM60.DLL_rtcStringBstr
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 5
push 0
push 1
push 1
push 0
lea eax, [ebp - 0x74]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov word [ebp - 0xb8], 0xff
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 3
lea esi, [ebp - 0x84]
push 0
push dword [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 3
lea esi, [ebp - 0x94]
push 1
push dword [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x74]
push eax
push dword [0x4211c0]
push dword [0x4211e4]
call fcn.0040af43
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x74]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 6
mov dword [ebp - 0xd0], 0x64
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0x2c], 1
jmp 0x411e1e
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0xcc]
jo 0x4125ed
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0xd0]
jg 0x412578
mov dword [ebp - 4], 7
push 1
push dword [ebp - 0x4c]
push 0x4047ac
push 0
call sub.MSVBVM60.DLL___vbaInStr
push eax
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL_rtcLeftCharBstr
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4047ac
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0xc8], ax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaFreeStr
movsx eax, word [ebp - 0xc8]
test eax, eax
je 0x411e89
jmp 0x412578
mov dword [ebp - 4], 0xa
push 1
push dword [ebp - 0x4c]
push 0x4047ac
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub eax, 1
jo 0x4125ed
push eax
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL_rtcLeftCharBstr
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x58], 0xe7
mov dword [ebp - 0x60], 2
push 3
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0xc
fld qword [0x401bb0]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcSin
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0xd
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x74]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push dword [ebp - 0x40]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 3
lea esi, [ebp - 0x84]
push 0
push dword [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x74]
push eax
push dword [0x4211b8]
push dword [0x4211e4]
call fcn.0040af43
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x74]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
cmp dword [ebp - 0xbc], 2
jne 0x41252f
mov dword [ebp - 4], 0xe
mov word [ebp - 0xb8], 0x2544
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x58], 0xb5
mov dword [ebp - 0x60], 2
push 0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcRound
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x10
push 0
push 3
push 1
push 0
lea eax, [ebp - 0x74]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push dword [ebp - 0x40]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 3
lea esi, [ebp - 0x84]
push 0
push dword [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 3
lea esi, [ebp - 0x94]
push 1
push dword [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x28]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 3
lea esi, [ebp - 0xa4]
push 2
push dword [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x48]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb4], 3
lea esi, [ebp - 0xb4]
push 3
push dword [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x74]
push eax
push dword [0x4211bc]
push dword [0x4211e4]
call fcn.0040af43
lea eax, [ebp - 0x74]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0x11
fld qword [0x401440]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcSqr
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x12
push dword [ebp - 0x44]
push dword [ebp - 0x48]
fldz
call sub.MSVBVM60.DLL___vbaFpCmpCy
test eax, eax
je 0x41223f
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0x60]
push eax
call sub.MSVBVM60.DLL_rtcCommandVar
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x14
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x4121c1
mov dword [ebp - 4], 0x15
fld qword [0x402808]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcLog
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x16
fld qword [0x402800]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcCos
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x17
lea eax, [ebp - 0x40]
push eax
call fcn.00416c92
mov dword [ebp - 4], 0x18
push 0x21fb
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_VarPtr
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x412222
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x58], 0xc0
mov dword [ebp - 0x60], 2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1b
fld qword [0x4027f8]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcLog
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x1c
lea eax, [ebp - 0x40]
push eax
call fcn.0040e527
mov dword [ebp - 4], 0x1e
fld qword [0x4027f0]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcCos
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x20
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x74]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push dword [ebp - 0x40]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 3
lea esi, [ebp - 0x84]
push 0
push dword [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x74]
push eax
push dword [0x4211b8]
push dword [0x4211e4]
call fcn.0040af43
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x74]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
cmp dword [ebp - 0xbc], 4
jne 0x4124ec
mov dword [ebp - 4], 0x21
mov dword [ebp - 0x58], 0x40
mov dword [ebp - 0x60], 2
push 1
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x22
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x4123f7
mov dword [ebp - 4], 0x23
fld qword [0x4017b0]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcTan
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x24
fld qword [0x4027e8]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcAtn
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x25
mov dword [ebp - 0x58], 0xc7
mov dword [ebp - 0x60], 2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcLeftTrimVar
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x26
lea eax, [ebp - 0x40]
push eax
call fcn.00416c92
mov dword [ebp - 4], 0x27
mov dword [ebp - 0x58], 0x5e
mov dword [ebp - 0x60], 2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcLeftTrimVar
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x28
mov dword [ebp - 0x58], 0x5f
mov dword [ebp - 0x60], 2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
jmp 0x4124b8
mov dword [ebp - 4], 0x2a
fld qword [0x401438]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcSqr
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x2b
fld qword [0x4027e0]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcLog
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x2c
fld qword [0x4027d8]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcTan
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x2d
lea eax, [ebp - 0x40]
push eax
call fcn.0040e527
mov dword [ebp - 4], 0x2e
push 0x5b
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcAnsiValueBstr
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x2f
mov dword [ebp - 0x58], 2
mov dword [ebp - 0x60], 2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x31
mov dword [ebp - 0x58], 0x6f
mov dword [ebp - 0x60], 2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x33
push 0x55
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcAnsiValueBstr
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x34
fld qword [0x4027d0]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcSqr
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x36
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaLenBstr
mov esi, eax
push 1
push dword [ebp - 0x4c]
push 0x4047ac
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub esi, eax
jo 0x4125ed
push esi
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL_rtcRightCharBstr
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x37
jmp 0x411e0c
mov dword [ebp - 4], 0x38
fld qword [0x4027c8]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcLog
fstp qword [ebp - 0xc4]
wait
push 0x4125dc
jmp 0x4125c3
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow