Function at 0x41168a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403256
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xd0
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402390
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 - 0x88], 0x403e48
mov dword [ebp - 0x90], 8
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0x6c]
push eax
push 0xff
call sub.MSVBVM60.DLL_rtcStringBstr
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 4
push 0
push 1
push 1
push 0
lea eax, [ebp - 0x80]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov word [ebp - 0xc4], 0xff
lea eax, [ebp - 0xc4]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], 3
lea esi, [ebp - 0x90]
push 0
push dword [ebp - 0x80]
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 - 0x98], eax
mov dword [ebp - 0xa0], 3
lea esi, [ebp - 0xa0]
push 1
push dword [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x80]
push eax
push dword [0x41e194]
push dword [0x41e1b8]
call fcn.0040bd48
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x80]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 5
mov dword [ebp - 0xdc], 0x64
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0x2c], 1
jmp 0x41181c
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0xd8]
jo 0x411dc4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0xdc]
jg 0x411d0e
mov dword [ebp - 4], 6
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], 0x4008
push 1
push dword [ebp - 0x4c]
push 0x403e48
push 0
call sub.MSVBVM60.DLL___vbaInStr
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
mov dword [ebp - 0x98], 0x403e48
mov dword [ebp - 0xa0], 0x8008
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0xa0]
push eax
call sub.MSVBVM60.DLL___vbaVarTstEq
mov word [ebp - 0xd4], ax
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaFreeVar
movsx eax, word [ebp - 0xd4]
test eax, eax
je 0x4118aa
jmp 0x411d0e
mov dword [ebp - 4], 9
push 1
push dword [ebp - 0x4c]
push 0x403e48
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub eax, 1
jo 0x411dc4
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], 0xa
push 0x240c
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
mov dword [ebp - 4], 0xb
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x80]
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 - 0x88], eax
mov dword [ebp - 0x90], 3
lea esi, [ebp - 0x90]
push 0
push dword [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x80]
push eax
push dword [0x41e18c]
push dword [0x41e1b8]
call fcn.0040bd48
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x80]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
cmp dword [ebp - 0xc8], 2
jne 0x411cc5
mov dword [ebp - 4], 0xc
push 0
push 3
push 1
push 0
lea eax, [ebp - 0x80]
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 - 0x88], eax
mov dword [ebp - 0x90], 3
lea esi, [ebp - 0x90]
push 0
push dword [ebp - 0x80]
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 - 0x98], eax
mov dword [ebp - 0xa0], 3
lea esi, [ebp - 0xa0]
push 1
push dword [ebp - 0x80]
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 - 0xa8], eax
mov dword [ebp - 0xb0], 3
lea esi, [ebp - 0xb0]
push 2
push dword [ebp - 0x80]
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 - 0xb8], eax
mov dword [ebp - 0xc0], 3
lea esi, [ebp - 0xc0]
push 3
push dword [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x80]
push eax
push dword [0x41e190]
push dword [0x41e1b8]
call fcn.0040bd48
lea eax, [ebp - 0x80]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0xd
push 0
push 0xd7
push 0xe1
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 4
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcInStrRev
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x64], 0x39
mov dword [ebp - 0x6c], 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0xf
push dword [ebp - 0x44]
push dword [ebp - 0x48]
fldz
call sub.MSVBVM60.DLL___vbaFpCmpCy
test eax, eax
je 0x411c11
mov dword [ebp - 4], 0x10
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x411c01
mov dword [ebp - 4], 0x11
fld qword [0x402448]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcSin
fstp qword [ebp - 0xd0]
mov dword [ebp - 4], 0x12
lea eax, [ebp - 0x40]
push eax
call fcn.0041552d
mov dword [ebp - 4], 0x13
fld qword [0x402440]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcSin
fstp qword [ebp - 0xd0]
mov dword [ebp - 4], 0x14
push 0
push 0xffffffffffffffff
push 1
push 0x3b
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x9e
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x18
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
jmp 0x411c11
mov dword [ebp - 4], 0x16
lea eax, [ebp - 0x40]
push eax
call fcn.0040e588
mov dword [ebp - 4], 0x19
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x80]
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 - 0x88], eax
mov dword [ebp - 0x90], 3
lea esi, [ebp - 0x90]
push 0
push dword [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x80]
push eax
push dword [0x41e18c]
push dword [0x41e1b8]
call fcn.0040bd48
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x80]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
cmp dword [ebp - 0xc8], 4
jne 0x411cc5
mov dword [ebp - 4], 0x1a
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x411cb5
mov dword [ebp - 4], 0x1b
lea eax, [ebp - 0x40]
push eax
call fcn.0041552d
jmp 0x411cc5
mov dword [ebp - 4], 0x1d
lea eax, [ebp - 0x40]
push eax
call fcn.0040e588
mov dword [ebp - 4], 0x21
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaLenBstr
mov esi, eax
push 1
push dword [ebp - 0x4c]
push 0x403e48
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub esi, eax
jo 0x411dc4
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], 0x22
jmp 0x41180a
mov dword [ebp - 4], 0x23
push 0
push 0xf4
push 0xdb
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 8
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcInStrRev
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
wait
push 0x411db3
jmp 0x411d9a
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