Function at 0x710513c0
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 0x7105141f
cmp ebx, 1
jne 0x71051470
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0x58], 0
test ebx, ebx
je 0x710513fa
test byte [0x71061810], 1
jne 0x710519d8
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.7105a050
mov ecx, eax
test eax, eax
je 0x7105148c
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x71051468
mov eax, dword [eax + 0x1c]
mov edi, dword [eax]
mov edx, dword [edi + 0x18]
test edx, edx
je 0x710519cc
mov dword [esp], edi
call fcn.7105ca80
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [edi + 0x18]
mov dword [ebp - 0x60], eax
cmp eax, 0xffffffff
je 0x71051c52
mov edx, dword [edi + 0xc]
test edx, edx
jne 0x71051911
xor ecx, ecx
jmp 0x71051415
test byte [0x71061810], 2
jne 0x71051b81
lea esp, [ebp - 0xc]
mov ecx, 0x80070057
pop ebx
mov eax, ecx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp + 8]
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov esi, dword [ebx]
add edi, 0x2d
mov dword [ebp - 0x5c], edx
lea eax, [edi + edi]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x70], eax
call eax
mov edx, dword [ebp - 0x5c]
test eax, eax
mov ebx, eax
je 0x71051c94
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.7104f960
lea eax, [ebp - 0x58]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.71051310
mov dword [ebp - 0x5c], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], ebx
mov dword [ebp - 0x78], eax
call eax
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
jne 0x71051a6a
mov dword [ebp - 0x7c], ecx
lea esi, [esi]
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x50]
lea ebx, [ebp - 0x4c]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
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 - 0x50]
sub esp, 0x14
test ecx, ecx
je 0x71051bfa
mov eax, dword [ebp - 0x4c]
lea edi, [ebp - 0x38]
mov edx, dword [eax]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], str.AssocClass
mov dword [esp], eax
call dword [edx + 0x10]
mov dword [ebp - 0x60], eax
sub esp, 0x18
test eax, eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov dword [esp], eax
jne 0x71051c34
call dword [edx + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], 0
sub esp, 4
mov dword [ebp - 0x44], 0
mov esi, 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 - 0x74], eax
call fcn.7104f9b0
mov dword [ebp - 0x64], eax
test eax, eax
je 0x71051c46
mov dword [esp], 0x7106b656
call dword [sym.imp.oleaut32.dll_SysAllocString]
mov dword [ebp - 0x68], eax
sub esp, 4
test eax, eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
je 0x71051c3f
mov edi, dword [sym.imp.oleaut32.dll_SysStringLen]
call edi
mov ebx, eax
mov eax, dword [ebp - 0x68]
sub esp, 4
mov dword [esp], eax
call edi
sub esp, 4
cmp word [esi], 0
lea edx, [ebx + eax]
je 0x71051b7a
mov eax, esi
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x71051610
sub eax, esi
sar eax, 1
lea edi, [edx + eax + 9]
lea eax, [edi + edi]
mov dword [esp], eax
mov eax, dword [ebp - 0x70]
call eax
mov ebx, eax
test eax, eax
je 0x71051c5c
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._s_s:
mov dword [esp], ebx
call fcn.7104f960
xor edx, edx
cmp word [esi], 0
mov dword [ebp - 0x5c], ebx
mov edi, eax
lea ecx, [ebx + eax*2]
je 0x710516a9
lea esi, [esi]
nop
mov ebx, dword [ebp - 0x5c]
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x71051678
sub eax, esi
mov dword [ebp - 0x5c], ebx
sar eax, 1
cmp edx, eax
jae 0x710516a9
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 0x71051670
mov ebx, dword [ebp - 0x5c]
add edi, edx
xor eax, eax
mov word [ebx + edi*2], ax
mov eax, dword [ebp - 0x64]
mov edi, dword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x68]
sub esp, 4
mov dword [esp], eax
call edi
mov ecx, dword [ebp - 0x6c]
sub esp, 4
cmp word [ecx], 0
mov eax, ecx
je 0x710516f3
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x710516e0
mov ecx, dword [ebp - 0x6c]
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x60], eax
cmp word [ebx], 0
je 0x71051710
mov eax, ebx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x71051700
sub eax, ebx
sar eax, 1
add dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
add edx, 0x2f
lea eax, [edx + edx]
mov dword [ebp - 0x5c], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x70]
call eax
mov esi, eax
test eax, eax
je 0x71051a30
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0x6c]
mov dword [esp + 8], str.SELECT_Antecedent_FROM__s_WHERE_Dependent_s
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x5c]
mov dword [esp], esi
mov dword [esp + 4], edx
call fcn.7104f960
lea eax, [ebp - 0x44]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call fcn.71051310
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x71051a37
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 eax, dword [ebp - 0x3c]
sub esp, 0x14
test eax, eax
je 0x71051b56
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 - 0x60], eax
mov eax, dword [ebp - 0x40]
sub esp, 0x18
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x60]
sub esp, 4
test eax, eax
jne 0x71051a37
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x71051811
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 esi, dword [ebp - 0x5c]
test esi, esi
je 0x710518fd
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.7105a050
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x71051a9d
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.7105a370
mov esi, eax
test eax, eax
je 0x71051be5
mov dword [esp], 0x14
mov eax, dword [ebp - 0x70]
call eax
mov edx, eax
test eax, eax
je 0x71051be5
mov ebx, dword [ebp - 0x74]
lea eax, [eax + 0xc]
mov dword [edx], 1
mov dword [edx + 0x10], eax
mov dword [edx + 0xc], eax
mov dword [edx + 4], ebx
mov dword [esp + 0xc], eax
lea eax, [edx + 8]
mov dword [ebp - 0x64], edx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.7105f7d0
mov edx, dword [ebp - 0x64]
test eax, eax
mov dword [ebp - 0x60], eax
jne 0x71051bbd
mov eax, dword [edx + 8]
mov dword [esp], eax
call fcn.710513c0
mov edx, dword [ebp - 0x64]
test eax, eax
mov dword [ebp - 0x60], eax
jne 0x71051bbd
mov eax, dword [edx + 8]
mov ebx, dword [eax + 0x18]
test ebx, ebx
jne 0x71051ac0
lock sub dword [edx], 1
je 0x71051bae
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.7105a330
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp], esi
mov eax, dword [ebp - 0x78]
call eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
jmp 0x71051508
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 + 8]
mov edx, dword [ebp - 0x5c]
test eax, eax
mov dword [ecx + 0x24], eax
je 0x71051c76
mov eax, dword [edi + 0xc]
xor esi, esi
test eax, eax
je 0x71051bd6
mov dword [ebp - 0x5c], edi
mov ecx, dword [ebp + 8]
mov edi, edx
jmp 0x710519a9
lea eax, [ebp - 0x38]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp + 8], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.710503e0
test eax, eax
jne 0x71051bf3
mov eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
jne 0x710519c1
mov eax, dword [ebp - 0x5c]
add esi, 1
cmp esi, dword [eax + 0xc]
jae 0x71051bd8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
cmp ebx, edi
jae 0x71051a01
cmp dword [ebp - 0x60], 1
jne 0x71051960
mov eax, dword [ecx + 0x24]
mov dword [eax + ebx*4], esi
add ebx, 1
jmp 0x7105199a
mov dword [ebp - 0x60], 0
jmp 0x7105145d
mov dword [esp + 0xc], 0x7106b62c
mov dword [esp + 8], str.exec_assoc_view
mov dword [esp + 4], 0x71061810
mov dword [esp], 0
call fcn.71050050
jmp 0x710513fa
lea eax, [edi + edi]
shl edi, 3
mov dword [ebp - 0x64], eax
mov dword [esp + 4], edi
mov eax, dword [ecx + 0x24]
mov dword [ebp + 8], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x71051c76
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x64]
mov dword [ecx + 0x24], eax
jmp 0x710519bb
mov dword [ebp - 0x60], 0x8007000e
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x71051a49
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
mov eax, edi
call eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x71051a82
mov edx, dword [eax]
mov dword [ebp - 0x5c], ecx
mov dword [esp], eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x5c]
sub esp, 4
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], ecx
mov dword [esp], eax
call fcn.7105a330
mov ecx, dword [ebp - 0x5c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
mov eax, ecx
pop edi
pop ebp
ret
xor ebx, ebx
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.7105a330
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp], ebx
mov eax, dword [ebp - 0x78]
jmp 0x71051a56
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x60], edx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.7105cc70
mov edx, dword [ebp - 0x60]
mov ebx, eax
lock sub dword [edx], 1
je 0x71051bb0
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.7105a330
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp], esi
mov eax, dword [ebp - 0x78]
call eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantClear]
sub esp, 4
test ebx, ebx
je 0x71051508
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 0x71051c80
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 0x71051508
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], 0
test eax, eax
jne 0x71051806
mov dword [esp], esi
mov edi, dword [ebp - 0x78]
call edi
mov dword [esp], ebx
call edi
jmp 0x710518fd
xor eax, eax
jmp 0x7105161d
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], 0x71061810
mov dword [esp], 1
call fcn.71050050
jmp 0x7105147d
xor ebx, ebx
mov dword [esp], edx
call fcn.71051240
jmp 0x71051adf
mov ebx, esi
lock sub dword [edx], 1
jne 0x71051a9f
mov dword [esp], edx
call fcn.71051240
jmp 0x71051a9f
xor ebx, ebx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x20], ebx
jmp 0x71051415
mov dword [ebp - 0x60], 0x8007000e
mov ebx, esi
jmp 0x71051a9f
mov ecx, eax
jmp 0x71051415
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x7c]
mov ebx, dword [eax + 0x18]
test ebx, ebx
je 0x71051a6a
mov dword [ebp - 0x5c], ecx
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 0x71051c94
mov dword [ecx + 0x20], ebx
mov ecx, dword [ebp - 0x5c]
jmp 0x71051a6a
call dword [edx + 8]
sub esp, 4
jmp 0x71051a67
call dword [sym.imp.oleaut32.dll_SysFreeString]
push edx
mov dword [ebp - 0x60], 0x8007000e
jmp 0x71051a58
mov ecx, 0x80041001
jmp 0x71051415
mov eax, dword [ebp - 0x64]
mov ebx, dword [sym.imp.oleaut32.dll_SysFreeString]
mov dword [esp], eax
call ebx
push eax
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
call ebx
push eax
jmp 0x71051c46
mov ecx, 0x8007000e
jmp 0x71051415
mov dword [esp], ebx
call fcn.7105cc50
mov dword [ebp - 0x60], 0x8007000e
jmp 0x71051a67
mov ecx, 0x8007000e
jmp 0x71051a6a