Function at 0x6c7aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, edx
mov dword [esp + 0x3c], eax
mov ebp, ecx
mov edi, dword [eax + 0x20]
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov eax, dword [edi]
dec eax
test eax, eax
jle 0x6c806f
lea esi, [edi + 0x78]
lea edx, [edi + 0x18]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], edx
nop
cmp dword [edx], 0
mov eax, dword [esi - 0x18]
mov dword [esp + 0x34], eax
je 0x6c8051
test eax, eax
je 0x6c8051
mov al, byte [esi - 4]
and al, 0x20
movzx eax, al
neg eax
sbb eax, eax
add eax, 2
test byte [esi - 4], 4
mov dword [esp + 0x40], eax
je 0x6c7c65
xor ecx, ecx
test dword [esi], 0x400
mov dword [esp + 0x2c], ecx
jne 0x6c8079
cmp dword [esi + 8], ecx
jne 0x6c8079
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0x20], ecx
cmp bx, word [eax + 0x22]
mov ebx, dword [esp + 0x14]
jge 0x6c7c57
xor edx, edx
mov ebp, ecx
mov dword [esp + 0x30], edx
jmp 0x6c7b56
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
test byte [edx + eax + 0xe], 2
jne 0x6c7c22
mov ebp, dword [edx + eax]
xor esi, esi
test ebx, ebx
js 0x6c7c1e
add edi, 0x18
mov ebx, dword [edi]
mov edx, ebp
mov ecx, ebx
call fcn.006c7840
test eax, eax
js 0x6c7b8f
mov ecx, dword [ebx + 4]
add eax, eax
test byte [ecx + eax*8 + 0xe], 2
je 0x6c7ba4
mov ebx, dword [esp + 0x14]
inc esi
add edi, 0x48
cmp esi, ebx
jle 0x6c7b74
mov ecx, dword [esp + 0x2c]
jmp 0x6c7c16
mov ebx, dword [esp + 0x18]
mov ecx, ebx
mov edx, dword [esp + 0x2c]
push 0
call fcn.006ac230
mov ecx, eax
add esp, 4
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x6c7c12
test ebp, ebp
jne 0x6c7bcf
mov eax, dword [ecx]
xor esi, esi
mov dword [ecx + eax*8], esi
jmp 0x6c7c12
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6c7bd4
sub ecx, edx
push 0
lea edi, [ecx + 1]
mov ecx, dword [ebx]
push edi
test ecx, ecx
je 0x6c7bf0
call fcn.00654db0
jmp 0x6c7bf5
call fcn.00654640
mov esi, eax
add esp, 8
test esi, esi
je 0x6c7c09
push edi
push ebp
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov dword [ecx + eax*8], esi
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
inc ebp
add edx, 0x10
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], edx
movsx eax, word [eax + 0x22]
cmp ebp, eax
jl 0x6c7b52
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
test ecx, ecx
je 0x6c7c57
or dword [esi], 0x1400
mov dword [esi + 8], ecx
cmp dword [ebp + 0x24], 0
jne 0x6c8089
mov eax, dword [esp + 0x40]
test dword [esi], 0x400
mov ecx, dword [esi + 8]
je 0x6c8015
cmp dword [ecx], 0
mov eax, dword [ebp]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 0
jle 0x6c8051
lea eax, [ecx + 8]
mov dword [esp + 0x20], eax
mov ebp, dword [eax]
mov edx, ebp
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x44], ebp
call fcn.006c7840
mov dword [esp + 0x48], eax
test eax, eax
js 0x6c8096
mov ecx, dword [esi]
lea eax, [esp + 0x38]
shr ecx, 0xc
xor edx, edx
and ecx, 1
push ecx
push eax
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
push ebp
push ebx
call fcn.006c78e0
add esp, 0x14
test eax, eax
je 0x6c8096
mov esi, dword [esp + 0x38]
mov edx, edi
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
push esi
push ebx
call fcn.0068fc10
mov edx, dword [esp + 0x18]
lea ecx, [ebx + ebx*8]
add esp, 8
mov edi, eax
test dword [edx + ecx*8 + 0x30], 0x2000
je 0x6c7d17
mov ecx, dword [edx + ecx*8 + 0x1c]
lea eax, [esi + esi*4]
mov ecx, dword [ecx + 0x1c]
or dword [ecx + eax*4 + 0x14], 0x40
test byte [edx + 0x2c], 0x40
je 0x6c7f5b
mov eax, dword [esp + 0x1c]
lea edx, [ebx + 1]
mov ebx, dword [esp + 0x10]
xor esi, esi
mov ecx, ebx
mov eax, dword [eax]
shr eax, 0xc
and eax, 1
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x2c]
push eax
push ebp
push dword [esp + 0x24]
call fcn.006c78e0
add esp, 0x14
test eax, eax
je 0x6c7eda
jmp 0x6c7d60
mov eax, dword [esp + 0x24]
lea eax, [eax + eax*8]
test dword [ebx + eax*8 + 0x30], 0x400
lea ebx, [ebx + eax*8]
je 0x6c7e64
mov ecx, dword [ebx + 0x38]
mov edx, ebp
call fcn.006ac3f0
test eax, eax
js 0x6c7e64
test esi, esi
jne 0x6c7d9f
mov eax, dword [esp + 0x18]
mov edx, edi
mov ecx, dword [eax]
call fcn.00694270
mov esi, eax
jmp 0x6c7de9
mov eax, dword [esi]
lea edx, [eax + 1]
cmp dword [esi + 4], edx
jge 0x6c7dbe
mov eax, dword [esp + 0x18]
mov edx, esi
push edi
mov ecx, dword [eax]
call fcn.006942e0
add esp, 4
mov esi, eax
jmp 0x6c7de9
lea eax, [eax + eax*4]
mov dword [esi], edx
lea ecx, [esi + eax*4]
mov eax, dword [0x7fbb30]
mov dword [ecx + 0xc], eax
mov eax, dword [0x7fbb34]
mov dword [ecx + 0x10], eax
mov eax, dword [0x7fbb38]
mov dword [ecx + 0x14], eax
mov eax, dword [0x7fbb3c]
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], edi
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
push ebp
push dword [esp + 0x28]
call fcn.0068fc10
add esp, 8
mov edi, eax
test dword [ebx + 0x30], 0x2000
je 0x6c7e21
mov eax, dword [ebx + 0x1c]
mov ecx, dword [eax + 0x1c]
lea eax, [ebp*4]
add eax, ebp
or dword [ecx + eax*4 + 0x14], 0x40
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x10]
mov ecx, ebx
mov eax, dword [eax]
shr eax, 0xc
lea edx, [edx + 1]
and eax, 1
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x2c]
push eax
push ebp
push dword [esp + 0x24]
call fcn.006c78e0
add esp, 0x14
test eax, eax
jne 0x6c7d60
mov ebx, dword [esp + 0x18]
jmp 0x6c7e77
mov ebx, dword [esp + 0x18]
push ebp
push str.ambiguous_reference_to__s_in_USING__
push ebx
call fcn.00658480
add esp, 0xc
test esi, esi
je 0x6c7ed6
mov eax, dword [esi]
lea edx, [eax + 1]
cmp dword [esi + 4], edx
jge 0x6c7e96
mov ecx, dword [ebx]
mov edx, esi
push edi
call fcn.006942e0
add esp, 4
mov esi, eax
jmp 0x6c7ec1
lea eax, [eax + eax*4]
mov dword [esi], edx
lea ecx, [esi + eax*4]
mov eax, dword [0x7fbb30]
mov dword [ecx + 0xc], eax
mov eax, dword [0x7fbb34]
mov dword [ecx + 0x10], eax
mov eax, dword [0x7fbb38]
mov dword [ecx + 0x14], eax
mov eax, dword [0x7fbb3c]
mov dword [ecx + 0x18], eax
mov dword [ecx + 8], edi
push 0
push 0x8005a4
mov edx, esi
mov ecx, ebx
call fcn.00692fd0
add esp, 8
mov edi, eax
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, ebx
mov esi, dword [esp + 0x48]
inc eax
mov ecx, dword [esp + 0x30]
push esi
push eax
call fcn.0068fc10
mov ebx, eax
add esp, 8
mov eax, dword [esp + 0x1c]
test dword [eax], 0x2000
je 0x6c7f0f
mov ecx, dword [eax - 0x14]
mov edx, dword [ecx + 0x1c]
lea ecx, [esi + esi*4]
or dword [edx + ecx*4 + 0x14], 0x40
mov ebp, dword [esp + 0x18]
push 0
push 0x34
mov ecx, dword [ebp]
call fcn.00654db0
mov esi, eax
add esp, 8
test esi, esi
je 0x6c7fb6
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x35
add esp, 0xc
mov word [esi + 0x22], ax
test ebx, ebx
je 0x6c7f62
mov dword [esi + 0x10], ebx
mov eax, dword [ebx + 4]
and eax, 0x400208
or dword [esi + 4], eax
mov ecx, dword [ebx + 0x18]
inc ecx
jmp 0x6c7f67
mov ebx, edx
jmp 0x6c7eda
mov ecx, 1
mov dword [esi + 0x18], ecx
mov edx, ecx
test edi, edi
je 0x6c7f8b
mov dword [esi + 0xc], edi
mov eax, dword [edi + 4]
and eax, 0x400208
or dword [esi + 4], eax
mov eax, dword [edi + 0x18]
cmp eax, ecx
jl 0x6c7f8b
lea edx, [eax + 1]
mov dword [esi + 0x18], edx
mov eax, dword [ebp]
mov eax, dword [eax + 0x84]
cmp edx, eax
jle 0x6c7fa7
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebp
call fcn.00658480
add esp, 0xc
mov eax, dword [esp + 0x40]
or dword [esi + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x24], eax
jmp 0x6c7fd2
test edi, edi
je 0x6c7fc4
mov ecx, dword [ebp]
mov edx, edi
call fcn.006934d0
test ebx, ebx
je 0x6c7fd2
mov ecx, dword [ebp]
mov edx, ebx
call fcn.006934d0
mov ebx, dword [esp + 0x3c]
mov ecx, ebp
push esi
mov edx, dword [ebx + 0x24]
call fcn.00692db0
mov ecx, dword [esp + 0x30]
add esp, 4
mov edx, dword [esp + 0x4c]
inc ecx
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
add eax, 8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
cmp ecx, dword [edx]
jl 0x6c7c97
jmp 0x6c804d
test ecx, ecx
je 0x6c8051
mov edx, dword [esi + 4]
push eax
call fcn.006c7980
mov eax, dword [esp + 0x40]
add esp, 4
mov ecx, ebp
push dword [esi + 8]
mov edx, dword [eax + 0x24]
call fcn.00692db0
mov ecx, dword [esp + 0x40]
add esp, 4
mov dword [ecx + 0x24], eax
or dword [esi], 0x800
mov dword [esi + 8], 0
mov edx, dword [esp + 0x28]
mov eax, dword [edi]
inc ebx
add esi, 0x48
mov dword [esp + 0x14], ebx
add edx, 0x48
mov dword [esp + 0x1c], esi
dec eax
mov dword [esp + 0x28], edx
cmp ebx, eax
jl 0x6c7ae0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push str.a_NATURAL_join_may_not_have_an_ON_or_USING_clause
push ebp
call fcn.00658480
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push ebp
push str.cannot_join_using_column__s___column_not_present_in_both_tables
push dword [esp + 0x20]
call fcn.00658480
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret