Function at 0x491680
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, dword [ebp + 8]
xor eax, eax
mov esi, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
movups xmm0, xmmword [edi]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x34]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x20], esi
movq xmm0, qword [edi + 0x10]
movq qword [esp + 0x50], xmm0
mov edx, dword [eax + 0x30]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
test edx, edx
jne 0x4925f0
cmp dword [eax + 0x3c], edx
jne 0x4925f0
mov edi, dword [ecx + 8]
mov dword [esp + 0x28], edi
test edi, edi
jne 0x491702
cmp dword [ecx + 0x74], edi
jne 0x4916f7
mov eax, dword [esp + 0x24]
test byte [eax + 0x4c], 8
jne 0x4916f7
mov byte [ecx + 0x17], 1
call fcn.00442f90
mov edi, eax
mov dword [esp + 0x28], eax
mov cl, byte [esp + 0x40]
cmp cl, 0xc
jne 0x49176d
mov eax, dword [esi]
mov ecx, dword [edi + 0x6c]
mov edx, dword [eax]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], eax
cmp dword [edi + 0x70], ecx
jg 0x491734
push 0
push edx
push eax
mov edx, 0x70
mov ecx, edi
call fcn.00443360
add esp, 0xc
jmp 0x491767
mov esi, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x70
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 [esi + 8]
test eax, 0x400
je 0x491821
mov eax, dword [esi + 0x3c]
xor edx, edx
test eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x34]
mov ecx, 1
sete dl
mov dword [esp + 0x38], ecx
test eax, eax
je 0x4917af
nop dword [eax]
mov esi, eax
add ecx, edx
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x4917a0
mov dword [esp + 0x38], ecx
mov edi, dword [esp + 0xc]
cmp ecx, 1
mov edx, 0x569d7c
mov eax, 0x55e7eb
cmovne eax, edx
push eax
push ecx
push str.SCAN__d_CONSTANT_ROW_s
push 0
push edi
call fcn.004439c0
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.0048e0e0
add esp, 0x18
cmp dword [esp + 0x34], 0
jne 0x491806
mov eax, dword [esp + 0x38]
mov word [esi + 6], ax
mov esi, dword [esi + 0x38]
test esi, esi
jne 0x4917d5
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [esp + 0x48]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + 0xc], eax
mov eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test eax, 0x2000
je 0x491840
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.00490e40
add esp, 4
jmp 0x4923ed
cmp dword [esi + 0x30], 0
je 0x49185e
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
push edx
mov edx, esi
call fcn.00492fb0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
cmp dword [edx + 0x34], 0
jne 0x491896
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x14]
call fcn.004439c0
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x14]
call fcn.004439c0
mov cl, byte [esp + 0x4c]
add esp, 0xc
mov edx, dword [esp + 0x10]
movzx eax, byte [esi + 4]
sub eax, 0x82
je 0x491fc9
sub eax, 1
je 0x491d3d
sub eax, 1
je 0x491fc9
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0x1c], eax
inc eax
mov dword [ecx + 0x28], eax
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x4918ee
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x70
mov ecx, edi
call fcn.00443360
add esp, 0xc
mov edx, eax
jmp 0x491925
mov esi, dword [esp + 0x18]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [esi + 0x18], edx
mov ecx, esi
mov eax, dword [esi + 0x38]
test eax, eax
je 0x49193a
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x491931
or dword [ecx + 8], 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.004971a0
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x4925b7
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x4919a5
push eax
push eax
push dword [esp + 0x24]
lea edx, [eax + 0x70]
mov ecx, edi
call fcn.00443360
add esp, 0xc
mov edx, eax
jmp 0x4919dc
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [esi + 0x1c], edx
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], eax
movzx eax, byte [esi + 4]
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
sub eax, 0x83
je 0x491a26
sub eax, 1
je 0x491a1f
sub eax, 1
je 0x491a18
mov eax, str.UNION
jmp 0x491a2b
mov eax, str.INTERSECT
jmp 0x491a2b
mov eax, str.EXCEPT
jmp 0x491a2b
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.004439c0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x70]
push eax
mov edx, esi
call fcn.004971a0
mov dword [esp + 0x28], eax
add esp, 0x14
mov eax, dword [esi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x34], eax
movzx eax, word [eax + 6]
cmp word [esi + 6], ax
jle 0x491a6f
mov word [esi + 6], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x491a7f
mov ecx, dword [esp + 0x24]
call fcn.0045bfa0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov dword [esi + 0x3c], eax
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, esi
call fcn.00490920
mov ecx, dword [edi + 0x6c]
add esp, 4
cmp dword [edi + 0x70], ecx
jg 0x491acb
mov edx, dword [esp + 0x2c]
mov ecx, edi
push 0
push edx
push dword [esp + 0x20]
mov edx, 0x24
call fcn.00443360
add esp, 0xc
jmp 0x491afe
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 0x491b11
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
jmp 0x491b20
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov edx, dword [ecx + eax*4 + 0x94]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
cmp dword [edi + 0x70], ecx
jg 0x491b50
push 0
push edx
push dword [esp + 0x20]
mov edx, 0x7f
mov ecx, edi
call fcn.00443360
mov edx, dword [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x491b83
mov esi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, 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 [edi + 0x6c]
mov dword [esp + 0x3c], ecx
cmp dword [edi + 0x70], ecx
jg 0x491baf
push edx
push dword [esp + 0x14]
mov edx, 0x1c
mov ecx, edi
push dword [esp + 0x24]
call fcn.00443360
mov edx, dword [esp + 0x40]
add esp, 0xc
mov ecx, eax
jmp 0x491be6
mov esi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], esi
mov esi, 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 [edi]
cmp byte [eax + 0x51], 0
jne 0x491c01
mov eax, dword [edi + 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 0x491c1d
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x491c1d
movzx eax, al
mov dword [ecx + eax*4 + 0x94], edx
inc byte [ecx + 0x13]
push dword [esp + 0x2c]
lea eax, [esp + 0x44]
mov edx, esi
push dword [esp + 0x14]
push eax
push 0
push 0
push dword [esp + 0x2c]
call fcn.0048e0e0
mov ecx, dword [edi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x10]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x491c5a
push edx
mov edx, edi
call fcn.00443d20
add esp, 4
jmp 0x491c63
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x491c87
mov edx, dword [esp + 0x38]
mov ecx, edi
push 0
push edx
push dword [esp + 0x20]
mov edx, 5
call fcn.00443360
add esp, 0xc
jmp 0x491cba
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 [edi + 0xc]
mov edx, dword [esp + 0x2c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x491cd8
push edx
mov edx, edi
call fcn.00443d20
add esp, 4
jmp 0x491ce1
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x491d05
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x75
mov ecx, edi
call fcn.00443360
add esp, 0xc
jmp 0x492349
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 0x492349
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x3c]
mov dword [edx + 0x3c], eax
lea eax, [esp + 0x40]
push eax
call fcn.004971a0
mov ecx, eax
mov dword [esi + 0x3c], 0
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x4925b7
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x10], eax
test edx, edx
je 0x491e51
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x38], ecx
cmp dword [edi + 0x70], ecx
jg 0x491dbc
push 0
push 0
push edx
mov edx, 0x14
mov ecx, edi
call fcn.00443360
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x491def
mov esi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 [esi + 0x10]
test edx, edx
je 0x491e51
mov ecx, dword [esi + 0xc]
lea eax, [edx + 1]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x491e1f
push edx
push eax
push dword [esp + 0x3c]
mov edx, 0x98
mov ecx, edi
call fcn.00443360
add esp, 0xc
jmp 0x491e51
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edi
lea edi, [edx + 1]
mov dword [eax + ecx*4 + 8], edi
mov edi, 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.004439c0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, esi
push eax
call fcn.004971a0
movzx ecx, word [esi + 6]
add esp, 4
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x34], eax
mov dword [esp + 0x3c], ecx
movsx ecx, cx
movzx eax, word [eax + 6]
movsx edx, ax
cmp word [esp + 0x3c], ax
jl 0x491ed8
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x491eb3
movzx eax, word [esi + 6]
mov edx, dword [esp + 0x10]
jmp 0x491f12
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x491ec5
movzx eax, word [esi + 6]
mov edx, dword [esp + 0x10]
inc eax
jmp 0x491f0f
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 [esi + 6]
jmp 0x491f0c
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x491ee9
mov edx, dword [esp + 0x10]
movzx eax, word [edx + 6]
jmp 0x491f12
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x491efb
mov edx, dword [esp + 0x10]
movzx eax, word [edx + 6]
inc eax
jmp 0x491f0f
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 + 6]
add ax, cx
movzx eax, ax
mov word [esi + 6], ax
mov ecx, dword [edx + 0x3c]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x491f8b
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x491f8b
test dword [ecx + 4], 0x400
je 0x491f36
mov eax, dword [ecx + 8]
jmp 0x491f71
movzx eax, byte [ecx]
sub eax, 0xa8
je 0x491f5b
sub eax, 1
jne 0x491f8b
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.0045da60
test eax, eax
je 0x491f8b
mov eax, dword [esp + 0x3c]
jmp 0x491f71
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.0045da60
test eax, eax
je 0x491f8b
mov eax, dword [esp + 0x3c]
neg eax
test eax, eax
jle 0x491f8b
cdq
push edx
push eax
call fcn.00421bc0
add esp, 8
cmp word [esp + 0x1c], ax
jle 0x491f8b
mov word [esi + 6], ax
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x49239d
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x491faf
mov eax, 0x57bbe8
mov dword [eax + 8], edx
jmp 0x49239d
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x49239d
cmp cl, 1
jne 0x491fdb
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
jmp 0x492061
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x18], eax
inc eax
mov dword [ecx + 0x28], eax
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x49200d
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x70
mov ecx, edi
call fcn.00443360
add esp, 0xc
mov edx, eax
jmp 0x492044
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [esi + 0x18], edx
mov ecx, esi
mov eax, dword [esi + 0x38]
test eax, eax
je 0x492059
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x492050
or dword [ecx + 8], 0x20
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x7c], 1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
call fcn.004971a0
mov ecx, eax
add esp, 4
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x4925b7
cmp byte [esi + 4], 0x84
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x38], eax
sete al
inc al
mov dword [esi + 0x3c], ecx
mov byte [esp + 0x78], al
movzx eax, byte [esi + 4]
sub eax, 0x83
je 0x4920f2
sub eax, 1
je 0x4920eb
sub eax, 1
je 0x4920e4
mov eax, str.UNION
jmp 0x4920f7
mov eax, str.INTERSECT
jmp 0x4920f7
mov eax, str.EXCEPT
jmp 0x4920f7
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.004439c0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x88]
push eax
mov edx, esi
call fcn.004971a0
mov edx, dword [esi + 0x30]
add esp, 0x14
mov dword [esp + 0x14], eax
test edx, edx
je 0x492132
mov ecx, dword [esp + 0x24]
call fcn.0045d420
cmp byte [esi + 4], 0x82
mov eax, dword [esi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], 0
jne 0x4921d2
movzx ecx, word [esi + 6]
movzx eax, word [eax + 6]
mov dword [esp + 0x3c], ecx
movsx ecx, cx
movsx edx, ax
cmp word [esp + 0x3c], ax
jl 0x492194
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x492177
movzx eax, word [esi + 6]
jmp 0x4921ce
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x492185
movzx eax, word [esi + 6]
inc eax
jmp 0x4921cb
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [esi + 6]
jmp 0x4921c8
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4921a5
mov edx, dword [esp + 0x10]
movzx eax, word [edx + 6]
jmp 0x4921ce
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4921b7
mov edx, dword [esp + 0x10]
movzx eax, word [edx + 6]
inc eax
jmp 0x4921cb
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 + 6]
add ax, cx
movzx eax, ax
mov word [esi + 6], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x4921e2
mov ecx, dword [esp + 0x24]
call fcn.0045bfa0
cmp byte [esp + 0x40], 1
mov eax, dword [esp + 0x38]
mov dword [esi + 0x3c], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
je 0x49239d
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, esi
call fcn.00490920
mov ecx, dword [edi + 0x6c]
add esp, 4
cmp dword [edi + 0x70], ecx
jg 0x492247
mov edx, dword [esp + 0x2c]
mov ecx, edi
push 0
push edx
push dword [esp + 0x20]
mov edx, 0x24
call fcn.00443360
add esp, 0xc
jmp 0x49227a
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 [edi + 0x6c]
mov edx, esi
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.0048e0e0
mov ecx, dword [edi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x38]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4922c2
push edx
mov edx, edi
call fcn.00443d20
add esp, 4
jmp 0x4922cb
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4922ef
mov edx, dword [esp + 0x34]
mov ecx, edi
push 0
push edx
push dword [esp + 0x20]
mov edx, 5
call fcn.00443360
add esp, 0xc
jmp 0x492322
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 [edi + 0xc]
mov edx, dword [esp + 0x2c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x492340
push edx
mov edx, edi
call fcn.00443d20
add esp, 4
jmp 0x492349
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x49236a
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x75
mov ecx, edi
call fcn.00443360
add esp, 0xc
jmp 0x49239d
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 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 [esi + 0x38], 0
jne 0x4923ed
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xd4]
test edx, edx
jne 0x4923b5
xor eax, eax
jmp 0x4923e7
mov eax, dword [ecx + 8]
mov dword [esp + 0x3c], eax
test edx, edx
jns 0x4923c4
mov edx, dword [eax + 0x6c]
dec edx
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x4923d3
mov eax, 0x57bbe8
jmp 0x4923e4
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 [esi + 8], 0x20
je 0x4925b3
mov eax, dword [esi]
mov ecx, dword [esp + 0x24]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x38], eax
call fcn.0048f2c0
mov edx, eax
add esp, 4
mov dword [esp + 0x1c], edx
test edx, edx
jne 0x492427
mov ecx, 7
mov dword [esp + 0x14], ecx
jmp 0x4925b7
xor ecx, ecx
lea eax, [edx + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x34], ecx
jle 0x4924b0
mov edi, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [esi + 0x34]
test edx, edx
je 0x49245e
push ecx
mov ecx, edi
call fcn.00490cb0
mov ecx, dword [esp + 0x30]
add esp, 4
test eax, eax
jne 0x492479
jmp 0x492460
xor eax, eax
mov edx, dword [esi]
cmp ecx, dword [edx]
jge 0x492479
mov eax, dword [esp + 0x38]
mov ecx, edi
mov edx, dword [edx + eax + 4]
call fcn.0045a970
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov dword [edx], eax
test eax, eax
jne 0x49248c
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 + 0x18], edx
cmp ecx, dword [esp + 0x34]
jl 0x492442
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
nop dword [eax + eax]
lea eax, [esi + 0x18]
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], eax
lea esi, [edi + 0x68]
mov eax, dword [eax]
test eax, eax
js 0x49255c
lea ecx, [eax + eax*4]
mov eax, dword [edi]
shl ecx, 2
cmp byte [eax + 0x51], 0
je 0x4924e1
mov eax, 0x57bbe8
jmp 0x4924e5
mov eax, dword [esi]
add eax, ecx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
inc dword [edx]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x492513
push edx
mov edx, 0xfffffff7
mov ecx, eax
call fcn.00444300
mov edx, dword [esp + 0x20]
lea esi, [edi + 0x68]
add esp, 4
jmp 0x492539
mov eax, dword [esi]
add eax, ecx
cmp byte [eax + 1], 0
je 0x492532
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, edi
call fcn.00444540
mov edx, dword [esp + 0x24]
add esp, 8
jmp 0x492539
mov dword [eax + 0x10], edx
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 0x4924c2
mov esi, dword [esp + 0x20]
mov esi, dword [esi + 0x34]
mov dword [esp + 0x20], esi
test esi, esi
jne 0x4924b0
add dword [edx], 0xffffffff
jne 0x4925b3
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x4925aa
cmp dword [ecx + 0x1e8], esi
je 0x49258a
call fcn.0041c6a0
jmp 0x4925b3
cmp edx, dword [ecx + 0x138]
jb 0x4925aa
cmp edx, dword [ecx + 0x13c]
jae 0x4925aa
mov eax, dword [ecx + 0x134]
mov dword [edx], eax
mov dword [ecx + 0x134], edx
jmp 0x4925b3
push edx
call fcn.0041c630
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x48]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x492651
mov ecx, dword [esp + 0x24]
mov edx, eax
push 1
call fcn.0048cad0
mov ecx, dword [esp + 0x18]
add esp, 4
mov eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 4]
sub eax, 0x83
je 0x49261a
sub eax, 1
je 0x492613
sub eax, 1
je 0x49260c
mov eax, str.UNION
jmp 0x49261f
mov eax, str.INTERSECT
jmp 0x49261f
mov eax, str.EXCEPT
jmp 0x49261f
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.004205b0
mov eax, dword [esp + 0x58]
add esp, 0x10
mov dword [edi + 8], eax
mov ecx, 1
mov eax, dword [esp + 0x4c]
mov dword [edi + 0xc], eax
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret