Function at 0x10011680
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 esi, dword [ecx]
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x100116ed
cmp ebx, 1
jne 0x1001183d
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x50], 0
test ecx, ecx
je 0x100116c1
test byte [0x10022810], 1
jne 0x10011d31
lea eax, [ebp - 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call fcn.1001a510
mov dword [ebp - 0x64], eax
test eax, eax
je 0x100118a5
mov eax, dword [ebp - 0x64]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1001188f
mov eax, dword [esi + 0x1c]
mov edi, dword [eax]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10011d25
mov dword [esp], edi
call fcn.1001d0c0
mov eax, dword [esi + 0x14]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [edi + 0x18]
mov dword [ebp - 0x54], eax
cmp eax, 0xffffffff
je 0x10011f3d
mov edx, dword [edi + 0xc]
test edx, edx
je 0x1001188f
cmp edx, 0x10
mov eax, 0x10
cmova edx, eax
lea eax, [edx*4]
mov dword [ebp - 0x58], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x58]
test eax, eax
mov dword [esi + 0x24], eax
je 0x10011f31
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10011f60
xor ecx, ecx
mov dword [ebp - 0x20], 0
mov eax, esi
mov esi, edx
mov dword [ebp - 0x1c], 0
mov edx, eax
mov dword [ebp - 0x58], edi
mov edi, ebx
mov ebx, ecx
mov ecx, dword [ebp - 0x58]
lea esi, [esi]
nop
cmp dword [ebp - 0x54], 1
je 0x10011832
lea eax, [ebp - 0x30]
mov dword [ebp - 0x5c], edx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], ecx
mov dword [ebp - 0x58], ecx
call fcn.10010a00
test eax, eax
jne 0x10011ece
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
jne 0x10011832
add ebx, 1
cmp ebx, dword [ecx + 0xc]
jae 0x10011888
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp esi, edi
ja 0x10011790
lea eax, [esi + esi]
shl esi, 3
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x58], eax
mov dword [esp + 4], esi
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x5c], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x10011f31
mov edx, dword [ebp - 0x5c]
cmp dword [ebp - 0x54], 1
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x60]
mov dword [edx + 0x24], eax
jne 0x1001179a
mov eax, dword [edx + 0x24]
mov dword [eax + edi*4], ebx
add edi, 1
jmp 0x100117d7
mov dword [ebp - 0x64], 0x80070057
test byte [0x10022810], 2
je 0x100116de
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], 0x10022810
mov dword [esp], 1
call fcn.100104f0
mov eax, dword [ebp - 0x64]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov ebx, edi
mov esi, edx
mov dword [esi + 0x20], ebx
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov eax, dword [ebp - 0x4c]
mov edi, dword [esi]
mov dword [ebp - 0x54], edi
mov edi, dword [eax + 4]
mov edx, dword [eax]
add edi, 0x2d
lea eax, [edi + edi]
mov dword [ebp - 0x58], edx
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x68], eax
call eax
mov edx, dword [ebp - 0x58]
test eax, eax
mov ebx, eax
je 0x10011f67
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.1000fdc0
lea eax, [ebp - 0x50]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.100115d0
mov edi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x74], edi
call edi
mov edx, dword [ebp - 0x64]
test edx, edx
jne 0x10011d8e
mov dword [ebp - 0x70], esi
lea esi, [esi]
mov eax, dword [ebp - 0x50]
lea edi, [ebp - 0x48]
mov edx, dword [eax]
mov dword [esp + 0x10], edi
lea edi, [ebp - 0x44]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0x48]
sub esp, 0x14
test eax, eax
je 0x10011ed6
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x30]
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]
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 0x10011f04
call dword [edx + 8]
mov eax, dword [ebp - 0x70]
mov edi, 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 - 0x60], edi
mov dword [ebp - 0x6c], eax
call fcn.1000fe10
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x10011f16
mov dword [esp], 0x1002b852
call dword [sym.imp.oleaut32.dll_SysAllocString]
mov edi, eax
mov eax, dword [ebp - 0x5c]
sub esp, 4
mov dword [esp], eax
test edi, edi
je 0x10011f0f
mov ebx, dword [sym.imp.oleaut32.dll_SysStringLen]
call ebx
sub esp, 4
mov dword [ebp - 0x54], eax
mov dword [esp], edi
call ebx
mov ebx, dword [ebp - 0x54]
sub esp, 4
add ebx, eax
cmp word [esi], 0
je 0x10011e91
mov eax, esi
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x10011a28
sub eax, esi
sar eax, 1
lea edx, [ebx + eax + 9]
lea eax, [edx + edx]
mov dword [ebp - 0x54], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x68]
call eax
mov ebx, eax
test eax, eax
je 0x10011f49
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x10], edi
mov dword [esp + 8], str._s_s:
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call fcn.1000fdc0
xor edx, edx
cmp word [esi], 0
mov dword [ebp - 0x54], edi
mov ecx, eax
je 0x10011abd
mov edi, 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], edi
sar eax, 1
cmp edx, eax
jae 0x10011abd
movzx eax, word [esi + edx*2]
add ecx, 1
mov edi, 0x22
cmp ax, 0x27
cmove eax, edi
add edx, 1
mov word [ebx + ecx*2 - 2], ax
cmp word [esi], 0
jne 0x10011a80
xor eax, eax
mov edi, dword [ebp - 0x54]
mov esi, dword [sym.imp.oleaut32.dll_SysFreeString]
mov word [ebx + ecx*2], ax
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp], edi
call esi
mov eax, dword [ebp - 0x60]
sub esp, 4
cmp word [eax], 0
je 0x10011b01
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x10011af0
sub eax, dword [ebp - 0x60]
sar eax, 1
mov dword [ebp - 0x58], eax
cmp word [ebx], 0
je 0x10011b20
mov eax, ebx
lea esi, [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 edi, eax
test eax, eax
je 0x10011d5a
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], str.SELECT_Antecedent_FROM__s_WHERE_Dependent_s
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov dword [esp], edi
call fcn.1000fdc0
lea eax, [ebp - 0x3c]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call fcn.100115d0
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x10011d61
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 0x10011e75
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 0x10011d61
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], edi
mov edi, dword [ebp - 0x74]
call edi
mov dword [esp], ebx
call edi
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x10011d11
lea eax, [ebp - 0x40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.1001a510
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x10011dba
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a830
mov edi, eax
test eax, eax
je 0x10011ec0
mov dword [esp], 0x14
mov eax, dword [ebp - 0x68]
call eax
mov edx, eax
test eax, eax
je 0x10011ec0
lea eax, [eax + 0xc]
mov ecx, dword [ebp - 0x6c]
mov dword [edx], 1
movd xmm0, eax
mov dword [ebp - 0x5c], edx
punpckldq xmm0, xmm0
mov dword [edx + 4], ecx
movq qword [edx + 0xc], xmm0
mov dword [esp + 0xc], eax
lea eax, [edx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ecx
call fcn.1001fde0
mov edx, dword [ebp - 0x5c]
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x10011ea7
mov eax, dword [edx + 8]
mov dword [esp], eax
call fcn.10011680
mov edx, dword [ebp - 0x5c]
test eax, eax
mov dword [ebp - 0x58], eax
jne 0x10011ea7
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x10011de0
lock sub dword [edx], 1
je 0x10011e98
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a7f0
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x74]
sub esp, 4
mov dword [esp], edi
call eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
jmp 0x10011928
mov dword [ebp - 0x54], 0
jmp 0x10011729
mov dword [esp + 0xc], str.ignoring_keywords_n
mov dword [esp + 8], str.exec_assoc_view
mov dword [esp + 4], 0x10022810
mov dword [esp], 0
call fcn.100104f0
jmp 0x100116c1
mov dword [ebp - 0x58], 0x8007000e
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x10011e81
mov dword [esp], edi
mov edi, dword [ebp - 0x74]
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 - 0x64], eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10011da0
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.1001a7f0
mov eax, dword [ebp - 0x64]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov ebx, esi
xor edi, edi
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a7f0
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call ebx
push eax
mov eax, dword [ebp - 0x74]
mov dword [esp], edi
call eax
jmp 0x10011d79
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x58], edx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.1001d2c0
mov edx, dword [ebp - 0x58]
mov ebx, eax
mov eax, 0xffffffff
lock xadd dword [edx], eax
cmp eax, 1
je 0x10011e9a
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.1001a7f0
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x74]
sub esp, 4
mov dword [esp], edi
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 - 0x70]
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 0x10011f73
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 dword [ebp - 0x54], 0
jmp 0x10011c0f
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x10011d6c
xor eax, eax
jmp 0x10011a35
xor ebx, ebx
mov dword [esp], edx
call fcn.10011500
jmp 0x10011e07
mov ebx, esi
lock sub dword [edx], 1
jne 0x10011dbe
mov dword [esp], edx
call fcn.10011500
jmp 0x10011dbe
mov dword [ebp - 0x58], 0x8007000e
mov ebx, esi
jmp 0x10011dbe
mov dword [ebp - 0x64], eax
jmp 0x100116de
mov esi, dword [ebp - 0x70]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x10011d8e
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 0x10011f67
mov dword [esi + 0x20], ebx
jmp 0x10011d8e
call dword [edx + 8]
sub esp, 4
jmp 0x10011d88
call dword [sym.imp.oleaut32.dll_SysFreeString]
push eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [ebp - 0x58], 0x8007000e
sub esp, 4
jmp 0x10011d88
mov dword [ebp - 0x64], 0x8007000e
jmp 0x100116de
mov dword [ebp - 0x64], 0x80041001
jmp 0x100116de
mov eax, dword [ebp - 0x5c]
mov ebx, dword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [esp], eax
call ebx
push edx
mov dword [esp], edi
call ebx
push ecx
jmp 0x10011f16
xor ebx, ebx
jmp 0x1001188c
mov dword [ebp - 0x64], 0x8007000e
jmp 0x10011d8e
mov dword [esp], ebx
call fcn.1001d2a0
mov dword [ebp - 0x58], 0x8007000e
jmp 0x10011d88