Function at 0x61d550
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x409b26
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 [0x69a510]
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 0x61d5c6
mov edx, dword [0x69a510]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x98
push 0x45ea08
push edx
push eax
call edi
jmp 0x61d5cc
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x69a510]
lea edx, [ebp - 0x64]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
cmp eax, esi
fnclex
jge 0x61d5f2
mov ecx, dword [0x69a510]
push 0x68
push 0x45ea08
push ecx
push eax
call edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x64]
movsx edx, word [ebx]
cmp edx, eax
jle 0x61d631
mov eax, dword [0x69a510]
lea edx, [ebp - 0x64]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
cmp eax, esi
fnclex
jge 0x61d625
mov ecx, dword [0x69a510]
push 0x68
push 0x45ea08
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 0x61d8fa
mov eax, dword [0x69a510]
cmp bx, si
mov edx, dword [eax]
jg 0x61d682
push eax
call dword [edx + 0x90]
test eax, eax
fnclex
jge 0x61d670
mov ecx, dword [0x69a510]
push 0x90
push 0x45ea08
push ecx
push eax
call edi
mov eax, 1
add ax, bx
jo 0x61d8fa
mov ebx, eax
jmp 0x61d643
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [edx + 0x54]
test eax, eax
fnclex
jge 0x61d6a1
mov edx, dword [0x69a510]
push 0x54
push 0x45ea08
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, 0x467130
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 0x61d6e5
mov edx, dword [ebp - 0x6c]
push 0x28
push 0x460070
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 0x61d705
push 0x34
push 0x460080
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 [0x69a50c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
test eax, eax
fnclex
jge 0x61d75e
mov edx, dword [0x69a50c]
push 0x98
push 0x45ea08
push edx
push eax
call edi
mov eax, dword [0x69a50c]
lea edx, [ebp - 0x64]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x68]
test eax, eax
fnclex
jge 0x61d784
mov ecx, dword [0x69a50c]
push 0x68
push 0x45ea08
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 0x61d8b2
mov eax, dword [0x69a50c]
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x54]
test eax, eax
fnclex
jge 0x61d7ce
mov edx, dword [0x69a50c]
push 0x54
push 0x45ea08
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, 0x46028c
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 0x61d816
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x460070
push esi
push eax
call edi
jmp 0x61d81c
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 0x61d83c
push 0x34
push 0x460080
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 0x61d8b2
mov eax, dword [0x69a50c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
test eax, eax
fnclex
jge 0x61d8a2
mov edx, dword [0x69a50c]
push 0x90
push 0x45ea08
push edx
push eax
call edi
mov eax, 1
add ax, word [ebp - 0x14]
jo 0x61d8fa
jmp 0x61d798
push 0x61d8e7
jmp 0x61d8dd
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]