Function at 0x4120f9
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x4014d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x7c
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4012e8
call fcn.004026a8
mov dword [ebp - 0x50], eax
call sub.MSVBVM60.DLL___vbaSetSystemError
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
je 0x41214d
mov eax, dword [ebp + 0x34]
mov dword [eax], 0xfffffff5
jmp 0x412530
push dword [ebp + 8]
call fcn.00402660
mov dword [ebp - 0x50], eax
call sub.MSVBVM60.DLL___vbaSetSystemError
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x412527
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, 1
jo 0x412554
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 1
and dword [ebp - 0x44], 0
jmp 0x41219a
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x54]
jo 0x412554
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x58]
jg 0x4121d4
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0x4c]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push dword [ebp - 0x44]
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
push dword [ebp - 0x44]
call fcn.0040273c
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x4c]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
jmp 0x41218b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
sub eax, 1
jo 0x412554
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 1
and dword [ebp - 0x44], 0
jmp 0x412202
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x5c]
jo 0x412554
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x60]
jg 0x41223c
mov eax, dword [ebp + 0x10]
push dword [eax]
lea eax, [ebp - 0x4c]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push dword [ebp - 0x44]
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
push dword [ebp - 0x44]
call fcn.00402788
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x4c]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
jmp 0x4121f3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
sub eax, 1
jo 0x412554
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 1
and dword [ebp - 0x44], 0
jmp 0x41226a
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x64]
jo 0x412554
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x68]
jg 0x4122a4
mov eax, dword [ebp + 0x14]
push dword [eax]
lea eax, [ebp - 0x4c]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push dword [ebp - 0x44]
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
push dword [ebp - 0x44]
call fcn.004027f8
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x4c]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
jmp 0x41225b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
sub eax, 1
jo 0x412554
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 1
and dword [ebp - 0x44], 0
jmp 0x4122d2
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x6c]
jo 0x412554
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x70]
jg 0x412335
push dword [ebp - 0x44]
mov eax, dword [ebp + 0x18]
push dword [eax]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [eax + 0xc]
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x44]
mov eax, dword [ebp + 0x18]
push dword [eax]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld dword [eax + 8]
push ecx
fstp dword [esp]
push dword [ebp - 0x44]
mov eax, dword [ebp + 0x18]
push dword [eax]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld dword [eax + 4]
push ecx
fstp dword [esp]
push dword [ebp - 0x44]
mov eax, dword [ebp + 0x18]
push dword [eax]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
push dword [ebp - 0x44]
call fcn.00402844
call sub.MSVBVM60.DLL___vbaSetSystemError
jmp 0x4122c3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
sub eax, 1
jo 0x412554
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 1
and dword [ebp - 0x44], 0
jmp 0x412363
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x74]
jo 0x412554
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x78]
jg 0x41239d
mov eax, dword [ebp + 0x1c]
push dword [eax]
lea eax, [ebp - 0x4c]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push dword [ebp - 0x44]
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
push dword [ebp - 0x44]
call fcn.00402894
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x4c]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
jmp 0x412354
mov eax, dword [ebp + 0x34]
and dword [eax], 0
movsx eax, word [0x41c03c]
test eax, eax
jne 0x4123c0
push dword [ebp + 0x34]
push dword [ebp + 8]
call fcn.00402930
call sub.MSVBVM60.DLL___vbaSetSystemError
jmp 0x4123fb
cmp word [0x41c03c], 1
jne 0x4123dc
push dword [ebp + 0x34]
push dword [ebp + 8]
call fcn.0040297c
call sub.MSVBVM60.DLL___vbaSetSystemError
jmp 0x4123fb
cmp word [0x41c03c], 2
jne 0x4123fb
push 0x41c0cc
push dword [ebp + 0x34]
push dword [ebp + 8]
call fcn.004029c0
call sub.MSVBVM60.DLL___vbaSetSystemError
mov eax, dword [ebp + 0x34]
cmp dword [eax], 0
jne 0x41251b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
sub eax, 1
jo 0x412554
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 1
and dword [ebp - 0x44], 0
jmp 0x412435
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x7c]
jo 0x412554
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x80]
jg 0x41251b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, 1
jo 0x412554
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], 1
and dword [ebp - 0x48], 0
jmp 0x412477
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x84]
jo 0x412554
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x88]
jg 0x412516
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 0x48]
push dword [ebp - 0x44]
call fcn.004028e4
call sub.MSVBVM60.DLL___vbaSetSystemError
push dword [ebp + 8]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004120cb
mov dword [ebp - 0x40], eax
push dword [ebp - 0x40]
push dword [0x41c0b8]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [ebp - 0x38]
fstp qword [eax]
push dword [ebp - 0x40]
push dword [0x41c0bc]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [ebp - 0x30]
fstp qword [eax]
push dword [ebp - 0x40]
push dword [0x41c0c0]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [ebp - 0x28]
fstp qword [eax]
push dword [ebp - 0x40]
push dword [0x41c0c4]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [ebp - 0x20]
fstp qword [eax]
push dword [ebp - 0x40]
push dword [0x41c0c8]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld qword [ebp - 0x18]
fstp qword [eax]
jmp 0x412465
jmp 0x412426
call fcn.004026f0
call sub.MSVBVM60.DLL___vbaSetSystemError
jmp 0x412530
mov eax, dword [ebp + 0x34]
mov dword [eax], 0xfffffff6
wait
push 0x412543
jmp 0x412542
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow