Function at 0x4cde70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x404986
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401820
xor esi, esi
lea eax, [ebp - 0x40]
push esi
push 3
push 1
push esi
push eax
push 0x10
push 0x880
mov dword [ebp - 0x14], 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 - 0x40], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], esi
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
mov eax, dword [ebp - 0x40]
mov ebx, 8
mov dword [ebp - 0x48], 0x41ac18
mov dword [ebp - 0x50], ebx
mov ecx, dword [eax + 0x14]
add esp, 0x1c
shl ecx, 4
mov edi, ecx
mov ecx, dword [eax + 0xc]
sub ecx, edi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea edx, [ebp - 0x50]
call edi
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], 0x41ac18
mov dword [ebp - 0x60], ebx
lea edx, [ebp - 0x60]
mov ecx, dword [eax + 0x14]
shl ecx, 4
mov dword [ebp - 0x94], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x94]
sub ecx, eax
add ecx, 0x10
call edi
mov eax, dword [ebp - 0x40]
mov ecx, 2
mov dword [ebp - 0x68], 0x41a6bc
mov dword [ebp - 0x70], ebx
sub ecx, dword [eax + 0x14]
lea edx, [ebp - 0x70]
shl ecx, 4
add ecx, dword [eax + 0xc]
call edi
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c7970
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], ebx
mov ecx, 3
mov ebx, dword [eax + 0x14]
lea edx, [ebp - 0x3c]
sub ecx, ebx
mov ebx, dword [eax + 0xc]
shl ecx, 4
add ecx, ebx
call dword [sym.imp.MSVBVM60.DLL___vbaVarZero]
mov edx, 0x41abc8
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x20]
push edx
push eax
call fcn.004c7b40
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x24]
call edi
lea ecx, [ebp - 0x40]
push ecx
push esi
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], esi
call edi
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
or ebx, 0xffffffff
push 0x419240
push esi
mov dword [ebp - 0x74], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea edx, [ebp - 0x28]
push eax
push edx
call edi
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x28]
push eax
lea edx, [ebp - 0x1c]
push ecx
push edx
call fcn.004cc1f0
push eax
lea eax, [ebp - 0x14]
push eax
call edi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x74]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
cmp eax, esi
fnclex
jge 0x4ce02b
mov ecx, dword [ebp - 0x14]
push 0x68
push 0x419250
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp dword [ebp - 0x74], esi
jne 0x4ce03d
mov dword [ebp - 0x18], ebx
push 0x4ce14b
jmp 0x4ce138
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x54]
cmp eax, esi
fnclex
jge 0x4ce062
mov edx, dword [ebp - 0x14]
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 dword [ebp - 0x50], ecx
mov edi, esp
mov dword [ebp - 0x48], esi
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edi + 8], esi
mov dword [edi + 0xc], ecx
call dword [edx + 0x28]
cmp eax, esi
fnclex
jge 0x4ce0ab
mov edx, dword [ebp - 0x7c]
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 0x4ce0cf
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___vbaI2Var]
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x28]
push ecx
push edx
push 2
mov dword [ebp - 0x18], eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
push 0x4ce14b
jmp 0x4ce138
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret