Function at 0x10011920
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 0x10011e23
cmp esi, 1
je 0x10011969
test byte [0x10021850], 2
jne 0x100120db
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 0x10011984
test byte [0x10021850], 1
jne 0x10011f30
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.1001a6c0
mov ecx, eax
test eax, eax
jne 0x1001195b
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 0x100121e4
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.1000fe70
lea eax, [ebp - 0x50]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.10011860
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 0x10011fc0
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 0x1001214e
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 0x10012188
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.1000fec0
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1001219a
mov dword [esp], 0x1002a8f6
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 0x10012193
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 0x100120d4
mov eax, esi
lea esi, [esi]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10011b20
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 0x100121ae
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.1000fe70
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 0x10011bb9
lea esi, [esi]
mov ebx, dword [ebp - 0x54]
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10011b88
sub eax, esi
mov dword [ebp - 0x54], ebx
sar eax, 1
cmp edx, eax
jae 0x10011bb9
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 0x10011b80
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 0x10011c02
nop
add eax, 2
cmp word [eax], 0
jne 0x10011bf0
mov ebx, dword [ebp - 0x64]
sub eax, ebx
sar eax, 1
mov ebx, eax
mov eax, dword [ebp - 0x58]
cmp word [eax], 0
je 0x10011c22
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x10011c10
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 0x10011f88
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.1000fe70
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.10011860
mov ebx, eax
test eax, eax
jne 0x10011f8d
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 0x100120ad
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 0x10011f8d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10011d18
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 0x10011e0f
lea eax, [ebp - 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.1001a6c0
mov ebx, eax
test eax, eax
jne 0x10011ff7
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a9c0
mov esi, eax
test eax, eax
je 0x1001213d
mov dword [esp], 0x14
mov eax, dword [ebp - 0x6c]
call eax
mov edx, eax
test eax, eax
je 0x1001213d
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.1001fba0
mov edx, dword [ebp - 0x58]
test eax, eax
mov ebx, eax
jne 0x10012117
mov eax, dword [edx + 8]
mov dword [esp], eax
call fcn.10011920
mov edx, dword [ebp - 0x58]
test eax, eax
mov ebx, eax
jne 0x10012117
mov eax, dword [edx + 8]
mov ebx, dword [eax + 0x18]
test ebx, ebx
jne 0x10012020
lock sub dword [edx], 1
je 0x10012108
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a980
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 0x10011a18
mov ebx, dword [ebp - 0x68]
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x10011e65
mov eax, dword [ebx + 0x1c]
mov edi, dword [eax]
mov edx, dword [edi + 0x18]
test edx, edx
je 0x10011f24
mov dword [esp], edi
call fcn.1001d110
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 0x100121a4
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x10011e70
xor ecx, ecx
jmp 0x1001195b
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 0x100121c8
mov eax, dword [edi + 0xc]
xor ebx, ebx
test eax, eax
je 0x1001212e
mov dword [ebp - 0x54], edi
mov ecx, dword [ebp - 0x68]
mov edi, edx
jmp 0x10011f01
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.10010910
test eax, eax
jne 0x10012147
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x5c]
jne 0x10011f19
mov eax, dword [ebp - 0x54]
add ebx, 1
cmp ebx, dword [eax + 0xc]
jae 0x10012130
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp esi, edi
jae 0x10011f59
cmp dword [ebp - 0x58], 1
jne 0x10011eb8
mov eax, dword [ecx + 0x24]
mov dword [eax + esi*4], ebx
add esi, 1
jmp 0x10011ef2
mov dword [ebp - 0x58], 0
jmp 0x10011e5e
mov dword [esp + 0xc], str.ignoring_keywords_n
mov dword [esp + 8], str.exec_assoc_view
mov dword [esp + 4], 0x10021850
mov dword [esp], 0
call fcn.10010550
jmp 0x10011984
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 0x100121c8
mov ecx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
mov dword [ecx + 0x24], eax
jmp 0x10011f13
mov ebx, 0x8007000e
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10011f9f
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 0x10011fd8
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.1001a980
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.1001a980
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 0x10011faf
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x58], edx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.1001d310
mov edx, dword [ebp - 0x58]
mov ebx, eax
lock sub dword [edx], 1
je 0x1001210a
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a980
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 0x10011a18
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 0x100121d2
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 0x10011a18
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], 0
test eax, eax
jne 0x10011d0d
mov dword [esp], esi
mov ebx, dword [ebp - 0x74]
call ebx
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call ebx
jmp 0x10011e0f
xor eax, eax
jmp 0x10011b2d
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], 0x10021850
mov dword [esp], 1
call fcn.10010550
jmp 0x10011956
xor ebx, ebx
mov dword [esp], edx
call fcn.10011790
jmp 0x1001203f
lock sub dword [edx], 1
jne 0x10011ff9
mov dword [esp], edx
call fcn.10011790
jmp 0x10011ff9
xor esi, esi
mov eax, dword [ebp - 0x68]
xor ecx, ecx
mov dword [eax + 0x20], esi
jmp 0x1001195b
mov ebx, 0x8007000e
jmp 0x10011ff9
mov ecx, eax
jmp 0x1001195b
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x78]
mov ebx, dword [eax + 0x18]
test ebx, ebx
je 0x10011fc0
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 0x100121e4
mov dword [ecx + 0x20], ebx
mov ecx, dword [ebp - 0x54]
jmp 0x10011fc0
call dword [edx + 8]
sub esp, 4
jmp 0x10011fbe
call dword [sym.imp.oleaut32.dll_SysFreeString]
push ecx
mov ebx, 0x8007000e
jmp 0x10011faf
mov ecx, 0x80041001
jmp 0x1001195b
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 0x1001219a
mov ecx, 0x8007000e
jmp 0x1001195b
mov dword [esp], ebx
mov ebx, 0x8007000e
call fcn.1001d2f0
jmp 0x10011fbe
mov ecx, 0x8007000e
jmp 0x10011fc0