Function at 0x100b5620
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 0x100b5f58
cmp dword [eax + 0x3c], edx
jne 0x100b5f58
mov edi, dword [ecx + 8]
mov dword [esp + 0x2c], edi
test edi, edi
jne 0x100b56b0
cmp dword [ecx + 0x74], edi
jne 0x100b56a5
mov eax, dword [esp + 0x18]
test byte [eax + 0x4c], 8
jne 0x100b56a5
mov byte [ecx + 0x17], 1
call fcn.100719b0
mov edi, eax
mov dword [esp + 0x2c], eax
cmp byte [esp + 0x40], 0xc
jne 0x100b56d4
mov ecx, dword [esi + 0x1c]
mov edx, 0x64
push dword [ecx]
mov ecx, edi
push dword [esp + 0x48]
call fcn.10071d10
add esp, 8
mov byte [esp + 0x40], 0xe
mov eax, dword [esi + 4]
test eax, 0x400
je 0x100b571d
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 0x100b571a
mov eax, dword [eax + 0x34]
test eax, eax
je 0x100b5748
add ecx, edx
mov dword [esp + 0x20], eax
cmp dword [eax + 0x44], 0
mov dword [esp + 0x10], ecx
je 0x100b5703
mov eax, dword [esi + 4]
test eax, 0x2000
je 0x100b57aa
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, esi
mov ecx, edi
call fcn.100b5070
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], eax
jmp 0x100b5d6b
mov edi, dword [esp + 0xc]
cmp ecx, 1
mov edx, 0x101ced44
mov eax, 0x101b2535
cmovne eax, edx
push eax
push ecx
push str.SCAN__d_CONSTANT_ROW_s
push 0
push edi
call fcn.100720f0
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.100b2c30
add esp, 0x18
cmp dword [esp + 0x24], 0
jne 0x100b57a3
mov eax, dword [esp + 0x10]
mov word [esi + 2], ax
mov esi, dword [esi + 0x38]
test esi, esi
jne 0x100b5772
xor esi, esi
jmp 0x100b5f16
cmp dword [esi + 0x30], 0
je 0x100b57d7
mov ecx, dword [esp + 0x34]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x10]
call fcn.100b6380
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x34], 0
jne 0x100b580b
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x14]
call fcn.100720f0
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x14]
call fcn.100720f0
mov ecx, dword [esp + 0x20]
add esp, 0xc
movzx eax, byte [esi]
sub eax, 0x84
je 0x100b5b66
sub eax, 1
je 0x100b5a44
sub eax, 1
je 0x100b5b66
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.10071d10
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [esi + 0x38]
mov ecx, esi
test eax, eax
je 0x100b5869
nop
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x100b5860
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.100b9cf0
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x100b5f12
push eax
push dword [esp + 0x28]
lea edx, [eax + 0x64]
mov ecx, edi
call fcn.10071d10
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.100b39c0
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x20]
call fcn.100720f0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x84]
push eax
mov edx, esi
call fcn.100b9cf0
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 0x100b5938
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x100b594c
mov ecx, dword [esp + 0x18]
call fcn.100890b0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x3c], eax
test ecx, ecx
jne 0x100b5d5a
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.100b4dc0
add esp, 4
mov edx, 0x25
mov ecx, edi
push esi
push dword [esp + 0x14]
call fcn.10071d10
mov ecx, dword [esp + 0x14]
call fcn.10090830
mov esi, eax
mov edx, 0x7e
push esi
push dword [esp + 0x1c]
mov ecx, edi
call fcn.10071d10
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.10072210
mov ecx, dword [esp + 0x2c]
mov edx, esi
call fcn.10090850
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.100b2c30
mov edx, esi
mov esi, dword [esp + 0x64]
mov ecx, esi
call fcn.10072380
push edi
mov edi, dword [esp + 0x4c]
mov edx, 5
push edi
mov ecx, esi
call fcn.10071d10
mov edx, dword [esp + 0x54]
add esp, 0x40
mov ecx, esi
call fcn.10072380
lea eax, [edi + 1]
mov edx, 0x74
push 0
push eax
mov ecx, esi
call fcn.10071d10
push 0
push edi
mov edx, 0x74
mov ecx, esi
call fcn.10071d10
add esp, 0x10
jmp 0x100b5d56
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.100b9cf0
mov ecx, eax
mov dword [esi + 0x3c], 0
add esp, 4
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x100b5f12
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 0x100b5acb
push ecx
mov edx, 0x14
mov ecx, edi
call fcn.10071cb0
mov ecx, dword [esi + 0xc]
add esp, 4
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x100b5acb
push ecx
inc ecx
mov edx, 0x98
push ecx
push dword [esi + 8]
mov ecx, edi
call fcn.10071be0
add esp, 0xc
push str.UNION_ALL
push 1
push dword [esp + 0x14]
call fcn.100720f0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, esi
push eax
call fcn.100b9cf0
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.10055580
mov edx, dword [esp + 0x14]
mov word [esi + 2], ax
mov ecx, dword [edx + 0x3c]
test ecx, ecx
je 0x100b5b4c
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.1008a710
test eax, eax
je 0x100b5b4c
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x100b5b4c
cdq
push edx
push eax
call fcn.100555f0
add esp, 8
cmp word [esi + 2], ax
jle 0x100b5b4c
mov word [esi + 2], ax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100b5d5a
mov edx, eax
mov ecx, edi
call fcn.10072640
jmp 0x100b5d5a
cmp byte [esp + 0x40], 1
jne 0x100b5b77
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
jmp 0x100b5bb7
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.10071d10
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [esi + 0x38]
mov ecx, esi
test eax, eax
je 0x100b5baf
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x100b5ba6
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.100b9cf0
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x100b5f12
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.100b39c0
push eax
push str._s_USING_TEMP_B_TREE
push 1
push edi
call fcn.100720f0
lea eax, [esp + 0x94]
mov edx, esi
push eax
mov ecx, edi
call fcn.100b9cf0
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 0x100b5c84
mov dx, word [eax + 2]
mov cx, word [esi + 2]
call fcn.10055580
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x100b5c94
mov ecx, dword [esp + 0x18]
call fcn.100890b0
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 0x100b5d5e
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x51], 0
jne 0x100b5d5e
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.100b4dc0
add esp, 4
mov edx, 0x25
push esi
push dword [esp + 0x14]
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.10071d10
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.100b2c30
mov edx, edi
mov edi, dword [esp + 0x4c]
mov ecx, edi
call fcn.10072380
push esi
mov esi, dword [esp + 0x34]
mov edx, 5
push esi
mov ecx, edi
call fcn.10071d10
mov edx, dword [esp + 0x48]
mov ecx, edi
call fcn.10072380
push 0
push esi
mov edx, 0x74
mov ecx, edi
call fcn.10071d10
add esp, 0x30
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0xc]
cmp dword [esi + 0x38], 0
jne 0x100b5d6b
mov ecx, edi
call fcn.10072150
cmp dword [edi + 0x24], 0
jne 0x100b5f12
test byte [esi + 4], 0x20
je 0x100b5f12
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.100b3860
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
test edi, edi
jne 0x100b5daa
lea esi, [eax + 7]
jmp 0x100b5f16
xor ecx, ecx
lea edx, [edi + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x20], ecx
jle 0x100b5e50
mov edi, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
nop dword [eax]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x100b5df2
push ecx
mov edx, eax
mov ecx, edi
call fcn.100b4f10
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x100b5e19
jmp 0x100b5df4
xor eax, eax
mov edi, dword [esi + 0x1c]
cmp ecx, dword [edi]
mov edi, dword [esp + 0xc]
jge 0x100b5e19
mov eax, dword [esi + 0x1c]
mov ecx, edi
mov edx, dword [esp + 0x24]
mov edx, dword [eax + edx + 4]
call fcn.10087ed0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edx], eax
test eax, eax
jne 0x100b5e28
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 0x100b5dd0
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 0x100b5ef0
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x51], 0
je 0x100b5e82
mov eax, 0x101fccb8
jmp 0x100b5e87
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 0x100b5eaa
push edi
mov edx, 0xfffffff7
mov ecx, eax
call fcn.100727b0
add esp, 4
jmp 0x100b5ecd
mov eax, dword [esi + 0x68]
add eax, ecx
cmp byte [eax + 1], 0
je 0x100b5ec6
push 0xfffffffffffffff7
push edi
mov edx, eax
mov ecx, esi
call fcn.10072970
add esp, 8
jmp 0x100b5ecd
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 0x100b5e63
mov esi, dword [esp + 0x28]
mov esi, dword [esi + 0x34]
mov dword [esp + 0x28], esi
test esi, esi
jne 0x100b5e50
add dword [edi], 0xffffffff
jne 0x100b5f12
mov ecx, dword [edi + 0xc]
mov edx, edi
call fcn.10050db0
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 0x100b5f42
push 1
mov edx, eax
mov ecx, edi
call fcn.100b1cc0
add esp, 4
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1015c7a5
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi]
sub eax, 0x85
je 0x100b5f81
sub eax, 1
je 0x100b5f7a
sub eax, 1
je 0x100b5f73
mov eax, str.UNION
jmp 0x100b5f86
mov eax, str.INTERSECT
jmp 0x100b5f86
mov eax, str.EXCEPT
jmp 0x100b5f86
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.10054280
add esp, 0x10
mov esi, 1
jmp 0x100b5f1a