Function at 0x620fad
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x40e906
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x5c
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402890
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 eax, dword [ebp + 8]
fld qword [eax]
fcomp qword [0x402938]
fnstsw ax
sahf
jne 0x621032
mov dword [ebp - 4], 4
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
jmp 0x621380
mov dword [ebp - 4], 7
mov eax, dword [ebp + 8]
fld qword [eax]
cmp dword [section..data], 0
jne 0x62104f
fdiv qword [0x402930]
jmp 0x621060
push dword [0x402934]
push dword [0x402930]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp qword [ebp - 0x2c]
fnstsw ax
test al, 0xd
jne 0x6213d2
mov dword [ebp - 4], 8
fld qword [ebp - 0x2c]
fadd qword [0x402848]
fnstsw ax
test al, 0xd
jne 0x6213d2
call sub.MSVBVM60.DLL___vbaR8FixI4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 9
fild dword [ebp - 0x30]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
fmul qword [0x402930]
mov eax, dword [ebp + 8]
fsubr qword [eax]
cmp dword [section..data], 0
jne 0x6210bb
fdiv qword [0x402928]
jmp 0x6210cc
push dword [0x40292c]
push dword [0x402928]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fadd qword [0x402848]
fnstsw ax
test al, 0xd
jne 0x6213d2
call sub.MSVBVM60.DLL___vbaR8FixI4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x24], 0x40
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x34]
cdq
push 2
pop ecx
idiv ecx
test edx, edx
jne 0x6211dd
cmp dword [ebp - 0x34], 0
je 0x6211dd
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x24]
jge 0x6211dd
mov dword [ebp - 4], 0xd
fild dword [ebp - 0x34]
fstp qword [ebp - 0x74]
fld qword [ebp - 0x74]
cmp dword [section..data], 0
jne 0x621141
fdiv qword [0x402920]
jmp 0x621152
push dword [0x402924]
push dword [0x402920]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x6213d2
call sub.MSVBVM60.DLL___vbaFpI4
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xe
fild dword [ebp - 0x24]
fstp qword [ebp - 0x7c]
fld qword [ebp - 0x7c]
cmp dword [section..data], 0
jne 0x621185
fdiv qword [0x402920]
jmp 0x621196
push dword [0x402924]
push dword [0x402920]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x6213d2
call sub.MSVBVM60.DLL___vbaFpI4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x34]
cdq
push 2
pop ecx
idiv ecx
mov ecx, edx
dec ecx
neg ecx
sbb ecx, ecx
neg ecx
mov eax, dword [ebp - 0x24]
cdq
push 2
pop esi
idiv esi
dec edx
neg edx
sbb edx, edx
neg edx
and ecx, edx
test ecx, ecx
jne 0x621120
jmp 0x62120d
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x24]
jne 0x62120d
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0x30]
add eax, 1
jo 0x6213d7
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0x12
and dword [ebp - 0x34], 0
mov dword [ebp - 4], 0x14
cmp dword [ebp - 0x30], 0
jle 0x6212d8
cmp dword [ebp - 0x34], 0
jle 0x6212d8
mov dword [ebp - 4], 0x15
push dword [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrI4
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x42a594
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrI4
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x429384
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrI4
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push 6
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x1c
jmp 0x621380
mov dword [ebp - 4], 0x16
cmp dword [ebp - 0x30], 0
jle 0x621306
cmp dword [ebp - 0x34], 0
jne 0x621306
mov dword [ebp - 4], 0x17
push dword [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrI4
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
jmp 0x621380
mov dword [ebp - 4], 0x18
cmp dword [ebp - 0x30], 0
jne 0x621380
cmp dword [ebp - 0x34], 0
jle 0x621380
mov dword [ebp - 4], 0x19
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrI4
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x429384
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrI4
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
wait
push 0x6213be
jmp 0x6213bd
ret
jmp 0x40e90c
call sub.MSVBVM60.DLL___vbaErrorOverflow