Function at 0x4d52d0
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, 0x130
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x407180
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 0x420fd8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x4211e0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], 8
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xb8], 3
push 0x412dd8
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0x48]
mov dword [ecx], edx
mov eax, dword [ebp - 0x44]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x40]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0xc], eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0xb8]
mov dword [ecx], edx
mov eax, dword [ebp - 0xb4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xb0]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xac]
mov dword [ecx + 0xc], eax
push 2
push 0x60010000
mov ecx, dword [0x4fc104]
push ecx
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x30
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x28]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 4
push 0
push 0x60010010
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
neg eax
sbb eax, eax
neg eax
neg eax
mov word [ebp - 0x12c], ax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx ecx, word [ebp - 0x12c]
test ecx, ecx
je 0x4d59a0
mov dword [ebp - 4], 5
cmp dword [0x4fc3ac], 0
jne 0x4d54a4
push 0x4fc3ac
push 0x409610
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x148], 0x4fc3ac
jmp 0x4d54ae
mov dword [ebp - 0x148], 0x4fc3ac
mov edx, dword [ebp - 0x148]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x130]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 6
push 0
push 0x60010009
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVar]
not ax
mov word [ebp - 0x12c], ax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx ecx, word [ebp - 0x12c]
test ecx, ecx
je 0x4d598a
mov dword [ebp - 4], 7
push 0
push 0x13
mov edx, dword [ebp - 0x130]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x130]
push ecx
call dword [eax + 0x2fc]
push eax
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
cmp dword [0x4fc3ac], 0
jne 0x4d556a
push 0x4fc3ac
push 0x409610
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x14c], 0x4fc3ac
jmp 0x4d5574
mov dword [ebp - 0x14c], 0x4fc3ac
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax]
mov eax, dword [ecx]
push edx
call dword [eax + 0x2fc]
push eax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
cmp dword [0x4fc3ac], 0
jne 0x4d55bd
push 0x4fc3ac
push 0x409610
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x150], 0x4fc3ac
jmp 0x4d55c7
mov dword [ebp - 0x150], 0x4fc3ac
push 0x41f594
mov edx, dword [ebp - 0x150]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov word [ebp - 0x124], 2
mov word [ebp - 0x120], 0
mov word [ebp - 0x11c], 0
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0x4fc250
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push 0x4fc248
lea edx, [ebp - 0x128]
push edx
call fcn.004c88c0
push 0x41ca48
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x4fc3ac
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x30]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0x10
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 8
push 0
push 0x13
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x130]
push eax
call dword [edx + 0x2fc]
push eax
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xd8], 3
mov dword [ebp - 0xf0], 1
mov dword [ebp - 0xf8], 3
mov dword [ebp - 0xc0], 0x42123c
mov dword [ebp - 0xc8], 8
mov dword [ebp - 0xa0], 0x421254
mov dword [ebp - 0xa8], 8
lea eax, [ebp - 0xc8]
push eax
push 0
push 0x412e48
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0xa8]
mov dword [ecx], edx
mov eax, dword [ebp - 0xa4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xa0]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x9c]
mov dword [ecx + 0xc], eax
push 1
push 0
push 0x8d
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoadRef]
add esp, 0x1c
push eax
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarLateMemCallLd]
add esp, 0x10
push eax
lea edx, [ebp - 0x78]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x98], 8
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0xd8]
mov dword [eax], ecx
mov edx, dword [ebp - 0xd4]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xd0]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xcc]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0xf8]
mov dword [eax], ecx
mov edx, dword [ebp - 0xf4]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xf0]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xec]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x98]
mov dword [eax], ecx
mov edx, dword [ebp - 0x94]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x90]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x8c]
mov dword [eax + 0xc], edx
push 2
push 0x119
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x130]
push edx
call dword [ecx + 0x2fc]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallSt]
add esp, 0x3c
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x30]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x48]
push edx
push 6
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x1c
mov dword [ebp - 4], 9
push 0
push 0x13
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x130]
push edx
call dword [ecx + 0x2fc]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
add eax, 1
jo 0x4d5a43
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], 3
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xa8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xa4]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xa0]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x9c]
mov dword [edx + 0xc], ecx
push 0x13
mov edx, dword [ebp - 0x130]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x130]
push ecx
call dword [eax + 0x2fc]
push eax
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdSt]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xa
push 0
push 0x60010003
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCall]
add esp, 0xc
jmp 0x4d54c4
mov dword [ebp - 4], 0xc
push 0
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 0xe
push 0x412dd8
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0x4d5a30
jmp 0x4d5a1a
lea ecx, [ebp - 0x130]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
int3