Function at 0x61cec0
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 + 0x30], eax
mov eax, dword [ecx]
mov dword [esp + 0x24], eax
movups xmm0, xmmword [edx]
mov eax, dword [edi + 0x34]
mov dword [esp + 0x1c], edi
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x10], eax
movq xmm0, qword [edx + 0x10]
movq qword [esp + 0x50], xmm0
mov edx, dword [eax + 0x30]
test edx, edx
jne 0x61de24
cmp dword [eax + 0x3c], edx
jne 0x61de24
mov esi, dword [ecx + 8]
mov dword [esp + 0x28], esi
test esi, esi
jne 0x61cf3e
cmp dword [ecx + 0x74], esi
jne 0x61cf33
mov eax, dword [esp + 0x24]
test byte [eax + 0x4c], 8
jne 0x61cf33
mov byte [ecx + 0x17], 1
call fcn.005d64e0
mov esi, eax
mov dword [esp + 0x28], eax
cmp byte [esp + 0x40], 0xc
jne 0x61cfa7
mov ecx, dword [edi + 0x1c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x61cf6f
push 0
push edx
push eax
mov edx, 0x64
mov ecx, esi
call fcn.005d6700
add esp, 0xc
jmp 0x61cfa2
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
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esp + 0x40], 0xe
mov eax, dword [edi + 4]
test eax, 0x400
je 0x61cffa
mov edx, dword [edi + 0x3c]
mov eax, edi
test edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], 0
mov ecx, 1
mov edx, dword [esp + 0x2c]
sete dl
mov dword [esp + 0x38], eax
cmp dword [edi + 0x44], 0
mov dword [esp + 0x34], ecx
jne 0x61cff7
nop
mov eax, dword [eax + 0x34]
test eax, eax
je 0x61d065
add ecx, edx
mov dword [esp + 0x38], eax
cmp dword [eax + 0x44], 0
mov dword [esp + 0x34], ecx
je 0x61cfe0
mov eax, dword [edi + 4]
test eax, 0x2000
je 0x61d0c8
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, edi
call fcn.0061c7d0
add esp, 4
xor eax, eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x24], 0
jne 0x61ddef
test byte [edi + 4], 0x20
je 0x61ddef
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x24]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x38], eax
call fcn.0061ad70
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
test edi, edi
jne 0x61dc93
lea esi, [eax + 7]
jmp 0x61ddf3
mov edi, dword [esp + 0xc]
cmp ecx, 1
mov edx, 0x804454
mov eax, 0x798f50
cmovne eax, edx
push eax
push ecx
push str.SCAN__d_CONSTANT_ROW_s
push 0
push edi
call fcn.005d6b00
mov esi, dword [esp + 0x4c]
add esp, 0x14
nop
push 1
push 1
lea eax, [esp + 0x48]
mov edx, esi
push eax
push 0
push 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.00619b00
add esp, 0x18
cmp dword [esp + 0x20], 0
jne 0x61d0c1
mov eax, dword [esp + 0x34]
mov word [esi + 2], ax
mov esi, dword [esi + 0x38]
test esi, esi
jne 0x61d090
xor esi, esi
jmp 0x61ddf3
cmp dword [edi + 0x30], 0
je 0x61d0e5
push dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.0061e6f0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x34], 0
jne 0x61d119
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x14]
call fcn.005d6b00
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x14]
call fcn.005d6b00
mov ecx, dword [esp + 0x1c]
add esp, 0xc
movzx eax, byte [edi]
sub eax, 0x84
je 0x61d853
sub eax, 1
je 0x61d5c9
sub eax, 1
je 0x61d853
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0x20], eax
inc eax
mov dword [ecx + 0x28], eax
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x61d170
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x64
mov ecx, esi
call fcn.005d6700
add esp, 0xc
mov edx, eax
jmp 0x61d1a7
mov edi, dword [esp + 0x18]
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 + 0x1c]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x14], edx
mov ecx, edi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x61d1bc
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x61d1b3
or dword [ecx + 4], 0x20
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
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.00622020
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
test edx, edx
jne 0x61ddef
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x61d227
push eax
push eax
push dword [esp + 0x28]
lea edx, [eax + 0x64]
mov ecx, esi
call fcn.005d6700
add esp, 0xc
mov edx, eax
jmp 0x61d25e
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x64
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 eax, dword [edi + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x64], eax
movzx eax, byte [edi]
mov dword [edi + 0x34], 0
mov dword [edi + 0x3c], 0
sub eax, 0x85
je 0x61d2a7
sub eax, 1
je 0x61d2a0
sub eax, 1
je 0x61d299
mov eax, str.UNION
jmp 0x61d2ac
mov eax, str.INTERSECT
jmp 0x61d2ac
mov eax, str.EXCEPT
jmp 0x61d2ac
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.005d6b00
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x70]
push eax
mov edx, edi
call fcn.00622020
mov dword [esp + 0x28], eax
add esp, 0x14
mov eax, dword [edi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x34], eax
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x61d2f0
mov word [edi + 2], ax
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x61d300
mov ecx, dword [esp + 0x24]
call fcn.005ec4f0
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x38]
mov dword [edi + 0x3c], eax
jne 0x61dc25
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 + 0x14], edx
mov dword [ecx + 0x38], edx
mov edx, edi
call fcn.0061c320
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x61d357
mov edx, dword [esp + 0x2c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x20]
mov edx, 0x25
call fcn.005d6700
add esp, 0xc
jmp 0x61d38a
mov edx, dword [esp + 0x18]
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], 0x25
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 0x61d39d
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
jmp 0x61d3ac
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov edx, dword [ecx + eax*4 + 0x98]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
cmp dword [esi + 0x70], ecx
jg 0x61d3dc
push 0
push edx
push dword [esp + 0x20]
mov edx, 0x7e
mov ecx, esi
call fcn.005d6700
mov edx, dword [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x61d40f
mov edi, dword [esp + 0x18]
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 + 0x1c]
mov dword [eax + ecx*4], 0x7e
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 0x61d43b
push edx
push dword [esp + 0x14]
mov edx, 0x1d
mov ecx, esi
push dword [esp + 0x28]
call fcn.005d6700
mov edx, dword [esp + 0x40]
add esp, 0xc
mov ecx, eax
jmp 0x61d472
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 + 4], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x1d
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 0x61d48d
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 0x61d4a9
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x61d4a9
movzx eax, al
mov dword [ecx + eax*4 + 0x98], edx
inc byte [ecx + 0x13]
push dword [esp + 0x2c]
lea eax, [esp + 0x44]
mov edx, edi
push dword [esp + 0x14]
push eax
push 0
push 0
push dword [esp + 0x2c]
call fcn.00619b00
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x10]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x61d4e6
push edx
mov edx, esi
call fcn.005d6c70
add esp, 4
jmp 0x61d4ef
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 0x61d513
mov edx, dword [esp + 0x38]
mov ecx, esi
push 0
push edx
push dword [esp + 0x20]
mov edx, 5
call fcn.005d6700
add esp, 0xc
jmp 0x61d546
mov edx, dword [esp + 0x18]
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 0x61d564
push edx
mov edx, esi
call fcn.005d6c70
add esp, 4
jmp 0x61d56d
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 0x61d591
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x74
mov ecx, esi
call fcn.005d6700
add esp, 0xc
jmp 0x61dbd1
mov edx, 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], 0x74
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 0x61dbd1
xor eax, eax
mov edx, ecx
mov dword [esp + 0x38], eax
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x3c]
mov dword [ecx + 0x3c], eax
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0xc]
push eax
call fcn.00622020
mov edx, eax
mov dword [edi + 0x3c], 0
add esp, 4
mov dword [esp + 0x14], edx
test edx, edx
jne 0x61ddef
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
test edx, edx
je 0x61d6db
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x38], ecx
cmp dword [esi + 0x70], ecx
jg 0x61d64a
push 0
push 0
push edx
mov edx, 0x14
mov ecx, esi
call fcn.005d6700
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x61d679
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 + 0xc]
test edx, edx
je 0x61d6db
mov ecx, dword [edi + 8]
lea eax, [edx + 1]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x61d6a9
push edx
push eax
push dword [esp + 0x3c]
mov edx, 0x98
mov ecx, esi
call fcn.005d6700
add esp, 0xc
jmp 0x61d6db
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x34]
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.005d6b00
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, edi
push eax
call fcn.00622020
movzx ecx, word [edi + 2]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x34], eax
mov dword [esp + 0x3c], ecx
movsx ecx, cx
movzx eax, word [eax + 2]
movsx edx, ax
cmp word [esp + 0x3c], ax
jl 0x61d762
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x61d73d
movzx eax, word [edi + 2]
mov edx, dword [esp + 0x10]
jmp 0x61d79c
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x61d74f
movzx eax, word [edi + 2]
mov edx, dword [esp + 0x10]
inc eax
jmp 0x61d799
sub ecx, edx
mov edx, dword [esp + 0x10]
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
jmp 0x61d796
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x61d773
mov edx, dword [esp + 0x10]
movzx eax, word [edx + 2]
jmp 0x61d79c
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x61d785
mov edx, dword [esp + 0x10]
movzx eax, word [edx + 2]
inc eax
jmp 0x61d799
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0x10]
movzx ecx, word [edx + 2]
add ax, cx
movzx eax, ax
mov word [edi + 2], ax
mov ecx, dword [edx + 0x3c]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x61d815
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x61d815
test dword [ecx + 4], 0x400
je 0x61d7c0
mov eax, dword [ecx + 8]
jmp 0x61d7fb
movzx eax, byte [ecx]
sub eax, 0xaa
je 0x61d7e5
sub eax, 1
jne 0x61d815
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.005ed8a0
test eax, eax
je 0x61d815
mov eax, dword [esp + 0x3c]
jmp 0x61d7fb
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.005ed8a0
test eax, eax
je 0x61d815
mov eax, dword [esp + 0x3c]
neg eax
test eax, eax
jle 0x61d815
cdq
push edx
push eax
call fcn.005ba3b0
add esp, 8
cmp word [esp + 0x20], ax
jle 0x61d815
mov word [edi + 2], ax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x61dc25
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x61d839
mov eax, 0x87e714
mov dword [eax + 8], edx
jmp 0x61dc25
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 0x61dc25
cmp byte [esp + 0x40], 1
jne 0x61d867
mov edx, dword [esp + 0x44]
mov dword [esp + 0x18], edx
jmp 0x61d8ee
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x18], 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 0x61d89e
push 0
push 0
push edx
mov edx, 0x64
mov ecx, esi
call fcn.005d6700
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x61d8d5
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], 0x64
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 + 0x14], eax
mov ecx, edi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x61d8ea
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x61d8e1
or dword [ecx + 4], 0x20
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x78]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x10]
push eax
mov byte [esp + 0x7c], 1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
call fcn.00622020
mov edx, eax
add esp, 4
mov dword [esp + 0x14], edx
test edx, edx
jne 0x61ddef
cmp byte [edi], 0x86
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x38], eax
sete al
inc al
mov dword [edi + 0x3c], edx
mov byte [esp + 0x78], al
movzx eax, byte [edi]
sub eax, 0x85
je 0x61d97d
sub eax, 1
je 0x61d976
sub eax, 1
je 0x61d96f
mov eax, str.UNION
jmp 0x61d982
mov eax, str.INTERSECT
jmp 0x61d982
mov eax, str.EXCEPT
jmp 0x61d982
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.005d6b00
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x88]
push eax
mov edx, edi
call fcn.00622020
mov dword [esp + 0x28], eax
add esp, 0x14
cmp byte [edi], 0x84
mov eax, dword [edi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], 0
jne 0x61da4c
movzx ecx, word [edi + 2]
movzx eax, word [eax + 2]
mov dword [esp + 0x3c], ecx
movsx ecx, cx
movsx edx, ax
cmp word [esp + 0x3c], ax
jl 0x61da0e
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x61d9f1
movzx eax, word [edi + 2]
jmp 0x61da48
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x61d9ff
movzx eax, word [edi + 2]
inc eax
jmp 0x61da45
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
jmp 0x61da42
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x61da1f
mov edx, dword [esp + 0x10]
movzx eax, word [edx + 2]
jmp 0x61da48
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x61da31
mov edx, dword [esp + 0x10]
movzx eax, word [edx + 2]
inc eax
jmp 0x61da45
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0x10]
movzx ecx, word [edx + 2]
add ax, cx
movzx eax, ax
mov word [edi + 2], ax
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x61da5c
mov ecx, dword [esp + 0x24]
call fcn.005ec4f0
cmp byte [esp + 0x40], 1
mov eax, dword [esp + 0x38]
mov dword [edi + 0x3c], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
je 0x61dc25
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x51], 0
jne 0x61dc25
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.0061c320
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x61dacf
mov edx, dword [esp + 0x2c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x20]
mov edx, 0x25
call fcn.005d6700
add esp, 0xc
jmp 0x61db02
mov edx, dword [esp + 0x18]
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], 0x25
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 + 0x2c]
call fcn.00619b00
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 0x61db4a
push edx
mov edx, esi
call fcn.005d6c70
add esp, 4
jmp 0x61db53
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 0x61db77
mov edx, dword [esp + 0x34]
mov ecx, esi
push 0
push edx
push dword [esp + 0x20]
mov edx, 5
call fcn.005d6700
add esp, 0xc
jmp 0x61dbaa
mov edx, dword [esp + 0x18]
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 0x61dbc8
push edx
mov edx, esi
call fcn.005d6c70
add esp, 4
jmp 0x61dbd1
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 0x61dbf2
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x74
mov ecx, esi
call fcn.005d6700
add esp, 0xc
jmp 0x61dc25
mov edx, dword [esp + 0x18]
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], 0x74
cmp dword [edi + 0x38], 0
jne 0x61d01e
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xd8]
test edx, edx
jne 0x61dc4a
xor eax, eax
mov dword [ecx + 0xd8], eax
jmp 0x61d022
mov eax, dword [ecx + 8]
mov dword [esp + 0x3c], eax
test edx, edx
jns 0x61dc59
mov edx, dword [eax + 0x6c]
dec edx
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x61dc74
mov eax, 0x87e714
mov eax, dword [eax + 8]
mov dword [ecx + 0xd8], eax
jmp 0x61d022
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 + 0xd8], eax
jmp 0x61d022
xor ecx, ecx
lea edx, [edi + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x34], ecx
jle 0x61dd2d
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov eax, dword [edi + 0x34]
test eax, eax
je 0x61dcd8
push ecx
mov edx, eax
mov ecx, esi
call fcn.0061c630
mov ecx, dword [esp + 0x30]
add esp, 4
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x61dcff
jmp 0x61dcda
xor eax, eax
mov esi, dword [edi + 0x1c]
cmp ecx, dword [esi]
mov esi, dword [esp + 0xc]
jge 0x61dcff
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov edx, dword [esp + 0x38]
mov edx, dword [eax + edx + 4]
call fcn.005eb470
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov dword [edx], eax
test eax, eax
jne 0x61dd0e
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov dword [edx], eax
add dword [esp + 0x38], 0x14
inc ecx
add edx, 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
cmp ecx, dword [esp + 0x34]
jl 0x61dcb6
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
add eax, 0x14
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
test eax, eax
js 0x61ddcd
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x51], 0
je 0x61dd5f
mov eax, 0x87e714
jmp 0x61dd64
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 0x61dd87
push edi
mov edx, 0xfffffff7
mov ecx, eax
call fcn.005d6f20
add esp, 4
jmp 0x61ddaa
mov eax, dword [esi + 0x68]
add eax, ecx
cmp byte [eax + 1], 0
je 0x61dda3
push 0xfffffffffffffff7
push edi
mov edx, eax
mov ecx, esi
call fcn.005d70c0
add esp, 8
jmp 0x61ddaa
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 0x61dd40
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x61dd31
add dword [edi], 0xffffffff
jne 0x61ddef
mov ecx, dword [edi + 0xc]
mov edx, edi
call fcn.005b5a40
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 0x61de1c
mov ecx, dword [esp + 0x24]
mov edx, eax
push 1
call fcn.006187b0
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [edi]
sub eax, 0x85
je 0x61de4d
sub eax, 1
je 0x61de46
sub eax, 1
je 0x61de3f
mov eax, str.UNION
jmp 0x61de52
mov eax, str.INTERSECT
jmp 0x61de52
mov eax, str.EXCEPT
jmp 0x61de52
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.005b9110
add esp, 0x10
mov esi, 1
jmp 0x61ddf3