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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x511080]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, edx
mov dword [esp + 0x34], eax
mov eax, dword [ecx]
movups xmm0, xmmword [esi]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x18]
mov edx, dword [edi + 0x34]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x38], esi
movq xmm0, qword [esi + 0x10]
mov esi, dword [ecx + 8]
mov dword [esp + 0x24], edi
mov dword [esp + 8], ecx
mov dword [esp + 0x18], edx
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], eax
mov dword [esp + 0x30], esi
test esi, esi
jne 0x4942a3
cmp dword [ecx + 0x78], esi
jne 0x494298
mov eax, dword [esp + 0x2c]
test byte [eax + 0x50], 8
jne 0x494298
mov byte [ecx + 0x17], 1
call fcn.00440600
mov esi, eax
mov dword [esp + 0x30], eax
cmp byte [esp + 0x40], 0xc
jne 0x49430c
mov ecx, dword [edi + 0x1c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4942d4
push 0
push edx
push eax
mov edx, 0x76
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x494307
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x30]
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
test dword [edi + 4], 0x400
je 0x4943eb
mov eax, edi
mov dword [esp + 0x1c], 0
mov ecx, 1
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 0x3c]
test edx, edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
sete dl
cmp dword [eax + 0x44], 0
jne 0x4943e9
mov eax, dword [edi + 0x34]
test eax, eax
je 0x494364
mov edi, eax
add ecx, edx
mov dword [esp + 0xc], ecx
cmp dword [edi + 0x44], 0
je 0x494346
mov edi, dword [esp + 0x24]
jmp 0x4943eb
cmp ecx, 1
mov edx, 0x50aac4
mov eax, 0x504da5
cmovne eax, edx
push eax
push ecx
push str.SCAN__d_CONSTANT_ROW_s
push 0
push dword [esp + 0x18]
call fcn.00440e10
mov esi, dword [esp + 0x20]
add esp, 0x14
nop dword [eax]
mov ecx, dword [esp + 8]
lea eax, [esp + 0x40]
push 1
push 1
push eax
push 0
push 0
push 0xffffffffffffffff
mov edx, edi
call fcn.004909e0
add esp, 0x18
cmp dword [esp + 0x10], 0
jne 0x4943bf
mov word [edi + 2], si
mov edi, dword [edi + 0x38]
test edi, edi
jne 0x494390
mov edx, dword [esp + 0x38]
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 ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret
mov edi, eax
test dword [edi + 4], 0x2000
je 0x494406
mov eax, edi
test dword [eax + 4], 0x2000
je 0x494437
mov eax, dword [eax + 0x34]
test eax, eax
jne 0x4943f6
cmp dword [edi + 0x30], 0
je 0x494529
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 8]
push edx
mov edx, edi
call fcn.00495c10
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 8]
lea eax, [esp + 0x40]
push eax
mov edx, edi
call fcn.00493a20
add esp, 4
xor eax, eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
cmp dword [ecx + 0x24], 0
jne 0x495320
test byte [edi + 4], 0x20
je 0x495320
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x2c]
push 0
mov eax, dword [eax]
mov dword [esp + 0x18], eax
lea eax, [eax + eax*4]
add eax, 0x19
push eax
call fcn.00419010
mov edi, eax
add esp, 8
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4951e1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
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 fcn.004d4bd0
add esp, 0xc
cmp dword [esp + 0x14], 0
lea ecx, [edi + 0x14]
mov dword [esp + 0x10], ecx
jle 0x495252
mov edi, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0xc], 0
nop dword [eax + eax]
mov edx, dword [edi + 0x34]
test edx, edx
je 0x495206
mov ecx, dword [esp + 8]
push esi
call fcn.00493820
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x495224
jmp 0x495208
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x34], 0
jne 0x49455d
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x10]
call fcn.00440e10
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x10]
call fcn.00440e10
mov ecx, dword [esp + 0x24]
add esp, 0xc
movzx eax, byte [edi]
sub eax, 0x86
je 0x494d8c
sub eax, 1
je 0x494a1a
sub eax, 1
je 0x494d8c
mov ecx, dword [esp + 8]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x3c], edx
lea eax, [edx + 1]
mov dword [esp + 0x14], eax
inc eax
mov dword [ecx + 0x28], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0xc], ecx
cmp dword [esi + 0x70], ecx
jg 0x4945b9
push 0
push 0
push edx
mov edx, 0x76
mov ecx, esi
call fcn.00440850
mov edx, dword [esp + 0x48]
add esp, 0xc
jmp 0x4945f0
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
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 + 0xc]
mov dword [edi + 0x14], eax
mov ecx, edi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x494609
nop dword [eax]
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x494600
or dword [ecx + 4], 0x20
lea eax, [esp + 0x64]
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x18]
push eax
mov byte [esp + 0x68], 1
mov dword [esp + 0x70], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.0049a850
mov ecx, eax
add esp, 4
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x495324
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x494678
push eax
push eax
push dword [esp + 0x1c]
lea edx, [eax + 0x76]
mov ecx, esi
call fcn.00440850
add esp, 0xc
mov edx, eax
jmp 0x4946af
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x30]
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 + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x68], eax
movzx eax, byte [edi]
mov dword [edi + 0x34], 0
mov dword [edi + 0x3c], 0
sub eax, 0x87
je 0x4946f8
sub eax, 1
je 0x4946f1
sub eax, 1
je 0x4946ea
mov eax, str.UNION
jmp 0x4946fd
mov eax, str.INTERSECT
jmp 0x4946fd
mov eax, str.EXCEPT
jmp 0x4946fd
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x14]
call fcn.00440e10
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x74]
push eax
mov edx, edi
call fcn.0049a850
mov dword [esp + 0x34], eax
add esp, 0x14
mov eax, dword [edi + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x34], eax
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x494741
mov word [edi + 2], ax
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x494751
mov ecx, dword [esp + 0x2c]
call fcn.00459770
cmp dword [esp + 0x20], 0
mov eax, dword [esp + 0xc]
mov dword [edi + 0x3c], eax
jne 0x49517b
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x38]
dec eax
push eax
mov dword [esp + 0x14], eax
lea edx, [eax - 1]
mov dword [esp + 0x1c], edx
mov dword [ecx + 0x38], edx
mov edx, edi
call fcn.00493510
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x4947a8
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0
push edx
push dword [esp + 0x44]
mov edx, 0x24
call fcn.00440850
add esp, 0xc
jmp 0x4947db
mov edx, dword [esp + 0x3c]
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], 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 + 8]
mov al, byte [ecx + 0x13]
test al, al
jne 0x4947ee
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
jmp 0x4947fd
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov edx, dword [ecx + eax*4 + 0x9c]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc], ecx
cmp dword [esi + 0x70], ecx
jg 0x49482d
push 0
push edx
push dword [esp + 0x44]
mov edx, 0x86
mov ecx, esi
call fcn.00440850
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x494860
mov edi, dword [esp + 0x3c]
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 + 0x24]
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 + 0x28], ecx
cmp dword [esi + 0x70], ecx
jg 0x49488c
push edx
push dword [esp + 0x1c]
mov edx, 0x1c
mov ecx, esi
push dword [esp + 0x1c]
call fcn.00440850
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, eax
jmp 0x4948c3
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 + 0x18]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x28]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
jne 0x4948de
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 + 8]
test edx, edx
je 0x4948fa
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4948fa
movzx eax, al
mov dword [ecx + eax*4 + 0x9c], edx
inc byte [ecx + 0x13]
push dword [esp + 0x10]
lea eax, [esp + 0x44]
mov edx, edi
push dword [esp + 0x1c]
push eax
push 0
push 0
push dword [esp + 0x50]
call fcn.004909e0
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x18]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x494937
push edx
mov edx, esi
call fcn.00441050
add esp, 4
jmp 0x494940
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 0x494964
mov edx, dword [esp + 0xc]
mov ecx, esi
push 0
push edx
push dword [esp + 0x44]
mov edx, 0x27
call fcn.00440850
add esp, 0xc
jmp 0x494997
mov edx, dword [esp + 0x3c]
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 + 0xc]
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 + 0x10]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4949b5
push edx
mov edx, esi
call fcn.00441050
add esp, 4
jmp 0x4949be
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 0x4949e2
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x7a
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x495127
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], 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 0x495127
xor eax, eax
mov edx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x3c], 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 + 8]
push eax
call fcn.0049a850
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [eax + 0x3c], 0
test ecx, ecx
jne 0x495324
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 0x494b34
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0xc], ecx
cmp dword [esi + 0x70], ecx
jg 0x494a9f
push 0
push 0
push edx
mov edx, 0x11
mov ecx, esi
call fcn.00440850
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x494ad2
mov edi, dword [esp + 0x24]
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 0x494b34
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 0x494b02
push edx
push eax
push dword [esp + 0x24]
mov edx, 0xa0
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x494b34
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 + 0x30]
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 + 0x10]
call fcn.00440e10
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, edi
push eax
call fcn.0049a850
movzx ecx, word [edi + 2]
add esp, 4
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x34], eax
mov dword [esp + 0x28], ecx
movsx ecx, cx
movzx eax, word [eax + 2]
movsx edx, ax
cmp word [esp + 0x28], ax
jl 0x494baf
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x494b92
movzx eax, word [edi + 2]
jmp 0x494be9
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x494ba0
movzx eax, word [edi + 2]
inc eax
jmp 0x494be6
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
jmp 0x494be3
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x494bc0
mov edx, dword [esp + 0x18]
movzx eax, word [edx + 2]
jmp 0x494be9
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x494bd2
mov edx, dword [esp + 0x18]
movzx eax, word [edx + 2]
inc eax
jmp 0x494be6
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0x18]
movzx ecx, word [edx + 2]
add ax, cx
movzx eax, ax
mov ecx, dword [edi + 0x3c]
mov word [edi + 2], ax
test ecx, ecx
je 0x494d56
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.0045afd0
test eax, eax
je 0x494d56
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x494d56
cdq
mov edi, edx
mov dword [esp + 0x14], 0x28
mov ecx, eax
test edi, edi
ja 0x494c61
jb 0x494c3b
cmp eax, 8
jae 0x494c56
test edi, edi
ja 0x494c40
jb 0x494c3b
cmp eax, 2
jae 0x494c40
xor eax, eax
jmp 0x494cae
sub dword [esp + 0x14], 0xa
shld edi, eax, 1
add eax, eax
test edi, edi
jne 0x494c97
cmp eax, 8
jb 0x494c40
jmp 0x494c97
test edi, edi
jne 0x494c61
cmp eax, 0xff
jbe 0x494c7a
add dword [esp + 0x14], 0x28
shrd eax, edi, 4
shr edi, 4
test edi, edi
ja 0x494c61
jb 0x494c83
cmp eax, 0xff
ja 0x494c61
test edi, edi
jne 0x494c83
cmp eax, 0xf
jbe 0x494c97
add dword [esp + 0x14], 0xa
shrd eax, edi, 1
shr edi, 1
jne 0x494c83
jb 0x494c97
cmp eax, 0xf
ja 0x494c83
and eax, 7
mov ax, word [eax*2 + 0x50128c]
sub ax, 0xa
add ax, word [esp + 0x14]
movzx eax, ax
mov edi, dword [esp + 0x24]
cmp word [edi + 2], ax
jle 0x494d56
mov eax, 0x28
mov dword [esp + 0x10], eax
test edx, edx
ja 0x494d00
jb 0x494cdb
cmp ecx, 8
jae 0x494cf4
test edx, edx
ja 0x494ce0
jb 0x494cdb
cmp ecx, 2
jae 0x494ce0
xor eax, eax
jmp 0x494d52
shld edx, ecx, 1
sub eax, 0xa
add ecx, ecx
test edx, edx
jne 0x494d37
cmp ecx, 8
jb 0x494ce0
jmp 0x494d37
test edx, edx
jne 0x494d00
cmp ecx, 0xff
jbe 0x494d1c
shrd ecx, edx, 4
add eax, 0x28
shr edx, 4
test edx, edx
ja 0x494d00
jb 0x494d18
cmp ecx, 0xff
ja 0x494d00
mov dword [esp + 0x10], eax
test edx, edx
jne 0x494d25
cmp ecx, 0xf
jbe 0x494d3b
shrd ecx, edx, 1
add eax, 0xa
shr edx, 1
jne 0x494d25
jb 0x494d37
cmp ecx, 0xf
ja 0x494d25
mov dword [esp + 0x10], eax
and ecx, 7
mov ax, word [ecx*2 + 0x50128c]
sub ax, 0xa
add ax, word [esp + 0x10]
movzx eax, ax
mov word [edi + 2], ax
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x49517b
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x494d7a
mov eax, 0x514d18
mov dword [eax + 8], edx
jmp 0x49517b
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x49517b
cmp byte [esp + 0x40], 1
jne 0x494da0
mov edx, dword [esp + 0x44]
mov dword [esp + 0x3c], edx
jmp 0x494e2d
mov ecx, dword [esp + 8]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x3c], edx
lea eax, [edx + 1]
mov dword [ecx + 0x28], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x70], ecx
jg 0x494dd7
push 0
push 0
push edx
mov edx, 0x76
mov ecx, esi
call fcn.00440850
mov edx, dword [esp + 0x48]
add esp, 0xc
jmp 0x494e0e
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x30]
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 + 0x28]
mov dword [edi + 0x14], eax
mov ecx, edi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x494e29
nop word [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x494e20
or dword [ecx + 4], 0x20
mov ecx, dword [esp + 8]
lea eax, [esp + 0x80]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x18]
push eax
mov byte [esp + 0x84], 1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call fcn.0049a850
mov ecx, eax
add esp, 4
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x495324
cmp byte [edi], 0x88
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0xc], eax
sete al
inc al
mov dword [edi + 0x3c], ecx
mov byte [esp + 0x80], al
movzx eax, byte [edi]
sub eax, 0x87
je 0x494ed3
sub eax, 1
je 0x494ecc
sub eax, 1
je 0x494ec5
mov eax, str.UNION
jmp 0x494ed8
mov eax, str.INTERSECT
jmp 0x494ed8
mov eax, str.EXCEPT
jmp 0x494ed8
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x14]
call fcn.00440e10
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x90]
push eax
mov edx, edi
call fcn.0049a850
mov dword [esp + 0x34], eax
add esp, 0x14
cmp byte [edi], 0x86
mov eax, dword [edi + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], 0
jne 0x494fa2
movzx ecx, word [edi + 2]
movzx eax, word [eax + 2]
mov dword [esp + 0x28], ecx
movsx ecx, cx
movsx edx, ax
cmp word [esp + 0x28], ax
jl 0x494f64
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x494f47
movzx eax, word [edi + 2]
jmp 0x494f9e
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x494f55
movzx eax, word [edi + 2]
inc eax
jmp 0x494f9b
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
jmp 0x494f98
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x494f75
mov edx, dword [esp + 0x18]
movzx eax, word [edx + 2]
jmp 0x494f9e
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x494f87
mov edx, dword [esp + 0x18]
movzx eax, word [edx + 2]
inc eax
jmp 0x494f9b
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0x18]
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 0x494fb2
mov ecx, dword [esp + 0x2c]
call fcn.00459770
cmp byte [esp + 0x40], 1
mov eax, dword [esp + 0xc]
mov dword [edi + 0x3c], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
je 0x49517b
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x57], 0
jne 0x49517b
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x38]
dec eax
push eax
mov dword [esp + 0x14], eax
lea edx, [eax - 1]
mov dword [esp + 0x10], edx
mov dword [ecx + 0x38], edx
mov edx, edi
call fcn.00493510
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x495025
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0
push edx
push dword [esp + 0x44]
mov edx, 0x24
call fcn.00440850
add esp, 0xc
jmp 0x495058
mov edx, dword [esp + 0x3c]
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], 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 + 0x10]
mov eax, dword [esi + 0x6c]
mov edx, edi
push dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
push eax
push 0
push 0
push dword [esp + 0x50]
call fcn.004909e0
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4950a0
push edx
mov edx, esi
call fcn.00441050
add esp, 4
jmp 0x4950a9
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 0x4950cd
mov edx, dword [esp + 0x1c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x44]
mov edx, 0x27
call fcn.00440850
add esp, 0xc
jmp 0x495100
mov edx, dword [esp + 0x3c]
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 + 0x10]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49511e
push edx
mov edx, esi
call fcn.00441050
add esp, 4
jmp 0x495127
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 0x495148
push 0
push 0
push dword [esp + 0x44]
mov edx, 0x7a
mov ecx, esi
call fcn.00440850
add esp, 0xc
jmp 0x49517b
mov edx, dword [esp + 0x3c]
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 0x494450
mov ecx, dword [esp + 8]
mov edx, dword [ecx + 0xe0]
test edx, edx
jne 0x4951a0
xor eax, eax
mov dword [ecx + 0xe0], eax
jmp 0x494454
mov eax, dword [ecx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x4951c2
mov eax, 0x514d18
mov eax, dword [eax + 8]
mov dword [ecx + 0xe0], eax
jmp 0x494454
mov eax, dword [esp + 0x28]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 8]
mov dword [ecx + 0xe0], eax
jmp 0x494454
mov ecx, dword [esp + 0x2c]
call fcn.004192e0
mov edi, eax
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x4944d8
mov ecx, 7
mov dword [esp + 0x20], ecx
jmp 0x495324
xor eax, eax
mov edx, dword [edi + 0x1c]
cmp esi, dword [edx]
jge 0x495224
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [edx + eax + 8]
call fcn.00458010
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
test eax, eax
jne 0x495233
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 8]
mov dword [ecx], eax
add dword [esp + 0xc], 0x14
inc esi
add ecx, 4
mov dword [esp + 0x10], ecx
cmp esi, dword [esp + 0x14]
jl 0x494500
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
nop word [eax + eax]
add eax, 0x14
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], eax
nop
mov edx, dword [eax]
test edx, edx
js 0x4952fe
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x495289
mov eax, 0x514d18
jmp 0x495292
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
inc dword [edi]
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4952b3
push edi
mov edx, 0xfffffff8
call fcn.00441340
add esp, 4
jmp 0x4952db
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4952d4
push 0xfffffffffffffff8
push edi
mov edx, eax
mov ecx, esi
call fcn.004414b0
add esp, 8
jmp 0x4952db
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x1c], eax
cmp ecx, 2
jl 0x495270
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x495260
add dword [edi], 0xffffffff
jne 0x495320
mov ecx, dword [edi + 0xc]
mov edx, edi
call fcn.00418c30
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x34]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0x10], eax
test edi, edi
je 0x49538d
mov esi, dword [esp + 8]
push 0
push 0xc
mov ecx, dword [esi]
test ecx, ecx
je 0x495353
call fcn.00419010
jmp 0x495358
call fcn.004188b0
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x49537b
mov eax, dword [esi + 0x84]
mov dword [ecx], eax
mov dword [esi + 0x84], ecx
mov dword [ecx + 4], edi
mov dword [ecx + 8], fcn.0048f110
jmp 0x495389
mov ecx, dword [esi]
mov edx, edi
push 1
call fcn.0048ed20
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret