Function at 0x413832
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403cc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x94
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4029b8
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 0xdc
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcCharValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 4
fld qword [0x4025f0]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcExp
fstp qword [ebp - 0x7c]
mov dword [ebp - 4], 5
fld qword [0x402ab0]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcTan
fstp qword [ebp - 0x7c]
mov dword [ebp - 4], 6
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.0040b348
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x5c]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 7
push 0xa6
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
mov dword [ebp - 0x40], 0x89
mov dword [ebp - 0x48], 2
push 3
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
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], 9
mov word [ebp - 0x88], 0x19
mov word [ebp - 0x84], 1
and word [ebp - 0x24], 0
jmp 0x4139c1
mov ax, word [ebp - 0x24]
add ax, word [ebp - 0x84]
jo 0x413f3e
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
cmp ax, word [ebp - 0x88]
jg 0x413eb5
mov dword [ebp - 4], 0xa
movsx eax, word [ebp - 0x24]
mov dword [ebp - 0xac], eax
fild dword [ebp - 0xac]
fstp qword [ebp - 0xb4]
fld qword [ebp - 0xb4]
push ecx
push ecx
fstp qword [esp]
fld qword [0x402aa8]
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 - 0x94], ecx
mov dword [ebp - 4], 0xb
cmp dword [ebp - 0x94], 0
je 0x413e4d
mov dword [ebp - 4], 0xc
push 0xfe
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], 0xd
mov dword [ebp - 0x40], 0x5f
mov dword [ebp - 0x48], 2
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
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], 0xe
fld qword [0x402aa0]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcSin
fstp qword [ebp - 0x7c]
mov dword [ebp - 4], 0xf
push dword [0x42111c]
push 1
call sub.MSVBVM60.DLL___vbaUbound
mov ecx, eax
call sub.MSVBVM60.DLL___vbaI2I4
mov word [ebp - 0x90], ax
mov word [ebp - 0x8c], 1
and word [ebp - 0x28], 0
jmp 0x413aec
mov ax, word [ebp - 0x28]
add ax, word [ebp - 0x8c]
jo 0x413f3e
mov word [ebp - 0x28], ax
mov ax, word [ebp - 0x28]
cmp ax, word [ebp - 0x90]
jg 0x413bbe
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x40], 0xd
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], 0x11
movsx eax, word [ebp - 0x28]
push eax
push dword [0x42111c]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x413f3e
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 - 0x80], ax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
movsx eax, word [ebp - 0x80]
test eax, eax
je 0x413b9c
mov dword [ebp - 4], 0x12
or word [ebp - 0x30], 0xffff
jmp 0x413bbe
mov dword [ebp - 4], 0x15
mov word [ebp - 0x70], 0x25e
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 4], 0x16
jmp 0x413ad7
mov dword [ebp - 4], 0x17
push 0x10fd
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], 0x18
fld qword [0x402a98]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcExp
fstp qword [ebp - 0x7c]
mov dword [ebp - 4], 0x19
push 0x26
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcCharValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x1a
movsx eax, word [ebp - 0x30]
test eax, eax
jne 0x413e17
mov dword [ebp - 4], 0x1b
push 0
push dword [0x42111c]
push 1
call sub.MSVBVM60.DLL___vbaUbound
add eax, 1
jo 0x413f3e
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
fld qword [0x401ba0]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcSqr
fstp qword [ebp - 0x7c]
mov dword [ebp - 4], 0x1d
push 0x6e7
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], 0x1e
fld qword [0x4021c0]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcCos
fstp qword [ebp - 0x7c]
mov dword [ebp - 4], 0x1f
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x413f3e
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], 0x20
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_rtcAnsiValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x21
fld qword [0x401458]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcCos
fstp qword [ebp - 0x7c]
mov dword [ebp - 4], 0x22
mov ax, word [ebp - 0x24]
add ax, 0x41
jo 0x413f3e
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 0x404bcc
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], 0x23
mov dword [ebp - 0x40], 0xf4
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], 0x24
mov dword [ebp - 0x40], 0x98
mov dword [ebp - 0x48], 2
push 2
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
jmp 0x413eeb
mov dword [ebp - 4], 0x27
mov dword [ebp - 0x40], 0x9e
mov dword [ebp - 0x48], 2
push 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcRound
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], 0x29
fld qword [0x402a90]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcCos
fstp qword [ebp - 0x7c]
mov dword [ebp - 4], 0x2a
mov dword [ebp - 0x40], 0x84
mov dword [ebp - 0x48], 2
push 1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
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], 0x2b
and word [ebp - 0x30], 0
mov dword [ebp - 4], 0x2c
jmp 0x4139ac
mov dword [ebp - 4], 0x2d
mov dword [ebp - 0x40], 0x8a
mov dword [ebp - 0x48], 2
push 2
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x58]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
wait
push 0x413f2c
jmp 0x413f2b
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow