Function at 0x41ae37
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403a56
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], 0x403388
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 - 0x7c], 0x404554
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], 4
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 [0x4201c0]
push dword [0x4201e4]
call fcn.00414521
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], 5
mov dword [ebp - 0x58], 0x1f
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], 6
fld qword [0x4013c0]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcTan
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 7
mov dword [ebp - 0xd0], 0x64
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0x2c], 1
jmp 0x41b014
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0xcc]
jo 0x41b7e9
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0xd0]
jg 0x41b791
mov dword [ebp - 4], 8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 0x4008
push 1
push dword [ebp - 0x4c]
push 0x404554
push 0
call sub.MSVBVM60.DLL___vbaInStr
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x60]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
mov dword [ebp - 0x8c], 0x404554
mov dword [ebp - 0x94], 0x8008
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x94]
push eax
call sub.MSVBVM60.DLL___vbaVarTstEq
mov word [ebp - 0xc8], ax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaFreeVar
movsx eax, word [ebp - 0xc8]
test eax, eax
je 0x41b09f
jmp 0x41b791
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x58], 0x3c
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], 0xc
push 1
push dword [ebp - 0x4c]
push 0x404554
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub eax, 1
jo 0x41b7e9
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], 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 [0x4201b8]
push dword [0x4201e4]
call fcn.00414521
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x74]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
cmp dword [ebp - 0xbc], 2
jne 0x41b6ce
mov dword [ebp - 4], 0xe
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 [0x4201bc]
push dword [0x4201e4]
call fcn.00414521
lea eax, [ebp - 0x74]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0xf
fld qword [0x403490]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcExp
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x10
fld qword [0x403378]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcTan
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x11
push dword [ebp - 0x44]
push dword [ebp - 0x48]
fldz
call sub.MSVBVM60.DLL___vbaFpCmpCy
test eax, eax
je 0x41b51b
mov dword [ebp - 4], 0x12
push 0x46
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcByteValueBstr
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x13
fld qword [0x403488]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcTan
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x14
fld qword [0x402270]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcAtn
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x15
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x41b449
mov dword [ebp - 4], 0x16
mov dword [ebp - 0x58], 0xac
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], 0x17
push 0x45
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], 0x18
fld qword [0x402260]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcExp
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x19
lea eax, [ebp - 0x40]
push eax
call fcn.0040550f
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x58], 0xca
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], 0x1b
push 0x6a8
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 0x41b4d5
mov dword [ebp - 4], 0x1d
push 0x9d
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], 0x1e
fld qword [0x402768]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcLog
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x1f
lea eax, [ebp - 0x40]
push eax
call fcn.00417822
mov dword [ebp - 4], 0x20
mov dword [ebp - 0x58], 0xa1
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
push 0xf5
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], 0x23
fld qword [0x402cb8]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcLog
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x25
mov dword [ebp - 0x58], 0x75
mov dword [ebp - 0x60], 2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcTrimVar
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
push 0x12a5
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], 0x27
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 [0x4201b8]
push dword [0x4201e4]
call fcn.00414521
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x74]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
cmp dword [ebp - 0xbc], 4
jne 0x41b6ce
mov dword [ebp - 4], 0x28
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x41b6a1
mov dword [ebp - 4], 0x29
push 0x2a
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], 0x2a
push 0x59
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcCharValueBstr
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x2b
lea eax, [ebp - 0x40]
push eax
call fcn.0040550f
mov dword [ebp - 4], 0x2c
mov dword [ebp - 0x58], 0xff
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
jmp 0x41b6b1
mov dword [ebp - 4], 0x2e
lea eax, [ebp - 0x40]
push eax
call fcn.00417822
mov dword [ebp - 4], 0x30
fld qword [0x402380]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcTan
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x33
fld qword [0x402b30]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcExp
fstp qword [ebp - 0xc4]
mov dword [ebp - 4], 0x34
mov dword [ebp - 0x58], 0xee
mov dword [ebp - 0x60], 2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_rtcTrimVar
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], 0x35
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 0x4008
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaLenBstr
mov esi, eax
push 1
push dword [ebp - 0x4c]
push 0x404554
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub esi, eax
jo 0x41b7e9
push esi
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x60]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x60]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
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], 0x36
jmp 0x41b002
wait
push 0x41b7d8
jmp 0x41b7bf
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