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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp + 0x34], eax
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ecx + 8]
mov dword [esp + 0x34], esi
movups xmm0, xmmword [eax]
push edi
mov edi, edx
mov dword [esp + 0x34], edi
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [eax + 0x10]
mov edx, dword [edi + 0x34]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x20], edx
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], eax
test esi, esi
jne 0x486c11
cmp dword [ecx + 0x78], esi
jne 0x486c06
mov eax, dword [esp + 0x30]
test byte [eax + 0x50], 8
jne 0x486c06
mov byte [ecx + 0x17], 1
call fcn.00436f50
mov esi, eax
mov dword [esp + 0x38], eax
cmp byte [esp + 0x40], 0xc
jne 0x486c7a
mov ecx, dword [edi + 0x1c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x486c42
push 0
push edx
push eax
mov edx, 0x76
mov ecx, esi
call fcn.00437140
add esp, 0xc
jmp 0x486c75
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x76
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 0x486ccb
mov edx, dword [edi + 0x3c]
mov eax, edi
test edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], 0
mov ecx, 1
mov edx, dword [esp + 0x24]
sete dl
mov dword [esp + 0x10], eax
cmp dword [edi + 0x44], 0
mov dword [esp + 0x1c], ecx
jne 0x486cc8
mov eax, dword [eax + 0x34]
test eax, eax
je 0x486d16
add ecx, edx
mov dword [esp + 0x10], eax
cmp dword [eax + 0x44], 0
mov dword [esp + 0x1c], ecx
je 0x486cb1
mov eax, dword [edi + 4]
test eax, 0x2000
je 0x486cf4
mov eax, edi
nop dword [eax]
nop dword [eax + eax]
test dword [eax + 4], 0x2000
je 0x486d8d
mov eax, dword [eax + 0x34]
test eax, eax
jne 0x486ce0
cmp dword [edi + 0x30], 0
je 0x486e79
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
push edx
mov edx, edi
call fcn.00488450
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 1
mov edx, 0x504f08
mov eax, 0x4ff790
cmovne eax, edx
push eax
push ecx
push str.SCAN__d_CONSTANT_ROW_s
push 0
push dword [esp + 0x1c]
call fcn.00437550
mov esi, dword [esp + 0x24]
add esp, 0x14
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push 1
push 1
push eax
push 0
push 0
push 0xffffffffffffffff
mov edx, esi
call fcn.004834b0
add esp, 0x18
cmp dword [esp + 0x18], 0
jne 0x486d72
mov word [esi + 2], di
mov esi, dword [esi + 0x38]
test esi, esi
jne 0x486d43
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [esp + 0x4c]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0x10], eax
mov eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, edi
call fcn.00486490
add esp, 4
xor eax, eax
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x24], 0
jne 0x487b6b
test byte [edi + 4], 0x20
je 0x487b6b
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x30]
push 0
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
lea eax, [eax + eax*4]
add eax, 0x19
push eax
call fcn.00413890
mov edi, eax
add esp, 8
mov dword [esp + 0x1c], edi
test edi, edi
je 0x487a39
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
lea eax, [ecx + 6]
lea eax, [edi + eax*4]
mov dword [edi + 0x10], eax
movzx eax, cx
mov word [edi + 6], ax
inc eax
mov word [edi + 8], ax
mov al, byte [edx + 0x54]
mov byte [edi + 4], al
lea eax, [ecx*4 + 1]
add eax, ecx
mov dword [edi + 0xc], edx
push eax
lea eax, [edi + 0x18]
mov dword [edi], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [esp + 0x18]
lea ecx, [edi + 0x14]
mov dword [esp + 0x24], ecx
test edx, edx
jle 0x487aac
mov edi, dword [esp + 0x34]
xor esi, esi
mov dword [esp + 0x10], 0
nop
mov edx, dword [edi + 0x34]
test edx, edx
je 0x487a5e
mov ecx, dword [esp + 0xc]
push esi
call fcn.00486290
mov ecx, dword [esp + 0x28]
add esp, 4
test eax, eax
jne 0x487a7c
jmp 0x487a60
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x34], 0
jne 0x486ead
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x14]
call fcn.00437550
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x14]
call fcn.00437550
mov ecx, dword [esp + 0x2c]
add esp, 0xc
movzx eax, byte [edi]
sub eax, 0x86
je 0x4875ea
sub eax, 1
je 0x487368
sub eax, 1
je 0x4875ea
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x14], eax
inc eax
mov dword [esp + 0x18], eax
inc eax
mov dword [ecx + 0x28], eax
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x486f04
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x76
mov ecx, esi
call fcn.00437140
add esp, 0xc
mov edx, eax
jmp 0x486f3b
mov edi, dword [esp + 0x14]
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 + 0x34]
mov dword [eax + ecx*4], 0x76
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 0x486f50
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x486f47
or dword [ecx + 4], 0x20
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x6c], 1
mov dword [esp + 0x74], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
call fcn.0048cfc0
mov ecx, eax
add esp, 4
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x487b6f
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x486fc6
push eax
push eax
push dword [esp + 0x20]
lea edx, [eax + 0x76]
mov ecx, esi
call fcn.00437140
add esp, 0xc
mov edx, eax
jmp 0x486ffd
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x76
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 + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
movzx eax, byte [edi]
mov dword [edi + 0x34], 0
mov dword [edi + 0x3c], 0
sub eax, 0x87
je 0x487046
sub eax, 1
je 0x48703f
sub eax, 1
je 0x487038
mov eax, str.UNION
jmp 0x48704b
mov eax, str.INTERSECT
jmp 0x48704b
mov eax, str.EXCEPT
jmp 0x48704b
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.00437550
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x78]
push eax
mov edx, edi
call fcn.0048cfc0
mov dword [esp + 0x3c], eax
add esp, 0x14
mov eax, dword [edi + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x34], eax
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x48708f
mov word [edi + 2], ax
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x48709f
mov ecx, dword [esp + 0x30]
call fcn.0044ed80
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x10]
mov dword [edi + 0x3c], eax
jne 0x4879d3
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x38]
dec eax
push eax
mov dword [esp + 0x28], eax
lea edx, [eax - 1]
mov dword [esp + 0x24], edx
mov dword [ecx + 0x38], edx
mov edx, edi
call fcn.00485f80
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x4870f6
mov edx, dword [esp + 0x24]
mov ecx, esi
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x24
call fcn.00437140
add esp, 0xc
jmp 0x487129
mov edx, dword [esp + 0x14]
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 + 0x24]
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 0x48713c
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
jmp 0x48714b
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov edx, dword [ecx + eax*4 + 0xa0]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x70], ecx
jg 0x48717b
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x86
mov ecx, esi
call fcn.00437140
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x4871ae
mov edi, dword [esp + 0x14]
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 + 0x34]
mov dword [eax + ecx*4], 0x86
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 + 0x2c], ecx
cmp dword [esi + 0x70], ecx
jg 0x4871da
push edx
push dword [esp + 0x24]
mov edx, 0x1c
mov ecx, esi
push dword [esp + 0x20]
call fcn.00437140
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, eax
jmp 0x487211
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 + 0x20]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x48722c
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 0x487248
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x487248
movzx eax, al
mov dword [ecx + eax*4 + 0xa0], edx
inc byte [ecx + 0x13]
push dword [esp + 0x24]
lea eax, [esp + 0x44]
mov edx, edi
push dword [esp + 0x24]
push eax
push 0
push 0
push dword [esp + 0x28]
call fcn.004834b0
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x487285
push edx
mov edx, esi
call fcn.004376f0
add esp, 4
jmp 0x48728e
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 0x4872b2
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x27
call fcn.00437140
add esp, 0xc
jmp 0x4872e5
mov edx, dword [esp + 0x14]
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 + 0x10]
mov dword [eax + ecx*4], 0x27
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 + 0x24]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x487303
push edx
mov edx, esi
call fcn.004376f0
add esp, 4
jmp 0x48730c
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 0x487330
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x7a
mov ecx, esi
call fcn.00437140
add esp, 0xc
jmp 0x48797f
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], 0x7a
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 0x48797f
xor eax, eax
mov edx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 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.0048cfc0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov dword [eax + 0x3c], 0
test ecx, ecx
jne 0x487b6f
mov dword [edi + 0x34], ecx
mov edx, dword [eax + 8]
mov dword [edi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
test edx, edx
je 0x48747e
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x70], ecx
jg 0x4873ed
push 0
push 0
push edx
mov edx, 0x11
mov ecx, esi
call fcn.00437140
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x48741c
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x11
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 0x48747e
mov ecx, dword [edi + 8]
lea eax, [edx + 1]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x48744c
push edx
push eax
push dword [esp + 0x24]
mov edx, 0xa0
mov ecx, esi
call fcn.00437140
add esp, 0xc
jmp 0x48747e
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], esi
lea esi, [edx + 1]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4], 0xa0
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.00437550
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, edi
push eax
call fcn.0048cfc0
movzx ecx, word [edi + 2]
add esp, 4
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x34], eax
mov dword [esp + 0x2c], ecx
movsx ecx, cx
movzx eax, word [eax + 2]
movsx edx, ax
cmp word [esp + 0x2c], ax
jl 0x4874f9
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4874dc
movzx eax, word [edi + 2]
jmp 0x487533
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4874ea
movzx eax, word [edi + 2]
inc eax
jmp 0x487530
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
jmp 0x48752d
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x48750a
mov edx, dword [esp + 0x20]
movzx eax, word [edx + 2]
jmp 0x487533
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x48751c
mov edx, dword [esp + 0x20]
movzx eax, word [edx + 2]
inc eax
jmp 0x487530
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0x20]
movzx ecx, word [edx + 2]
add ax, cx
movzx eax, ax
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0x18], eax
mov word [edi + 2], ax
test ecx, ecx
je 0x4875b4
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x4875b4
test dword [ecx + 4], 0x800
je 0x487557
mov eax, dword [ecx + 8]
jmp 0x48759a
movzx eax, byte [ecx]
sub eax, 0xad
je 0x48757c
sub eax, 1
jne 0x4875b4
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x24]
call fcn.00450590
test eax, eax
je 0x4875b4
mov eax, dword [esp + 0x24]
jmp 0x48759a
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.00450590
test eax, eax
je 0x4875b4
mov eax, dword [esp + 0x1c]
neg eax
test eax, eax
jle 0x4875b4
cdq
push edx
push eax
call fcn.00418cc0
add esp, 8
cmp word [esp + 0x18], ax
jle 0x4875b4
mov word [edi + 2], ax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4879d3
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4875d8
mov eax, 0x5160d8
mov dword [eax + 8], edx
jmp 0x4879d3
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4879d3
cmp byte [esp + 0x40], 1
jne 0x4875fe
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
jmp 0x487685
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x14], edx
lea eax, [edx + 1]
mov dword [ecx + 0x28], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x70], ecx
jg 0x487635
push 0
push 0
push edx
mov edx, 0x76
mov ecx, esi
call fcn.00437140
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x48766c
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], 0x76
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 + 0x2c]
mov dword [edi + 0x14], eax
mov ecx, edi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x487681
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x487678
or dword [ecx + 4], 0x20
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x84]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x20]
push eax
mov byte [esp + 0x88], 1
mov dword [esp + 0x90], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
call fcn.0048cfc0
mov ecx, eax
add esp, 4
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x487b6f
cmp byte [edi], 0x88
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x10], eax
sete al
inc al
mov dword [edi + 0x3c], ecx
mov byte [esp + 0x84], al
movzx eax, byte [edi]
sub eax, 0x87
je 0x48772b
sub eax, 1
je 0x487724
sub eax, 1
je 0x48771d
mov eax, str.UNION
jmp 0x487730
mov eax, str.INTERSECT
jmp 0x487730
mov eax, str.EXCEPT
jmp 0x487730
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.00437550
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x94]
push eax
mov edx, edi
call fcn.0048cfc0
mov dword [esp + 0x3c], eax
add esp, 0x14
cmp byte [edi], 0x86
mov eax, dword [edi + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], 0
jne 0x4877fa
movzx ecx, word [edi + 2]
movzx eax, word [eax + 2]
mov dword [esp + 0x2c], ecx
movsx ecx, cx
movsx edx, ax
cmp word [esp + 0x2c], ax
jl 0x4877bc
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x48779f
movzx eax, word [edi + 2]
jmp 0x4877f6
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4877ad
movzx eax, word [edi + 2]
inc eax
jmp 0x4877f3
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
jmp 0x4877f0
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4877cd
mov edx, dword [esp + 0x20]
movzx eax, word [edx + 2]
jmp 0x4877f6
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4877df
mov edx, dword [esp + 0x20]
movzx eax, word [edx + 2]
inc eax
jmp 0x4877f3
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0x20]
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 0x48780a
mov ecx, dword [esp + 0x30]
call fcn.0044ed80
cmp byte [esp + 0x40], 1
mov eax, dword [esp + 0x10]
mov dword [edi + 0x3c], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
je 0x4879d3
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x57], 0
jne 0x4879d3
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x38]
dec eax
push eax
mov dword [esp + 0x28], eax
lea edx, [eax - 1]
mov dword [esp + 0x14], edx
mov dword [ecx + 0x38], edx
mov edx, edi
call fcn.00485f80
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x48787d
mov edx, dword [esp + 0x24]
mov ecx, esi
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x24
call fcn.00437140
add esp, 0xc
jmp 0x4878b0
mov edx, dword [esp + 0x14]
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 + 0x24]
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 + 0x24]
mov eax, dword [esi + 0x6c]
mov edx, edi
push dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
push eax
push 0
push 0
push dword [esp + 0x28]
call fcn.004834b0
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 0x4878f8
push edx
mov edx, esi
call fcn.004376f0
add esp, 4
jmp 0x487901
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 0x487925
mov edx, dword [esp + 0x1c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x27
call fcn.00437140
add esp, 0xc
jmp 0x487958
mov edx, dword [esp + 0x14]
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 + 0x1c]
mov dword [eax + ecx*4], 0x27
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 + 0x24]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x487976
push edx
mov edx, esi
call fcn.004376f0
add esp, 4
jmp 0x48797f
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 0x4879a0
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x7a
mov ecx, esi
call fcn.00437140
add esp, 0xc
jmp 0x4879d3
mov edx, dword [esp + 0x14]
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], 0x7a
cmp dword [edi + 0x38], 0
jne 0x486da6
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xe4]
test edx, edx
jne 0x4879f8
xor eax, eax
mov dword [ecx + 0xe4], eax
jmp 0x486daa
mov eax, dword [ecx + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x487a1a
mov eax, 0x5160d8
mov eax, dword [eax + 8]
mov dword [ecx + 0xe4], eax
jmp 0x486daa
mov eax, dword [esp + 0x2c]
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 + 0xe4], eax
jmp 0x486daa
mov ecx, dword [esp + 0x30]
call fcn.00413c70
mov edi, eax
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x486e2e
mov ecx, 7
mov dword [esp + 0x28], ecx
jmp 0x487b6f
xor eax, eax
mov edx, dword [edi + 0x1c]
cmp esi, dword [edx]
jge 0x487a7c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [edx + eax + 8]
call fcn.0044d8d0
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
test eax, eax
jne 0x487a8b
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
mov dword [ecx], eax
add dword [esp + 0x10], 0x14
inc esi
mov edx, dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0x24], ecx
cmp esi, edx
jl 0x486e50
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
add eax, 0x14
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
nop
mov eax, dword [eax]
test eax, eax
js 0x487b51
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x57], 0
je 0x487adf
mov eax, 0x5160d8
jmp 0x487ae4
mov eax, dword [esi + 0x68]
add eax, ecx
mov dword [eax + 8], edx
inc dword [edi]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x487b07
push edi
mov edx, 0xfffffff8
mov ecx, eax
call fcn.00437b50
mov edx, dword [esp + 0x1c]
add esp, 4
jmp 0x487b2e
mov eax, dword [esi + 0x68]
add eax, ecx
cmp byte [eax + 1], 0
je 0x487b27
push 0xfffffffffffffff8
push edi
mov edx, eax
mov ecx, esi
call fcn.00437d00
mov edx, dword [esp + 0x20]
add esp, 8
jmp 0x487b2e
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x1c], eax
cmp ecx, 2
jl 0x487ac0
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x487ab0
mov ecx, edi
call fcn.004845a0
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0x10], eax
test edi, edi
je 0x487be1
mov esi, dword [esp + 0xc]
push 0
push 0xc
mov ecx, dword [esi]
test ecx, ecx
je 0x487b9d
call fcn.00413890
jmp 0x487ba2
call fcn.00413230
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x487bcf
mov eax, dword [esi + 0x84]
mov dword [ecx], eax
mov dword [esi + 0x84], ecx
mov dword [ecx + 4], edi
mov dword [ecx + 8], fcn.00481dd0
mov ecx, dword [esp + 0x28]
mov eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
mov edx, edi
push 1
call fcn.00481b00
mov ecx, dword [esp + 0x2c]
add esp, 4
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret