Function at 0x56e5d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x403b26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402b40
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
xor esi, esi
push 0x42fce8
push 0x42fd20
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], 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 - 0x40], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x94], esi
call edi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call ebx
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x24]
call ebx
push eax
push 0x42c5cc
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call ebx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [edx]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call ebx
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x24]
push ecx
lea eax, [ebp - 0x20]
push edx
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push ecx
call fcn.00530af0
lea edx, [ebp - 0x14]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x94]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
cmp eax, esi
fnclex
jge 0x56e6cf
mov ecx, dword [ebp - 0x14]
push 0x68
push 0x429ba0
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp dword [ebp - 0x94], esi
jle 0x56e7e1
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x54]
cmp eax, esi
fnclex
jge 0x56e700
mov edx, dword [ebp - 0x14]
push 0x54
push 0x429ba0
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
push ebx
mov edx, 8
sub esp, 0x10
mov edi, dword [eax]
mov ebx, esp
mov ecx, 0x42fd30
push eax
mov dword [ebp - 0x9c], eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x6c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
cmp eax, esi
fnclex
jge 0x56e74e
mov edx, dword [ebp - 0x9c]
push 0x28
push 0x429bbc
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x34]
cmp eax, esi
fnclex
jge 0x56e772
push 0x34
push 0x42a128
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], 5
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x90], 0x8002
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x78], ecx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x74], edx
lea ecx, [ebp - 0x80]
push eax
lea edx, [ebp - 0x50]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarSub]
push eax
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGe]
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x2c]
push ecx
push edx
push 2
mov edi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp di, si
mov dword [ebp - 0x1c], 0xffffffff
jne 0x56e7e4
mov dword [ebp - 0x1c], esi
wait
push 0x56e83b
jmp 0x56e828
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret