Function at 0x41cc1b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403ba6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x90
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x403650
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 0
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
lea eax, [ebp - 0x5c]
push eax
push dword [0x4211c4]
push dword [0x4211e4]
call fcn.0041423e
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x5c]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 4
mov word [ebp - 0x84], 0x19
mov word [ebp - 0x80], 1
and word [ebp - 0x24], 0
jmp 0x41cce8
mov ax, word [ebp - 0x24]
add ax, word [ebp - 0x80]
jo 0x41d31b
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
cmp ax, word [ebp - 0x84]
jg 0x41d2c8
mov dword [ebp - 4], 5
push 0x11
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcAnsiValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 6
fld qword [0x403748]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcLog
fstp qword [ebp - 0x78]
mov dword [ebp - 4], 7
push 0x8e
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcByteValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 8
movsx eax, word [ebp - 0x24]
mov dword [ebp - 0xa8], eax
fild dword [ebp - 0xa8]
fstp qword [ebp - 0xb0]
fld qword [ebp - 0xb0]
push ecx
push ecx
fstp qword [esp]
fld qword [0x401dd8]
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 - 0x90], ecx
mov dword [ebp - 4], 9
cmp dword [ebp - 0x90], 0
je 0x41d1da
mov dword [ebp - 4], 0xa
push dword [0x42111c]
push 1
call sub.MSVBVM60.DLL___vbaUbound
mov ecx, eax
call sub.MSVBVM60.DLL___vbaI2I4
mov word [ebp - 0x8c], ax
mov word [ebp - 0x88], 1
and word [ebp - 0x2c], 0
jmp 0x41ce05
mov ax, word [ebp - 0x2c]
add ax, word [ebp - 0x88]
jo 0x41d31b
mov word [ebp - 0x2c], ax
mov ax, word [ebp - 0x2c]
cmp ax, word [ebp - 0x8c]
jg 0x41cfaf
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x40], 0xd6
mov dword [ebp - 0x48], 2
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x40], 0x2a
mov dword [ebp - 0x48], 2
push 3
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0xd
movsx eax, word [ebp - 0x2c]
push eax
push dword [0x42111c]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x41d31b
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 - 0x7c], ax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
movsx eax, word [ebp - 0x7c]
test eax, eax
je 0x41cfa3
mov dword [ebp - 4], 0xe
fld qword [0x402ce0]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcExp
fstp qword [ebp - 0x78]
mov dword [ebp - 4], 0xf
fld qword [0x402cf8]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcTan
fstp qword [ebp - 0x78]
mov dword [ebp - 4], 0x10
fld qword [0x403580]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcAtn
fstp qword [ebp - 0x78]
mov dword [ebp - 4], 0x11
or word [ebp - 0x30], 0xffff
jmp 0x41cfaf
mov dword [ebp - 4], 0x17
jmp 0x41cdf0
mov dword [ebp - 4], 0x18
lea eax, [ebp - 0x48]
push eax
call sub.MSVBVM60.DLL_rtcCommandVar
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x19
push 0xd3
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcAnsiValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x1a
movsx eax, word [ebp - 0x30]
test eax, eax
jne 0x41d14c
mov dword [ebp - 4], 0x1b
push 0
push dword [0x42111c]
push 1
call sub.MSVBVM60.DLL___vbaUbound
add eax, 1
jo 0x41d31b
push eax
push 1
push 8
push 0x42111c
push 4
push 0x180
call sub.MSVBVM60.DLL___vbaRedimPreserve
add esp, 0x1c
mov dword [ebp - 4], 0x1c
lea eax, [ebp - 0x48]
push eax
call sub.MSVBVM60.DLL_rtcCommandVar
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x1d
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x41d31b
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 [0x42111c]
push 1
call sub.MSVBVM60.DLL___vbaUbound
push eax
push dword [0x42111c]
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], 0x1e
push 0x9a
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcAnsiValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x1f
fld qword [0x401e48]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcAtn
fstp qword [ebp - 0x78]
mov dword [ebp - 4], 0x20
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x41d31b
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 0x404b30
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x21
lea eax, [ebp - 0x48]
push eax
call sub.MSVBVM60.DLL_rtcCommandVar
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
jmp 0x41d2c8
mov dword [ebp - 4], 0x24
mov dword [ebp - 0x40], 8
mov dword [ebp - 0x48], 2
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcLeftTrimVar
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x25
mov dword [ebp - 0x40], 0x83
mov dword [ebp - 0x48], 2
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcTrimVar
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x26
push 0x46
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcAnsiValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x28
push 0xa0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcAnsiValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x29
mov dword [ebp - 0x40], 0x5e
mov dword [ebp - 0x48], 2
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcTrimVar
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x2a
and word [ebp - 0x30], 0
mov dword [ebp - 4], 0x2b
fld qword [0x403730]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcTan
fstp qword [ebp - 0x78]
mov dword [ebp - 4], 0x2c
mov dword [ebp - 0x40], 0x63
mov dword [ebp - 0x48], 2
push 2
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x2d
push 0xf02
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], 0x2e
jmp 0x41ccd6
wait
push 0x41d309
jmp 0x41d308
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow