Function at 0x71046ef0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x71046f52
cmp ebx, 1
jne 0x7104709b
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x58], 0
test eax, eax
je 0x71046f2a
test byte [0x71060098], 1
jne 0x71047578
lea eax, [ebp - 0x54]
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call sym._parse_path
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x710470fb
mov eax, dword [ebp - 0x6c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x18]
test eax, eax
je 0x710470e9
mov eax, dword [esi + 0x1c]
mov edi, dword [eax]
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x5c], edi
test eax, eax
je 0x7104756c
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 - 0x60], eax
cmp eax, 0xffffffff
je 0x7104778f
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x710470e9
cmp ecx, 0x10
mov eax, 0x10
cmova ecx, eax
lea eax, [ecx*4]
mov dword [ebp - 0x64], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp - 0x64]
test eax, eax
mov dword [esi + 0x24], eax
je 0x71047783
mov eax, dword [ebp - 0x5c]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x710477b5
mov dword [ebp - 0x28], 0
xor edi, edi
mov dword [ebp - 0x24], 0
mov dword [ebp + 8], esi
mov esi, ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
lea esi, [esi]
nop
cmp dword [ebp - 0x60], 1
je 0x71047092
lea eax, [ebp - 0x38]
mov dword [ebp + 8], ecx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call sym._eval_cond
test eax, eax
jne 0x71047715
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
jne 0x71047092
mov eax, dword [ebp - 0x5c]
inc edi
cmp edi, dword [eax + 0xc]
jae 0x710470e2
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp ebx, esi
ja 0x71046ff8
lea eax, [ebx + ebx]
shl ebx, 3
mov dword [ebp + 8], ecx
mov dword [ebp - 0x64], 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 0x71047783
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x60], 1
mov ebx, dword [ebp - 0x64]
mov dword [ecx + 0x24], eax
jne 0x71047002
mov eax, dword [ecx + 0x24]
mov dword [eax + esi*4], edi
inc esi
jmp 0x7104703c
mov dword [ebp - 0x6c], 0x80070057
test byte [0x71060098], 2
je 0x71046f47
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], 0x71060098
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_5
mov eax, dword [ebp - 0x6c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, esi
mov esi, ecx
mov dword [esi + 0x20], ebx
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x54]
mov edi, dword [eax + 4]
mov edx, dword [eax]
add edi, 0x2d
mov dword [ebp - 0x60], edx
mov edx, dword [esi]
lea eax, [edi + edi]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x70], eax
call eax
mov edx, dword [ebp - 0x60]
test eax, eax
mov ebx, eax
je 0x710477bc
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 - 0x58]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x5c]
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 - 0x6c], eax
mov dword [ebp - 0x78], edx
call edx
test edi, edi
jne 0x710475d1
mov dword [ebp + 8], esi
lea esi, [esi]
nop
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x4c]
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 - 0x50]
sub esp, 0x14
test eax, eax
je 0x7104771d
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x38]
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 0x7104774b
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], 0
sub esp, 4
mov dword [ebp - 0x44], 0
mov edi, dword [eax + 8]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
call sym._build_servername
mov dword [ebp - 0x60], eax
test eax, eax
je 0x71047768
mov dword [esp], 0x71065c5a
call dword [sym.imp.oleaut32.dll_SysAllocString]
sub esp, 4
mov dword [ebp - 0x64], eax
test eax, eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
je 0x71047761
mov ebx, dword [sym.imp.oleaut32.dll_SysStringLen]
call ebx
mov ecx, dword [ebp - 0x64]
sub esp, 4
mov dword [ebp - 0x5c], eax
mov dword [esp], ecx
call ebx
mov ebx, dword [ebp - 0x5c]
sub esp, 4
add ebx, eax
cmp word [edi], 0
je 0x710476da
mov eax, edi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x71047288
sub eax, edi
sar eax, 1
lea edx, [ebx + eax + 9]
lea eax, [edx + edx]
mov dword [ebp - 0x5c], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x70]
call eax
mov ebx, eax
test eax, eax
je 0x7104779b
mov eax, dword [ebp - 0x64]
mov edx, dword [ebp - 0x5c]
mov dword [esp + 8], str._s_s:
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
call sym._swprintf_3
xor edx, edx
cmp word [edi], 0
mov dword [ebp - 0x5c], esi
mov ecx, eax
je 0x71047321
lea esi, [esi]
nop
mov esi, dword [ebp - 0x5c]
mov eax, edi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x710472f0
sub eax, edi
mov dword [ebp - 0x5c], esi
sar eax, 1
cmp edx, eax
jae 0x71047321
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 0x710472e8
xor edi, edi
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
mov word [ebx + ecx*2], di
mov edi, dword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [esp], eax
mov dword [ebp - 0x5c], edi
call edi
mov eax, dword [ebp - 0x64]
sub esp, 4
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x68]
sub esp, 4
cmp word [eax], 0
je 0x71047366
mov esi, eax
lea esi, [esi]
add esi, 2
cmp word [esi], 0
jne 0x71047358
sub esi, dword [ebp - 0x68]
sar esi, 1
cmp word [ebx], 0
je 0x7104737f
mov eax, ebx
nop
add eax, 2
cmp word [eax], 0
jne 0x71047370
sub eax, ebx
sar eax, 1
add esi, eax
add esi, 0x2f
lea eax, [esi + esi]
mov dword [esp], eax
mov eax, dword [ebp - 0x70]
call eax
mov edi, eax
test eax, eax
je 0x710477c8
mov eax, dword [ebp - 0x68]
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 - 0x44]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call sym._exec_query
mov esi, eax
test eax, eax
jne 0x710475a1
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x40]
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 - 0x3c]
sub esp, 0x14
test esi, esi
je 0x710476be
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
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 - 0x40]
sub esp, 0x18
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test esi, esi
jne 0x710475a1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x71047472
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov esi, dword [ebp - 0x78]
mov dword [esp], edi
call esi
mov dword [esp], ebx
call esi
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x71047558
lea eax, [ebp - 0x48]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym._parse_path
test eax, eax
jne 0x710475f9
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call sym._query_from_path
mov edi, eax
test eax, eax
je 0x71047709
mov dword [esp], 0x14
mov eax, dword [ebp - 0x70]
call eax
mov edx, eax
test eax, eax
je 0x71047709
mov ecx, dword [ebp - 0x74]
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 - 0x64], edx
call sym._parse_query
mov edx, dword [ebp - 0x64]
test eax, eax
mov esi, eax
jne 0x710476f0
mov eax, dword [edx + 8]
mov dword [esp], eax
call sym._execute_view
mov edx, dword [ebp - 0x64]
test eax, eax
mov esi, eax
jne 0x710476f0
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x71047620
lock dec dword [edx]
je 0x710476e1
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call sym._free_path
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
mov eax, dword [ebp - 0x5c]
call eax
mov eax, dword [ebp - 0x78]
sub esp, 4
mov dword [esp], edi
call eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
jmp 0x71047180
mov dword [ebp - 0x60], 0
jmp 0x71046f91
mov dword [esp + 0xc], 0x71065c30
mov dword [esp + 8], str.exec_assoc_view
mov dword [esp + 4], 0x71060098
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_5
jmp 0x71046f2a
mov dword [ebp - 0x64], esi
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x710476ca
mov dword [esp], edi
mov esi, dword [ebp - 0x78]
call esi
mov dword [esp], ebx
call esi
lea eax, [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x710475e3
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call sym._free_path
mov eax, dword [ebp - 0x6c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x64], eax
xor edi, edi
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call sym._free_path
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
mov eax, dword [ebp - 0x5c]
call eax
push eax
mov eax, dword [ebp - 0x78]
mov dword [esp], edi
call eax
jmp 0x710475bc
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [esp], eax
call sym._addref_table
mov edx, dword [ebp - 0x64]
mov ebx, eax
mov eax, 0xffffffff
lock xadd dword [edx], eax
cmp eax, 1
je 0x710476e3
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call sym._free_path
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
mov eax, dword [ebp - 0x5c]
call eax
mov eax, dword [ebp - 0x78]
sub esp, 4
mov dword [esp], edi
call eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
test ebx, ebx
je 0x71047180
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
lea eax, [eax*4 + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x710477d4
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [ecx + 0x1c], eax
lea ecx, [edx + 1]
mov dword [esi + 0x18], ecx
mov dword [eax + edx*4], ebx
jmp 0x71047180
mov dword [ebp - 0x60], 0
jmp 0x71047460
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x710475af
xor eax, eax
jmp 0x71047295
xor ebx, ebx
mov dword [esp], edx
call sym._free_query
jmp 0x71047644
mov dword [ebp - 0x64], esi
lock dec dword [edx]
jne 0x710475fe
mov dword [esp], edx
call sym._free_query
jmp 0x710475fe
mov dword [ebp - 0x64], 0x8007000e
jmp 0x710475fe
mov dword [ebp - 0x6c], eax
jmp 0x71046f47
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x710475d1
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 0x710477bc
mov dword [esi + 0x20], ebx
jmp 0x710475d1
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x710475cb
call dword [sym.imp.oleaut32.dll_SysFreeString]
push eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [ebp - 0x64], 0x8007000e
sub esp, 4
jmp 0x710475cb
mov dword [ebp - 0x6c], 0x8007000e
jmp 0x71046f47
mov dword [ebp - 0x6c], 0x80041001
jmp 0x71046f47
mov eax, dword [ebp - 0x60]
mov ebx, dword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x64]
push edx
mov dword [esp], eax
call ebx
push ecx
jmp 0x71047768
xor ebx, ebx
jmp 0x710470e6
mov dword [ebp - 0x6c], 0x8007000e
jmp 0x710475d1
mov dword [ebp - 0x64], 0x8007000e
jmp 0x710475a4
mov dword [esp], ebx
call sym._release_table
mov dword [ebp - 0x64], 0x8007000e
jmp 0x710475cb