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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x831184]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, edx
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
movups xmm0, xmmword [edi]
mov eax, dword [edi + 0x18]
mov edx, dword [esi + 0x34]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x34], edi
movq xmm0, qword [edi + 0x10]
mov edi, dword [ecx + 8]
mov dword [esp + 0x24], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], eax
mov dword [esp + 0x2c], edi
test edi, edi
jne 0x6dc216
cmp dword [ecx + 0x80], edi
jne 0x6dc20b
mov eax, dword [esp + 0x28]
test byte [eax + 0x50], 8
jne 0x6dc20b
mov byte [ecx + 0x17], 1
call fcn.00696a70
mov edi, eax
mov dword [esp + 0x2c], eax
cmp byte [esp + 0x40], 0xc
jne 0x6dc23a
mov ecx, dword [esi + 0x1c]
mov edx, 0x76
push dword [ecx]
mov ecx, edi
push dword [esp + 0x48]
call fcn.00696d90
add esp, 8
mov byte [esp + 0x40], 0xe
mov eax, dword [esi + 4]
test eax, 0x400
je 0x6dc28a
mov edx, dword [esi + 0x3c]
mov eax, esi
mov dword [esp + 0x1c], edx
mov ecx, 1
xor edx, edx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x1c], edx
mov dword [esp + 0x10], ecx
sete dl
cmp dword [esi + 0x44], 0
jne 0x6dc287
nop dword [eax]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x6dc2d8
add ecx, edx
mov dword [esp + 0x20], eax
cmp dword [eax + 0x44], 0
mov dword [esp + 0x10], ecx
je 0x6dc270
mov eax, dword [esi + 4]
test eax, 0x2000
je 0x6dc2a7
mov eax, esi
test dword [eax + 4], 0x2000
je 0x6dc33a
mov eax, dword [eax + 0x34]
test eax, eax
jne 0x6dc293
cmp dword [esi + 0x30], 0
je 0x6dc35a
mov ecx, dword [esp + 0x34]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x10]
call fcn.006dce60
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xc]
cmp ecx, 1
mov edx, 0x7e1b9c
mov eax, 0x7d7468
cmovne eax, edx
push eax
push ecx
push str.SCAN__d_CONSTANT_ROW_s
push 0
push edi
call fcn.00697280
mov esi, dword [esp + 0x34]
add esp, 0x14
push 1
push 1
lea eax, [esp + 0x48]
mov edx, esi
push eax
push 0
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.006d9750
add esp, 0x18
cmp dword [esp + 0x1c], 0
jne 0x6dc333
mov eax, dword [esp + 0x10]
mov word [esi + 2], ax
mov esi, dword [esi + 0x38]
test esi, esi
jne 0x6dc302
xor esi, esi
jmp 0x6dcada
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, esi
mov ecx, edi
call fcn.006dbaa0
add esp, 4
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x6dc92b
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x34], 0
jne 0x6dc38e
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x14]
call fcn.00697280
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x14]
call fcn.00697280
mov ecx, dword [esp + 0x20]
add esp, 0xc
movzx eax, byte [esi]
sub eax, 0x86
je 0x6dc6ea
sub eax, 1
je 0x6dc5c8
sub eax, 1
je 0x6dc6ea
mov ecx, dword [esp + 0xc]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x14], edx
push edx
lea eax, [edx + 1]
mov edx, 0x76
mov dword [esp + 0x24], eax
inc eax
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.00696d90
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [esi + 0x38]
mov ecx, esi
test eax, eax
je 0x6dc3eb
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x6dc3e2
or dword [ecx + 4], 0x20
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x68], 1
mov dword [esp + 0x70], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.006e22e0
mov ecx, eax
add esp, 4
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x6dcad2
push eax
push dword [esp + 0x20]
lea edx, [eax + 0x76]
mov ecx, edi
call fcn.00696d90
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x3c]
movzx ecx, byte [esi]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esp + 0x70], eax
call fcn.006da210
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x20]
call fcn.00697280
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x7c]
push eax
mov edx, esi
call fcn.006e22e0
mov ecx, eax
add esp, 0x1c
mov eax, dword [esi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
mov dword [esp + 0x18], ecx
movzx eax, word [eax + 2]
cmp word [esi + 2], ax
jle 0x6dc4bc
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x6dc4d0
mov ecx, dword [esp + 0x28]
call fcn.006ae8a0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x3c], eax
test ecx, ecx
jne 0x6dc8ef
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
mov esi, dword [ecx + 0x38]
dec esi
push esi
mov dword [esp + 0x18], esi
lea eax, [esi - 1]
mov dword [ecx + 0x38], eax
call fcn.006db790
add esp, 4
mov edx, 0x24
mov ecx, edi
push esi
push dword [esp + 0x14]
call fcn.00696d90
mov ecx, dword [esp + 0x14]
call fcn.006b6690
mov esi, eax
mov edx, 0x86
push esi
push dword [esp + 0x1c]
mov ecx, edi
call fcn.00696d90
mov ecx, dword [esp + 0x3c]
mov edi, eax
mov eax, dword [esp + 0x24]
mov edx, 0x1c
push 0
push esi
dec eax
push eax
push dword [esp + 0x38]
call fcn.00696e70
mov ecx, dword [esp + 0x2c]
mov edx, esi
call fcn.006b66b0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
push eax
lea esi, [eax - 1]
push esi
lea eax, [esp + 0x68]
push eax
push 0
push 0
push dword [esp + 0x44]
call fcn.006d9750
mov edx, esi
mov esi, dword [esp + 0x64]
mov ecx, esi
call fcn.006974a0
push edi
mov edi, dword [esp + 0x4c]
mov edx, 0x27
push edi
mov ecx, esi
call fcn.00696d90
mov edx, dword [esp + 0x54]
add esp, 0x40
mov ecx, esi
call fcn.006974a0
lea eax, [edi + 1]
mov edx, 0x7a
push 0
push eax
mov ecx, esi
call fcn.00696d90
push 0
push edi
mov edx, 0x7a
mov ecx, esi
call fcn.00696d90
add esp, 0x10
jmp 0x6dc8eb
xor eax, eax
mov edx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x3c], eax
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0xc]
push eax
call fcn.006e22e0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov dword [eax + 0x3c], 0
test ecx, ecx
jne 0x6dcad2
mov dword [esi + 0x34], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x6dc653
push ecx
mov edx, 0x11
mov ecx, edi
call fcn.00696d30
mov ecx, dword [esi + 0xc]
add esp, 4
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x6dc653
push ecx
inc ecx
mov edx, 0xa0
push ecx
push dword [esi + 8]
mov ecx, edi
call fcn.00696e00
add esp, 0xc
push str.UNION_ALL
push 1
push dword [esp + 0x14]
call fcn.00697280
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, esi
push eax
call fcn.006e22e0
mov cx, word [esi + 2]
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
mov dx, word [eax + 2]
call fcn.00678370
mov ecx, dword [esi + 0x3c]
mov word [esi + 2], ax
test ecx, ecx
je 0x6dc6d0
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.006b00a0
test eax, eax
je 0x6dc6d0
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x6dc6d0
cdq
push edx
push eax
call fcn.006783e0
add esp, 8
cmp word [esi + 2], ax
jle 0x6dc6d0
mov word [esi + 2], ax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6dc8ef
mov edx, eax
mov ecx, edi
call fcn.00697760
jmp 0x6dc8ef
cmp byte [esp + 0x40], 1
jne 0x6dc6fb
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
jmp 0x6dc741
mov ecx, dword [esp + 0xc]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x14], edx
push edx
lea eax, [edx + 1]
mov edx, 0x76
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.00696d90
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [esi + 0x38]
mov ecx, esi
test eax, eax
je 0x6dc739
nop word [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x6dc730
or dword [ecx + 4], 0x20
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov ecx, edi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x84], 1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call fcn.006e22e0
mov ecx, eax
add esp, 4
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x6dcad6
cmp byte [esi], 0x88
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x3c], eax
sete al
mov dword [esi + 0x3c], ecx
inc al
movzx ecx, byte [esi]
mov byte [esp + 0x80], al
call fcn.006da210
push eax
push str._s_USING_TEMP_B_TREE
push 1
push edi
call fcn.00697280
lea eax, [esp + 0x90]
mov edx, esi
push eax
mov ecx, edi
call fcn.006e22e0
mov dword [esp + 0x2c], eax
add esp, 0x14
cmp byte [esi], 0x86
mov eax, dword [esi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], 0
jne 0x6dc819
mov dx, word [eax + 2]
mov cx, word [esi + 2]
call fcn.00678370
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x6dc829
mov ecx, dword [esp + 0x28]
call fcn.006ae8a0
cmp byte [esp + 0x40], 1
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
je 0x6dc8f3
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x57], 0
jne 0x6dc8f3
mov esi, dword [edi + 0x38]
mov eax, dword [esp + 0xc]
dec esi
mov edx, dword [esp + 0x24]
mov ecx, eax
push esi
mov dword [esp + 0x40], esi
lea edi, [esi - 1]
mov dword [eax + 0x38], edi
call fcn.006db790
add esp, 4
mov edx, 0x24
push esi
push dword [esp + 0x14]
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.00696d90
push dword [esp + 0x44]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esi + 0x6c]
push edi
push eax
push 0
push 0
push dword [esp + 0x2c]
call fcn.006d9750
mov edx, edi
mov edi, dword [esp + 0x4c]
mov ecx, edi
call fcn.006974a0
push esi
mov esi, dword [esp + 0x34]
mov edx, 0x27
push esi
mov ecx, edi
call fcn.00696d90
mov edx, dword [esp + 0x64]
mov ecx, edi
call fcn.006974a0
push 0
push esi
mov edx, 0x7a
mov ecx, edi
call fcn.00696d90
add esp, 0x30
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0xc]
cmp dword [esi + 0x38], 0
jne 0x6dc92b
mov ecx, dword [edi + 0xe8]
test ecx, ecx
jne 0x6dc907
xor eax, eax
jmp 0x6dc925
mov edx, dword [edi + 8]
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x6dc919
mov eax, 0x83fd04
jmp 0x6dc922
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [edi + 0xe8], eax
cmp dword [edi + 0x24], 0
jne 0x6dcad6
test byte [esi + 4], 0x20
je 0x6dcad6
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x28]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x24], eax
call fcn.006da0e0
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
test edi, edi
jne 0x6dc96e
mov edi, dword [esp + 0xc]
lea esi, [eax + 7]
jmp 0x6dcada
xor ecx, ecx
lea edx, [edi + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x20], ecx
jle 0x6dca10
mov edi, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
nop dword [eax]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x6dc9b2
push ecx
mov edx, eax
mov ecx, edi
call fcn.006db8f0
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x6dc9d9
jmp 0x6dc9b4
xor eax, eax
mov edi, dword [esi + 0x1c]
cmp ecx, dword [edi]
mov edi, dword [esp + 0xc]
jge 0x6dc9d9
mov eax, dword [esi + 0x1c]
mov ecx, edi
mov edx, dword [esp + 0x1c]
mov edx, dword [eax + edx + 8]
call fcn.006ad4e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edx], eax
test eax, eax
jne 0x6dc9e8
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 8]
mov dword [edx], eax
add dword [esp + 0x1c], 0x14
inc ecx
add edx, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
cmp ecx, dword [esp + 0x20]
jl 0x6dc990
mov edi, dword [esp + 0x38]
nop dword [eax]
nop word [eax + eax]
lea eax, [esi + 0x14]
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
test eax, eax
js 0x6dcab0
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x57], 0
je 0x6dca42
mov eax, 0x83fd04
jmp 0x6dca47
mov eax, dword [esi + 0x68]
add eax, ecx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], edx
inc dword [edi]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x6dca6a
push edi
mov edx, 0xfffffff8
mov ecx, eax
call fcn.00697820
add esp, 4
jmp 0x6dca8d
mov eax, dword [esi + 0x68]
add eax, ecx
cmp byte [eax + 1], 0
je 0x6dca86
push 0xfffffffffffffff8
push edi
mov edx, eax
mov ecx, esi
call fcn.006979a0
add esp, 8
jmp 0x6dca8d
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x10], eax
cmp ecx, 2
jl 0x6dca23
mov esi, dword [esp + 0x24]
mov esi, dword [esi + 0x34]
mov dword [esp + 0x24], esi
test esi, esi
jne 0x6dca10
add dword [edi], 0xffffffff
jne 0x6dcad2
mov ecx, dword [edi + 0xc]
mov edx, edi
call fcn.00672230
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x6dcb04
push eax
mov edx, 0x6d8630
mov ecx, edi
call fcn.006d7990
add esp, 4
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret