Function at 0x4ce2b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x404986
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401860
mov eax, dword [ebp + 8]
xor esi, esi
push 0x41aca4
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
call fcn.004c7970
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x1c]
call edi
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
push 0x419240
push esi
mov dword [ebp - 0x50], 0xffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x28]
push eax
push ecx
call edi
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x1c]
push eax
push ecx
call fcn.004cc1f0
lea edx, [ebp - 0x18]
push eax
push edx
call edi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x50]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
cmp eax, esi
fnclex
jge 0x4ce38e
mov ecx, dword [ebp - 0x18]
push 0x68
push 0x419250
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp dword [ebp - 0x50], esi
jne 0x4ce3ab
mov edx, 0x41873c
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x4ce4b9
jmp 0x4ce4a6
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x54]
cmp eax, esi
fnclex
jge 0x4ce3d0
mov edx, dword [ebp - 0x18]
push 0x54
push 0x419250
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
push ebx
mov edx, 2
sub esp, 0x10
mov edi, dword [eax]
mov ebx, esp
xor ecx, ecx
push eax
mov dword [ebp - 0x58], eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x48]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x40]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
cmp eax, esi
fnclex
jge 0x4ce415
mov edx, dword [ebp - 0x58]
push 0x28
push 0x419274
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x3c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x34]
cmp eax, esi
fnclex
jge 0x4ce439
push 0x34
push 0x419284
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x28]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
push 0x4ce4b9
jmp 0x4ce4a6
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret