Function at 0x4d23f0
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, 0x88
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x406e68
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
push 0x4209a0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x417f14
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x80], 3
push 0x412dd8
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x40]
mov dword [edx], eax
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x38]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x34]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x80]
mov dword [edx], eax
mov ecx, dword [ebp - 0x7c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x78]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x74]
mov dword [edx + 0xc], ecx
push 2
push 0x60010000
mov edx, dword [0x4fc104]
push edx
lea eax, [ebp - 0x50]
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 - 0x24]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x2c]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x40]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 4
push 0
push 0x60010010
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
xor edx, edx
test eax, eax
setg dl
neg edx
mov word [ebp - 0x94], dx
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx eax, word [ebp - 0x94]
test eax, eax
je 0x4d26f3
mov dword [ebp - 4], 5
push 0
push 0x60010000
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
add esp, 0xc
mov dword [ebp - 4], 6
mov dword [ebp - 0x68], 0x41d8e4
mov dword [ebp - 0x70], 8
push 0
push 0x412e48
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x70]
mov dword [edx], eax
mov ecx, dword [ebp - 0x6c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x68]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x64]
mov dword [edx + 0xc], ecx
push 1
push 0
push 0x8d
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoadRef]
add esp, 0x1c
push eax
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemCallLdRf]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcIsNull]
neg ax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x94], ax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x40]
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
movsx eax, word [ebp - 0x94]
test eax, eax
je 0x4d26f3
mov dword [ebp - 4], 7
mov dword [ebp - 0x68], 0x41d8e4
mov dword [ebp - 0x70], 8
push 0
push 0x412e48
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0x70]
mov dword [ecx], edx
mov eax, dword [ebp - 0x6c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x68]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x64]
mov dword [ecx + 0xc], eax
push 1
push 0
push 0x8d
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoadRef]
add esp, 0x1c
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x40]
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
push 0x4d2742
jmp 0x4d2738
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret