Function at 0x40fc5d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403626
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xe4
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402190
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], 0x95
mov dword [ebp - 0x60], 2
push 2
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], 4
mov dword [ebp - 0x58], 0x71
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], 5
fld qword [0x4020f0]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcExp
fstp qword [ebp - 0xe4]
mov dword [ebp - 4], 6
mov dword [ebp - 0x9c], 0x404520
mov dword [ebp - 0xa4], 8
lea edx, [ebp - 0xa4]
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], 7
fld qword [0x402290]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcLog
fstp qword [ebp - 0xe4]
mov dword [ebp - 4], 8
push 0
push 1
push 1
push 0
lea eax, [ebp - 0x94]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov word [ebp - 0xd8], 0xff
lea eax, [ebp - 0xd8]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 3
lea esi, [ebp - 0xa4]
push 0
push dword [ebp - 0x94]
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 - 0xac], eax
mov dword [ebp - 0xb4], 3
lea esi, [ebp - 0xb4]
push 1
push dword [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x94]
push eax
push dword [0x420194]
push dword [0x4201b8]
call fcn.0041c573
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x94]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 9
mov dword [ebp - 0xf0], 0x64
mov dword [ebp - 0xec], 1
mov dword [ebp - 0x2c], 1
jmp 0x40fea2
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0xec]
jo 0x410501
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0xf0]
jg 0x410433
mov dword [ebp - 4], 0xa
fld qword [0x402288]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcCos
fstp qword [ebp - 0xe4]
mov dword [ebp - 4], 0xb
push 0x80
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], 0xc
fld qword [0x4015a8]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcTan
fstp qword [ebp - 0xe4]
mov dword [ebp - 4], 0xd
push 1
push dword [ebp - 0x4c]
push 0x404520
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 0x404520
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0xe8], ax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaFreeStr
movsx eax, word [ebp - 0xe8]
test eax, eax
je 0x40ff70
jmp 0x410433
mov dword [ebp - 4], 0x10
push 1
push dword [ebp - 0x4c]
push 0x404520
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub eax, 1
jo 0x410501
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], 0x11
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x94]
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 - 0x9c], eax
mov dword [ebp - 0xa4], 3
lea esi, [ebp - 0xa4]
push 0
push dword [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x94]
push eax
push dword [0x42018c]
push dword [0x4201b8]
call fcn.0041c573
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x94]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
cmp dword [ebp - 0xdc], 2
jne 0x4103ea
mov dword [ebp - 4], 0x12
push 0
push 3
push 1
push 0
lea eax, [ebp - 0x94]
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 - 0x9c], eax
mov dword [ebp - 0xa4], 3
lea esi, [ebp - 0xa4]
push 0
push dword [ebp - 0x94]
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 - 0xac], eax
mov dword [ebp - 0xb4], 3
lea esi, [ebp - 0xb4]
push 1
push dword [ebp - 0x94]
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 - 0xbc], eax
mov dword [ebp - 0xc4], 3
lea esi, [ebp - 0xc4]
push 2
push dword [ebp - 0x94]
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 - 0xcc], eax
mov dword [ebp - 0xd4], 3
lea esi, [ebp - 0xd4]
push 3
push dword [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x94]
push eax
push dword [0x420190]
push dword [0x4201b8]
call fcn.0041c573
lea eax, [ebp - 0x94]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0x13
push dword [ebp - 0x44]
push dword [ebp - 0x48]
fldz
call sub.MSVBVM60.DLL___vbaFpCmpCy
test eax, eax
je 0x41022f
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x58], 0x1a
mov dword [ebp - 0x60], 2
push 1
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
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], 0x15
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x410202
mov dword [ebp - 4], 0x16
lea eax, [ebp - 0x40]
push eax
call fcn.00414092
mov dword [ebp - 4], 0x17
fld qword [0x402280]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcExp
fstp qword [ebp - 0xe4]
mov dword [ebp - 4], 0x18
fld qword [0x402278]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcAtn
fstp qword [ebp - 0xe4]
jmp 0x41022f
mov dword [ebp - 4], 0x1a
fld qword [0x401900]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcSin
fstp qword [ebp - 0xe4]
mov dword [ebp - 4], 0x1b
lea eax, [ebp - 0x40]
push eax
call fcn.00404f75
mov dword [ebp - 4], 0x1e
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x94]
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 - 0x9c], eax
mov dword [ebp - 0xa4], 3
lea esi, [ebp - 0xa4]
push 0
push dword [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x94]
push eax
push dword [0x42018c]
push dword [0x4201b8]
call fcn.0041c573
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x94]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
cmp dword [ebp - 0xdc], 4
jne 0x4103ea
mov dword [ebp - 4], 0x1f
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x410383
mov dword [ebp - 4], 0x20
mov dword [ebp - 0x78], 0x63
mov dword [ebp - 0x80], 2
mov dword [ebp - 0x68], 0x93
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x60], 2
push 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x90]
push eax
call sub.MSVBVM60.DLL_rtcInStrChar
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0x21
mov dword [ebp - 0x58], 0x5a
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], 0x22
lea eax, [ebp - 0x40]
push eax
call fcn.00414092
jmp 0x4103ea
mov dword [ebp - 4], 0x24
fld qword [0x402280]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcExp
fstp qword [ebp - 0xe4]
mov dword [ebp - 4], 0x25
fld qword [0x402270]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcSqr
fstp qword [ebp - 0xe4]
mov dword [ebp - 4], 0x26
fld qword [0x402268]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcAtn
fstp qword [ebp - 0xe4]
mov dword [ebp - 4], 0x27
lea eax, [ebp - 0x40]
push eax
call fcn.00404f75
mov dword [ebp - 4], 0x2b
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaLenBstr
mov esi, eax
push 1
push dword [ebp - 0x4c]
push 0x404520
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub esi, eax
jo 0x410501
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], 0x2c
jmp 0x40fe90
mov dword [ebp - 4], 0x2d
mov dword [ebp - 0x78], 0x22
mov dword [ebp - 0x80], 2
mov dword [ebp - 0x68], 0x22
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x60], 2
push 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x90]
push eax
call sub.MSVBVM60.DLL_rtcInStrChar
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
wait
push 0x4104f0
jmp 0x4104d7
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