Function at 0x4e6940
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 + 8], ecx
mov dword [esp + 0x34], eax
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
push esi
mov esi, edx
push edi
movups xmm0, xmmword [eax]
mov edi, dword [ecx + 8]
mov edx, dword [esi + 0x34]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x34], edi
movups xmmword [esp + 0x40], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], eax
test edi, edi
jne 0x4e69b1
cmp dword [ecx + 0x74], edi
jne 0x4e69a6
mov eax, dword [esp + 0x30]
test byte [eax + 0x50], 8
jne 0x4e69a6
mov byte [ecx + 0x17], 1
call fcn.00495c60
mov edi, eax
mov dword [esp + 0x34], eax
cmp byte [esp + 0x40], 0xc
jne 0x4e6a1a
mov ecx, dword [esi + 0x1c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov edx, dword [ecx]
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4e69e2
push 0
push edx
push eax
mov edx, 0x74
mov ecx, edi
call fcn.00495eb0
add esp, 0xc
jmp 0x4e6a15
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x74
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 [esi + 4]
mov dword [esp + 0x18], eax
test eax, 0x400
je 0x4e6a6e
mov eax, esi
mov dword [esp + 0x24], 0
mov ecx, 1
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x3c]
test edx, edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
sete dl
cmp dword [eax + 0x44], 0
jne 0x4e6a66
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4e6ab6
mov esi, eax
add ecx, edx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x44], 0
je 0x4e6a51
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
test eax, 0x2000
je 0x4e6a94
mov eax, esi
nop word [eax + eax]
test dword [eax + 4], 0x2000
je 0x4e6b2a
mov eax, dword [eax + 0x34]
test eax, eax
jne 0x4e6a80
cmp dword [esi + 0x30], 0
je 0x4e6b48
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
push edx
mov edx, esi
call fcn.004e8390
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 1
mov edx, 0x5a8de4
mov eax, 0x593fe0
cmovne eax, edx
push eax
push ecx
mov ecx, dword [esp + 0x18]
push str.SCAN__d_CONSTANT_ROW_s
push 0
push ecx
call fcn.004964b0
mov edi, dword [esp + 0x28]
add esp, 0x14
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push 1
push 1
push eax
push 0
push 0
push 0xffffffffffffffff
mov edx, esi
call fcn.004e3130
add esp, 0x18
cmp dword [esp + 0x20], 0
jne 0x4e6b0f
mov word [esi + 2], di
mov esi, dword [esi + 0x38]
test esi, esi
jne 0x4e6ae0
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 + 0x10]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.004e61d0
add esp, 4
xor eax, eax
mov dword [esp + 0x28], eax
jmp 0x4e784b
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x34], 0
jne 0x4e6b7c
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x18]
call fcn.004964b0
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x18]
call fcn.004964b0
mov ecx, dword [esp + 0x28]
add esp, 0xc
movzx eax, byte [esi]
sub eax, 0x86
je 0x4e7416
sub eax, 1
je 0x4e703a
sub eax, 1
je 0x4e7416
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x28]
mov dword [esp + 0xc], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
inc eax
mov dword [edx + 0x28], eax
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x4e6bd2
push 0
push 0
push ecx
mov edx, 0x74
mov ecx, edi
call fcn.00495eb0
add esp, 0xc
mov edx, eax
jmp 0x4e6c09
mov esi, dword [esp + 0xc]
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [esi + 0x14], edx
mov ecx, esi
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4e6c1e
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x4e6c15
or dword [ecx + 4], 0x20
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
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.004eca90
mov ecx, eax
add esp, 4
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x4e7a64
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x4e6c94
push eax
push eax
push dword [esp + 0x20]
lea edx, [eax + 0x74]
mov ecx, edi
call fcn.00495eb0
add esp, 0xc
mov edx, eax
jmp 0x4e6ccb
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x74
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 eax, dword [esi + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
movzx eax, byte [esi]
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
sub eax, 0x87
je 0x4e6d14
sub eax, 1
je 0x4e6d0d
sub eax, 1
je 0x4e6d06
mov eax, str.UNION
jmp 0x4e6d19
mov eax, str.INTERSECT
jmp 0x4e6d19
mov eax, str.EXCEPT
jmp 0x4e6d19
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x1c]
call fcn.004964b0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x78]
push eax
mov edx, esi
call fcn.004eca90
mov dword [esp + 0x3c], eax
add esp, 0x14
mov eax, dword [esi + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x34], eax
movzx eax, word [eax + 2]
cmp word [esi + 2], ax
jle 0x4e6d5d
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x4e6d6d
mov ecx, dword [esp + 0x30]
call fcn.004ae2c0
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0x3c], eax
jne 0x4e7803
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x38]
dec eax
push eax
mov dword [esp + 0x24], eax
lea ecx, [eax - 1]
mov dword [edx + 0x38], ecx
mov edx, esi
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
call fcn.004e5bc0
mov ecx, dword [edi + 0x74]
add esp, 4
cmp dword [edi + 0x78], ecx
jg 0x4e6dc8
mov edx, dword [esp + 0x20]
mov ecx, edi
push 0
push edx
push dword [esp + 0x14]
mov edx, 0x26
call fcn.00495eb0
add esp, 0xc
jmp 0x4e6dfb
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x26
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 + 0x10]
mov al, byte [ecx + 0x13]
test al, al
jne 0x4e6e0e
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
jmp 0x4e6e1d
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov edx, dword [ecx + eax*4 + 0x98]
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x78], ecx
jg 0x4e6e4d
push 0
push edx
push dword [esp + 0x14]
mov edx, 0x85
mov ecx, edi
call fcn.00495eb0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x4e6e80
mov esi, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x85
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 + 0x74]
mov dword [esp + 0x38], ecx
cmp dword [edi + 0x78], ecx
jg 0x4e6eac
push edx
push dword [esp + 0x20]
mov edx, 0x1e
mov ecx, edi
push dword [esp + 0x20]
call fcn.00495eb0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, eax
jmp 0x4e6ee3
mov esi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x1e
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x38]
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x4e6efe
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x10]
test edx, edx
je 0x4e6f1a
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4e6f1a
movzx eax, al
mov dword [ecx + eax*4 + 0x98], edx
inc byte [ecx + 0x13]
push dword [esp + 0x20]
lea eax, [esp + 0x44]
mov edx, esi
push dword [esp + 0x20]
push eax
push 0
push 0
push dword [esp + 0x20]
call fcn.004e3130
mov ecx, dword [edi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x1c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e6f57
push edx
mov edx, edi
call fcn.004966d0
add esp, 4
jmp 0x4e6f60
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4e6f84
mov edx, dword [esp + 0x14]
mov ecx, edi
push 0
push edx
push dword [esp + 0x14]
mov edx, 5
call fcn.00495eb0
add esp, 0xc
jmp 0x4e6fb7
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
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 + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e6fd5
push edx
mov edx, edi
call fcn.004966d0
add esp, 4
jmp 0x4e6fde
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4e7002
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x79
mov ecx, edi
call fcn.00495eb0
add esp, 0xc
jmp 0x4e77af
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x79
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 0x4e77af
xor eax, eax
mov edx, ecx
mov dword [esp + 0x14], eax
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 + 0x10]
push eax
call fcn.004eca90
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov dword [eax + 0x3c], 0
test ecx, ecx
jne 0x4e7a64
mov dword [esi + 0x34], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
test edx, edx
je 0x4e7154
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x78], ecx
jg 0x4e70bf
push 0
push 0
push edx
mov edx, 0x14
mov ecx, edi
call fcn.00495eb0
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x4e70f2
mov esi, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
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 + 0xc]
test edx, edx
je 0x4e7154
mov ecx, dword [esi + 8]
lea eax, [edx + 1]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4e7122
push edx
push eax
push dword [esp + 0x2c]
mov edx, 0x9f
mov ecx, edi
call fcn.00495eb0
add esp, 0xc
jmp 0x4e7154
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edi
lea edi, [edx + 1]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x9f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push str.UNION_ALL
push 1
push dword [esp + 0x18]
call fcn.004964b0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, esi
push eax
call fcn.004eca90
movzx ecx, word [esi + 2]
add esp, 4
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x34], eax
mov dword [esp + 0x38], ecx
movsx ecx, cx
movzx eax, word [eax + 2]
movsx edx, ax
cmp word [esp + 0x38], ax
jl 0x4e71cf
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4e71b2
movzx eax, word [esi + 2]
jmp 0x4e7209
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4e71c0
movzx eax, word [esi + 2]
inc eax
jmp 0x4e7206
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [esi + 2]
jmp 0x4e7203
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4e71e0
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 2]
jmp 0x4e7209
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4e71f2
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 2]
inc eax
jmp 0x4e7206
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0x1c]
movzx ecx, word [edx + 2]
add ax, cx
movzx eax, ax
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0xc], eax
mov word [esi + 2], ax
test ecx, ecx
je 0x4e73d8
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x4e73d8
test dword [ecx + 4], 0x400
je 0x4e7235
mov eax, dword [ecx + 8]
jmp 0x4e7284
movzx eax, byte [ecx]
sub eax, 0xad
je 0x4e7262
sub eax, 1
jne 0x4e73d8
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x20]
call fcn.004af9d0
test eax, eax
je 0x4e73d8
mov eax, dword [esp + 0x20]
jmp 0x4e7284
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0
call fcn.004af9d0
test eax, eax
je 0x4e73d8
mov eax, dword [esp + 0x24]
neg eax
test eax, eax
jle 0x4e73d8
cdq
mov esi, edx
mov dword [esp + 0x18], 0x28
mov ecx, eax
test esi, esi
ja 0x4e72d4
jb 0x4e72af
cmp eax, 8
jae 0x4e72c9
test esi, esi
ja 0x4e72b3
jb 0x4e72af
cmp eax, 2
jae 0x4e72b3
xor eax, eax
jmp 0x4e732d
sub dword [esp + 0x18], 0xa
shld esi, eax, 1
add eax, eax
test esi, esi
jne 0x4e7316
cmp eax, 8
jb 0x4e72b3
jmp 0x4e7316
test esi, esi
jne 0x4e72d4
cmp eax, 0xff
jbe 0x4e72ed
add dword [esp + 0x18], 0x28
shrd eax, esi, 4
shr esi, 4
test esi, esi
ja 0x4e72d4
jb 0x4e7300
cmp eax, 0xff
ja 0x4e72d4
test esi, esi
jne 0x4e7300
cmp eax, 0xf
jbe 0x4e7316
nop word [eax + eax]
add dword [esp + 0x18], 0xa
shrd eax, esi, 1
shr esi, 1
test esi, esi
ja 0x4e7300
jb 0x4e7316
cmp eax, 0xf
ja 0x4e7300
and eax, 7
mov ax, word [eax*2 + 0x597b4c]
sub ax, 0xa
add ax, word [esp + 0x18]
movzx eax, ax
cmp word [esp + 0xc], ax
jle 0x4e73d4
mov esi, 0x28
test edx, edx
ja 0x4e7380
jb 0x4e7353
cmp ecx, 8
jae 0x4e7374
test edx, edx
ja 0x4e7360
jb 0x4e7353
cmp ecx, 2
jae 0x4e7360
mov esi, dword [esp + 0x2c]
xor eax, eax
mov word [esi + 2], ax
jmp 0x4e73d8
shld edx, ecx, 1
sub esi, 0xa
add ecx, ecx
test edx, edx
jne 0x4e73b5
cmp ecx, 8
jb 0x4e7360
jmp 0x4e73b5
test edx, edx
jne 0x4e7380
cmp ecx, 0xff
jbe 0x4e7398
shrd ecx, edx, 4
add esi, 0x28
shr edx, 4
test edx, edx
ja 0x4e7380
jb 0x4e73a1
cmp ecx, 0xff
ja 0x4e7380
test edx, edx
jne 0x4e73a1
cmp ecx, 0xf
jbe 0x4e73b5
shrd ecx, edx, 1
add esi, 0xa
shr edx, 1
test edx, edx
ja 0x4e73a1
jb 0x4e73b5
cmp ecx, 0xf
ja 0x4e73a1
and ecx, 7
mov ax, word [ecx*2 + 0x597b4c]
sub ax, 0xa
add ax, si
mov esi, dword [esp + 0x2c]
movzx eax, ax
mov word [esi + 2], ax
jmp 0x4e73d8
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4e7803
mov eax, dword [edi]
mov edx, dword [edi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4e73fc
mov eax, 0x5d1b70
mov dword [eax + 8], edx
jmp 0x4e7803
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4e7803
cmp byte [esp + 0x40], 1
jne 0x4e742a
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
jmp 0x4e74b1
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x28]
mov dword [esp + 0xc], ecx
lea eax, [ecx + 1]
mov dword [edx + 0x28], eax
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x4e745b
push 0
push 0
push ecx
mov edx, 0x74
mov ecx, edi
call fcn.00495eb0
add esp, 0xc
mov edx, eax
jmp 0x4e7492
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [esi + 0x14], edx
mov ecx, esi
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4e74a9
nop
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x4e74a0
or dword [ecx + 4], 0x20
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x84]
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.004eca90
mov ecx, eax
add esp, 4
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x4e7a64
cmp byte [esi], 0x88
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x14], eax
sete al
inc al
mov dword [esi + 0x3c], ecx
mov byte [esp + 0x84], al
movzx eax, byte [esi]
sub eax, 0x87
je 0x4e7557
sub eax, 1
je 0x4e7550
sub eax, 1
je 0x4e7549
mov eax, str.UNION
jmp 0x4e755c
mov eax, str.INTERSECT
jmp 0x4e755c
mov eax, str.EXCEPT
jmp 0x4e755c
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x1c]
call fcn.004964b0
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x94]
push eax
mov edx, esi
call fcn.004eca90
mov dword [esp + 0x3c], eax
add esp, 0x14
cmp byte [esi], 0x86
mov eax, dword [esi + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], 0
jne 0x4e7626
movzx ecx, word [esi + 2]
movzx eax, word [eax + 2]
mov dword [esp + 0x38], ecx
movsx ecx, cx
movsx edx, ax
cmp word [esp + 0x38], ax
jl 0x4e75e8
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x4e75cb
movzx eax, word [esi + 2]
jmp 0x4e7622
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x4e75d9
movzx eax, word [esi + 2]
inc eax
jmp 0x4e761f
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [esi + 2]
jmp 0x4e761c
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x4e75f9
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 2]
jmp 0x4e7622
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x4e760b
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 2]
inc eax
jmp 0x4e761f
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0x1c]
movzx ecx, word [edx + 2]
add ax, cx
movzx eax, ax
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x4e7636
mov ecx, dword [esp + 0x30]
call fcn.004ae2c0
cmp byte [esp + 0x40], 1
mov eax, dword [esp + 0x14]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
je 0x4e7803
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x57], 0
jne 0x4e7803
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x38]
dec eax
push eax
mov dword [esp + 0x24], eax
lea ecx, [eax - 1]
mov dword [edx + 0x38], ecx
mov edx, esi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
call fcn.004e5bc0
mov ecx, dword [edi + 0x74]
add esp, 4
cmp dword [edi + 0x78], ecx
jg 0x4e76ad
mov edx, dword [esp + 0x20]
mov ecx, edi
push 0
push edx
push dword [esp + 0x14]
mov edx, 0x26
call fcn.00495eb0
add esp, 0xc
jmp 0x4e76e0
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x26
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x20]
mov eax, dword [edi + 0x74]
mov edx, esi
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x48]
push eax
push 0
push 0
push dword [esp + 0x20]
call fcn.004e3130
mov ecx, dword [edi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x14]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e7728
push edx
mov edx, edi
call fcn.004966d0
add esp, 4
jmp 0x4e7731
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4e7755
mov edx, dword [esp + 0x24]
mov ecx, edi
push 0
push edx
push dword [esp + 0x14]
mov edx, 5
call fcn.00495eb0
add esp, 0xc
jmp 0x4e7788
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
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 + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4e77a6
push edx
mov edx, edi
call fcn.004966d0
add esp, 4
jmp 0x4e77af
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [edi + 0x74]
cmp dword [edi + 0x78], ecx
jg 0x4e77d0
push 0
push 0
push dword [esp + 0x14]
mov edx, 0x79
mov ecx, edi
call fcn.00495eb0
add esp, 0xc
jmp 0x4e7803
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
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], 0x79
cmp dword [esi + 0x38], 0
jne 0x4e784b
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xdc]
test ecx, ecx
jne 0x4e781b
xor eax, eax
jmp 0x4e7841
mov edx, dword [eax + 8]
test ecx, ecx
jns 0x4e7826
mov ecx, dword [edx + 0x74]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x4e7835
mov eax, 0x5d1b70
jmp 0x4e783e
mov eax, dword [edx + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0xdc], eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
jne 0x4e7a60
test byte [esi + 4], 0x20
je 0x4e7a60
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x30]
push 0
mov eax, dword [eax]
mov dword [esp + 0x10], eax
lea eax, [eax + eax*4]
add eax, 0x19
push eax
call fcn.00471a30
mov ecx, eax
add esp, 8
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4e7915
mov edx, dword [esp + 0xc]
lea eax, [edx + 6]
lea eax, [ecx + eax*4]
mov dword [ecx + 0x10], eax
movzx eax, dx
mov word [ecx + 6], ax
inc eax
mov word [ecx + 8], ax
mov eax, dword [esp + 0x30]
mov al, byte [eax + 0x54]
mov byte [ecx + 4], al
mov eax, dword [esp + 0x30]
mov dword [ecx + 0xc], eax
lea eax, [edx*4 + 1]
add eax, edx
mov dword [ecx], 1
push eax
lea eax, [ecx + 0x18]
push 0
push eax
call fcn.0054f8e0
mov edx, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0xc], 0
lea ecx, [edx + 0x14]
mov dword [esp + 0x20], ecx
jle 0x4e7990
mov dword [esp + 0x14], 0
xor edi, edi
mov edx, dword [esi + 0x34]
test edx, edx
je 0x4e7939
mov ecx, dword [esp + 0x10]
push edi
call fcn.004e5f60
mov ecx, dword [esp + 0x24]
add esp, 4
test eax, eax
jne 0x4e7957
jmp 0x4e793b
push dword [esp + 0x30]
call fcn.00471d00
mov edx, eax
add esp, 4
mov dword [esp + 0x18], edx
test edx, edx
jne 0x4e78db
mov ecx, 7
mov dword [esp + 0x28], ecx
jmp 0x4e7a64
xor eax, eax
mov edx, dword [esi + 0x1c]
cmp edi, dword [edx]
jge 0x4e7957
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [edx + eax + 8]
call fcn.004acb00
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
test eax, eax
jne 0x4e7966
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
mov dword [ecx], eax
add dword [esp + 0x14], 0x14
inc edi
add ecx, 4
mov dword [esp + 0x20], ecx
cmp edi, dword [esp + 0xc]
jl 0x4e78f7
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
nop word [eax + eax]
lea eax, [esi + 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
lea esi, [edi + 0x70]
mov eax, dword [eax]
test eax, eax
js 0x4e7a3c
lea ecx, [eax + eax*4]
mov eax, dword [edi]
shl ecx, 2
cmp byte [eax + 0x57], 0
je 0x4e79c1
mov eax, 0x5d1b70
jmp 0x4e79c5
mov eax, dword [esi]
add eax, ecx
mov edx, dword [esp + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
inc dword [edx]
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4e79f3
push edx
mov edx, 0xfffffff7
mov ecx, eax
call fcn.004969c0
mov edx, dword [esp + 0x1c]
lea esi, [edi + 0x70]
add esp, 4
jmp 0x4e7a19
mov eax, dword [esi]
add eax, ecx
cmp byte [eax + 1], 0
je 0x4e7a12
push 0xfffffffffffffff7
push edx
mov edx, eax
mov ecx, edi
call fcn.00496c10
mov edx, dword [esp + 0x20]
add esp, 8
jmp 0x4e7a19
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x24], eax
cmp ecx, 2
jl 0x4e79a2
mov esi, dword [esp + 0x2c]
mov esi, dword [esi + 0x34]
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x4e7990
add dword [edx], 0xffffffff
jne 0x4e7a60
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0xc]
call fcn.00471640
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 0x4e7ad6
mov esi, dword [esp + 0x10]
push 0
push 0xc
mov ecx, dword [esi]
test ecx, ecx
je 0x4e7a92
call fcn.00471a30
jmp 0x4e7a97
call fcn.00471370
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4e7ac4
mov eax, dword [esi + 0x80]
mov dword [ecx], eax
mov dword [esi + 0x80], ecx
mov dword [ecx + 4], edi
mov dword [ecx + 8], fcn.004e1cd0
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.004e19f0
mov ecx, dword [esp + 0x2c]
add esp, 4
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret