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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x101f62b4]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
mov esi, edx
mov dword [esp + 8], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov eax, dword [esi + 0x34]
movups xmm0, xmmword [edx]
push edi
mov edi, dword [ecx]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x28], esi
movq xmm0, qword [edx + 0x10]
movq qword [esp + 0x50], xmm0
mov edx, dword [eax + 0x30]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
test edx, edx
jne 0x100b69a8
cmp dword [eax + 0x3c], edx
jne 0x100b69a8
mov edi, dword [ecx + 8]
mov dword [esp + 0x2c], edi
test edi, edi
jne 0x100b6100
cmp dword [ecx + 0x74], edi
jne 0x100b60f5
mov eax, dword [esp + 0x18]
test byte [eax + 0x4c], 8
jne 0x100b60f5
mov byte [ecx + 0x17], 1
call fcn.10072400
mov edi, eax
mov dword [esp + 0x2c], eax
cmp byte [esp + 0x40], 0xc
jne 0x100b6124
mov ecx, dword [esi + 0x1c]
mov edx, 0x64
push dword [ecx]
mov ecx, edi
push dword [esp + 0x48]
call fcn.10072760
add esp, 8
mov byte [esp + 0x40], 0xe
mov eax, dword [esi + 4]
test eax, 0x400
je 0x100b616d
mov edx, dword [esi + 0x3c]
mov eax, esi
mov dword [esp + 0x24], edx
mov ecx, 1
xor edx, edx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x24], edx
mov dword [esp + 0x10], ecx
sete dl
cmp dword [esi + 0x44], 0
jne 0x100b616a
mov eax, dword [eax + 0x34]
test eax, eax
je 0x100b6198
add ecx, edx
mov dword [esp + 0x20], eax
cmp dword [eax + 0x44], 0
mov dword [esp + 0x10], ecx
je 0x100b6153
mov eax, dword [esi + 4]
test eax, 0x2000
je 0x100b61fa
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, esi
mov ecx, edi
call fcn.100b5ac0
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x100b67bb
mov edi, dword [esp + 0xc]
cmp ecx, 1
mov edx, 0x101ceb44
mov eax, 0x101b24b5
cmovne eax, edx
push eax
push ecx
push str.SCAN__d_CONSTANT_ROW_s
push 0
push edi
call fcn.10072b40
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.100b3680
add esp, 0x18
cmp dword [esp + 0x24], 0
jne 0x100b61f3
mov eax, dword [esp + 0x10]
mov word [esi + 2], ax
mov esi, dword [esi + 0x38]
test esi, esi
jne 0x100b61c2
xor esi, esi
jmp 0x100b6966
cmp dword [esi + 0x30], 0
je 0x100b6227
mov ecx, dword [esp + 0x34]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x10]
call fcn.100b6dd0
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1015c875
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x34], 0
jne 0x100b625b
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x14]
call fcn.10072b40
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x14]
call fcn.10072b40
mov ecx, dword [esp + 0x20]
add esp, 0xc
movzx eax, byte [esi]
sub eax, 0x84
je 0x100b65b6
sub eax, 1
je 0x100b6494
sub eax, 1
je 0x100b65b6
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, 0x64
mov dword [esp + 0x2c], eax
inc eax
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.10072760
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [esi + 0x38]
mov ecx, esi
test eax, eax
je 0x100b62b9
nop
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x100b62b0
or dword [ecx + 4], 0x20
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x70], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
call fcn.100ba740
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x100b6962
push eax
push dword [esp + 0x28]
lea edx, [eax + 0x64]
mov ecx, edi
call fcn.10072760
movzx ecx, byte [esi]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esp + 0x78], eax
call fcn.100b4410
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x20]
call fcn.10072b40
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x84]
push eax
mov edx, esi
call fcn.100ba740
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 + 0x1c], ecx
movzx eax, word [eax + 2]
cmp word [esi + 2], ax
jle 0x100b6388
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x100b639c
mov ecx, dword [esp + 0x18]
call fcn.10089b00
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x3c], eax
test ecx, ecx
jne 0x100b67aa
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
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.100b5810
add esp, 4
mov edx, 0x25
mov ecx, edi
push esi
push dword [esp + 0x14]
call fcn.10072760
mov ecx, dword [esp + 0x14]
call fcn.10091280
mov esi, eax
mov edx, 0x7e
push esi
push dword [esp + 0x1c]
mov ecx, edi
call fcn.10072760
mov ecx, dword [esp + 0x3c]
mov edi, eax
mov eax, dword [esp + 0x24]
mov edx, 0x1d
push 0
push esi
dec eax
push eax
push dword [esp + 0x40]
call fcn.10072c60
mov ecx, dword [esp + 0x2c]
mov edx, esi
call fcn.100912a0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
push eax
lea esi, [eax - 1]
push esi
lea eax, [esp + 0x68]
push eax
push 0
push 0
push dword [esp + 0x44]
call fcn.100b3680
mov edx, esi
mov esi, dword [esp + 0x64]
mov ecx, esi
call fcn.10072dd0
push edi
mov edi, dword [esp + 0x4c]
mov edx, 5
push edi
mov ecx, esi
call fcn.10072760
mov edx, dword [esp + 0x54]
add esp, 0x40
mov ecx, esi
call fcn.10072dd0
lea eax, [edi + 1]
mov edx, 0x74
push 0
push eax
mov ecx, esi
call fcn.10072760
push 0
push edi
mov edx, 0x74
mov ecx, esi
call fcn.10072760
add esp, 0x10
jmp 0x100b67a6
xor eax, eax
mov edx, ecx
mov dword [esp + 0x20], 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.100ba740
mov ecx, eax
mov dword [esi + 0x3c], 0
add esp, 4
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x100b6962
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 0x100b651b
push ecx
mov edx, 0x14
mov ecx, edi
call fcn.10072700
mov ecx, dword [esi + 0xc]
add esp, 4
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x100b651b
push ecx
inc ecx
mov edx, 0x98
push ecx
push dword [esi + 8]
mov ecx, edi
call fcn.10072630
add esp, 0xc
push str.UNION_ALL
push 1
push dword [esp + 0x14]
call fcn.10072b40
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, esi
push eax
call fcn.100ba740
mov cx, word [esi + 2]
add esp, 4
mov dword [esp + 0x1c], 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.10055fe0
mov edx, dword [esp + 0x14]
mov word [esi + 2], ax
mov ecx, dword [edx + 0x3c]
test ecx, ecx
je 0x100b659c
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.1008b160
test eax, eax
je 0x100b659c
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x100b659c
cdq
push edx
push eax
call fcn.10056050
add esp, 8
cmp word [esi + 2], ax
jle 0x100b659c
mov word [esi + 2], ax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100b67aa
mov edx, eax
mov ecx, edi
call fcn.10073090
jmp 0x100b67aa
cmp byte [esp + 0x40], 1
jne 0x100b65c7
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
jmp 0x100b6607
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, 0x64
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.10072760
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [esi + 0x38]
mov ecx, esi
test eax, eax
je 0x100b65ff
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x100b65f6
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 + 0x88], eax
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x88], 1
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call fcn.100ba740
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x100b6962
cmp byte [esi], 0x86
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 + 0x84], al
call fcn.100b4410
push eax
push str._s_USING_TEMP_B_TREE
push 1
push edi
call fcn.10072b40
lea eax, [esp + 0x94]
mov edx, esi
push eax
mov ecx, edi
call fcn.100ba740
mov dword [esp + 0x30], eax
add esp, 0x14
cmp byte [esi], 0x84
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 0x100b66d4
mov dx, word [eax + 2]
mov cx, word [esi + 2]
call fcn.10055fe0
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x100b66e4
mov ecx, dword [esp + 0x18]
call fcn.10089b00
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 0x100b67ae
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x51], 0
jne 0x100b67ae
mov esi, dword [edi + 0x38]
mov eax, dword [esp + 0xc]
dec esi
mov edx, dword [esp + 0x28]
mov ecx, eax
push esi
mov dword [esp + 0x24], esi
lea edi, [esi - 1]
mov dword [eax + 0x38], edi
call fcn.100b5810
add esp, 4
mov edx, 0x25
push esi
push dword [esp + 0x14]
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.10072760
push dword [esp + 0x28]
mov edx, dword [esp + 0x34]
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.100b3680
mov edx, edi
mov edi, dword [esp + 0x4c]
mov ecx, edi
call fcn.10072dd0
push esi
mov esi, dword [esp + 0x34]
mov edx, 5
push esi
mov ecx, edi
call fcn.10072760
mov edx, dword [esp + 0x48]
mov ecx, edi
call fcn.10072dd0
push 0
push esi
mov edx, 0x74
mov ecx, edi
call fcn.10072760
add esp, 0x30
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0xc]
cmp dword [esi + 0x38], 0
jne 0x100b67bb
mov ecx, edi
call fcn.10072ba0
cmp dword [edi + 0x24], 0
jne 0x100b6962
test byte [esi + 4], 0x20
je 0x100b6962
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x18]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x24], eax
call fcn.100b42b0
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
test edi, edi
jne 0x100b67fa
lea esi, [eax + 7]
jmp 0x100b6966
xor ecx, ecx
lea edx, [edi + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x20], ecx
jle 0x100b68a0
mov edi, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
nop dword [eax]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x100b6842
push ecx
mov edx, eax
mov ecx, edi
call fcn.100b5960
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x100b6869
jmp 0x100b6844
xor eax, eax
mov edi, dword [esi + 0x1c]
cmp ecx, dword [edi]
mov edi, dword [esp + 0xc]
jge 0x100b6869
mov eax, dword [esi + 0x1c]
mov ecx, edi
mov edx, dword [esp + 0x24]
mov edx, dword [eax + edx + 4]
call fcn.10088920
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edx], eax
test eax, eax
jne 0x100b6878
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
mov dword [edx], eax
add dword [esp + 0x24], 0x14
inc ecx
add edx, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
cmp ecx, dword [esp + 0x20]
jl 0x100b6820
mov edi, dword [esp + 0x38]
nop dword [eax]
nop word [eax + eax]
lea eax, [esi + 0x14]
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
test eax, eax
js 0x100b6940
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x51], 0
je 0x100b68d2
mov eax, 0x101fcbd8
jmp 0x100b68d7
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 + 0x51], 0
je 0x100b68fa
push edi
mov edx, 0xfffffff7
mov ecx, eax
call fcn.10073200
add esp, 4
jmp 0x100b691d
mov eax, dword [esi + 0x68]
add eax, ecx
cmp byte [eax + 1], 0
je 0x100b6916
push 0xfffffffffffffff7
push edi
mov edx, eax
mov ecx, esi
call fcn.100733c0
add esp, 8
jmp 0x100b691d
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x10], eax
cmp ecx, 2
jl 0x100b68b3
mov esi, dword [esp + 0x28]
mov esi, dword [esi + 0x34]
mov dword [esp + 0x28], esi
test esi, esi
jne 0x100b68a0
add dword [edi], 0xffffffff
jne 0x100b6962
mov ecx, dword [edi + 0xc]
mov edx, edi
call fcn.10051800
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100b6992
push 1
mov edx, eax
mov ecx, edi
call fcn.100b2710
add esp, 4
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1015c875
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi]
sub eax, 0x85
je 0x100b69d1
sub eax, 1
je 0x100b69ca
sub eax, 1
je 0x100b69c3
mov eax, str.UNION
jmp 0x100b69d6
mov eax, str.INTERSECT
jmp 0x100b69d6
mov eax, str.EXCEPT
jmp 0x100b69d6
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.10054cd0
add esp, 0x10
mov esi, 1
jmp 0x100b696a