Function at 0x10006f40
Capabilities:
Reference sql statements

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
add esp, 0xffffff80
mov esi, dword [ecx]
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x10006fad
cmp ebx, 1
jne 0x100070f3
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x50], 0
test eax, eax
je 0x10006f81
test byte [0x10021098], 1
jne 0x100075d8
lea eax, [ebp - 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call sym._parse_path
mov dword [ebp - 0x64], eax
test eax, eax
je 0x1000715b
mov eax, dword [ebp - 0x64]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10007145
mov eax, dword [esi + 0x1c]
mov edi, dword [eax]
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x54], edi
test eax, eax
je 0x100075cc
mov dword [esp], edi
call sym._clear_table
mov eax, dword [esi + 0x14]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [edi + 0x18]
mov dword [ebp - 0x58], eax
cmp eax, 0xffffffff
je 0x100077ee
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x10007145
cmp ecx, 0x10
mov eax, 0x10
cmova ecx, eax
lea eax, [ecx*4]
mov dword [ebp - 0x5c], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp - 0x5c]
test eax, eax
mov dword [esi + 0x24], eax
je 0x100077e2
mov eax, dword [ebp - 0x54]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x10007814
mov dword [ebp - 0x20], 0
mov eax, esi
xor edi, edi
mov esi, ebx
mov dword [ebp - 0x1c], 0
mov ebx, ecx
mov ecx, eax
lea esi, [esi]
cmp dword [ebp - 0x58], 1
je 0x100070ea
lea eax, [ebp - 0x30]
mov dword [ebp - 0x5c], ecx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call sym._eval_cond
test eax, eax
jne 0x10007774
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x5c]
jne 0x100070ea
mov eax, dword [ebp - 0x54]
inc edi
cmp edi, dword [eax + 0xc]
jae 0x1000713e
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp ebx, esi
ja 0x10007050
lea eax, [ebx + ebx]
shl ebx, 3
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], eax
mov dword [esp + 4], ebx
mov eax, dword [ecx + 0x24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x100077e2
mov ecx, dword [ebp - 0x60]
cmp dword [ebp - 0x58], 1
mov ebx, dword [ebp - 0x5c]
mov dword [ecx + 0x24], eax
jne 0x1000705a
mov eax, dword [ecx + 0x24]
mov dword [eax + esi*4], edi
inc esi
jmp 0x10007094
mov dword [ebp - 0x64], 0x80070057
test byte [0x10021098], 2
je 0x10006f9e
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.unhandled_type__u_n
mov dword [esp + 8], str.execute_view
mov dword [esp + 4], 0x10021098
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_5
mov eax, dword [ebp - 0x64]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov ebx, esi
mov esi, ecx
mov dword [esi + 0x20], ebx
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax + 4]
mov edx, dword [eax]
add edi, 0x2d
mov dword [ebp - 0x58], edx
mov edx, dword [esi]
lea eax, [edi + edi]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x68], eax
call eax
mov edx, dword [ebp - 0x58]
test eax, eax
mov ebx, eax
je 0x1000781b
mov dword [esp + 0xc], edx
mov dword [esp + 4], edi
mov dword [esp + 8], str.SELECT__FROM___ASSOCIATORS_WHERE_Class_s
mov dword [esp], eax
call sym._swprintf_3
lea eax, [ebp - 0x50]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call sym._exec_query
mov edx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], ebx
mov edi, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x74], edx
call edx
test edi, edi
jne 0x10007631
mov dword [ebp - 0x70], esi
lea esi, [esi]
nop
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x48]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x44]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 1
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0x48]
sub esp, 0x14
test eax, eax
je 0x1000777c
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x30]
mov edx, dword [eax]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], str.AssocClass
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0x18
mov esi, eax
test eax, eax
jne 0x100077aa
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x40], 0
sub esp, 4
mov dword [ebp - 0x3c], 0
mov edi, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x6c], eax
call sym._build_servername
mov dword [ebp - 0x58], eax
test eax, eax
je 0x100077c7
mov dword [esp], 0x10026d5a
call dword [sym.imp.oleaut32.dll_SysAllocString]
sub esp, 4
mov dword [ebp - 0x5c], eax
test eax, eax
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
je 0x100077c0
mov ebx, dword [sym.imp.oleaut32.dll_SysStringLen]
call ebx
mov ecx, dword [ebp - 0x5c]
sub esp, 4
mov dword [ebp - 0x54], eax
mov dword [esp], ecx
call ebx
mov ebx, dword [ebp - 0x54]
sub esp, 4
add ebx, eax
cmp word [edi], 0
je 0x10007739
mov eax, edi
nop
add eax, 2
cmp word [eax], 0
jne 0x100072e0
sub eax, edi
sar eax, 1
lea edx, [ebx + eax + 9]
lea eax, [edx + edx]
mov dword [ebp - 0x54], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x68]
call eax
mov ebx, eax
test eax, eax
je 0x100077fa
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x54]
mov dword [esp + 8], str._s_s:
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
call sym._swprintf_3
xor edx, edx
cmp word [edi], 0
mov dword [ebp - 0x54], esi
mov ecx, eax
je 0x10007379
lea esi, [esi]
nop
mov esi, dword [ebp - 0x54]
mov eax, edi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10007348
sub eax, edi
mov dword [ebp - 0x54], esi
sar eax, 1
cmp edx, eax
jae 0x10007379
movzx eax, word [edi + edx*2]
inc ecx
mov esi, 0x22
cmp ax, 0x27
cmove eax, esi
inc edx
mov word [ebx + ecx*2 - 2], ax
cmp word [edi], 0
jne 0x10007340
xor edi, edi
mov eax, dword [ebp - 0x58]
mov esi, dword [ebp - 0x54]
mov word [ebx + ecx*2], di
mov edi, dword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [esp], eax
mov dword [ebp - 0x54], edi
call edi
mov eax, dword [ebp - 0x5c]
sub esp, 4
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x60]
sub esp, 4
cmp word [eax], 0
je 0x100073be
mov esi, eax
lea esi, [esi]
add esi, 2
cmp word [esi], 0
jne 0x100073b0
sub esi, dword [ebp - 0x60]
sar esi, 1
cmp word [ebx], 0
je 0x100073df
mov eax, ebx
lea esi, [esi]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x100073d0
sub eax, ebx
sar eax, 1
add esi, eax
add esi, 0x2f
lea eax, [esi + esi]
mov dword [esp], eax
mov eax, dword [ebp - 0x68]
call eax
mov edi, eax
test eax, eax
je 0x10007827
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.SELECT_Antecedent_FROM__s_WHERE_Dependent_s
mov dword [esp], edi
call sym._swprintf_3
lea eax, [ebp - 0x3c]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call sym._exec_query
mov esi, eax
test eax, eax
jne 0x10007601
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x34]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x38]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 1
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [edx + 0x10]
mov esi, dword [ebp - 0x34]
sub esp, 0x14
test esi, esi
je 0x1000771d
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Antecedent
mov dword [esp], eax
call dword [edx + 0x10]
mov esi, eax
mov eax, dword [ebp - 0x38]
sub esp, 0x18
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test esi, esi
jne 0x10007601
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x100074d2
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov esi, dword [ebp - 0x74]
mov dword [esp], edi
call esi
mov dword [esp], ebx
call esi
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x100075b8
lea eax, [ebp - 0x40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym._parse_path
test eax, eax
jne 0x1000765d
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._query_from_path
mov edi, eax
test eax, eax
je 0x10007768
mov dword [esp], 0x14
mov eax, dword [ebp - 0x68]
call eax
mov edx, eax
test eax, eax
je 0x10007768
mov ecx, dword [ebp - 0x6c]
lea eax, [eax + 0xc]
mov dword [edx], 1
mov dword [edx + 0x10], eax
mov dword [edx + 0xc], eax
mov dword [edx + 4], ecx
mov dword [esp + 0xc], eax
lea eax, [edx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ecx
mov dword [ebp - 0x5c], edx
call sym._parse_query
mov edx, dword [ebp - 0x5c]
test eax, eax
mov esi, eax
jne 0x1000774f
mov eax, dword [edx + 8]
mov dword [esp], eax
call sym._execute_view
mov edx, dword [ebp - 0x5c]
test eax, eax
mov esi, eax
jne 0x1000774f
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x10007688
lock dec dword [edx]
je 0x10007740
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._free_path
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
mov eax, dword [ebp - 0x54]
call eax
mov eax, dword [ebp - 0x74]
sub esp, 4
mov dword [esp], edi
call eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
jmp 0x100071e0
mov dword [ebp - 0x58], 0
jmp 0x10006fec
mov dword [esp + 0xc], str.ignoring_keywords_n
mov dword [esp + 8], str.exec_assoc_view
mov dword [esp + 4], 0x10021098
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_5
jmp 0x10006f81
mov dword [ebp - 0x5c], esi
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x10007729
mov dword [esp], edi
mov esi, dword [ebp - 0x74]
call esi
mov dword [esp], ebx
call esi
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10007643
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call sym._free_path
mov eax, dword [ebp - 0x64]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0x5c], eax
xor edi, edi
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._free_path
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
mov eax, dword [ebp - 0x54]
call eax
push eax
mov eax, dword [ebp - 0x74]
mov dword [esp], edi
call eax
jmp 0x1000761c
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [esp], eax
call sym._addref_table
mov edx, dword [ebp - 0x5c]
mov ebx, eax
mov eax, 0xffffffff
lock xadd dword [edx], eax
cmp eax, 1
je 0x10007742
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sym._free_path
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
mov eax, dword [ebp - 0x54]
call eax
mov eax, dword [ebp - 0x74]
sub esp, 4
mov dword [esp], edi
call eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
test ebx, ebx
je 0x100071e0
mov esi, dword [ebp - 0x70]
mov eax, dword [esi + 0x18]
lea eax, [eax*4 + 4]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x10007833
mov edx, dword [esi + 0x18]
mov dword [esi + 0x1c], eax
lea ecx, [edx + 1]
mov dword [esi + 0x18], ecx
mov dword [eax + edx*4], ebx
jmp 0x100071e0
mov dword [ebp - 0x58], 0
jmp 0x100074c0
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x1000760f
xor eax, eax
jmp 0x100072ed
xor ebx, ebx
mov dword [esp], edx
call sym._free_query
jmp 0x100076ac
mov dword [ebp - 0x5c], esi
lock dec dword [edx]
jne 0x10007662
mov dword [esp], edx
call sym._free_query
jmp 0x10007662
mov dword [ebp - 0x5c], 0x8007000e
jmp 0x10007662
mov dword [ebp - 0x64], eax
jmp 0x10006f9e
mov esi, dword [ebp - 0x70]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x10007631
mov dword [esp + 4], 4
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_calloc]
mov dword [esi + 0x24], eax
test eax, eax
je 0x1000781b
mov dword [esi + 0x20], ebx
jmp 0x10007631
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x1000762b
call dword [sym.imp.oleaut32.dll_SysFreeString]
push eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [ebp - 0x5c], 0x8007000e
sub esp, 4
jmp 0x1000762b
mov dword [ebp - 0x64], 0x8007000e
jmp 0x10006f9e
mov dword [ebp - 0x64], 0x80041001
jmp 0x10006f9e
mov eax, dword [ebp - 0x58]
mov ebx, dword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x5c]
push edx
mov dword [esp], eax
call ebx
push ecx
jmp 0x100077c7
xor ebx, ebx
jmp 0x10007142
mov dword [ebp - 0x64], 0x8007000e
jmp 0x10007631
mov dword [ebp - 0x5c], 0x8007000e
jmp 0x10007604
mov dword [esp], ebx
call sym._release_table
mov dword [ebp - 0x5c], 0x8007000e
jmp 0x1000762b