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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
mov esi, edx
mov dword [esp + 4], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x20], eax
push edi
mov eax, dword [esi + 0x34]
movups xmm0, xmmword [edx]
mov edi, dword [ecx]
mov dword [esp + 0x18], esi
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0xc], edi
movq xmm0, qword [edx + 0x10]
movq qword [esp + 0x40], xmm0
mov edx, dword [eax + 0x30]
mov dword [esp + 0x14], eax
test edx, edx
jne 0x100a9e2d
cmp dword [eax + 0x3c], edx
jne 0x100a9e2d
mov edi, dword [ecx + 8]
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x100a95bb
cmp dword [ecx + 0x74], edi
jne 0x100a95b0
mov eax, dword [esp + 0xc]
test byte [eax + 0x4c], 8
jne 0x100a95b0
mov byte [ecx + 0x17], 1
call fcn.1006c740
mov edi, eax
mov dword [esp + 0x1c], eax
cmp byte [esp + 0x30], 0xc
jne 0x100a95df
mov ecx, dword [esi + 0x1c]
mov edx, 0x64
push dword [ecx]
mov ecx, edi
push dword [esp + 0x38]
call fcn.1006cac0
add esp, 8
mov byte [esp + 0x30], 0xe
mov eax, dword [esi + 4]
test eax, 0x400
je 0x100a962a
mov edx, dword [esi + 0x3c]
mov eax, esi
mov dword [esp + 0x20], edx
mov ecx, 1
xor edx, edx
mov dword [esp + 0x28], eax
cmp dword [esp + 0x20], edx
mov dword [esp + 0x10], ecx
sete dl
cmp dword [esi + 0x44], 0
jne 0x100a9627
nop
mov eax, dword [eax + 0x34]
test eax, eax
je 0x100a9655
add ecx, edx
mov dword [esp + 0x28], eax
cmp dword [eax + 0x44], 0
mov dword [esp + 0x10], ecx
je 0x100a9610
mov eax, dword [esi + 4]
test eax, 0x2000
je 0x100a96b8
mov edi, dword [esp + 8]
lea eax, [esp + 0x30]
push eax
mov edx, esi
mov ecx, edi
call fcn.100a8fc0
add esp, 4
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x100a9c90
mov edi, dword [esp + 8]
cmp ecx, 1
mov edx, 0x101087c4
mov eax, 0x10106a08
cmovne eax, edx
push eax
push ecx
push str.SCAN__d_CONSTANT_ROW_s
push 0
push edi
call fcn.1006ce80
mov esi, dword [esp + 0x3c]
add esp, 0x14
nop
push 1
push 1
lea eax, [esp + 0x38]
mov edx, esi
push eax
push 0
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.100a6c50
add esp, 0x18
cmp dword [esp + 0x20], 0
jne 0x100a96b1
mov eax, dword [esp + 0x10]
mov word [esi + 2], ax
mov esi, dword [esi + 0x38]
test esi, esi
jne 0x100a9680
xor esi, esi
jmp 0x100a9dfa
cmp dword [esi + 0x30], 0
je 0x100a96d5
push dword [ebp + 8]
mov ecx, dword [esp + 0xc]
mov edx, esi
call fcn.100aa260
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x34], 0
jne 0x100a9709
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x10]
call fcn.1006ce80
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x10]
call fcn.1006ce80
mov ecx, dword [esp + 0x20]
add esp, 0xc
movzx eax, byte [esi]
sub eax, 0x84
je 0x100a9a5a
sub eax, 1
je 0x100a9930
sub eax, 1
je 0x100a9a5a
mov ecx, dword [esp + 8]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x24], edx
push edx
lea eax, [edx + 1]
mov edx, 0x64
mov dword [esp + 0x30], eax
inc eax
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.1006cac0
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [esi + 0x38]
mov ecx, esi
test eax, eax
je 0x100a9769
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x100a9760
or dword [ecx + 4], 0x20
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x54], 1
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call fcn.100ad7f0
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x100a9df6
push eax
push dword [esp + 0x2c]
lea edx, [eax + 0x64]
mov ecx, edi
call fcn.1006cac0
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x3c]
movzx ecx, byte [esi]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esp + 0x5c], eax
call fcn.100a79e0
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x1c]
call fcn.1006ce80
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
mov edx, esi
call fcn.100ad7f0
mov dword [esp + 0x2c], eax
add esp, 0x1c
mov eax, dword [esi + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
movzx eax, word [eax + 2]
cmp word [esi + 2], ax
jle 0x100a9830
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x100a9840
mov ecx, dword [esp + 0xc]
call fcn.100821c0
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x3c], eax
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.100a8cd0
add esp, 4
mov edx, 0x25
mov ecx, edi
push esi
push dword [esp + 0x24]
call fcn.1006cac0
mov ecx, dword [esp + 0x10]
call fcn.10088f70
mov esi, eax
mov edx, 0x7e
push esi
push dword [esp + 0x2c]
mov ecx, edi
call fcn.1006cac0
mov ecx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esp + 0x24]
mov edx, 0x1d
push 0
push esi
dec eax
push eax
push dword [esp + 0x44]
call fcn.1006cf50
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.10088f90
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push eax
lea esi, [eax - 1]
push esi
lea eax, [esp + 0x58]
push eax
push 0
push 0
push dword [esp + 0x54]
call fcn.100a6c50
mov edx, esi
mov esi, dword [esp + 0x54]
mov ecx, esi
call fcn.1006d0d0
push edi
mov edi, dword [esp + 0x5c]
mov edx, 5
push edi
mov ecx, esi
call fcn.1006cac0
mov edx, dword [esp + 0x54]
add esp, 0x40
mov ecx, esi
call fcn.1006d0d0
lea eax, [edi + 1]
mov edx, 0x74
push 0
push eax
mov ecx, esi
call fcn.1006cac0
push 0
push edi
mov edx, 0x74
mov ecx, esi
call fcn.1006cac0
add esp, 0x10
jmp 0x100a9c48
xor eax, eax
mov edx, ecx
mov dword [esp + 0x28], 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 + 0x30]
mov ecx, dword [esp + 8]
push eax
call fcn.100ad7f0
mov ecx, eax
mov dword [esi + 0x3c], 0
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x100a9df6
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x100a99b7
push ecx
mov edx, 0x14
mov ecx, edi
call fcn.1006ca60
mov ecx, dword [esi + 0xc]
add esp, 4
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x100a99b7
push ecx
inc ecx
mov edx, 0x98
push ecx
push dword [esi + 8]
mov ecx, edi
call fcn.1006c990
add esp, 0xc
push str.UNION_ALL
push 1
push dword [esp + 0x10]
call fcn.1006ce80
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x3c]
add esp, 0xc
mov edx, esi
push eax
call fcn.100ad7f0
mov cx, word [esi + 2]
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
mov dx, word [eax + 2]
call fcn.10051e60
mov edx, dword [esp + 0x14]
movzx ecx, ax
mov dword [esp + 0x20], ecx
mov word [esi + 2], ax
mov ecx, dword [edx + 0x3c]
test ecx, ecx
je 0x100a9a40
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x2c]
call fcn.100836c0
test eax, eax
je 0x100a9a40
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x100a9a40
cdq
push edx
push eax
call fcn.10051ed0
add esp, 8
cmp word [esp + 0x20], ax
jle 0x100a9a40
mov word [esi + 2], ax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100a9c4c
mov edx, eax
mov ecx, edi
call fcn.1006d3a0
jmp 0x100a9c4c
cmp byte [esp + 0x30], 1
jne 0x100a9a6b
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
jmp 0x100a9ab1
mov ecx, dword [esp + 8]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x24], edx
push edx
lea eax, [edx + 1]
mov edx, 0x64
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.1006cac0
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [esi + 0x38]
mov ecx, esi
test eax, eax
je 0x100a9aa9
nop word [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x100a9aa0
or dword [ecx + 4], 0x20
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 8]
mov ecx, edi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x6c], 1
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.100ad7f0
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x100a9df6
cmp byte [esi], 0x86
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x2c], eax
sete al
mov dword [esi + 0x3c], ecx
inc al
movzx ecx, byte [esi]
mov byte [esp + 0x68], al
call fcn.100a79e0
push eax
push str._s_USING_TEMP_B_TREE
push 1
push edi
call fcn.1006ce80
lea eax, [esp + 0x78]
mov edx, esi
push eax
mov ecx, edi
call fcn.100ad7f0
mov edx, dword [esi + 0x30]
add esp, 0x14
mov dword [esp + 0x10], eax
test edx, edx
je 0x100a9b4b
mov ecx, dword [esp + 0xc]
call fcn.100832f0
cmp byte [esi], 0x84
mov eax, dword [esi + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], 0
jne 0x100a9b76
mov dx, word [eax + 2]
mov cx, word [esi + 2]
call fcn.10051e60
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x100a9b86
mov ecx, dword [esp + 0xc]
call fcn.100821c0
cmp byte [esp + 0x30], 1
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
je 0x100a9c50
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x51], 0
jne 0x100a9c50
mov esi, dword [edi + 0x38]
mov eax, dword [esp + 8]
dec esi
mov edx, dword [esp + 0x18]
mov ecx, eax
push esi
mov dword [esp + 0x2c], esi
lea edi, [esi - 1]
mov dword [eax + 0x38], edi
call fcn.100a8cd0
add esp, 4
mov edx, 0x25
push esi
push dword [esp + 0x24]
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.1006cac0
push dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov esi, dword [esi + 0x6c]
push edi
push eax
push 0
push 0
push dword [esp + 0x3c]
call fcn.100a6c50
mov edx, edi
mov edi, dword [esp + 0x3c]
mov ecx, edi
call fcn.1006d0d0
push esi
mov esi, dword [esp + 0x44]
mov edx, 5
push esi
mov ecx, edi
call fcn.1006cac0
mov edx, dword [esp + 0x50]
mov ecx, edi
call fcn.1006d0d0
push 0
push esi
mov edx, 0x74
mov ecx, edi
call fcn.1006cac0
add esp, 0x30
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 8]
cmp dword [esi + 0x38], 0
jne 0x100a9c90
mov ecx, dword [edi + 0xd4]
test ecx, ecx
jne 0x100a9c64
xor eax, eax
jmp 0x100a9c8a
mov edx, dword [edi + 8]
test ecx, ecx
jns 0x100a9c6f
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x100a9c7e
mov eax, 0x10128828
jmp 0x100a9c87
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [edi + 0xd4], eax
cmp dword [edi + 0x24], 0
jne 0x100a9df6
test byte [esi + 4], 0x20
je 0x100a9df6
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0xc]
push 1
mov edx, dword [eax]
mov dword [esp + 0x24], edx
call fcn.100a7870
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
test edi, edi
jne 0x100a9ccd
lea esi, [eax + 7]
jmp 0x100a9dfa
mov edx, dword [esp + 0x20]
lea eax, [edi + 0x14]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x28], eax
test edx, edx
jle 0x100a9d30
mov edi, dword [esp + 8]
push eax
mov edx, esi
mov ecx, edi
call fcn.100a8e10
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x100a9d06
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
add ecx, 4
mov edx, dword [esp + 0x20]
inc eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ecx
cmp eax, edx
jl 0x100a9ce6
mov edi, dword [esp + 0x2c]
nop dword [eax]
nop word [eax + eax]
lea eax, [esi + 0x14]
mov dword [esp + 0x28], 0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
test eax, eax
js 0x100a9dd4
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x51], 0
je 0x100a9d62
mov eax, 0x10128828
jmp 0x100a9d67
mov eax, dword [esi + 0x68]
add eax, ecx
mov dword [eax + 8], edx
inc dword [edi]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x100a9d8a
push edi
mov edx, 0xfffffff7
mov ecx, eax
call fcn.1006d4d0
mov edx, dword [esp + 0x24]
add esp, 4
jmp 0x100a9db1
mov eax, dword [esi + 0x68]
add eax, ecx
cmp byte [eax + 1], 0
je 0x100a9daa
push 0xfffffffffffffff7
push edi
mov edx, eax
mov ecx, esi
call fcn.1006d670
mov edx, dword [esp + 0x28]
add esp, 8
jmp 0x100a9db1
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x14], eax
cmp ecx, 2
jl 0x100a9d43
mov esi, dword [esp + 0x18]
mov esi, dword [esi + 0x34]
mov dword [esp + 0x18], esi
test esi, esi
jne 0x100a9d30
add dword [edi], 0xffffffff
jne 0x100a9df6
mov ecx, dword [edi + 0xc]
mov edx, edi
call fcn.1004d770
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100a9e25
push 1
mov edx, eax
mov ecx, edi
call fcn.100a5d50
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi]
sub eax, 0x85
je 0x100a9e56
sub eax, 1
je 0x100a9e4f
sub eax, 1
je 0x100a9e48
mov eax, str.UNION
jmp 0x100a9e5b
mov eax, str.INTERSECT
jmp 0x100a9e5b
mov eax, str.EXCEPT
jmp 0x100a9e5b
mov eax, str.UNION_ALL
push eax
test edx, edx
mov eax, str.ORDER_BY
mov esi, str.LIMIT
cmove eax, esi
push eax
push str._s_clause_should_come_after__s_not_before
push ecx
call fcn.10050b70
add esp, 0x10
mov esi, 1
jmp 0x100a9dfe