Function at 0x10011820
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 ecx, dword [ecx]
mov esi, dword [ecx + 4]
test esi, esi
je 0x10011d21
cmp esi, 1
je 0x10011869
test byte [0x10021810], 2
jne 0x10011fea
mov dword [ebp - 0x70], 0x80070057
mov eax, dword [ebp - 0x70]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x50], 0
test ebx, ebx
je 0x10011884
test byte [0x10021810], 1
jne 0x10011e40
lea eax, [ebp - 0x4c]
mov dword [esp + 4], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x54], ecx
mov dword [esp], eax
call fcn.1001a530
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x1001185a
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov esi, dword [ecx]
add edi, 0x2d
mov dword [ebp - 0x58], edx
lea eax, [edi + edi]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x68], eax
call eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
test eax, eax
mov ebx, eax
je 0x100120d1
mov dword [ebp - 0x54], ecx
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 fcn.1000fdb0
lea eax, [ebp - 0x50]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.10011770
mov dword [ebp - 0x70], eax
mov edi, eax
mov dword [esp], ebx
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x78], ebx
call ebx
test edi, edi
jne 0x10011eaa
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x74], ecx
lea esi, [esi]
mov eax, dword [ebp - 0x50]
lea ebx, [ebp - 0x48]
mov edx, dword [eax]
mov dword [esp + 0x10], ebx
lea ebx, [ebp - 0x44]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x48]
sub esp, 0x14
test ecx, ecx
je 0x1001205f
mov eax, dword [ebp - 0x44]
lea ebx, [ebp - 0x30]
mov edx, dword [eax]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], str.AssocClass
mov dword [esp], eax
call dword [edx + 0x10]
mov dword [ebp - 0x58], eax
sub esp, 0x18
test eax, eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov dword [esp], eax
jne 0x10012093
call dword [edx + 8]
mov eax, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x40], 0
sub esp, 4
mov dword [ebp - 0x3c], 0
mov esi, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x6c], eax
call fcn.1000fe00
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x100120a5
mov dword [esp], 0x1002a856
call dword [sym.imp.oleaut32.dll_SysAllocString]
mov dword [ebp - 0x60], eax
sub esp, 4
test eax, eax
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
je 0x1001209e
mov edi, dword [sym.imp.oleaut32.dll_SysStringLen]
call edi
mov ebx, eax
mov eax, dword [ebp - 0x60]
sub esp, 4
mov dword [esp], eax
call edi
sub esp, 4
cmp word [esi], 0
lea edx, [ebx + eax]
je 0x10011fb1
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10011a28
sub eax, esi
sar eax, 1
lea edi, [edx + eax + 9]
lea eax, [edi + edi]
mov dword [esp], eax
mov eax, dword [ebp - 0x68]
call eax
mov ebx, eax
test eax, eax
je 0x100120e9
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._s_s:
mov dword [esp], ebx
call fcn.1000fdb0
xor edx, edx
cmp word [esi], 0
mov dword [ebp - 0x54], ebx
mov edi, eax
lea ecx, [ebx + eax*2]
je 0x10011ab9
mov ebx, dword [ebp - 0x54]
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10011a88
sub eax, esi
mov dword [ebp - 0x54], ebx
sar eax, 1
cmp edx, eax
jae 0x10011ab9
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 0x10011a80
mov ebx, dword [ebp - 0x54]
add edi, edx
xor eax, eax
mov word [ebx + edi*2], ax
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 0x10011b03
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x10011af0
mov ecx, dword [ebp - 0x64]
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x58], eax
cmp word [ebx], 0
je 0x10011b20
mov eax, ebx
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x10011b10
sub eax, ebx
sar eax, 1
add dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
add edx, 0x2f
lea eax, [edx + edx]
mov dword [ebp - 0x54], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x68]
call eax
mov esi, eax
test eax, eax
je 0x10011e6f
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0x64]
mov dword [esp + 8], str.SELECT_Antecedent_FROM__s_WHERE_Dependent_s
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x54]
mov dword [esp], esi
mov dword [esp + 4], edx
call fcn.1000fdb0
lea eax, [ebp - 0x3c]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call fcn.10011770
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x10011e76
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 0x10011f8d
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 dword [ebp - 0x58], 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 - 0x58]
sub esp, 4
test eax, eax
jne 0x10011e76
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10011c21
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp], esi
mov esi, dword [ebp - 0x78]
call esi
mov dword [esp], ebx
call esi
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x10011d0d
lea eax, [ebp - 0x40]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.1001a530
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x10011ed6
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a850
mov esi, eax
test eax, eax
je 0x10012049
mov dword [esp], 0x14
mov eax, dword [ebp - 0x68]
call eax
mov edx, eax
test eax, eax
je 0x10012049
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 [ebp - 0x5c], edx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ecx
call fcn.1001fd00
mov edx, dword [ebp - 0x5c]
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x10012026
mov eax, dword [edx + 8]
mov dword [esp], eax
call fcn.10011820
mov edx, dword [ebp - 0x5c]
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x10012026
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x10011f00
lock sub dword [edx], 1
je 0x10012017
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a810
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp], esi
mov eax, dword [ebp - 0x78]
call eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
jmp 0x10011928
mov ebx, dword [ecx + 0x18]
test ebx, ebx
je 0x10011d68
mov eax, dword [ecx + 0x1c]
mov edi, dword [eax]
mov edx, dword [edi + 0x18]
test edx, edx
je 0x10011d74
mov dword [ebp - 0x54], ecx
mov dword [esp], edi
call fcn.1001cf70
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx + 0x14]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [edi + 0x18]
mov ecx, dword [ebp - 0x54]
cmp eax, 0xffffffff
mov dword [ebp - 0x58], eax
je 0x100120dd
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x54], ecx
test edx, edx
jne 0x10011d85
mov dword [ebp - 0x70], 0
jmp 0x1001185a
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], ecx
test edx, edx
je 0x10011d68
mov eax, 0x10
cmp edx, eax
cmova edx, eax
lea eax, [edx*4]
mov dword [ebp - 0x5c], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x5c]
test eax, eax
mov dword [ecx + 0x24], eax
je 0x100120b1
mov eax, dword [edi + 0xc]
xor ebx, ebx
test eax, eax
je 0x1001203f
mov dword [ebp - 0x54], edi
mov edi, edx
jmp 0x10011e19
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 + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.10010830
test eax, eax
jne 0x10012057
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x5c]
jne 0x10011e35
mov eax, dword [ebp - 0x54]
add ebx, 1
cmp ebx, dword [eax + 0xc]
jae 0x10012041
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp esi, edi
jae 0x10011fb8
cmp dword [ebp - 0x58], 1
jne 0x10011dd0
mov eax, dword [ecx + 0x24]
mov dword [eax + esi*4], ebx
add esi, 1
jmp 0x10011e0a
mov dword [ebp - 0x54], ecx
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.10010490
mov ecx, dword [ebp - 0x54]
jmp 0x10011884
mov dword [ebp - 0x58], 0x8007000e
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x10011e88
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp], esi
mov edi, dword [ebp - 0x78]
call edi
mov dword [esp], ebx
call edi
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10011ebc
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 fcn.1001a810
mov eax, dword [ebp - 0x70]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
xor ebx, ebx
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a810
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp], ebx
mov eax, dword [ebp - 0x78]
call eax
jmp 0x10011e95
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x58], edx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.1001d160
mov edx, dword [ebp - 0x58]
mov ebx, eax
lock sub dword [edx], 1
je 0x10012019
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a810
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp], esi
mov eax, dword [ebp - 0x78]
call eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
test ebx, ebx
je 0x10011928
mov edi, dword [ebp - 0x74]
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 0x100120bd
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 0x10011928
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], 0
test eax, eax
jne 0x10011c16
mov dword [esp], esi
mov edi, dword [ebp - 0x78]
call edi
mov dword [esp], ebx
call edi
jmp 0x10011d0d
xor eax, eax
jmp 0x10011a35
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 0x100120b1
mov ecx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
mov dword [ecx + 0x24], eax
jmp 0x10011e2f
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.10010490
jmp 0x10011853
xor ebx, ebx
mov dword [esp], edx
call fcn.100116a0
jmp 0x10011f1f
mov ebx, esi
lock sub dword [edx], 1
jne 0x10011ed8
mov dword [esp], edx
call fcn.100116a0
jmp 0x10011ed8
xor esi, esi
mov dword [ecx + 0x20], esi
jmp 0x10011d68
mov dword [ebp - 0x58], 0x8007000e
mov ebx, esi
jmp 0x10011ed8
mov dword [ebp - 0x70], eax
jmp 0x1001185a
mov ecx, dword [ebp - 0x74]
mov ebx, dword [ecx + 0x18]
test ebx, ebx
je 0x10011eaa
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 - 0x54]
mov dword [ecx + 0x24], eax
test eax, eax
je 0x100120d1
mov dword [ecx + 0x20], ebx
jmp 0x10011eaa
call dword [edx + 8]
sub esp, 4
jmp 0x10011ea4
call dword [sym.imp.oleaut32.dll_SysFreeString]
push edx
mov dword [ebp - 0x58], 0x8007000e
jmp 0x10011e95
mov dword [ebp - 0x70], 0x8007000e
jmp 0x1001185a
mov dword [esp], ebx
call fcn.1001d140
mov dword [ebp - 0x58], 0x8007000e
jmp 0x10011ea4
mov dword [ebp - 0x70], 0x8007000e
jmp 0x10011eaa
mov dword [ebp - 0x70], 0x80041001
jmp 0x1001185a
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 0x100120a5