Function at 0x4ce6f0
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, 0x15c
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401880
mov eax, dword [ebp + 8]
xor esi, esi
push 0x41ad74
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 - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x148], 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 - 0x148], 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 - 0x148]
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 - 0x148]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
cmp eax, esi
fnclex
jge 0x4ce82b
mov ecx, dword [ebp - 0x18]
push 0x68
push 0x419250
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp dword [ebp - 0x148], esi
jne 0x4ce84b
mov edx, 0x41873c
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x4ceb51
jmp 0x4ceb3e
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xfc], 0x41ade4
mov dword [ebp - 0x104], 8
mov dword [ebp - 0x4c], 0x80020004
mov dword [ebp - 0x54], 0xa
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x54]
cmp eax, esi
fnclex
jge 0x4ce892
mov edx, dword [ebp - 0x18]
push 0x54
push 0x419250
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edi, [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
push edi
mov ecx, 2
sub esp, 0x10
mov edx, dword [eax]
mov edi, esp
mov dword [ebp - 0x150], eax
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0xe0]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xd8]
mov dword [edi + 8], esi
mov dword [edi + 0xc], ecx
call dword [edx + 0x28]
cmp eax, esi
fnclex
jge 0x4ce8e1
mov edx, dword [ebp - 0x150]
push 0x28
push 0x419274
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x2c]
push edx
mov ecx, 9
sub esp, 0x10
mov dword [ebp - 0x44], ecx
mov edx, esp
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], esi
mov dword [edx], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x64]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [edx + 0xc], eax
call fcn.004c81a0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10c], 0x41adec
mov dword [ebp - 0x114], 8
mov dword [ebp - 0x9c], 0x80020004
mov dword [ebp - 0xa4], 0xa
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x54]
cmp eax, esi
fnclex
jge 0x4ce962
mov edx, dword [ebp - 0x18]
push 0x54
push 0x419250
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x34]
mov eax, dword [ebp - 0x30]
push ebx
mov edx, 2
sub esp, 0x10
mov edi, dword [eax]
mov ebx, esp
mov ecx, 1
push eax
mov dword [ebp - 0x15c], eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x120]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x118]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
cmp eax, esi
fnclex
jge 0x4ce9b6
mov edx, dword [ebp - 0x15c]
push 0x28
push 0x419274
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 0x34]
push edx
mov ecx, 9
sub esp, 0x10
mov dword [ebp - 0x94], ecx
mov edx, esp
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x34], esi
mov dword [edx], ecx
mov ecx, dword [ebp - 0x90]
mov dword [edx + 4], ecx
lea ecx, [ebp - 0xb4]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x88]
mov dword [edx + 0xc], eax
call fcn.004c81a0
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x74]
push eax
push ecx
mov dword [ebp - 0x13c], 0x41adf8
mov dword [ebp - 0x144], 8
call esi
push eax
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x84]
push edx
push eax
call esi
lea ecx, [ebp - 0xb4]
push eax
lea edx, [ebp - 0xc4]
push ecx
push edx
call esi
push eax
lea eax, [ebp - 0x144]
lea ecx, [ebp - 0xd4]
push eax
push ecx
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x28]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea ecx, [ebp - 0xd4]
lea edx, [ebp - 0xc4]
push ecx
lea eax, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x84]
push eax
lea edx, [ebp - 0xa4]
push ecx
lea eax, [ebp - 0x94]
push edx
lea ecx, [ebp - 0x74]
push eax
lea edx, [ebp - 0x64]
push ecx
lea eax, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x44]
push eax
push ecx
push 0xa
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x38
push 0x4ceb51
jmp 0x4ceb3e
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret