Function at 0x40fc98
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x402766
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x78
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401700
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 dword [ebp - 0x34]
push 0x406dcc
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 4
push dword [ebp - 0x5c]
push 0x406e3c
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x60]
and eax, 0xdd02b8
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 6
mov eax, 0xe3aee
sub eax, dword [ebp - 0x28]
jo 0x4105bd
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 7
push 0x406e64
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x60]
or eax, 0xe42da7
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 9
push 0x406ed8
push dword [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0xa
push dword [ebp - 0x64]
push 0x406f40
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0xb
mov eax, 0x58a344
cdq
idiv dword [ebp - 0x2c]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0xc
push 0x406fac
push dword [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0xd
mov eax, 0xd10992
sub eax, dword [ebp - 0x24]
jo 0x4105bd
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x54]
sub eax, 0x348318
jo 0x4105bd
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x3c]
and eax, 0xe98fe3
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x10
push 0x407048
push dword [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x11
push 0x40707c
push dword [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x12
push 0x4070dc
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x13
mov eax, 0x22bfe
cdq
idiv dword [ebp - 0x3c]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 0x14
push 0x40714c
push dword [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x15
push 0x407180
push dword [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x16
push dword [ebp - 0x48]
push 0x4071f0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x17
push 0x407260
push dword [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x18
push dword [ebp - 0x30]
push 0x4072a4
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x19
push 0x407330
push dword [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x1a
mov eax, dword [ebp - 0x28]
or eax, 0xd31d4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0x1b
fild dword [ebp - 0x4c]
fstp qword [ebp - 0x80]
fld qword [0x401878]
cmp dword [section..data], 0
jne 0x40ff82
fdiv qword [ebp - 0x80]
jmp 0x40ff8d
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x4105b8
call sub.MSVBVM60.DLL___vbaFpI4
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0x1c
mov eax, 0x223869
sub eax, dword [ebp - 0x40]
jo 0x4105bd
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0x1d
push 0x40734c
push dword [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x1e
push 0x4073ac
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x1f
push 0x407330
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x20
mov eax, dword [ebp - 0x4c]
and eax, 0x363601
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0x21
mov eax, dword [ebp - 0x38]
xor eax, 0x94d6ad
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0x22
mov eax, dword [ebp - 0x2c]
add eax, 0x400729
jo 0x4105bd
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0x23
push 0x4073c8
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x24
push dword [ebp - 0x34]
push 0x407434
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x25
push dword [ebp - 0x48]
push 0x4074a0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x26
push dword [ebp - 0x30]
push 0x407520
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x27
mov eax, 0xd4ceaf
cdq
idiv dword [ebp - 0x54]
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 0x28
push 0x40759c
push dword [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x29
push 0x407624
push dword [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x2a
push dword [ebp - 0x58]
push 0x40766c
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x2b
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
cmp dword [section..data], 0
jne 0x410159
fdiv qword [0x401870]
jmp 0x41016a
push dword [0x401874]
push dword [0x401870]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x4105b8
call sub.MSVBVM60.DLL___vbaFpI4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0x2c
mov eax, 0x411043
cdq
idiv dword [ebp - 0x2c]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0x2d
push dword [ebp - 0x30]
push 0x40768c
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x2e
mov eax, 0x800a52
cdq
idiv dword [ebp - 0x54]
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 0x2f
mov eax, dword [ebp - 0x24]
xor eax, 0xa39679
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0x30
mov eax, dword [ebp - 0x50]
imul eax, eax, 0x60ce8d
jo 0x4105bd
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0x31
push dword [ebp - 0x34]
push 0x4076dc
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x32
push dword [ebp - 0x64]
push 0x407750
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x33
push dword [ebp - 0x30]
push 0x4077a4
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x34
push dword [ebp - 0x58]
push 0x407800
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x35
mov eax, dword [ebp - 0x28]
xor eax, 0x518e1f
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0x36
push dword [ebp - 0x34]
push 0x407854
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x37
fild dword [ebp - 0x24]
fstp qword [ebp - 0x90]
fld qword [ebp - 0x90]
cmp dword [section..data], 0
jne 0x4102ba
fdiv qword [0x401868]
jmp 0x4102cb
push dword [0x40186c]
push dword [0x401868]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x4105b8
call sub.MSVBVM60.DLL___vbaFpI4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0x38
push dword [ebp - 0x34]
push 0x4074cc
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x39
push dword [ebp - 0x34]
push 0x406b98
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x3a
mov eax, dword [ebp - 0x28]
and eax, 0x43e210
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0x3b
push 0x407874
push dword [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x3c
push 0x40789c
push dword [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x3d
mov eax, dword [ebp - 0x2c]
and eax, 0x1c7b02
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0x3e
push 0x407904
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x3f
mov eax, dword [ebp - 0x50]
add eax, 0xdc84e3
jo 0x4105bd
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0x40
mov eax, dword [ebp - 0x50]
cdq
mov ecx, 0x43643b
idiv ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0x41
push dword [ebp - 0x5c]
push 0x407944
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x42
push 0x407970
push dword [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x43
push dword [ebp - 0x44]
push 0x407988
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x44
push 0x4079a8
push dword [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x45
push 0x407a10
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x46
push dword [ebp - 0x64]
push 0x407a54
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x47
push dword [ebp - 0x44]
push 0x407ac4
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x48
push dword [ebp - 0x58]
push 0x407988
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x49
push 0x407b0c
push dword [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x4a
mov eax, dword [ebp - 0x38]
cdq
mov ecx, 0x373478
idiv ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0x4b
mov eax, dword [ebp - 0x40]
imul eax, eax, 0x3ad484
jo 0x4105bd
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0x4c
mov eax, 0x25cdef
sub eax, dword [ebp - 0x24]
jo 0x4105bd
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0x4d
fild dword [ebp - 0x50]
fstp qword [ebp - 0x98]
fld qword [ebp - 0x98]
cmp dword [section..data], 0
jne 0x41053f
fdiv qword [0x401860]
jmp 0x410550
push dword [0x401864]
push dword [0x401860]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x4105b8
call sub.MSVBVM60.DLL___vbaFpI4
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0x4e
call fcn.004105c2
wait
push 0x4105a9
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
jmp 0x40276c
call sub.MSVBVM60.DLL___vbaErrorOverflow