Function at 0x4079ea
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403586
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x9c
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401578
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 0x2638
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], 4
push 0
push 0xffffffffffffffff
push 1
push 0xa9
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0xbe
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0xf9
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
mov dword [ebp - 4], 5
push 0
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x68]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
lea eax, [ebp - 0x68]
push eax
push dword [0x420198]
push dword [0x4201b8]
call fcn.0041355c
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x68]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 6
mov word [ebp - 0x90], 0x19
mov word [ebp - 0x8c], 1
and word [ebp - 0x24], 0
jmp 0x407b5b
mov ax, word [ebp - 0x24]
add ax, word [ebp - 0x8c]
jo 0x408116
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
cmp ax, word [ebp - 0x90]
jg 0x40807b
mov dword [ebp - 4], 7
mov dword [ebp - 0x4c], 0x6d
mov dword [ebp - 0x54], 2
push 1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 8
mov dword [ebp - 0x4c], 0x32
mov dword [ebp - 0x54], 2
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 9
movsx eax, word [ebp - 0x24]
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fstp qword [ebp - 0xbc]
fld qword [ebp - 0xbc]
push ecx
push ecx
fstp qword [esp]
fld qword [0x401648]
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 - 0x9c], ecx
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0x9c], 0
je 0x408046
mov dword [ebp - 4], 0xb
push dword [0x4200f0]
push 1
call sub.MSVBVM60.DLL___vbaUbound
mov ecx, eax
call sub.MSVBVM60.DLL___vbaI2I4
mov word [ebp - 0x98], ax
mov word [ebp - 0x94], 1
and word [ebp - 0x28], 0
jmp 0x407c79
mov ax, word [ebp - 0x28]
add ax, word [ebp - 0x94]
jo 0x408116
mov word [ebp - 0x28], ax
mov ax, word [ebp - 0x28]
cmp ax, word [ebp - 0x98]
jg 0x407e05
mov dword [ebp - 4], 0xc
push 0
push 0xfa
push 0xd9
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 6
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcInStrRev
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x4c], 0x52
mov dword [ebp - 0x54], 2
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0xe
movsx eax, word [ebp - 0x28]
push eax
push dword [0x4200f0]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x408116
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 - 0x88], ax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
movsx eax, word [ebp - 0x88]
test eax, eax
je 0x407df9
mov dword [ebp - 4], 0xf
push 0x1380
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], 0x10
or word [ebp - 0x30], 0xffff
jmp 0x407e05
mov dword [ebp - 4], 0x15
jmp 0x407c64
mov dword [ebp - 4], 0x16
movsx eax, word [ebp - 0x30]
test eax, eax
jne 0x407f85
mov dword [ebp - 4], 0x17
push 0
push 0xa
push 0x14
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 2
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcInStrRev
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x18
mov dword [ebp - 0x4c], 0x45
mov dword [ebp - 0x54], 2
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x19
push 0
push dword [0x4200f0]
push 1
call sub.MSVBVM60.DLL___vbaUbound
add eax, 1
jo 0x408116
push eax
push 1
push 8
push 0x4200f0
push 4
push 0x180
call sub.MSVBVM60.DLL___vbaRedimPreserve
add esp, 0x1c
mov dword [ebp - 4], 0x1a
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x408116
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 [0x4200f0]
push 1
call sub.MSVBVM60.DLL___vbaUbound
push eax
push dword [0x4200f0]
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], 0x1b
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x408116
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 0x4044ec
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], 0x1c
fld qword [0x401638]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcTan
fstp qword [ebp - 0x84]
jmp 0x4080b1
mov dword [ebp - 4], 0x1f
push 0
push 0x80
push 0xc3
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 2
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcInStrRev
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x20
push 0
push 0xffffffffffffffff
push 1
push 0xe0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0xa1
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x83
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
mov dword [ebp - 4], 0x22
and word [ebp - 0x30], 0
mov dword [ebp - 4], 0x23
fld qword [0x401630]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcSqr
fstp qword [ebp - 0x84]
mov dword [ebp - 4], 0x24
jmp 0x407b46
mov dword [ebp - 4], 0x25
mov dword [ebp - 0x4c], 0xf5
mov dword [ebp - 0x54], 2
push 0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL_rtcRound
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
wait
push 0x408104
jmp 0x408103
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow