Function at 0x710515b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x9c
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x71051615
cmp ebx, 1
jne 0x7105176d
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x58], 0
test esi, esi
je 0x710515ea
test byte [0x71061850], 1
jne 0x71051c57
lea eax, [ebp - 0x54]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.7105a450
mov dword [ebp - 0x70], eax
test eax, eax
je 0x710517ce
mov eax, dword [ebp - 0x70]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x710517bc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov esi, dword [eax]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x71051c4b
mov dword [esp], esi
call fcn.7105d040
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [esi + 0x18]
mov dword [ebp - 0x5c], eax
cmp eax, 0xffffffff
je 0x71051e68
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x710517bc
mov eax, 0x10
cmp ecx, eax
cmova ecx, eax
lea eax, [ecx*4]
mov dword [ebp - 0x60], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp + 8]
test eax, eax
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 0x60]
je 0x71051e5c
mov edi, dword [esi + 0xc]
test edi, edi
je 0x71051e8e
mov eax, ecx
mov dword [ebp - 0x28], 0
mov ecx, esi
xor edi, edi
mov esi, ebx
mov dword [ebp - 0x24], 0
mov ebx, eax
lea esi, [esi]
lea esi, [esi]
cmp dword [ebp - 0x5c], 1
je 0x7105175f
lea eax, [ebp - 0x38]
mov dword [ebp - 0x60], ecx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [esp + 4], edi
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.71050740
test eax, eax
jne 0x71051df6
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x60]
jne 0x7105175f
add edi, 1
cmp edi, dword [ecx + 0xc]
jae 0x710517b4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp ebx, esi
ja 0x710516c0
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp + 8]
lea eax, [ebx + ebx]
shl ebx, 3
mov dword [ebp - 0x60], eax
mov dword [esp + 4], ebx
mov eax, dword [ecx + 0x24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x71051e5c
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x5c], 1
mov ebx, dword [ebp - 0x60]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 0x64]
jne 0x710516ca
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [eax + esi*4], edi
add esi, 1
jmp 0x71051704
mov dword [ebp - 0x70], 0x80070057
test byte [0x71061850], 2
je 0x7105160a
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], 0x71061850
mov dword [esp], 1
call fcn.710503a0
mov eax, dword [ebp - 0x70]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, esi
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], ebx
mov dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x70]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp + 8]
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov esi, dword [ecx]
add edi, 0x2d
lea eax, [edi + edi]
mov dword [ebp - 0x5c], edx
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x74], eax
call eax
mov edx, dword [ebp - 0x5c]
test eax, eax
mov ebx, eax
je 0x71051e95
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.7104fcb0
lea eax, [ebp - 0x58]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.71051500
mov ecx, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], ebx
mov edi, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x7c], ecx
call ecx
test edi, edi
jne 0x71051cb7
lea esi, [esi]
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x4c]
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 - 0x50]
sub esp, 0x14
test ebx, ebx
je 0x71051dfe
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x38]
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]
sub esp, 0x18
mov dword [ebp - 0x5c], eax
test eax, eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov dword [esp], eax
jne 0x71051e2f
call dword [edx + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], 0
sub esp, 4
mov dword [ebp - 0x44], 0
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
call fcn.7104fd00
mov dword [ebp - 0x64], eax
test eax, eax
je 0x71051e41
mov dword [esp], 0x7106b6d6
call dword [sym.imp.oleaut32.dll_SysAllocString]
sub esp, 4
mov dword [ebp - 0x68], eax
test eax, eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
je 0x71051e3a
mov edi, dword [sym.imp.oleaut32.dll_SysStringLen]
call edi
mov esi, eax
mov eax, dword [ebp - 0x68]
sub esp, 4
mov dword [esp], eax
call edi
lea edx, [esi + eax]
sub esp, 4
cmp word [ebx], 0
je 0x71051dbd
mov eax, ebx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x71051950
sub eax, ebx
sar eax, 1
lea esi, [edx + eax + 9]
lea eax, [esi + esi]
mov dword [esp], eax
mov eax, dword [ebp - 0x74]
call eax
mov edi, eax
mov dword [ebp - 0x60], eax
test eax, eax
je 0x71051e74
mov eax, dword [ebp - 0x68]
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 8], str._s_s:
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0xc], eax
call fcn.7104fcb0
xor edx, edx
cmp word [ebx], 0
mov ecx, eax
lea edi, [edi + eax*2]
lea esi, [ecx + edx]
je 0x710519e9
lea esi, [esi]
nop
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x710519b8
sub eax, ebx
sar eax, 1
cmp edx, eax
jae 0x710519e9
movzx eax, word [ebx + edx*2]
mov esi, 0x22
cmp ax, 0x27
cmove eax, esi
mov word [edi + edx*2], ax
add edx, 1
cmp word [ebx], 0
lea esi, [ecx + edx]
jne 0x710519b0
mov eax, dword [ebp - 0x60]
xor edx, edx
mov word [eax + esi*2], dx
mov eax, dword [ebp - 0x64]
mov esi, dword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x68]
sub esp, 4
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x6c]
sub esp, 4
cmp word [eax], 0
je 0x71051a31
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x71051a20
sub eax, dword [ebp - 0x6c]
sar eax, 1
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x60]
cmp word [eax], 0
je 0x71051a51
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x71051a40
sub eax, dword [ebp - 0x60]
sar eax, 1
add dword [ebp - 0x5c], eax
mov edi, dword [ebp - 0x5c]
add edi, 0x2f
lea eax, [edi + edi]
mov dword [esp], eax
mov eax, dword [ebp - 0x74]
call eax
mov ebx, eax
test eax, eax
je 0x71051c80
mov eax, dword [ebp - 0x60]
mov dword [esp + 8], str.SELECT_Antecedent_FROM__s_WHERE_Dependent_s
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0xc], eax
call fcn.7104fcb0
lea eax, [ebp - 0x44]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call fcn.71051500
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x71051c87
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x40]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 1
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [edx + 0x10]
mov edi, dword [ebp - 0x3c]
sub esp, 0x14
test edi, edi
je 0x71051da6
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
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 - 0x5c], eax
mov edi, eax
mov eax, dword [ebp - 0x40]
sub esp, 0x18
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test edi, edi
jne 0x71051c87
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x71051b4b
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp], ebx
mov ebx, dword [ebp - 0x7c]
call ebx
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call ebx
test edi, edi
je 0x71051c37
lea eax, [ebp - 0x48]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.7105a450
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x71051cdf
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.7105a770
mov ebx, eax
mov dword [ebp - 0x60], eax
test eax, eax
je 0x71051dea
mov eax, dword [ebp - 0x74]
mov dword [esp], 0x14
call eax
mov edx, eax
test eax, eax
je 0x71051dea
mov ecx, dword [ebp - 0x78]
lea eax, [eax + 0xc]
mov dword [edx], 1
mov dword [edx + 0x10], eax
mov dword [edx + 0xc], eax
mov dword [ebp - 0x64], edx
mov dword [edx + 4], ecx
mov dword [esp + 0xc], eax
lea eax, [edx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], ecx
call fcn.7105fdd0
mov edx, dword [ebp - 0x64]
test eax, eax
mov dword [ebp - 0x5c], eax
jne 0x71051dd3
mov eax, dword [edx + 8]
mov dword [esp], eax
call fcn.710515b0
mov edx, dword [ebp - 0x64]
test eax, eax
mov dword [ebp - 0x5c], eax
jne 0x71051dd3
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x71051d08
lock sub dword [edx], 1
je 0x71051dc4
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.7105a730
mov dword [esp], edi
call esi
mov eax, dword [ebp - 0x60]
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
jmp 0x71051848
mov dword [ebp - 0x5c], 0
jmp 0x7105165a
mov dword [esp + 0xc], 0x7106b6ac
mov dword [esp + 8], str.exec_assoc_view
mov dword [esp + 4], 0x71061850
mov dword [esp], 0
call fcn.710503a0
jmp 0x710515ea
mov dword [ebp - 0x5c], 0x8007000e
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x71051dad
mov edi, dword [ebp - 0x7c]
mov dword [esp], ebx
call edi
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call edi
lea eax, [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x71051cc9
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.7105a730
mov eax, dword [ebp - 0x70]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.7105a730
mov dword [esp], edi
call esi
push eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call eax
jmp 0x71051ca2
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x5c], edx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.7105d230
mov edx, dword [ebp - 0x5c]
mov ebx, eax
mov eax, 0xffffffff
lock xadd dword [edx], eax
cmp eax, 1
je 0x71051dc6
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.7105a730
mov dword [esp], edi
call esi
mov eax, dword [ebp - 0x60]
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0x7c]
call eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
test ebx, ebx
je 0x71051848
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
lea eax, [eax*4 + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x71051ea1
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [ecx + 0x1c], eax
lea ecx, [edx + 1]
mov dword [edi + 0x18], ecx
mov dword [eax + edx*4], ebx
jmp 0x71051848
xor edi, edi
jmp 0x71051b39
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x71051c92
xor eax, eax
jmp 0x7105195d
xor ebx, ebx
mov dword [esp], edx
call fcn.71051430
jmp 0x71051d2f
lock sub dword [edx], 1
jne 0x71051ce6
mov dword [esp], edx
call fcn.71051430
jmp 0x71051ce6
mov dword [ebp - 0x5c], 0x8007000e
jmp 0x71051ce6
mov dword [ebp - 0x70], eax
jmp 0x7105160a
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x18]
test ebx, ebx
je 0x71051cb7
mov dword [esp + 4], 4
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_calloc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x24], eax
test eax, eax
je 0x71051e95
mov dword [ecx + 0x20], ebx
jmp 0x71051cb7
call dword [edx + 8]
sub esp, 4
jmp 0x71051cb1
call dword [sym.imp.oleaut32.dll_SysFreeString]
push ecx
lea eax, [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
mov dword [ebp - 0x5c], 0x8007000e
sub esp, 4
jmp 0x71051cb1
mov dword [ebp - 0x70], 0x8007000e
jmp 0x7105160a
mov dword [ebp - 0x70], 0x80041001
jmp 0x7105160a
mov eax, dword [ebp - 0x64]
mov ebx, dword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x68]
push edx
mov dword [esp], eax
call ebx
push ecx
jmp 0x71051e41
xor ebx, ebx
jmp 0x710517b6
mov dword [ebp - 0x70], 0x8007000e
jmp 0x71051cb7
mov dword [esp], ebx
call fcn.7105d210
mov dword [ebp - 0x5c], 0x8007000e
jmp 0x71051cb1