Function at 0x407c3b
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x4014d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x144
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x401268
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push 1
call sub.MSVBVM60.DLL___vbaOnError
mov eax, dword [0x41c040]
mov dword [0x41c084], eax
mov eax, dword [0x41c04c]
mov dword [0x41c090], eax
mov eax, dword [0x41c048]
mov dword [0x41c08c], eax
mov eax, dword [0x41c044]
mov dword [0x41c088], eax
cmp dword [0x41c010], 0
jne 0x407ccc
push 0x41c010
push 0x401d30
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x140], 0x41c010
jmp 0x407cd6
mov dword [ebp - 0x140], 0x41c010
mov eax, dword [ebp - 0x140]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x140]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x310]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x58]
push eax
push 0
mov eax, dword [ebp - 0x110]
mov eax, dword [eax]
push dword [ebp - 0x110]
call dword [eax + 0x40]
fnclex
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jge 0x407d47
push 0x40
push 0x4024d4
push dword [ebp - 0x110]
push dword [ebp - 0x114]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x144], eax
jmp 0x407d4e
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0x118]
mov eax, dword [eax]
push dword [ebp - 0x118]
call dword [eax + 0x180]
fnclex
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jge 0x407da6
push 0x180
push 0x4024e4
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x148], eax
jmp 0x407dad
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x10c]
mov dword [0x41c098], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeObjList
add esp, 0xc
cmp dword [0x41c010], 0
jne 0x407dee
push 0x41c010
push 0x401d30
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x14c], 0x41c010
jmp 0x407df8
mov dword [ebp - 0x14c], 0x41c010
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14c]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x310]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM60.DLL___vbaObjSet
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x58]
push eax
push 1
mov eax, dword [ebp - 0x110]
mov eax, dword [eax]
push dword [ebp - 0x110]
call dword [eax + 0x40]
fnclex
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jge 0x407e69
push 0x40
push 0x4024d4
push dword [ebp - 0x110]
push dword [ebp - 0x114]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x150], eax
jmp 0x407e70
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0x118]
mov eax, dword [eax]
push dword [ebp - 0x118]
call dword [eax + 0x180]
fnclex
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jge 0x407ec8
push 0x180
push 0x4024e4
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x154], eax
jmp 0x407ecf
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x10c]
mov dword [0x41c09c], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeObjList
add esp, 0xc
cmp word [0x41c03c], 1
jne 0x408131
fld qword [0x41c050]
fcomp qword [0x4012a0]
fnstsw ax
sahf
jae 0x407f20
push 0
push dword [0x41c0ac]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [eax + 0x38]
fstp qword [ebp - 0x24]
jmp 0x407f29
fld qword [0x41c050]
fstp qword [ebp - 0x24]
fld qword [0x41c058]
fcomp qword [0x4012a0]
fnstsw ax
sahf
jae 0x407f5c
mov eax, dword [0x41c048]
sub eax, 1
jo 0x4085ba
push eax
push dword [0x41c0ac]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [eax + 0x38]
fstp qword [ebp - 0x30]
jmp 0x407f65
fld qword [0x41c058]
fstp qword [ebp - 0x30]
push 0
push dword [0x41c0ac]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [eax + 0x38]
fcomp qword [ebp - 0x30]
fnstsw ax
sahf
ja 0x407fa2
mov eax, dword [0x41c048]
sub eax, 1
jo 0x4085ba
push eax
push dword [0x41c0ac]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [eax + 0x38]
fcomp qword [ebp - 0x24]
fnstsw ax
sahf
jae 0x407fb3
push 0
call sub.MSVBVM60.DLL___vbaOnError
and word [ebp - 0x28], 0
jmp 0x40852d
fld qword [ebp - 0x30]
fsub qword [ebp - 0x24]
cmp dword [section..data], 0
jne 0x407fca
fdiv qword [0x41c060]
jmp 0x407fdb
push dword [0x41c064]
push dword [0x41c060]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x4085b5
call sub.MSVBVM60.DLL___vbaFPFix
fadd qword [0x401298]
fnstsw ax
test al, 0xd
jne 0x4085b5
call sub.MSVBVM60.DLL___vbaFpI4
mov dword [0x41c094], eax
cmp dword [0x41c094], 1
jl 0x40811e
push 0
mov eax, dword [0x41c094]
sub eax, 1
jo 0x4085ba
push eax
push 1
push 0
push 0x41c0b4
push 0x10
push 0
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push 0
push dword [0x41c0b4]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [ebp - 0x24]
fstp qword [eax]
push 0
push dword [0x41c0b4]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [0x41c060]
fadd qword [eax]
fnstsw ax
test al, 0xd
jne 0x4085b5
push 0
push dword [0x41c0b4]
call sub.MSVBVM60.DLL___vbaDerefAry1
fstp qword [eax + 8]
mov eax, dword [0x41c094]
sub eax, 1
jo 0x4085ba
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x34], 1
jmp 0x4080b1
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x120]
jo 0x4085ba
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x124]
jg 0x40811c
mov eax, dword [ebp - 0x34]
sub eax, 1
jo 0x4085ba
push eax
push dword [0x41c0b4]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov esi, eax
push dword [ebp - 0x34]
push dword [0x41c0b4]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [esi + 8]
fstp qword [eax]
push dword [ebp - 0x34]
push dword [0x41c0b4]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [0x41c060]
fadd qword [eax]
fnstsw ax
test al, 0xd
jne 0x4085b5
push dword [ebp - 0x34]
push dword [0x41c0b4]
call sub.MSVBVM60.DLL___vbaDerefAry1
fstp qword [eax + 8]
jmp 0x40809f
jmp 0x40812f
push 0
call sub.MSVBVM60.DLL___vbaOnError
and word [ebp - 0x28], 0
jmp 0x40852d
jmp 0x40817f
mov dword [0x41c094], 1
push 0
push 0
push 1
push 0
push 0x41c0b4
push 0x10
push 0
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push 0
push dword [0x41c0b4]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [0x401290]
fstp qword [eax + 8]
push 0
push dword [0x41c0b4]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [0x401290]
fstp qword [eax]
push 0
mov eax, dword [0x41c084]
imul eax, dword [0x41c094]
jo 0x4085ba
sub eax, 1
jo 0x4085ba
push eax
push 1
push 5
push 0x41c0b8
push 8
push 0x80
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push 0
mov eax, dword [0x41c084]
imul eax, dword [0x41c094]
jo 0x4085ba
sub eax, 1
jo 0x4085ba
push eax
push 1
push 5
push 0x41c0bc
push 8
push 0x80
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push 0
mov eax, dword [0x41c084]
imul eax, dword [0x41c094]
jo 0x4085ba
sub eax, 1
jo 0x4085ba
push eax
push 1
push 5
push 0x41c0c0
push 8
push 0x80
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push 0
mov eax, dword [0x41c084]
imul eax, dword [0x41c094]
jo 0x4085ba
sub eax, 1
jo 0x4085ba
push eax
push 1
push 5
push 0x41c0c4
push 8
push 0x80
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push 0
mov eax, dword [0x41c084]
imul eax, dword [0x41c094]
jo 0x4085ba
sub eax, 1
jo 0x4085ba
push eax
push 1
push 5
push 0x41c0c8
push 8
push 0x80
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push 0
call sub.MSVBVM60.DLL___vbaOnError
or word [ebp - 0x28], 0xffff
jmp 0x40852d
call sub.MSVBVM60.DLL___vbaExitProc
wait
push 0x4085a2
jmp 0x4085a1
ret
jmp 0x4014dc
call sub.MSVBVM60.DLL___vbaErrorOverflow