Function at 0x10011840
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 eax, dword [ecx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x68], eax
test esi, esi
je 0x10011d43
cmp esi, 1
je 0x10011889
test byte [0x10021810], 2
jne 0x10011ffb
mov ecx, 0x80070057
lea esp, [ebp - 0x10]
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x50], 0
test esi, esi
je 0x100118a4
test byte [0x10021810], 1
jne 0x10011e50
lea eax, [ebp - 0x4c]
mov dword [esp + 4], eax
mov ebx, dword [ebp - 0x68]
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.1001a5e0
mov ecx, eax
test eax, eax
jne 0x1001187b
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebx]
mov edi, dword [eax + 4]
mov edx, dword [eax]
add edi, 0x2d
lea eax, [edi + edi]
mov dword [ebp - 0x54], edx
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x6c], eax
call eax
mov edx, dword [ebp - 0x54]
test eax, eax
mov ebx, eax
je 0x10012104
mov dword [esp + 0xc], edx
mov dword [esp + 8], str.SELECT__FROM___ASSOCIATORS_WHERE_Class_s
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.1000fd90
lea eax, [ebp - 0x50]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.10011780
mov dword [ebp - 0x54], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], ebx
mov dword [ebp - 0x74], eax
call eax
mov ecx, dword [ebp - 0x54]
test ecx, ecx
jne 0x10011ee0
mov dword [ebp - 0x78], ecx
lea esi, [esi]
mov eax, dword [ebp - 0x50]
lea ebx, [ebp - 0x48]
lea ecx, [ebp - 0x44]
mov edx, dword [eax]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 1
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [edx + 0x10]
mov ebx, dword [ebp - 0x48]
sub esp, 0x14
test ebx, ebx
je 0x1001206e
mov eax, dword [ebp - 0x44]
lea ebx, [ebp - 0x30]
mov edx, dword [eax]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.AssocClass
mov dword [esp], eax
call dword [edx + 0x10]
mov ebx, eax
mov eax, dword [ebp - 0x44]
sub esp, 0x18
mov edx, dword [eax]
mov dword [esp], eax
test ebx, ebx
jne 0x100120a8
call dword [edx + 8]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x28]
sub esp, 4
mov dword [ebp - 0x3c], 0
mov esi, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x70], eax
call fcn.1000fde0
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x100120ba
mov dword [esp], 0x1002a876
call dword [sym.imp.oleaut32.dll_SysAllocString]
sub esp, 4
mov dword [ebp - 0x60], eax
test eax, eax
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
je 0x100120b3
mov edi, dword [sym.imp.oleaut32.dll_SysStringLen]
call edi
mov ecx, dword [ebp - 0x60]
sub esp, 4
mov dword [ebp - 0x54], eax
mov dword [esp], ecx
call edi
mov edx, dword [ebp - 0x54]
sub esp, 4
add edx, eax
cmp word [esi], 0
je 0x10011ff4
mov eax, esi
lea esi, [esi]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10011a40
sub eax, esi
sar eax, 1
lea edi, [edx + eax + 9]
lea eax, [edi + edi]
mov dword [esp], eax
mov eax, dword [ebp - 0x6c]
call eax
test eax, eax
je 0x100120ce
mov ecx, dword [ebp - 0x60]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [esp + 4], edi
mov dword [esp + 8], str._s_s:
mov dword [esp + 0xc], ecx
mov dword [ebp - 0x58], eax
mov dword [esp], eax
call fcn.1000fd90
xor edx, edx
cmp word [esi], 0
mov dword [ebp - 0x54], ebx
mov edi, eax
mov eax, dword [ebp - 0x58]
lea ecx, [eax + edi*2]
je 0x10011ad9
lea esi, [esi]
mov ebx, dword [ebp - 0x54]
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10011aa8
sub eax, esi
mov dword [ebp - 0x54], ebx
sar eax, 1
cmp edx, eax
jae 0x10011ad9
movzx eax, word [esi + edx*2]
mov ebx, 0x22
cmp ax, 0x27
cmove eax, ebx
mov word [ecx + edx*2], ax
add edx, 1
cmp word [esi], 0
jne 0x10011aa0
mov eax, dword [ebp - 0x58]
add edi, edx
xor edx, edx
mov ebx, dword [ebp - 0x54]
mov word [eax + edi*2], dx
mov eax, dword [ebp - 0x5c]
mov edi, dword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x60]
sub esp, 4
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x64]
sub esp, 4
cmp word [ecx], 0
mov eax, ecx
je 0x10011b22
nop
add eax, 2
cmp word [eax], 0
jne 0x10011b10
mov ebx, dword [ebp - 0x64]
sub eax, ebx
sar eax, 1
mov ebx, eax
mov eax, dword [ebp - 0x58]
cmp word [eax], 0
je 0x10011b42
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x10011b30
mov ecx, dword [ebp - 0x58]
sub eax, ecx
sar eax, 1
add ebx, eax
add ebx, 0x2f
lea eax, [ebx + ebx]
mov dword [esp], eax
mov eax, dword [ebp - 0x6c]
call eax
mov esi, eax
test eax, eax
je 0x10011ea8
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 4], ebx
mov dword [esp + 8], str.SELECT_Antecedent_FROM__s_WHERE_Dependent_s
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.1000fd90
lea eax, [ebp - 0x3c]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call fcn.10011780
mov ebx, eax
test eax, eax
jne 0x10011ead
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 eax, dword [ebp - 0x34]
sub esp, 0x14
test eax, eax
je 0x10011fcd
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 ebx, 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 ebx, ebx
jne 0x10011ead
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10011c38
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp], esi
mov ebx, dword [ebp - 0x74]
call ebx
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call ebx
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x10011d2f
lea eax, [ebp - 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.1001a5e0
mov ebx, eax
test eax, eax
jne 0x10011f17
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a8e0
mov esi, eax
test eax, eax
je 0x1001205d
mov dword [esp], 0x14
mov eax, dword [ebp - 0x6c]
call eax
mov edx, eax
test eax, eax
je 0x1001205d
mov ebx, dword [ebp - 0x70]
lea eax, [eax + 0xc]
mov dword [edx], 1
movd xmm0, eax
movdqa xmm1, xmm0
punpckldq xmm1, xmm0
movq qword [edx + 0xc], xmm1
mov dword [edx + 4], ebx
mov dword [esp + 0xc], eax
lea eax, [edx + 8]
mov dword [ebp - 0x58], edx
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
call fcn.1001fac0
mov edx, dword [ebp - 0x58]
test eax, eax
mov ebx, eax
jne 0x10012037
mov eax, dword [edx + 8]
mov dword [esp], eax
call fcn.10011840
mov edx, dword [ebp - 0x58]
test eax, eax
mov ebx, eax
jne 0x10012037
mov eax, dword [edx + 8]
mov ebx, dword [eax + 0x18]
test ebx, ebx
jne 0x10011f40
lock sub dword [edx], 1
je 0x10012028
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a8a0
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp], esi
mov eax, dword [ebp - 0x74]
call eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
jmp 0x10011938
mov ebx, dword [ebp - 0x68]
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x10011d85
mov eax, dword [ebx + 0x1c]
mov edi, dword [eax]
mov edx, dword [edi + 0x18]
test edx, edx
je 0x10011e44
mov dword [esp], edi
call fcn.1001d030
mov eax, dword [ebx + 0x14]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [edi + 0x18]
mov dword [ebp - 0x58], eax
cmp eax, 0xffffffff
je 0x100120c4
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x10011d90
xor ecx, ecx
jmp 0x1001187b
mov eax, 0x10
cmp edx, eax
cmova edx, eax
lea eax, [edx*4]
mov dword [ebp - 0x54], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, dword [ebp - 0x68]
test eax, eax
mov edx, dword [ebp - 0x54]
mov dword [ebx + 0x24], eax
je 0x100120e8
mov eax, dword [edi + 0xc]
xor ebx, ebx
test eax, eax
je 0x1001204e
mov dword [ebp - 0x54], edi
mov ecx, dword [ebp - 0x68]
mov edi, edx
jmp 0x10011e21
lea eax, [ebp - 0x30]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x5c], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.10010830
test eax, eax
jne 0x10012067
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x5c]
jne 0x10011e39
mov eax, dword [ebp - 0x54]
add ebx, 1
cmp ebx, dword [eax + 0xc]
jae 0x10012050
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp esi, edi
jae 0x10011e79
cmp dword [ebp - 0x58], 1
jne 0x10011dd8
mov eax, dword [ecx + 0x24]
mov dword [eax + esi*4], ebx
add esi, 1
jmp 0x10011e12
mov dword [ebp - 0x58], 0
jmp 0x10011d7e
mov dword [esp + 0xc], str.ignoring_keywords_n
mov dword [esp + 8], str.exec_assoc_view
mov dword [esp + 4], 0x10021810
mov dword [esp], 0
call fcn.10010470
jmp 0x100118a4
lea eax, [edi + edi]
shl edi, 3
mov dword [ebp - 0x5c], eax
mov dword [esp + 4], edi
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x60], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x100120e8
mov ecx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
mov dword [ecx + 0x24], eax
jmp 0x10011e33
mov ebx, 0x8007000e
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10011ebf
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp], esi
mov edi, dword [ebp - 0x74]
call edi
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call edi
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
mov ecx, ebx
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10011ef8
mov edx, dword [eax]
mov dword [ebp - 0x54], ecx
mov dword [esp], eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x54]
sub esp, 4
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], ecx
mov dword [esp], eax
call fcn.1001a8a0
mov ecx, dword [ebp - 0x54]
lea esp, [ebp - 0x10]
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
xor esi, esi
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a8a0
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp], esi
mov eax, dword [ebp - 0x74]
call eax
jmp 0x10011ecf
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x58], edx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.1001d230
mov edx, dword [ebp - 0x58]
mov ebx, eax
lock sub dword [edx], 1
je 0x1001202a
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a8a0
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp], esi
mov eax, dword [ebp - 0x74]
call eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
test ebx, ebx
je 0x10011938
mov edi, dword [ebp - 0x68]
mov eax, dword [edi + 0x18]
lea eax, [eax*4 + 4]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x1c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x100120f2
mov edx, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
lea ecx, [edx + 1]
mov dword [edi + 0x18], ecx
mov dword [eax + edx*4], ebx
jmp 0x10011938
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], 0
test eax, eax
jne 0x10011c2d
mov dword [esp], esi
mov ebx, dword [ebp - 0x74]
call ebx
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call ebx
jmp 0x10011d2f
xor eax, eax
jmp 0x10011a4d
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.unhandled_type__u_n
mov dword [esp + 8], str.execute_view
mov dword [esp + 4], 0x10021810
mov dword [esp], 1
call fcn.10010470
jmp 0x10011876
xor ebx, ebx
mov dword [esp], edx
call fcn.100116b0
jmp 0x10011f5f
lock sub dword [edx], 1
jne 0x10011f19
mov dword [esp], edx
call fcn.100116b0
jmp 0x10011f19
xor esi, esi
mov eax, dword [ebp - 0x68]
xor ecx, ecx
mov dword [eax + 0x20], esi
jmp 0x1001187b
mov ebx, 0x8007000e
jmp 0x10011f19
mov ecx, eax
jmp 0x1001187b
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x78]
mov ebx, dword [eax + 0x18]
test ebx, ebx
je 0x10011ee0
mov dword [ebp - 0x54], ecx
mov dword [esp + 4], 4
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_calloc]
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 0x24], eax
test eax, eax
je 0x10012104
mov dword [ecx + 0x20], ebx
mov ecx, dword [ebp - 0x54]
jmp 0x10011ee0
call dword [edx + 8]
sub esp, 4
jmp 0x10011ede
call dword [sym.imp.oleaut32.dll_SysFreeString]
push ecx
mov ebx, 0x8007000e
jmp 0x10011ecf
mov ecx, 0x80041001
jmp 0x1001187b
mov eax, dword [ebp - 0x5c]
mov ebx, dword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [esp], eax
call ebx
push eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call ebx
push eax
jmp 0x100120ba
mov ecx, 0x8007000e
jmp 0x1001187b
mov dword [esp], ebx
mov ebx, 0x8007000e
call fcn.1001d210
jmp 0x10011ede
mov ecx, 0x8007000e
jmp 0x10011ee0