Function at 0x4db0f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x408f66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xec
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x407750
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov dword [ebp - 0x84], 0x42192c
mov dword [ebp - 0x8c], 8
lea eax, [ebp - 0x8c]
push eax
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 8
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xbc], 3
push 0x412dd8
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x6c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x68]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x64]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x60]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xbc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xb8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xb4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xb0]
mov dword [edx + 0xc], ecx
push 2
push 0x60010000
mov edx, dword [0x4fc104]
push edx
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x30
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x5c]
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
mov dword [ebp - 4], 4
push 0
push 0x60010010
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
xor ecx, ecx
test eax, eax
setg cl
neg ecx
mov word [ebp - 0xdc], cx
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx edx, word [ebp - 0xdc]
test edx, edx
je 0x4db332
mov dword [ebp - 4], 5
mov dword [ebp - 0x84], 0x4219c0
mov dword [ebp - 0x8c], 8
push 0
push 0x412e48
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x8c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x88]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x84]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x80]
mov dword [eax + 0xc], edx
push 1
push 0
push 0x8d
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
lea edx, [ebp - 0x6c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoadRef]
add esp, 0x1c
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemCallLd]
add esp, 0x10
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x5c]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
jmp 0x4db35c
mov dword [ebp - 4], 7
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x8c], 2
lea edx, [ebp - 0x8c]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 0xa
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xdc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xdc]
push ecx
call dword [eax + 0x1c]
fnclex
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
jge 0x4db3c7
push 0x1c
push 0x412314
mov edx, dword [ebp - 0xdc]
push edx
mov eax, dword [ebp - 0xe0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x104], eax
jmp 0x4db3d1
mov dword [ebp - 0x104], 0
xor ecx, ecx
cmp dword [ebp - 0xd0], 0
sete cl
neg ecx
mov word [ebp - 0xe4], cx
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
movsx edx, word [ebp - 0xe4]
test edx, edx
je 0x4db3ff
jmp 0x4db595
mov dword [ebp - 4], 0xc
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0xdc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xdc]
push ecx
call dword [eax + 0x2c]
fnclex
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
jge 0x4db467
push 0x2c
push 0x412314
mov edx, dword [ebp - 0xdc]
push edx
mov eax, dword [ebp - 0xe0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x108], eax
jmp 0x4db471
mov dword [ebp - 0x108], 0
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0xe4], eax
lea edx, [ebp - 0xd0]
push edx
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xe4]
push edx
call dword [ecx + 0x1c]
fnclex
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
jge 0x4db4d5
push 0x1c
push 0x412314
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xe8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x10c], eax
jmp 0x4db4df
mov dword [ebp - 0x10c], 0
fld qword [0x4fc19c]
call dword [sym.imp.MSVBVM60.DLL___vbaFpI4]
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x100]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, 0x4219cc
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, 0x421614
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x4fc14c
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.004eac50
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x3c]
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
mov dword [ebp - 4], 0xd
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaResume]
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
wait
push 0x4db606
jmp 0x4db5fc
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret