Function at 0x47dcf0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
push esi
push edi
mov edi, edx
mov dword [esp + 0xc], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
movups xmm0, xmmword [edx]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x34]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x1c], edi
movq xmm0, qword [edx + 0x10]
movq qword [esp + 0x50], xmm0
mov edx, dword [eax + 0x30]
mov dword [esp + 0x18], eax
test edx, edx
jne 0x47ec3b
cmp dword [eax + 0x3c], edx
jne 0x47ec3b
mov esi, dword [ecx + 8]
mov dword [esp + 0x28], esi
test esi, esi
jne 0x47dd72
cmp dword [ecx + 0x74], esi
jne 0x47dd67
mov eax, dword [esp + 0x24]
test byte [eax + 0x4c], 8
jne 0x47dd67
mov byte [ecx + 0x17], 1
call fcn.00436cd0
mov esi, eax
mov dword [esp + 0x28], eax
mov cl, byte [esp + 0x40]
cmp cl, 0xc
jne 0x47dddd
mov eax, dword [edi]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x70], ecx
jg 0x47dda4
push 0
push edx
push eax
mov edx, 0x71
mov ecx, esi
call fcn.00436f60
add esp, 0xc
jmp 0x47ddd7
mov edi, dword [esp + 0x38]
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 + 0x1c]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov cl, 0xe
mov byte [esp + 0x40], cl
mov eax, dword [edi + 8]
test eax, 0x400
je 0x47de7d
mov eax, dword [edi + 0x3c]
xor edx, edx
test eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x34]
mov ecx, 1
sete dl
mov dword [esp + 0x38], ecx
test eax, eax
je 0x47de1f
nop dword [eax]
mov edi, eax
add ecx, edx
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x47de10
mov dword [esp + 0x38], ecx
mov esi, dword [esp + 0xc]
cmp ecx, 1
mov edx, 0x4ffd04
mov eax, 0x4f9042
cmovne eax, edx
push eax
push ecx
push str.SCAN__d_CONSTANT_ROW_s
push 0
push esi
call fcn.00437360
add esp, 0x14
push 1
push 1
lea eax, [esp + 0x48]
mov edx, edi
push eax
push 0
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.0047a940
add esp, 0x18
cmp dword [esp + 0x34], 0
jne 0x47de76
mov eax, dword [esp + 0x38]
mov word [edi + 6], ax
mov edi, dword [edi + 0x38]
test edi, edi
jne 0x47de45
xor esi, esi
jmp 0x47ebdf
test eax, 0x2000
je 0x47de9c
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x40]
push eax
mov edx, edi
call fcn.0047d540
add esp, 4
jmp 0x47ea37
cmp dword [edi + 0x30], 0
je 0x47deb9
push dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.0047f4f0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x34], 0
jne 0x47def1
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x14]
call fcn.00437360
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x14]
call fcn.00437360
mov cl, byte [esp + 0x4c]
add esp, 0xc
mov edx, dword [esp + 0x18]
movzx eax, byte [edi + 4]
sub eax, 0x7f
je 0x47e61b
sub eax, 1
je 0x47e39c
sub eax, 1
je 0x47e61b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x14], eax
inc eax
mov dword [esp + 0x20], eax
inc eax
mov dword [ecx + 0x28], eax
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x47df47
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x71
mov ecx, esi
call fcn.00436f60
add esp, 0xc
mov edx, eax
jmp 0x47df7e
mov edi, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x71
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 ecx, edi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x47df99
nop word [eax + eax]
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x47df90
or dword [ecx + 8], 0x20
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x64], 1
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
call fcn.00482c70
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x47ebdb
mov edx, dword [esi + 0x6c]
cmp dword [esi + 0x70], edx
jg 0x47e004
push eax
push eax
push dword [esp + 0x28]
lea edx, [eax + 0x71]
mov ecx, esi
call fcn.00436f60
add esp, 0xc
mov edx, eax
jmp 0x47e03b
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x1c], edx
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x64], eax
movzx eax, byte [edi + 4]
mov dword [edi + 0x34], 0
mov dword [edi + 0x3c], 0
sub eax, 0x80
je 0x47e085
sub eax, 1
je 0x47e07e
sub eax, 1
je 0x47e077
mov eax, str.UNION
jmp 0x47e08a
mov eax, str.INTERSECT
jmp 0x47e08a
mov eax, str.EXCEPT
jmp 0x47e08a
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.00437360
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x70]
push eax
mov edx, edi
call fcn.00482c70
mov dword [esp + 0x24], eax
add esp, 0x14
mov eax, dword [edi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x34], eax
movzx eax, word [eax + 6]
cmp word [edi + 6], ax
jle 0x47e0ce
mov word [edi + 6], ax
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x47e0de
mov ecx, dword [esp + 0x24]
call fcn.0044d010
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x38]
mov dword [edi + 0x3c], eax
mov eax, dword [ecx + 0x38]
dec eax
push eax
mov dword [esp + 0x30], eax
lea edx, [eax - 1]
mov dword [esp + 0x1c], edx
mov dword [ecx + 0x38], edx
mov edx, edi
call fcn.0047d0a0
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x47e12a
mov edx, dword [esp + 0x2c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x24
call fcn.00436f60
add esp, 0xc
jmp 0x47e15d
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 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
mov al, byte [ecx + 0x13]
test al, al
jne 0x47e170
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
jmp 0x47e17f
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov edx, dword [ecx + eax*4 + 0x94]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
cmp dword [esi + 0x70], ecx
jg 0x47e1af
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x7f
mov ecx, esi
call fcn.00436f60
mov edx, dword [esp + 0x40]
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x47e1e2
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 + 0x1c]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x3c], ecx
cmp dword [esi + 0x70], ecx
jg 0x47e20e
push edx
push dword [esp + 0x1c]
mov edx, 0x1c
mov ecx, esi
push dword [esp + 0x28]
call fcn.00436f60
mov edx, dword [esp + 0x40]
add esp, 0xc
mov ecx, eax
jmp 0x47e245
mov edi, dword [esp + 0x20]
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 + 0x1c]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
jne 0x47e260
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 + 0xc]
test edx, edx
je 0x47e27c
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x47e27c
movzx eax, al
mov dword [ecx + eax*4 + 0x94], edx
inc byte [ecx + 0x13]
push dword [esp + 0x2c]
lea eax, [esp + 0x44]
mov edx, edi
push dword [esp + 0x1c]
push eax
push 0
push 0
push dword [esp + 0x28]
call fcn.0047a940
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 0x47e2b9
push edx
mov edx, esi
call fcn.00437560
add esp, 4
jmp 0x47e2c2
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 0x47e2e6
mov edx, dword [esp + 0x38]
mov ecx, esi
push 0
push edx
push dword [esp + 0x1c]
mov edx, 5
call fcn.00436f60
add esp, 0xc
jmp 0x47e319
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 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47e337
push edx
mov edx, esi
call fcn.00437560
add esp, 4
jmp 0x47e340
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 0x47e364
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x75
mov ecx, esi
call fcn.00436f60
add esp, 0xc
jmp 0x47e993
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x75
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x47e993
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [edi + 0x3c]
mov dword [edx + 0x3c], eax
lea eax, [esp + 0x40]
push eax
call fcn.00482c70
mov ecx, eax
mov dword [edi + 0x3c], 0
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x47ebdb
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
mov eax, dword [eax + 0x10]
mov dword [edi + 0x10], eax
test edx, edx
je 0x47e4b0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x34], ecx
cmp dword [esi + 0x70], ecx
jg 0x47e41b
push 0
push 0
push edx
mov edx, 0x14
mov ecx, esi
call fcn.00436f60
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x47e44e
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x10]
test edx, edx
je 0x47e4b0
mov ecx, dword [edi + 0xc]
lea eax, [edx + 1]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x47e47e
push edx
push eax
push dword [esp + 0x40]
mov edx, 0x98
mov ecx, esi
call fcn.00436f60
add esp, 0xc
jmp 0x47e4b0
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 4], esi
lea esi, [edx + 1]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x98
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push str.UNION_ALL
push 1
push dword [esp + 0x14]
call fcn.00437360
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, edi
push eax
call fcn.00482c70
movzx ecx, word [edi + 6]
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x34], eax
mov dword [esp + 0x3c], ecx
movsx ecx, cx
movzx eax, word [eax + 6]
mov dword [esp + 0x38], eax
movsx edx, ax
cmp word [esp + 0x3c], ax
jl 0x47e52f
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x47e512
movzx eax, word [edi + 6]
jmp 0x47e560
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x47e520
movzx eax, word [edi + 6]
inc eax
jmp 0x47e55d
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 6]
jmp 0x47e55a
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x47e53f
mov ecx, dword [esp + 0x38]
movzx eax, cx
jmp 0x47e560
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x47e54d
mov eax, dword [esp + 0x38]
inc eax
jmp 0x47e55d
sub edx, ecx
mov ecx, dword [esp + 0x38]
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, cx
movzx eax, ax
mov edx, dword [esp + 0x18]
mov word [edi + 6], ax
mov dword [esp + 0x20], eax
mov ecx, dword [edx + 0x3c]
test ecx, ecx
je 0x47e5dd
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x47e5dd
test dword [ecx + 4], 0x400
je 0x47e588
mov eax, dword [ecx + 8]
jmp 0x47e5c3
movzx eax, byte [ecx]
sub eax, 0xa5
je 0x47e5ad
sub eax, 1
jne 0x47e5dd
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.0044e570
test eax, eax
je 0x47e5dd
mov eax, dword [esp + 0x3c]
jmp 0x47e5c3
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.0044e570
test eax, eax
je 0x47e5dd
mov eax, dword [esp + 0x3c]
neg eax
test eax, eax
jle 0x47e5dd
cdq
push edx
push eax
call fcn.0041a350
add esp, 8
cmp word [esp + 0x20], ax
jle 0x47e5dd
mov word [edi + 6], ax
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x47e9e7
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x47e601
mov eax, 0x50cae8
mov dword [eax + 8], edx
jmp 0x47e9e7
test ecx, ecx
lea eax, [edx - 1]
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x47e9e7
cmp cl, 1
jne 0x47e62d
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
jmp 0x47e6b4
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x14], edx
lea eax, [edx + 1]
mov dword [ecx + 0x28], eax
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x3c], ecx
cmp dword [esi + 0x70], ecx
jg 0x47e664
push 0
push 0
push edx
mov edx, 0x71
mov ecx, esi
call fcn.00436f60
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x47e69b
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x71
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 + 0x3c]
mov dword [edi + 0x18], eax
mov ecx, edi
mov eax, dword [edi + 0x38]
test eax, eax
je 0x47e6b0
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x47e6a7
or dword [ecx + 8], 0x20
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x78]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x18]
push eax
mov byte [esp + 0x7c], 1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
call fcn.00482c70
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x47ebdb
cmp byte [edi + 4], 0x81
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x34], eax
sete al
inc al
mov dword [edi + 0x3c], ecx
mov byte [esp + 0x78], al
movzx eax, byte [edi + 4]
sub eax, 0x80
je 0x47e745
sub eax, 1
je 0x47e73e
sub eax, 1
je 0x47e737
mov eax, str.UNION
jmp 0x47e74a
mov eax, str.INTERSECT
jmp 0x47e74a
mov eax, str.EXCEPT
jmp 0x47e74a
mov eax, str.UNION_ALL
push eax
push str._s_USING_TEMP_B_TREE
push 1
push dword [esp + 0x18]
call fcn.00437360
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x88]
push eax
mov edx, edi
call fcn.00482c70
mov edx, dword [edi + 0x30]
add esp, 0x14
mov dword [esp + 0x10], eax
test edx, edx
je 0x47e785
mov ecx, dword [esp + 0x24]
call fcn.0044e120
cmp byte [edi + 4], 0x7f
mov eax, dword [edi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], 0
jne 0x47e81c
movzx eax, word [eax + 6]
movzx ecx, word [edi + 6]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
movsx ecx, cx
movsx edx, ax
cmp word [esp + 0x3c], ax
jl 0x47e7e7
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x47e7ca
movzx eax, word [edi + 6]
jmp 0x47e818
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x47e7d8
movzx eax, word [edi + 6]
inc eax
jmp 0x47e815
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
movzx ecx, word [edi + 6]
jmp 0x47e812
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x47e7f7
mov ecx, dword [esp + 0x38]
movzx eax, cx
jmp 0x47e818
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x47e805
mov eax, dword [esp + 0x38]
inc eax
jmp 0x47e815
sub edx, ecx
mov ecx, dword [esp + 0x38]
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, cx
movzx eax, ax
mov word [edi + 6], ax
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x47e82c
mov ecx, dword [esp + 0x24]
call fcn.0044d010
cmp byte [esp + 0x40], 1
mov eax, dword [esp + 0x34]
mov dword [edi + 0x3c], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
je 0x47e9e7
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x38]
dec eax
push eax
mov dword [esp + 0x30], eax
lea edx, [eax - 1]
mov dword [esp + 0x3c], edx
mov dword [ecx + 0x38], edx
mov edx, edi
call fcn.0047d0a0
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x47e891
mov edx, dword [esp + 0x2c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x1c]
mov edx, 0x24
call fcn.00436f60
add esp, 0xc
jmp 0x47e8c4
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 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x2c]
mov eax, dword [esi + 0x6c]
mov edx, edi
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x48]
push eax
push 0
push 0
push dword [esp + 0x28]
call fcn.0047a940
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov edx, dword [esp + 0x38]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47e90c
push edx
mov edx, esi
call fcn.00437560
add esp, 4
jmp 0x47e915
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 0x47e939
mov edx, dword [esp + 0x34]
mov ecx, esi
push 0
push edx
push dword [esp + 0x1c]
mov edx, 5
call fcn.00436f60
add esp, 0xc
jmp 0x47e96c
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 + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47e98a
push edx
mov edx, esi
call fcn.00437560
add esp, 4
jmp 0x47e993
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 0x47e9b4
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x75
mov ecx, esi
call fcn.00436f60
add esp, 0xc
jmp 0x47e9e7
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 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4], 0x75
cmp dword [edi + 0x38], 0
jne 0x47ea37
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 0xd4]
test edx, edx
jne 0x47e9ff
xor eax, eax
jmp 0x47ea31
mov eax, dword [ecx + 8]
mov dword [esp + 0x3c], eax
test edx, edx
jns 0x47ea0e
mov edx, dword [eax + 0x6c]
dec edx
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x47ea1d
mov eax, 0x50cae8
jmp 0x47ea2e
mov eax, dword [esp + 0x3c]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov dword [ecx + 0xd4], eax
test byte [edi + 8], 0x20
je 0x47ebdb
mov eax, dword [edi]
mov ecx, dword [esp + 0x24]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x38], eax
call fcn.0047bb60
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
test edi, edi
jne 0x47ea6b
lea esi, [eax + 7]
jmp 0x47ebdf
xor ecx, ecx
lea edx, [edi + 0x14]
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x34], ecx
jle 0x47eb05
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
nop
mov eax, dword [edi + 0x34]
test eax, eax
je 0x47eab2
push ecx
mov edx, eax
mov ecx, esi
call fcn.0047d3b0
mov ecx, dword [esp + 0x30]
add esp, 4
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x47ead7
jmp 0x47eab4
xor eax, eax
mov esi, dword [edi]
cmp ecx, dword [esi]
mov esi, dword [esp + 0xc]
jge 0x47ead7
mov eax, dword [edi]
mov ecx, esi
mov edx, dword [esp + 0x38]
mov edx, dword [eax + edx + 4]
call fcn.0044bed0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov dword [edx], eax
test eax, eax
jne 0x47eae6
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov dword [edx], eax
add dword [esp + 0x38], 0x18
inc ecx
add edx, 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
cmp ecx, dword [esp + 0x34]
jl 0x47ea90
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
nop dword [eax]
add eax, 0x18
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], eax
nop
mov eax, dword [eax]
test eax, eax
js 0x47ebad
lea ecx, [eax + eax*4]
mov eax, dword [esi]
shl ecx, 2
cmp byte [eax + 0x51], 0
je 0x47eb3f
mov eax, 0x50cae8
jmp 0x47eb44
mov eax, dword [esi + 0x68]
add eax, ecx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
inc dword [edi]
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x47eb67
push edi
mov edx, 0xfffffff7
mov ecx, eax
call fcn.00437920
add esp, 4
jmp 0x47eb8a
mov eax, dword [esi + 0x68]
add eax, ecx
cmp byte [eax + 1], 0
je 0x47eb83
push 0xfffffffffffffff7
push edi
mov edx, eax
mov ecx, esi
call fcn.00437ab0
add esp, 8
jmp 0x47eb8a
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x38], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x2c], eax
cmp ecx, 2
jl 0x47eb20
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x47eb10
add dword [edi], 0xffffffff
jne 0x47ebdb
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x47ec30
cmp dword [ecx + 0x1e8], eax
je 0x47ec10
mov edx, edi
call fcn.004159a0
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x47ec08
mov ecx, dword [esp + 0x24]
mov edx, eax
push 1
call fcn.00479580
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, dword [ecx + 0x138]
jb 0x47ec30
cmp edi, dword [ecx + 0x13c]
jae 0x47ec30
mov eax, dword [ecx + 0x134]
mov dword [edi], eax
mov dword [ecx + 0x134], edi
jmp 0x47ebdb
push edi
call fcn.00415930
add esp, 4
jmp 0x47ebdb
movzx eax, byte [edi + 4]
sub eax, 0x80
je 0x47ec65
sub eax, 1
je 0x47ec5e
sub eax, 1
je 0x47ec57
mov eax, str.UNION
jmp 0x47ec6a
mov eax, str.INTERSECT
jmp 0x47ec6a
mov eax, str.EXCEPT
jmp 0x47ec6a
mov eax, str.UNION_ALL
push eax
test edx, edx
mov eax, str.ORDER_BY
mov esi, str.LIMIT
cmove eax, esi
push eax
push str._s_clause_should_come_after__s_not_before
push ecx
call fcn.00419050
add esp, 0x10
mov esi, 1
jmp 0x47ebdf