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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [section..data]
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 + 0x14], edx
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], eax
mov dword [esp + 0x30], esi
test esi, esi
jne 0x47d6c3
cmp dword [ecx + 0x74], esi
jne 0x47d6b8
mov eax, dword [esp + 0x2c]
test byte [eax + 0x4c], 8
jne 0x47d6b8
mov byte [ecx + 0x17], 1
call fcn.0042a700
mov esi, eax
mov dword [esp + 0x30], eax
cmp byte [esp + 0x40], 0xc
jne 0x47d72c
mov ecx, dword [edi + 0x1c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov edx, dword [ecx]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x47d6f4
push 0
push edx
push eax
mov edx, 0x73
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47d727
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0xc]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x73
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 0x47d80b
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 0x47d809
mov eax, dword [edi + 0x34]
test eax, eax
je 0x47d784
mov edi, eax
add ecx, edx
mov dword [esp + 0xc], ecx
cmp dword [edi + 0x44], 0
je 0x47d766
mov edi, dword [esp + 0x24]
jmp 0x47d80b
cmp ecx, 1
mov edx, 0x4e00ec
mov eax, 0x4db4e0
cmovne eax, edx
push eax
push ecx
push str.SCAN__d_CONSTANT_ROW_s
push 0
push dword [esp + 0x18]
call fcn.0042af20
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.00479da0
add esp, 0x18
cmp dword [esp + 0x10], 0
jne 0x47d7df
mov word [edi + 2], si
mov edi, dword [edi + 0x38]
test edi, edi
jne 0x47d7b0
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.004bf1a3
mov esp, ebp
pop ebp
ret
mov edi, eax
test dword [edi + 4], 0x2000
je 0x47d826
mov eax, edi
test dword [eax + 4], 0x2000
je 0x47d857
mov eax, dword [eax + 0x34]
test eax, eax
jne 0x47d816
cmp dword [edi + 0x30], 0
je 0x47d8bd
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 8]
push edx
mov edx, edi
call fcn.0047efc0
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004bf1a3
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 8]
lea eax, [esp + 0x40]
push eax
mov edx, edi
call fcn.0047ce40
add esp, 4
xor eax, eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 8]
cmp dword [edx + 0x24], 0
jne 0x47e6c0
test byte [edi + 4], 0x20
je 0x47e6c0
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x2c]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x20], eax
call fcn.0047aee0
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
test edi, edi
jne 0x47e571
mov ecx, 7
mov dword [esp + 0x20], ecx
jmp 0x47e6c4
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x34], 0
jne 0x47d8f1
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x10]
call fcn.0042af20
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x10]
call fcn.0042af20
mov ecx, dword [esp + 0x20]
add esp, 0xc
movzx eax, byte [edi]
sub eax, 0x85
je 0x47e123
sub eax, 1
je 0x47ddaa
sub eax, 1
je 0x47e123
mov ecx, dword [esp + 8]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x3c], edx
lea eax, [edx + 1]
mov dword [esp + 0x18], eax
inc eax
mov dword [ecx + 0x28], eax
mov ecx, dword [esi + 0x74]
mov dword [esp + 0xc], ecx
cmp dword [esi + 0x78], ecx
jg 0x47d94d
push 0
push 0
push edx
mov edx, 0x73
mov ecx, esi
call fcn.0042a9a0
mov edx, dword [esp + 0x48]
add esp, 0xc
jmp 0x47d984
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x73
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 0x47d999
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x47d990
or dword [ecx + 4], 0x20
lea eax, [esp + 0x64]
mov ecx, dword [esp + 8]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x14]
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.00483630
mov ecx, eax
add esp, 4
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x47e6c4
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x47da08
push eax
push eax
push dword [esp + 0x20]
lea edx, [eax + 0x73]
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
mov edx, eax
jmp 0x47da3f
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x73
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 + 0x18]
mov dword [esp + 0x68], eax
movzx eax, byte [edi]
mov dword [edi + 0x34], 0
mov dword [edi + 0x3c], 0
sub eax, 0x86
je 0x47da88
sub eax, 1
je 0x47da81
sub eax, 1
je 0x47da7a
mov eax, str.UNION
jmp 0x47da8d
mov eax, str.INTERSECT
jmp 0x47da8d
mov eax, str.EXCEPT
jmp 0x47da8d
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x14]
call fcn.0042af20
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x74]
push eax
mov edx, edi
call fcn.00483630
mov dword [esp + 0x34], eax
add esp, 0x14
mov eax, dword [edi + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x34], eax
movzx eax, word [eax + 2]
cmp word [edi + 2], ax
jle 0x47dad1
mov word [edi + 2], ax
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x47dae1
mov ecx, dword [esp + 0x2c]
call fcn.00443540
cmp dword [esp + 0x20], 0
mov eax, dword [esp + 0xc]
mov dword [edi + 0x3c], eax
jne 0x47e50c
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 + 0x18], edx
mov dword [ecx + 0x38], edx
mov edx, edi
call fcn.0047c980
mov ecx, dword [esi + 0x74]
add esp, 4
cmp dword [esi + 0x78], ecx
jg 0x47db38
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0
push edx
push dword [esp + 0x44]
mov edx, 0x26
call fcn.0042a9a0
add esp, 0xc
jmp 0x47db6b
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
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 + 8]
mov al, byte [ecx + 0x13]
test al, al
jne 0x47db7e
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
jmp 0x47db8d
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov edx, dword [ecx + eax*4 + 0x98]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc], ecx
cmp dword [esi + 0x78], ecx
jg 0x47dbbd
push 0
push edx
push dword [esp + 0x44]
mov edx, 0x84
mov ecx, esi
call fcn.0042a9a0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x47dbf0
mov edi, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x84
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 + 0x74]
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x78], ecx
jg 0x47dc1c
push edx
push dword [esp + 0x18]
mov edx, 0x1e
mov ecx, esi
push dword [esp + 0x20]
call fcn.0042a9a0
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, eax
jmp 0x47dc53
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x1e
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 + 0x53], 0
jne 0x47dc6e
mov eax, dword [esi + 0x70]
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 0x47dc8a
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x47dc8a
movzx eax, al
mov dword [ecx + eax*4 + 0x98], edx
inc byte [ecx + 0x13]
push dword [esp + 0x10]
lea eax, [esp + 0x44]
mov edx, edi
push dword [esp + 0x18]
push eax
push 0
push 0
push dword [esp + 0x50]
call fcn.00479da0
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x14]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47dcc7
push edx
mov edx, esi
call fcn.0042b160
add esp, 4
jmp 0x47dcd0
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x47dcf4
mov edx, dword [esp + 0xc]
mov ecx, esi
push 0
push edx
push dword [esp + 0x44]
mov edx, 5
call fcn.0042a9a0
add esp, 0xc
jmp 0x47dd27
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47dd45
push edx
mov edx, esi
call fcn.0042b160
add esp, 4
jmp 0x47dd4e
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x47dd72
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x78
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47e4b8
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x78
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 0x47e4b8
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.00483630
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [eax + 0x3c], 0
test ecx, ecx
jne 0x47e6c4
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 0x47dec4
mov ecx, dword [esi + 0x74]
mov dword [esp + 0xc], ecx
cmp dword [esi + 0x78], ecx
jg 0x47de2f
push 0
push 0
push edx
mov edx, 0x14
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x47de62
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 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 [edi + 0xc]
test edx, edx
je 0x47dec4
mov ecx, dword [edi + 8]
lea eax, [edx + 1]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x47de92
push edx
push eax
push dword [esp + 0x24]
mov edx, 0x9e
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47dec4
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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], 0x9e
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.0042af20
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, edi
push eax
call fcn.00483630
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 + 0x14]
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 0x47df3f
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x47df22
movzx eax, word [edi + 2]
jmp 0x47df79
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x47df30
movzx eax, word [edi + 2]
inc eax
jmp 0x47df76
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
jmp 0x47df73
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x47df50
mov edx, dword [esp + 0x14]
movzx eax, word [edx + 2]
jmp 0x47df79
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x47df62
mov edx, dword [esp + 0x14]
movzx eax, word [edx + 2]
inc eax
jmp 0x47df76
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0x14]
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 0x47e0e8
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.00444d60
test eax, eax
je 0x47e0e8
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x47e0e8
cdq
mov edi, edx
mov dword [esp + 0x18], 0x28
mov ecx, eax
test edi, edi
ja 0x47dff1
jb 0x47dfcb
cmp eax, 8
jae 0x47dfe6
test edi, edi
ja 0x47dfd0
jb 0x47dfcb
cmp eax, 2
jae 0x47dfd0
xor eax, eax
jmp 0x47e03e
sub dword [esp + 0x18], 0xa
shld edi, eax, 1
add eax, eax
test edi, edi
jne 0x47e027
cmp eax, 8
jb 0x47dfd0
jmp 0x47e027
test edi, edi
jne 0x47dff1
cmp eax, 0xff
jbe 0x47e00a
add dword [esp + 0x18], 0x28
shrd eax, edi, 4
shr edi, 4
test edi, edi
ja 0x47dff1
jb 0x47e013
cmp eax, 0xff
ja 0x47dff1
test edi, edi
jne 0x47e013
cmp eax, 0xf
jbe 0x47e027
add dword [esp + 0x18], 0xa
shrd eax, edi, 1
shr edi, 1
jne 0x47e013
jb 0x47e027
cmp eax, 0xf
ja 0x47e013
and eax, 7
mov ax, word [eax*2 + 0x4e352c]
sub ax, 0xa
add ax, word [esp + 0x18]
movzx eax, ax
mov edi, dword [esp + 0x24]
cmp word [edi + 2], ax
jle 0x47e0e8
mov eax, 0x28
mov dword [esp + 0x10], eax
test edx, edx
ja 0x47e092
jb 0x47e06b
cmp ecx, 8
jae 0x47e086
test edx, edx
ja 0x47e072
jb 0x47e06b
cmp ecx, 2
jae 0x47e072
xor eax, eax
jmp 0x47e0e4
shld edx, ecx, 1
sub eax, 0xa
add ecx, ecx
test edx, edx
jne 0x47e0c9
cmp ecx, 8
jb 0x47e072
jmp 0x47e0c9
test edx, edx
jne 0x47e092
cmp ecx, 0xff
jbe 0x47e0ae
shrd ecx, edx, 4
add eax, 0x28
shr edx, 4
test edx, edx
ja 0x47e092
jb 0x47e0aa
cmp ecx, 0xff
ja 0x47e092
mov dword [esp + 0x10], eax
test edx, edx
jne 0x47e0b7
cmp ecx, 0xf
jbe 0x47e0cd
shrd ecx, edx, 1
add eax, 0xa
shr edx, 1
jne 0x47e0b7
jb 0x47e0c9
cmp ecx, 0xf
ja 0x47e0b7
mov dword [esp + 0x10], eax
and ecx, 7
mov ax, word [ecx*2 + 0x4e352c]
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 0x47e50c
mov edx, dword [esi + 0x74]
jns 0x47e0fc
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
je 0x47e111
mov eax, 0x4edf68
mov dword [eax + 8], edx
jmp 0x47e50c
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x47e50c
cmp byte [esp + 0x40], 1
jne 0x47e137
mov edx, dword [esp + 0x44]
mov dword [esp + 0x3c], edx
jmp 0x47e1be
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 + 0x74]
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x78], ecx
jg 0x47e16e
push 0
push 0
push edx
mov edx, 0x73
mov ecx, esi
call fcn.0042a9a0
mov edx, dword [esp + 0x48]
add esp, 0xc
jmp 0x47e1a5
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x73
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 0x47e1ba
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x47e1b1
or dword [ecx + 4], 0x20
mov ecx, dword [esp + 8]
lea eax, [esp + 0x80]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x14]
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.00483630
mov ecx, eax
add esp, 4
mov dword [esp + 0x20], ecx
test ecx, ecx
jne 0x47e6c4
cmp byte [edi], 0x87
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, 0x86
je 0x47e264
sub eax, 1
je 0x47e25d
sub eax, 1
je 0x47e256
mov eax, str.UNION
jmp 0x47e269
mov eax, str.INTERSECT
jmp 0x47e269
mov eax, str.EXCEPT
jmp 0x47e269
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x14]
call fcn.0042af20
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x90]
push eax
mov edx, edi
call fcn.00483630
mov dword [esp + 0x34], eax
add esp, 0x14
cmp byte [edi], 0x85
mov eax, dword [edi + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], 0
jne 0x47e333
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 0x47e2f5
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x47e2d8
movzx eax, word [edi + 2]
jmp 0x47e32f
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x47e2e6
movzx eax, word [edi + 2]
inc eax
jmp 0x47e32c
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 2]
jmp 0x47e329
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x47e306
mov edx, dword [esp + 0x14]
movzx eax, word [edx + 2]
jmp 0x47e32f
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x47e318
mov edx, dword [esp + 0x14]
movzx eax, word [edx + 2]
inc eax
jmp 0x47e32c
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
mov edx, dword [esp + 0x14]
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 0x47e343
mov ecx, dword [esp + 0x2c]
call fcn.00443540
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 0x47e50c
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x53], 0
jne 0x47e50c
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.0047c980
mov ecx, dword [esi + 0x74]
add esp, 4
cmp dword [esi + 0x78], ecx
jg 0x47e3b6
mov edx, dword [esp + 0x10]
mov ecx, esi
push 0
push edx
push dword [esp + 0x44]
mov edx, 0x26
call fcn.0042a9a0
add esp, 0xc
jmp 0x47e3e9
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
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 + 0x10]
mov eax, dword [esi + 0x74]
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.00479da0
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 0x47e431
push edx
mov edx, esi
call fcn.0042b160
add esp, 4
jmp 0x47e43a
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x47e45e
mov edx, dword [esp + 0x1c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x44]
mov edx, 5
call fcn.0042a9a0
add esp, 0xc
jmp 0x47e491
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47e4af
push edx
mov edx, esi
call fcn.0042b160
add esp, 4
jmp 0x47e4b8
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x47e4d9
push 0
push 0
push dword [esp + 0x44]
mov edx, 0x78
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x47e50c
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 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], 0x78
cmp dword [edi + 0x38], 0
jne 0x47d870
mov edx, dword [esp + 8]
mov ecx, dword [edx + 0xd8]
test ecx, ecx
jne 0x47e531
xor eax, eax
mov dword [edx + 0xd8], eax
jmp 0x47d874
mov eax, dword [edx + 8]
test ecx, ecx
jns 0x47e53c
mov ecx, dword [eax + 0x74]
dec ecx
mov eax, dword [eax]
cmp byte [eax + 0x53], 0
je 0x47e557
mov eax, 0x4edf68
mov eax, dword [eax + 8]
mov dword [edx + 0xd8], eax
jmp 0x47d874
mov eax, dword [edx + 8]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + 0x70]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [edx + 0xd8], eax
jmp 0x47d874
cmp dword [esp + 0x1c], 0
lea ecx, [edi + 0x14]
mov dword [esp + 0x10], ecx
jle 0x47e5f7
mov edi, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0xc], 0
mov edx, dword [edi + 0x34]
test edx, edx
je 0x47e5af
mov ecx, dword [esp + 8]
push esi
call fcn.0047cc90
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x47e5cd
jmp 0x47e5b1
xor eax, eax
mov edx, dword [edi + 0x1c]
cmp esi, dword [edx]
jge 0x47e5cd
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [edx + eax + 8]
call fcn.00441ed0
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
test eax, eax
jne 0x47e5dc
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 + 0x1c]
jl 0x47e591
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
nop dword [eax + eax]
add eax, 0x14
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
nop
mov edx, dword [eax]
test edx, edx
js 0x47e69e
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
je 0x47e629
mov eax, 0x4edf68
jmp 0x47e632
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
inc dword [edi]
mov ecx, dword [esi]
cmp byte [ecx + 0x53], 0
je 0x47e653
push edi
mov edx, 0xfffffff7
call fcn.0042b470
add esp, 4
jmp 0x47e67b
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x47e674
push 0xfffffffffffffff7
push edi
mov edx, eax
mov ecx, esi
call fcn.0042b6e0
add esp, 8
jmp 0x47e67b
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esp + 0xc], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x10], eax
cmp ecx, 2
jl 0x47e610
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x47e600
add dword [edi], 0xffffffff
jne 0x47e6c0
mov ecx, dword [edi + 0xc]
mov edx, edi
call fcn.00404680
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 0x47e72d
mov esi, dword [esp + 8]
push 0
push 0xc
mov ecx, dword [esi]
test ecx, ecx
je 0x47e6f3
call fcn.00404a90
jmp 0x47e6f8
call fcn.004043b0
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x47e71b
mov eax, dword [esi + 0x80]
mov dword [ecx], eax
mov dword [esi + 0x80], ecx
mov dword [ecx + 4], edi
mov dword [ecx + 8], fcn.00478860
jmp 0x47e729
mov ecx, dword [esi]
mov edx, edi
push 1
call fcn.00478500
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.004bf1a3
mov esp, ebp
pop ebp
ret