Function at 0x10011480
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 0x10011983
cmp esi, 1
je 0x100114c9
test byte [0x10021cd0], 2
jne 0x10011c63
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 0x100114e4
test byte [0x10021cd0], 1
jne 0x10011a9c
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.1001a410
mov ecx, eax
test eax, eax
jne 0x100114bb
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 0x10011d1d
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.1000fa90
lea eax, [ebp - 0x50]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.100113c0
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 0x10011b27
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 0x10011cc7
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 edx, dword [edx + 8]
mov dword [esp], eax
test ebx, ebx
jne 0x10011d01
call edx
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x28]
sub esp, 4
mov dword [ebp - 0x40], 0
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.1000fae0
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10011b75
mov dword [esp], 0x1002af7a
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 0x10011d58
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 0x10011c5c
mov eax, esi
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x10011680
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 0x10011d3b
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.1000fa90
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 0x10011719
lea esi, [esi]
mov ebx, dword [ebp - 0x54]
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x100116e8
sub eax, esi
mov dword [ebp - 0x54], ebx
sar eax, 1
cmp edx, eax
jae 0x10011719
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 0x100116e0
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 0x10011762
nop
add eax, 2
cmp word [eax], 0
jne 0x10011750
mov ebx, dword [ebp - 0x64]
sub eax, ebx
sar eax, 1
mov ebx, eax
mov eax, dword [ebp - 0x58]
cmp word [eax], 0
je 0x10011782
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x10011770
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 0x10011b5e
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.1000fa90
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.100113c0
mov ebx, eax
mov eax, dword [ebp - 0x3c]
test ebx, ebx
jne 0x10011af7
mov edx, dword [eax]
lea ecx, [ebp - 0x34]
mov dword [esp + 8], 1
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x38]
mov dword [esp + 0xc], ecx
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 0x10011c35
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]
mov eax, dword [ebp - 0x3c]
sub esp, 4
test ebx, ebx
jne 0x10011af7
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x54], ebx
test eax, eax
je 0x10011878
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 0x1001196f
lea eax, [ebp - 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.1001a410
mov ebx, eax
test eax, eax
jne 0x10011b7c
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a830
mov esi, eax
test eax, eax
je 0x10011cb6
mov dword [esp], 0x14
mov eax, dword [ebp - 0x6c]
call eax
mov edx, eax
test eax, eax
je 0x10011cb6
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.1001fd00
mov edx, dword [ebp - 0x58]
test eax, eax
mov ebx, eax
jne 0x10011c9f
mov eax, dword [edx + 8]
mov dword [esp], eax
call fcn.10011480
mov edx, dword [ebp - 0x58]
test eax, eax
mov ebx, eax
jne 0x10011c9f
mov eax, dword [edx + 8]
mov ebx, dword [eax + 0x18]
test ebx, ebx
jne 0x10011ba8
lock sub dword [edx], 1
je 0x10011c90
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a3d0
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 0x10011578
mov ebx, dword [ebp - 0x68]
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x10011a80
mov eax, dword [ebx + 0x1c]
mov edi, dword [eax]
mov edx, dword [edi + 0x18]
test edx, edx
je 0x10011a90
mov dword [esp], edi
call fcn.1001cf80
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 0x10011d31
mov edx, dword [edi + 0xc]
test edx, edx
je 0x10011a80
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 0x10011d27
mov eax, dword [edi + 0xc]
xor ebx, ebx
test eax, eax
je 0x10011a78
mov dword [ebp - 0x54], edi
mov ecx, dword [ebp - 0x68]
mov edi, edx
jmp 0x10011a55
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.100105e0
test eax, eax
jne 0x10011cc0
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x5c]
jne 0x10011a6d
mov eax, dword [ebp - 0x54]
add ebx, 1
cmp ebx, dword [eax + 0xc]
jae 0x10011a7a
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp esi, edi
jae 0x10011ac5
cmp dword [ebp - 0x58], 1
jne 0x10011a10
mov eax, dword [ecx + 0x24]
mov dword [eax + esi*4], ebx
add esi, 1
jmp 0x10011a4a
xor esi, esi
mov eax, dword [ebp - 0x68]
mov dword [eax + 0x20], esi
lea esp, [ebp - 0x10]
xor ecx, ecx
mov eax, ecx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [ebp - 0x58], 0
jmp 0x100119c2
mov dword [esp + 0xc], str.ignoring_keywords_n
mov dword [esp + 8], str.exec_assoc_view
mov dword [esp + 4], 0x10021cd0
mov dword [esp], 0
call fcn.10010170
jmp 0x100114e4
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 0x10011d27
mov ecx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
mov dword [ecx + 0x24], eax
jmp 0x10011a67
test eax, eax
je 0x10011b06
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 0x10011b3f
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.1001a3d0
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
mov eax, dword [ebp - 0x3c]
mov ebx, 0x8007000e
test eax, eax
jne 0x10011afb
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
mov eax, dword [ebp - 0x74]
call eax
mov ebx, 0x8007000e
jmp 0x10011b16
xor esi, esi
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a3d0
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 0x10011b16
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x58], edx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.1001d280
mov edx, dword [ebp - 0x58]
mov ebx, eax
lock sub dword [edx], 1
je 0x10011c92
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a3d0
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 0x10011578
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 0x10011d0b
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 0x10011578
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], 0
test eax, eax
jne 0x1001186d
mov dword [esp], esi
mov ebx, dword [ebp - 0x74]
call ebx
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call ebx
jmp 0x1001196f
xor eax, eax
jmp 0x1001168d
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], 0x10021cd0
mov dword [esp], 1
call fcn.10010170
jmp 0x100114b6
xor ebx, ebx
mov dword [esp], edx
call fcn.100112f0
jmp 0x10011bc7
lock sub dword [edx], 1
jne 0x10011b7e
mov dword [esp], edx
call fcn.100112f0
jmp 0x10011b7e
mov ebx, 0x8007000e
jmp 0x10011b7e
mov ecx, eax
jmp 0x100114bb
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x78]
mov ebx, dword [eax + 0x18]
test ebx, ebx
je 0x10011b27
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 0x10011d1d
mov dword [ecx + 0x20], ebx
mov ecx, dword [ebp - 0x54]
jmp 0x10011b27
call edx
sub esp, 4
jmp 0x10011b25
mov dword [esp], ebx
mov ebx, 0x8007000e
call fcn.1001d1a0
jmp 0x10011b25
mov ecx, 0x8007000e
jmp 0x10011b27
mov ecx, 0x8007000e
jmp 0x100114bb
mov ecx, 0x80041001
jmp 0x100114bb
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 0x10011b75
call dword [sym.imp.oleaut32.dll_SysFreeString]
push ecx
jmp 0x10011b75