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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
push esi
push edi
mov edi, edx
mov dword [esp + 0xc], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
movups xmm0, xmmword [edx]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x34]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x20], edi
movq xmm0, qword [edx + 0x10]
movq qword [esp + 0x50], xmm0
mov edx, dword [eax + 0x30]
mov dword [esp + 0x18], eax
test edx, edx
jne 0x100b4451
cmp dword [eax + 0x3c], edx
jne 0x100b4451
mov esi, dword [ecx + 8]
mov dword [esp + 0x28], esi
test esi, esi
jne 0x100b35d2
cmp dword [ecx + 0x74], esi
jne 0x100b35c7
mov eax, dword [esp + 0x24]
test byte [eax + 0x4c], 8
jne 0x100b35c7
mov byte [ecx + 0x17], 1
call fcn.1006da60
mov esi, eax
mov dword [esp + 0x28], eax
mov cl, byte [esp + 0x40]
cmp cl, 0xc
jne 0x100b363d
mov eax, dword [edi]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x70], ecx
jg 0x100b3604
push 0
push edx
push eax
mov edx, 0x71
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
jmp 0x100b3637
mov edi, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov cl, 0xe
mov byte [esp + 0x40], cl
mov eax, dword [edi + 8]
test eax, 0x400
je 0x100b36dd
mov eax, dword [edi + 0x3c]
xor edx, edx
test eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x34]
mov ecx, 1
sete dl
mov dword [esp + 0x38], ecx
test eax, eax
je 0x100b367f
nop dword [eax]
mov edi, eax
add ecx, edx
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x100b3670
mov dword [esp + 0x38], ecx
mov esi, dword [esp + 0xc]
cmp ecx, 1
mov edx, 0x101c37fc
mov eax, 0x101a51a4
cmovne eax, edx
push eax
push ecx
push str.SCAN__d_CONSTANT_ROW_s
push 0
push esi
call fcn.1006dff0
add esp, 0x14
push 1
push 1
lea eax, [esp + 0x48]
mov edx, edi
push eax
push 0
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.100b0150
add esp, 0x18
cmp dword [esp + 0x34], 0
jne 0x100b36d6
mov eax, dword [esp + 0x38]
mov word [edi + 6], ax
mov edi, dword [edi + 0x38]
test edi, edi
jne 0x100b36a5
xor esi, esi
jmp 0x100b4420
test eax, 0x2000
je 0x100b36fc
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, edi
call fcn.100b2e60
add esp, 4
jmp 0x100b4297
cmp dword [edi + 0x30], 0
je 0x100b3719
push dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.100b4d00
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x34], 0
jne 0x100b3751
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x14]
call fcn.1006dff0
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x14]
call fcn.1006dff0
mov cl, byte [esp + 0x4c]
add esp, 0xc
mov edx, dword [esp + 0x18]
movzx eax, byte [edi + 4]
sub eax, 0x7f
je 0x100b3e7b
sub eax, 1
je 0x100b3bfc
sub eax, 1
je 0x100b3e7b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0x1c], eax
inc eax
mov dword [ecx + 0x28], eax
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x100b37a7
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x71
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
mov edx, eax
jmp 0x100b37de
mov edi, dword [esp + 0x10]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x18], edx
mov ecx, edi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x100b37f9
nop word [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x100b37f0
or dword [ecx + 8], 0x20
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x64], 1
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
call fcn.100b8350
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x100b441c
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x100b3864
push eax
push eax
push dword [esp + 0x24]
lea edx, [eax + 0x71]
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
mov edx, eax
jmp 0x100b389b
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x1c], edx
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
movzx eax, byte [edi + 4]
mov dword [edi + 0x34], 0
mov dword [edi + 0x3c], 0
sub eax, 0x80
je 0x100b38e5
sub eax, 1
je 0x100b38de
sub eax, 1
je 0x100b38d7
mov eax, str.UNION
jmp 0x100b38ea
mov eax, str.INTERSECT
jmp 0x100b38ea
mov eax, str.EXCEPT
jmp 0x100b38ea
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.1006dff0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x70]
push eax
mov edx, edi
call fcn.100b8350
mov dword [esp + 0x28], eax
add esp, 0x14
mov eax, dword [edi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x34], eax
movzx eax, word [eax + 6]
cmp word [edi + 6], ax
jle 0x100b392e
mov word [edi + 6], ax
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x100b393e
mov ecx, dword [esp + 0x24]
call fcn.10083ab0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov dword [edi + 0x3c], eax
mov eax, dword [ecx + 0x38]
dec eax
push eax
mov dword [esp + 0x30], eax
lea edx, [eax - 1]
mov dword [esp + 0x1c], edx
mov dword [ecx + 0x38], edx
mov edx, edi
call fcn.100b29c0
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x100b398a
mov edx, dword [esp + 0x2c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x18]
mov edx, 0x24
call fcn.1006dd00
add esp, 0xc
jmp 0x100b39bd
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
mov al, byte [ecx + 0x13]
test al, al
jne 0x100b39d0
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
jmp 0x100b39df
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov edx, dword [ecx + eax*4 + 0x94]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
cmp dword [esi + 0x70], ecx
jg 0x100b3a0f
push 0
push edx
push dword [esp + 0x18]
mov edx, 0x7f
mov ecx, esi
call fcn.1006dd00
mov edx, dword [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x100b3a42
mov edi, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x3c], ecx
cmp dword [esi + 0x70], ecx
jg 0x100b3a6e
push edx
push dword [esp + 0x1c]
mov edx, 0x1c
mov ecx, esi
push dword [esp + 0x24]
call fcn.1006dd00
mov edx, dword [esp + 0x40]
add esp, 0xc
mov ecx, eax
jmp 0x100b3aa5
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x100b3ac0
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
test edx, edx
je 0x100b3adc
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x100b3adc
movzx eax, al
mov dword [ecx + eax*4 + 0x94], edx
inc byte [ecx + 0x13]
push dword [esp + 0x2c]
lea eax, [esp + 0x44]
mov edx, edi
push dword [esp + 0x1c]
push eax
push 0
push 0
push dword [esp + 0x24]
call fcn.100b0150
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x18]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100b3b19
push edx
mov edx, esi
call fcn.1006e160
add esp, 4
jmp 0x100b3b22
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100b3b46
mov edx, dword [esp + 0x38]
mov ecx, esi
push 0
push edx
push dword [esp + 0x18]
mov edx, 5
call fcn.1006dd00
add esp, 0xc
jmp 0x100b3b79
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100b3b97
push edx
mov edx, esi
call fcn.1006e160
add esp, 4
jmp 0x100b3ba0
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100b3bc4
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x75
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
jmp 0x100b41f3
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x100b41f3
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [edi + 0x3c]
mov dword [edx + 0x3c], eax
lea eax, [esp + 0x40]
push eax
call fcn.100b8350
mov ecx, eax
mov dword [edi + 0x3c], 0
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x100b441c
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
mov eax, dword [eax + 0x10]
mov dword [edi + 0x10], eax
test edx, edx
je 0x100b3d10
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x34], ecx
cmp dword [esi + 0x70], ecx
jg 0x100b3c7b
push 0
push 0
push edx
mov edx, 0x14
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x100b3cae
mov edi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x10]
test edx, edx
je 0x100b3d10
mov ecx, dword [edi + 0xc]
lea eax, [edx + 1]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100b3cde
push edx
push eax
push dword [esp + 0x40]
mov edx, 0x98
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
jmp 0x100b3d10
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], esi
lea esi, [edx + 1]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x98
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push str.UNION_ALL
push 1
push dword [esp + 0x14]
call fcn.1006dff0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, edi
push eax
call fcn.100b8350
movzx ecx, word [edi + 6]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x34], eax
mov dword [esp + 0x3c], ecx
movsx ecx, cx
movzx eax, word [eax + 6]
mov dword [esp + 0x38], eax
movsx edx, ax
cmp word [esp + 0x3c], ax
jl 0x100b3d8f
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x100b3d72
movzx eax, word [edi + 6]
jmp 0x100b3dc0
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x100b3d80
movzx eax, word [edi + 6]
inc eax
jmp 0x100b3dbd
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 6]
jmp 0x100b3dba
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x100b3d9f
mov ecx, dword [esp + 0x38]
movzx eax, cx
jmp 0x100b3dc0
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x100b3dad
mov eax, dword [esp + 0x38]
inc eax
jmp 0x100b3dbd
sub edx, ecx
mov ecx, dword [esp + 0x38]
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, cx
movzx eax, ax
mov edx, dword [esp + 0x18]
mov word [edi + 6], ax
mov dword [esp + 0x1c], eax
mov ecx, dword [edx + 0x3c]
test ecx, ecx
je 0x100b3e3d
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x100b3e3d
test dword [ecx + 4], 0x400
je 0x100b3de8
mov eax, dword [ecx + 8]
jmp 0x100b3e23
movzx eax, byte [ecx]
sub eax, 0xa5
je 0x100b3e0d
sub eax, 1
jne 0x100b3e3d
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.10085050
test eax, eax
je 0x100b3e3d
mov eax, dword [esp + 0x3c]
jmp 0x100b3e23
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.10085050
test eax, eax
je 0x100b3e3d
mov eax, dword [esp + 0x3c]
neg eax
test eax, eax
jle 0x100b3e3d
cdq
push edx
push eax
call fcn.10050e10
add esp, 8
cmp word [esp + 0x1c], ax
jle 0x100b3e3d
mov word [edi + 6], ax
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x100b4247
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x100b3e61
mov eax, 0x101ea7fc
mov dword [eax + 8], edx
jmp 0x100b4247
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x100b4247
cmp cl, 1
jne 0x100b3e8d
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
jmp 0x100b3f14
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x10], edx
lea eax, [edx + 1]
mov dword [ecx + 0x28], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x3c], ecx
cmp dword [esi + 0x70], ecx
jg 0x100b3ec4
push 0
push 0
push edx
mov edx, 0x71
mov ecx, esi
call fcn.1006dd00
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x100b3efb
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x18], eax
mov ecx, edi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x100b3f10
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x100b3f07
or dword [ecx + 8], 0x20
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x78]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x18]
push eax
mov byte [esp + 0x7c], 1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
call fcn.100b8350
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x100b441c
cmp byte [edi + 4], 0x81
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x34], eax
sete al
inc al
mov dword [edi + 0x3c], ecx
mov byte [esp + 0x78], al
movzx eax, byte [edi + 4]
sub eax, 0x80
je 0x100b3fa5
sub eax, 1
je 0x100b3f9e
sub eax, 1
je 0x100b3f97
mov eax, str.UNION
jmp 0x100b3faa
mov eax, str.INTERSECT
jmp 0x100b3faa
mov eax, str.EXCEPT
jmp 0x100b3faa
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.1006dff0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x88]
push eax
mov edx, edi
call fcn.100b8350
mov edx, dword [edi + 0x30]
add esp, 0x14
mov dword [esp + 0x14], eax
test edx, edx
je 0x100b3fe5
mov ecx, dword [esp + 0x24]
call fcn.10084bd0
cmp byte [edi + 4], 0x7f
mov eax, dword [edi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], 0
jne 0x100b407c
movzx eax, word [eax + 6]
movzx ecx, word [edi + 6]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
movsx ecx, cx
movsx edx, ax
cmp word [esp + 0x3c], ax
jl 0x100b4047
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x100b402a
movzx eax, word [edi + 6]
jmp 0x100b4078
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x100b4038
movzx eax, word [edi + 6]
inc eax
jmp 0x100b4075
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 6]
jmp 0x100b4072
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x100b4057
mov ecx, dword [esp + 0x38]
movzx eax, cx
jmp 0x100b4078
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x100b4065
mov eax, dword [esp + 0x38]
inc eax
jmp 0x100b4075
sub edx, ecx
mov ecx, dword [esp + 0x38]
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, cx
movzx eax, ax
mov word [edi + 6], ax
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x100b408c
mov ecx, dword [esp + 0x24]
call fcn.10083ab0
cmp byte [esp + 0x40], 1
mov eax, dword [esp + 0x34]
mov dword [edi + 0x3c], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
je 0x100b4247
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x38]
dec eax
push eax
mov dword [esp + 0x30], eax
lea edx, [eax - 1]
mov dword [esp + 0x3c], edx
mov dword [ecx + 0x38], edx
mov edx, edi
call fcn.100b29c0
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x100b40f1
mov edx, dword [esp + 0x2c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x18]
mov edx, 0x24
call fcn.1006dd00
add esp, 0xc
jmp 0x100b4124
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x2c]
mov eax, dword [esi + 0x6c]
mov edx, edi
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x48]
push eax
push 0
push 0
push dword [esp + 0x24]
call fcn.100b0150
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x38]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100b416c
push edx
mov edx, esi
call fcn.1006e160
add esp, 4
jmp 0x100b4175
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100b4199
mov edx, dword [esp + 0x34]
mov ecx, esi
push 0
push edx
push dword [esp + 0x18]
mov edx, 5
call fcn.1006dd00
add esp, 0xc
jmp 0x100b41cc
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x100b41ea
push edx
mov edx, esi
call fcn.1006e160
add esp, 4
jmp 0x100b41f3
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x100b4214
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x75
mov ecx, esi
call fcn.1006dd00
add esp, 0xc
jmp 0x100b4247
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4], 0x75
cmp dword [edi + 0x38], 0
jne 0x100b4297
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xd4]
test edx, edx
jne 0x100b425f
xor eax, eax
jmp 0x100b4291
mov eax, dword [ecx + 8]
mov dword [esp + 0x3c], eax
test edx, edx
jns 0x100b426e
mov edx, dword [eax + 0x6c]
dec edx
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x100b427d
mov eax, 0x101ea7fc
jmp 0x100b428e
mov eax, dword [esp + 0x3c]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov dword [ecx + 0xd4], eax
test byte [edi + 8], 0x20
je 0x100b441c
mov eax, dword [edi]
mov ecx, dword [esp + 0x24]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x38], eax
call fcn.100b13c0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100b42c9
lea esi, [eax + 7]
jmp 0x100b4420
xor ecx, ecx
lea edx, [eax + 0x14]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x34], ecx
jle 0x100b4360
mov esi, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov eax, dword [edi + 0x34]
test eax, eax
je 0x100b430a
push ecx
mov edx, eax
mov ecx, esi
call fcn.100b2cd0
mov ecx, dword [esp + 0x30]
add esp, 4
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x100b432f
jmp 0x100b430c
xor eax, eax
mov esi, dword [edi]
cmp ecx, dword [esi]
mov esi, dword [esp + 0xc]
jge 0x100b432f
mov eax, dword [edi]
mov ecx, esi
mov edx, dword [esp + 0x38]
mov edx, dword [eax + edx + 4]
call fcn.100829c0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov dword [edx], eax
test eax, eax
jne 0x100b433e
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov dword [edx], eax
add dword [esp + 0x38], 0x18
inc ecx
add edx, 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], edx
cmp ecx, dword [esp + 0x34]
jl 0x100b42e8
mov esi, dword [esp + 0x28]
nop dword [eax]
lea eax, [edi + 0x18]
mov dword [esp + 0x38], 0
mov edi, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
test eax, eax
js 0x100b4400
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x51], 0
je 0x100b4392
mov eax, 0x101ea7fc
jmp 0x100b4397
mov eax, dword [esi + 0x68]
add eax, ecx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
inc dword [edi]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x100b43ba
push edi
mov edx, 0xfffffff7
mov ecx, eax
call fcn.1006e520
add esp, 4
jmp 0x100b43dd
mov eax, dword [esi + 0x68]
add eax, ecx
cmp byte [eax + 1], 0
je 0x100b43d6
push 0xfffffffffffffff7
push edi
mov edx, eax
mov ecx, esi
call fcn.1006e6a0
add esp, 8
jmp 0x100b43dd
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x38], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x2c], eax
cmp ecx, 2
jl 0x100b4373
mov edi, dword [esp + 0x20]
mov edi, dword [edi + 0x34]
mov dword [esp + 0x20], edi
test edi, edi
jne 0x100b4360
mov ecx, dword [esp + 0x18]
call fcn.100b1480
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
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 0x100b4449
mov ecx, dword [esp + 0x24]
mov edx, eax
push 1
call fcn.100aed90
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [edi + 4]
sub eax, 0x80
je 0x100b447b
sub eax, 1
je 0x100b4474
sub eax, 1
je 0x100b446d
mov eax, str.UNION
jmp 0x100b4480
mov eax, str.INTERSECT
jmp 0x100b4480
mov eax, str.EXCEPT
jmp 0x100b4480
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.1004fb10
add esp, 0x10
mov esi, 1
jmp 0x100b4420