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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp + 0x34], eax
mov eax, dword [ecx]
mov dword [esp + 0x24], 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 + 0x30], 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 0x4781a1
cmp dword [ecx + 0x74], edi
jne 0x478196
mov eax, dword [esp + 0x2c]
test byte [eax + 0x50], 8
jne 0x478196
mov byte [ecx + 0x17], 1
call fcn.004282e0
mov edi, eax
mov dword [esp + 0x34], eax
cmp byte [esp + 0x40], 0xc
jne 0x47820a
mov ecx, dword [esi + 0x1c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov edx, dword [ecx]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4781d2
push 0
push edx
push eax
mov edx, 0x76
mov ecx, edi
call fcn.004284c0
add esp, 0xc
jmp 0x478205
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esp + 0x40], 0xe
mov eax, dword [esi + 4]
mov dword [esp + 0x18], eax
test eax, 0x400
je 0x47825e
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 0x478256
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4782a6
mov esi, eax
add ecx, edx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x44], 0
je 0x478241
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
test eax, 0x2000
je 0x478284
mov eax, esi
nop word [eax + eax]
test dword [eax + 4], 0x2000
je 0x47831a
mov eax, dword [eax + 0x34]
test eax, eax
jne 0x478270
cmp dword [esi + 0x30], 0
je 0x478409
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
push edx
mov edx, esi
call fcn.00479a50
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, 1
mov edx, 0x4de8cc
mov eax, 0x4d9c3c
cmovne eax, edx
push eax
push ecx
push str.SCAN__d_CONSTANT_ROW_s
push 0
push dword [esp + 0x1c]
call fcn.00428ab0
mov edi, dword [esp + 0x28]
add esp, 0x14
nop
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push 1
push 1
push eax
push 0
push 0
push 0xffffffffffffffff
mov edx, esi
call fcn.00474ab0
add esp, 0x18
cmp dword [esp + 0x20], 0
jne 0x4782ff
mov word [esi + 2], di
mov esi, dword [esi + 0x38]
test esi, esi
jne 0x4782d0
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [esp + 0x4c]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0x10], eax
mov eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.00477950
add esp, 4
xor eax, eax
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0xc]
cmp dword [edx + 0x24], 0
jne 0x479116
test byte [esi + 4], 0x20
je 0x479116
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x2c]
push 0
mov eax, dword [eax]
mov dword [esp + 0x14], eax
lea eax, [eax + eax*4]
add eax, 0x19
push eax
call fcn.00404910
mov ecx, eax
add esp, 8
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x478fd4
mov edx, dword [esp + 0x10]
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 + 0x2c]
mov al, byte [eax + 0x54]
mov byte [ecx + 4], al
mov eax, dword [esp + 0x2c]
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.004bb940
mov edx, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0x10], 0
lea ecx, [edx + 0x14]
mov dword [esp + 0x20], ecx
jle 0x479050
mov dword [esp + 0x14], 0
xor edi, edi
nop
mov edx, dword [esi + 0x34]
test edx, edx
je 0x478ff9
mov ecx, dword [esp + 0xc]
push edi
call fcn.00477740
mov ecx, dword [esp + 0x24]
add esp, 4
test eax, eax
jne 0x479017
jmp 0x478ffb
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x34], 0
jne 0x47843d
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x14]
call fcn.00428ab0
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x14]
call fcn.00428ab0
mov ecx, dword [esp + 0x28]
add esp, 0xc
movzx eax, byte [esi]
sub eax, 0x86
je 0x478b86
sub eax, 1
je 0x4788f8
sub eax, 1
je 0x478b86
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x10], eax
inc eax
mov dword [esp + 0x18], eax
inc eax
mov dword [ecx + 0x28], eax
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x478494
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x76
mov ecx, edi
call fcn.004284c0
add esp, 0xc
mov edx, eax
jmp 0x4784cb
mov esi, dword [esp + 0x10]
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 + 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 [esi + 0x14], edx
mov ecx, esi
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4784e0
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x4784d7
or dword [ecx + 4], 0x20
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x6c], 1
mov dword [esp + 0x74], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
call fcn.0047e350
mov ecx, eax
add esp, 4
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x47911a
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x478556
push eax
push eax
push dword [esp + 0x20]
lea edx, [eax + 0x76]
mov ecx, edi
call fcn.004284c0
add esp, 0xc
mov edx, eax
jmp 0x47858d
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 + 0x34]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov 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 + 0x18], edx
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
sub eax, 0x87
je 0x4785d6
sub eax, 1
je 0x4785cf
sub eax, 1
je 0x4785c8
mov eax, str.UNION
jmp 0x4785db
mov eax, str.INTERSECT
jmp 0x4785db
mov eax, str.EXCEPT
jmp 0x4785db
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.00428ab0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x78]
push eax
mov edx, esi
call fcn.0047e350
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 0x47861f
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x47862f
mov ecx, dword [esp + 0x2c]
call fcn.004402a0
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x14]
mov dword [esi + 0x3c], eax
jne 0x478f6f
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x38]
dec eax
push eax
mov dword [esp + 0x24], eax
lea edx, [eax - 1]
mov dword [esp + 0x20], edx
mov dword [ecx + 0x38], edx
mov edx, esi
call fcn.004773a0
mov ecx, dword [edi + 0x6c]
add esp, 4
cmp dword [edi + 0x70], ecx
jg 0x478686
mov edx, dword [esp + 0x20]
mov ecx, edi
push 0
push edx
push dword [esp + 0x18]
mov edx, 0x23
call fcn.004284c0
add esp, 0xc
jmp 0x4786b9
mov edx, dword [esp + 0x10]
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 + 0x20]
mov dword [eax + ecx*4], 0x23
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 0x4786cc
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
jmp 0x4786db
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov edx, dword [ecx + eax*4 + 0x98]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x70], ecx
jg 0x47870b
push 0
push edx
push dword [esp + 0x18]
mov edx, 0x86
mov ecx, edi
call fcn.004284c0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x47873e
mov esi, dword [esp + 0x10]
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 + 0x30]
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 [edi + 0x6c]
mov dword [esp + 0x38], ecx
cmp dword [edi + 0x70], ecx
jg 0x47876a
push edx
push dword [esp + 0x20]
mov edx, 0x1b
mov ecx, edi
push dword [esp + 0x20]
call fcn.004284c0
mov edx, dword [esp + 0x30]
add esp, 0xc
mov ecx, eax
jmp 0x4787a1
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 + 0x1c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x1b
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 0x4787bc
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 0x4787d8
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x4787d8
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 + 0x24]
call fcn.00474ab0
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 0x478815
push edx
mov edx, edi
call fcn.00428cd0
add esp, 4
jmp 0x47881e
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 0x478842
mov edx, dword [esp + 0x14]
mov ecx, edi
push 0
push edx
push dword [esp + 0x18]
mov edx, 0x26
call fcn.004284c0
add esp, 0xc
jmp 0x478875
mov edx, dword [esp + 0x10]
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 + 0x14]
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 [edi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x478893
push edx
mov edx, edi
call fcn.00428cd0
add esp, 4
jmp 0x47889c
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 0x4788c0
push 0
push 0
push dword [esp + 0x20]
mov edx, 0x7a
mov ecx, edi
call fcn.004284c0
add esp, 0xc
jmp 0x478f1b
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], 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 0x478f1b
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 + 0xc]
push eax
call fcn.0047e350
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 0x47911a
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 0x478a12
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x70], ecx
jg 0x47897d
push 0
push 0
push edx
mov edx, 0x10
mov ecx, edi
call fcn.004284c0
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x4789b0
mov esi, dword [esp + 0x30]
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
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 0x478a12
mov ecx, dword [esi + 8]
lea eax, [edx + 1]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4789e0
push edx
push eax
push dword [esp + 0x2c]
mov edx, 0xa0
mov ecx, edi
call fcn.004284c0
add esp, 0xc
jmp 0x478a12
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
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], 0xa0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push str.UNION_ALL
push 1
push dword [esp + 0x14]
call fcn.00428ab0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, esi
push eax
call fcn.0047e350
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 0x478a8d
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x478a70
movzx eax, word [esi + 2]
jmp 0x478ac7
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x478a7e
movzx eax, word [esi + 2]
inc eax
jmp 0x478ac4
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [esi + 2]
jmp 0x478ac1
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x478a9e
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 2]
jmp 0x478ac7
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x478ab0
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 2]
inc eax
jmp 0x478ac4
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 + 0x18], eax
mov word [esi + 2], ax
test ecx, ecx
je 0x478b48
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x478b48
test dword [ecx + 4], 0x800
je 0x478aeb
mov eax, dword [ecx + 8]
jmp 0x478b2e
movzx eax, byte [ecx]
sub eax, 0xad
je 0x478b10
sub eax, 1
jne 0x478b48
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x20]
call fcn.004418c0
test eax, eax
je 0x478b48
mov eax, dword [esp + 0x20]
jmp 0x478b2e
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0
call fcn.004418c0
test eax, eax
je 0x478b48
mov eax, dword [esp + 0x24]
neg eax
test eax, eax
jle 0x478b48
cdq
push edx
push eax
call fcn.00409280
add esp, 8
cmp word [esp + 0x18], ax
jle 0x478b48
mov word [esi + 2], ax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x478f6f
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x478b6c
mov eax, 0x4f06d8
mov dword [eax + 8], edx
jmp 0x478f6f
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 0x478f6f
cmp byte [esp + 0x40], 1
jne 0x478b9a
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
jmp 0x478c21
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x10], eax
inc eax
mov dword [ecx + 0x28], eax
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x478bcc
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x76
mov ecx, edi
call fcn.004284c0
add esp, 0xc
mov edx, eax
jmp 0x478c03
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x76
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [esi + 0x14], edx
mov ecx, esi
mov eax, dword [esi + 0x38]
test eax, eax
je 0x478c19
nop
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x478c10
or dword [ecx + 4], 0x20
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
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.0047e350
mov ecx, eax
add esp, 4
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x47911a
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 0x478cc7
sub eax, 1
je 0x478cc0
sub eax, 1
je 0x478cb9
mov eax, str.UNION
jmp 0x478ccc
mov eax, str.INTERSECT
jmp 0x478ccc
mov eax, str.EXCEPT
jmp 0x478ccc
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.00428ab0
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x94]
push eax
mov edx, esi
call fcn.0047e350
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 0x478d96
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 0x478d58
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x478d3b
movzx eax, word [esi + 2]
jmp 0x478d92
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x478d49
movzx eax, word [esi + 2]
inc eax
jmp 0x478d8f
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [esi + 2]
jmp 0x478d8c
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x478d69
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 2]
jmp 0x478d92
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x478d7b
mov edx, dword [esp + 0x1c]
movzx eax, word [edx + 2]
inc eax
jmp 0x478d8f
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 0x478da6
mov ecx, dword [esp + 0x2c]
call fcn.004402a0
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 0x478f6f
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x57], 0
jne 0x478f6f
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x38]
dec eax
push eax
mov dword [esp + 0x24], eax
lea edx, [eax - 1]
mov dword [esp + 0x18], edx
mov dword [ecx + 0x38], edx
mov edx, esi
call fcn.004773a0
mov ecx, dword [edi + 0x6c]
add esp, 4
cmp dword [edi + 0x70], ecx
jg 0x478e19
mov edx, dword [esp + 0x20]
mov ecx, edi
push 0
push edx
push dword [esp + 0x18]
mov edx, 0x23
call fcn.004284c0
add esp, 0xc
jmp 0x478e4c
mov edx, dword [esp + 0x10]
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 + 0x20]
mov dword [eax + ecx*4], 0x23
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 + 0x6c]
mov edx, esi
push dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x48]
push eax
push 0
push 0
push dword [esp + 0x24]
call fcn.00474ab0
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 0x478e94
push edx
mov edx, edi
call fcn.00428cd0
add esp, 4
jmp 0x478e9d
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 0x478ec1
mov edx, dword [esp + 0x24]
mov ecx, edi
push 0
push edx
push dword [esp + 0x18]
mov edx, 0x26
call fcn.004284c0
add esp, 0xc
jmp 0x478ef4
mov edx, dword [esp + 0x10]
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 + 0x24]
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 [edi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x478f12
push edx
mov edx, edi
call fcn.00428cd0
add esp, 4
jmp 0x478f1b
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 0x478f3c
push 0
push 0
push dword [esp + 0x18]
mov edx, 0x7a
mov ecx, edi
call fcn.004284c0
add esp, 0xc
jmp 0x478f6f
mov edx, dword [esp + 0x10]
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], 0x7a
cmp dword [esi + 0x38], 0
jne 0x478333
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0xdc]
test ecx, ecx
jne 0x478f94
xor eax, eax
mov dword [edx + 0xdc], eax
jmp 0x478337
mov eax, dword [edx + 8]
test ecx, ecx
jns 0x478f9f
mov ecx, dword [eax + 0x6c]
dec ecx
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x478fba
mov eax, 0x4f06d8
mov eax, dword [eax + 8]
mov dword [edx + 0xdc], eax
jmp 0x478337
mov eax, dword [edx + 8]
lea ecx, [ecx + ecx*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [edx + 0xdc], eax
jmp 0x478337
mov ecx, dword [esp + 0x2c]
call fcn.00404cc0
mov edx, eax
mov dword [esp + 0x18], edx
test edx, edx
jne 0x4783c3
mov ecx, 7
mov dword [esp + 0x28], ecx
jmp 0x47911a
xor eax, eax
mov edx, dword [esi + 0x1c]
cmp edi, dword [edx]
jge 0x479017
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [edx + eax + 8]
call fcn.0043edc0
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
test eax, eax
jne 0x479026
mov eax, dword [esp + 0x2c]
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 + 0x10]
jl 0x4783e0
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 + 0x68]
mov eax, dword [eax]
test eax, eax
js 0x4790fc
lea ecx, [eax + eax*4]
mov eax, dword [edi]
shl ecx, 2
cmp byte [eax + 0x57], 0
je 0x479081
mov eax, 0x4f06d8
jmp 0x479085
mov eax, dword [esi]
add eax, ecx
mov edx, dword [esp + 0x10]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
inc dword [edx]
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4790b3
push edx
mov edx, 0xfffffff8
mov ecx, eax
call fcn.00429070
mov edx, dword [esp + 0x1c]
lea esi, [edi + 0x68]
add esp, 4
jmp 0x4790d9
mov eax, dword [esi]
add eax, ecx
cmp byte [eax + 1], 0
je 0x4790d2
push 0xfffffffffffffff8
push edx
mov edx, eax
mov ecx, edi
call fcn.00429290
mov edx, dword [esp + 0x20]
add esp, 8
jmp 0x4790d9
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xf8
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 0x479062
mov esi, dword [esp + 0x30]
mov esi, dword [esi + 0x34]
mov dword [esp + 0x30], esi
test esi, esi
jne 0x479050
mov ecx, edx
call fcn.00475b20
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 0x47918c
mov esi, dword [esp + 0xc]
push 0
push 0xc
mov ecx, dword [esi]
test ecx, ecx
je 0x479148
call fcn.00404910
jmp 0x47914d
call fcn.004042c0
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x47917a
mov eax, dword [esi + 0x80]
mov dword [ecx], eax
mov dword [esi + 0x80], ecx
mov dword [ecx + 4], edi
mov dword [ecx + 8], fcn.004732f0
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.00473050
mov ecx, dword [esp + 0x2c]
add esp, 4
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret