Function at 0x61de80
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x409b46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x405c90
mov eax, dword [0x69b4e0]
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], esi
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x50], esi
call dword [ecx + 0x98]
cmp eax, esi
fnclex
jge 0x61def6
mov edx, dword [0x69b4e0]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x98
push 0x45eab0
push edx
push eax
call edi
jmp 0x61defc
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x69b4e0]
lea edx, [ebp - 0x64]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
cmp eax, esi
fnclex
jge 0x61df22
mov ecx, dword [0x69b4e0]
push 0x68
push 0x45eab0
push ecx
push eax
call edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x64]
movsx edx, word [ebx]
cmp edx, eax
jle 0x61df61
mov eax, dword [0x69b4e0]
lea edx, [ebp - 0x64]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
cmp eax, esi
fnclex
jge 0x61df55
mov ecx, dword [0x69b4e0]
push 0x68
push 0x45eab0
push ecx
push eax
call edi
mov ecx, dword [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [ebx], ax
mov si, word [ebx]
mov ebx, 1
sub si, 1
jo 0x61e22a
mov eax, dword [0x69b4e0]
cmp bx, si
mov edx, dword [eax]
jg 0x61dfb2
push eax
call dword [edx + 0x90]
test eax, eax
fnclex
jge 0x61dfa0
mov ecx, dword [0x69b4e0]
push 0x90
push 0x45eab0
push ecx
push eax
call edi
mov eax, 1
add ax, bx
jo 0x61e22a
mov ebx, eax
jmp 0x61df73
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [edx + 0x54]
test eax, eax
fnclex
jge 0x61dfd1
mov edx, dword [0x69b4e0]
push 0x54
push 0x45eab0
push edx
push eax
call edi
lea ebx, [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push ebx
mov edx, 8
sub esp, 0x10
mov esi, dword [eax]
mov ebx, esp
mov ecx, 0x466fc0
push eax
mov dword [ebp - 0x6c], eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x4c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebx + 0xc], ecx
call dword [esi + 0x28]
test eax, eax
fnclex
jge 0x61e015
mov edx, dword [ebp - 0x6c]
push 0x28
push 0x4600f0
push edx
push eax
call edi
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x30]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x61e035
push 0x34
push 0x460100
push esi
push eax
call edi
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x69b4dc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
test eax, eax
fnclex
jge 0x61e08e
mov edx, dword [0x69b4dc]
push 0x98
push 0x45eab0
push edx
push eax
call edi
mov eax, dword [0x69b4dc]
lea edx, [ebp - 0x64]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
test eax, eax
fnclex
jge 0x61e0b4
mov ecx, dword [0x69b4dc]
push 0x68
push 0x45eab0
push ecx
push eax
call edi
mov ecx, dword [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov dword [ebp - 0x8c], eax
mov eax, 1
cmp ax, word [ebp - 0x8c]
mov dword [ebp - 0x14], eax
jg 0x61e1e2
mov eax, dword [0x69b4dc]
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x54]
test eax, eax
fnclex
jge 0x61e0fe
mov edx, dword [0x69b4dc]
push 0x54
push 0x45eab0
push edx
push eax
call edi
lea ebx, [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push ebx
mov edx, 8
sub esp, 0x10
mov edi, dword [eax]
mov ebx, esp
mov ecx, 0x46030c
push eax
mov esi, eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x4c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x61e146
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x4600f0
push esi
push eax
call edi
jmp 0x61e14c
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x34]
test eax, eax
fnclex
jge 0x61e16c
push 0x34
push 0x460100
push esi
push eax
call edi
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x60]
push eax
push ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x60], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov esi, eax
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
test si, si
jne 0x61e1e2
mov eax, dword [0x69b4dc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
test eax, eax
fnclex
jge 0x61e1d2
mov edx, dword [0x69b4dc]
push 0x90
push 0x45eab0
push edx
push eax
call edi
mov eax, 1
add ax, word [ebp - 0x14]
jo 0x61e22a
jmp 0x61e0c8
push 0x61e217
jmp 0x61e20d
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]