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

Disassembly:
sub esp, 0x78
xor eax, eax
push ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x88]
push ebp
mov ebp, dword [ebx + 8]
mov ecx, dword [ebx]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebp
movups xmm0, xmmword [eax]
push esi
push edi
mov edi, dword [esp + 0x90]
movups xmmword [esp + 0x34], xmm0
movq xmm0, qword [eax + 0x10]
mov esi, dword [edi + 0x34]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x10], esi
movq qword [esp + 0x44], xmm0
mov dword [esp + 0x4c], eax
test ebp, ebp
jne 0x4e6372
cmp dword [ebx + 0x7c], ebp
jne 0x4e6363
test byte [ecx + 0x50], 8
jne 0x4e6363
mov byte [ebx + 0x17], 1
push ebx
call fcn.0052ba20
add esp, 4
mov dword [esp + 0x18], eax
mov ebp, eax
mov dl, byte [esp + 0x34]
cmp dl, 0xc
jne 0x4e6395
mov ecx, dword [edi + 0x1c]
push dword [ecx]
push dword [esp + 0x3c]
push 0x76
push ebp
call fcn.0052b410
mov dl, 0xe
add esp, 0x10
mov byte [esp + 0x34], dl
mov eax, dword [edi + 4]
test eax, 0x400
je 0x4e63df
mov eax, dword [edi + 0x3c]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x2c], eax
mov esi, edi
mov ebx, 1
sete cl
cmp dword [edi + 0x44], 0
jne 0x4e63d1
nop word [eax + eax]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4e6428
mov esi, eax
add ebx, ecx
cmp dword [esi + 0x44], 0
je 0x4e63c0
mov eax, dword [edi + 4]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x8c]
test eax, 0x2000
je 0x4e6404
mov eax, edi
nop dword [eax + eax]
test dword [eax + 4], 0x2000
je 0x4e649e
mov eax, dword [eax + 0x34]
test eax, eax
jne 0x4e63f0
cmp dword [edi + 0x30], 0
je 0x4e64b8
mov edx, dword [esp + 0x94]
push edx
push edi
push ebx
call fcn.004e6d50
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
mov edi, dword [esp + 0x8c]
mov ecx, 0x6efba8
cmp ebx, 1
mov eax, 0x774272
cmovne eax, ecx
push eax
push ebx
push str.SCAN__d_CONSTANT_ROW_s
push 0
push edi
call fcn.00534ed0
mov ebp, dword [esp + 0x40]
add esp, 0x14
push 1
push 1
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0xffffffffffffffff
push esi
push edi
call fcn.004f4e70
add esp, 0x20
test ebp, ebp
jne 0x4e647d
mov word [esi + 2], bx
mov esi, dword [esi + 0x38]
test esi, esi
jne 0x4e6455
mov edx, dword [esp + 0x94]
xor ecx, ecx
mov eax, dword [esp + 0x40]
pop edi
pop esi
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x3c]
pop ebp
mov dword [edx + 0x10], eax
mov eax, ecx
pop ebx
add esp, 0x78
ret
lea eax, [esp + 0x34]
push eax
push edi
push ebx
call fcn.004dc4e0
add esp, 0xc
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x4e6ae4
cmp dword [esi + 0x34], 0
jne 0x4e64df
push str.COMPOUND_QUERY
push 1
push ebx
call fcn.00534ed0
push str.LEFT_MOST_SUBQUERY
push 1
push ebx
call fcn.00534ed0
mov dl, byte [esp + 0x4c]
add esp, 0x18
movzx eax, byte [edi]
sub eax, 0x86
je 0x4e6908
sub eax, 1
je 0x4e66ca
sub eax, 1
je 0x4e6908
mov ecx, dword [ebx + 0x28]
push 0
push ecx
push 0x76
lea eax, [ecx + 1]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
inc eax
push ebp
mov dword [ebx + 0x28], eax
call fcn.0052b410
push edi
mov dword [edi + 0x14], eax
call fcn.004d7ae0
or dword [eax + 4], 0x20
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x64]
push eax
push esi
push ebx
mov byte [esp + 0x70], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
call fcn.005218a0
mov ecx, eax
add esp, 0x20
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x4e6c75
push eax
push dword [esp + 0x28]
push 0x76
push ebp
call fcn.0052b410
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x64], eax
movzx eax, byte [edi]
push eax
mov dword [edi + 0x34], 0
mov dword [edi + 0x3c], 0
call fcn.00524ce0
push eax
push str._s_USING_TEMP_B_TREE
push 1
push ebx
call fcn.00534ed0
lea eax, [esp + 0x74]
push eax
push edi
push ebx
call fcn.005218a0
mov dword [esp + 0x44], eax
add esp, 0x30
mov eax, dword [edi + 0x34]
mov dword [esp + 0x20], eax
mov dword [edi + 0x34], esi
movzx eax, word [esi + 2]
cmp word [edi + 2], ax
jle 0x4e65e8
mov word [edi + 2], ax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x4e65fc
push eax
push dword [esp + 0x20]
call fcn.00508c00
add esp, 8
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x3c], eax
jne 0x4e6ad5
mov ebp, dword [ebx + 0x38]
mov esi, dword [esp + 0x8c]
dec ebp
push ebp
push edi
push esi
lea ebx, [ebp - 1]
mov dword [esi + 0x38], ebx
call fcn.004cfaa0
mov edi, dword [esp + 0x24]
push ebp
push dword [esp + 0x20]
push 0x24
push edi
call fcn.0052b410
push esi
call fcn.005112b0
mov esi, eax
push esi
push dword [esp + 0x34]
push 0x86
push edi
call fcn.0052b410
push 0
push esi
push ebx
push dword [esp + 0x60]
mov edi, eax
push 0x1c
push dword [esp + 0x5c]
call fcn.0052b550
add esp, 0x48
push esi
mov esi, dword [esp + 0x90]
push esi
call fcn.0051fa50
push ebp
push ebx
lea eax, [esp + 0x44]
push eax
push 0
push 0
push dword [esp + 0x2c]
push dword [esp + 0xb0]
push esi
call fcn.004f4e70
push ebx
mov ebx, dword [esp + 0x44]
push ebx
call fcn.00537e30
mov esi, dword [esp + 0x40]
push edi
push esi
push 0x27
push ebx
call fcn.0052b410
add esp, 0x40
push ebp
mov ebp, ebx
push ebp
call fcn.00537e30
push 0
lea eax, [esi + 1]
push eax
push 0x7a
push ebp
call fcn.0052b410
jmp 0x4e6ab9
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
lea eax, [esp + 0x34]
push eax
push esi
push ebx
call fcn.005218a0
mov ecx, eax
mov dword [esi + 0x3c], 0
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x4e6c75
mov dword [edi + 0x34], eax
mov ecx, dword [esi + 8]
mov dword [edi + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
test ecx, ecx
je 0x4e6748
push ecx
push 0x11
push ebp
call fcn.0052b3b0
mov ecx, dword [edi + 0xc]
add esp, 0xc
mov dword [esp + 0x2c], eax
test ecx, ecx
je 0x4e6748
push ecx
inc ecx
push ecx
push dword [edi + 8]
push 0xa0
push ebp
call fcn.0052b470
add esp, 0x14
push str.UNION_ALL
push 1
push ebx
call fcn.00534ed0
lea eax, [esp + 0x40]
push eax
push edi
push ebx
call fcn.005218a0
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x38], eax
mov dword [edi + 0x34], esi
movzx eax, word [esi + 2]
push eax
movzx eax, word [edi + 2]
push eax
call fcn.00515a70
mov ecx, dword [edi + 0x3c]
add esp, 0x20
mov word [esp + 0x10], ax
mov word [edi + 2], ax
test ecx, ecx
je 0x4e68ed
lea eax, [esp + 0x24]
push eax
push dword [ecx + 0xc]
call fcn.00509830
add esp, 8
test eax, eax
je 0x4e68ed
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x4e68ed
mov eax, ecx
mov esi, 0x28
cdq
test edx, edx
ja 0x4e6800
jb 0x4e67d7
cmp eax, 8
jae 0x4e67f4
test edx, edx
ja 0x4e67e0
jb 0x4e67d7
cmp eax, 2
jae 0x4e67e0
xor eax, eax
jmp 0x4e684d
shld edx, eax, 1
sub esi, 0xa
add eax, eax
test edx, edx
jne 0x4e6834
cmp eax, 8
jb 0x4e67e0
jmp 0x4e6834
test edx, edx
jne 0x4e6800
cmp eax, 0xff
jbe 0x4e6817
nop
shrd eax, edx, 4
add esi, 0x28
shr edx, 4
test edx, edx
ja 0x4e6800
jb 0x4e6820
cmp eax, 0xff
ja 0x4e6800
test edx, edx
jne 0x4e6820
cmp eax, 0xf
jbe 0x4e6834
shrd eax, edx, 1
add esi, 0xa
shr edx, 1
test edx, edx
ja 0x4e6820
jb 0x4e6834
cmp eax, 0xf
ja 0x4e6820
and eax, 7
mov cx, word [eax*2 + 0x78d514]
sub cx, 0xa
add cx, si
movzx eax, cx
mov ecx, dword [esp + 0x24]
cmp word [esp + 0x10], ax
jle 0x4e68ed
mov eax, ecx
mov ecx, 0x28
cdq
test edx, edx
ja 0x4e68a0
jb 0x4e6876
cmp eax, 8
jae 0x4e6894
test edx, edx
ja 0x4e6880
jb 0x4e6876
cmp eax, 2
jae 0x4e6880
xor eax, eax
jmp 0x4e68e9
shld edx, eax, 1
sub ecx, 0xa
add eax, eax
test edx, edx
jne 0x4e68d4
cmp eax, 8
jb 0x4e6880
jmp 0x4e68d4
test edx, edx
jne 0x4e68a0
cmp eax, 0xff
jbe 0x4e68b7
nop
shrd eax, edx, 4
add ecx, 0x28
shr edx, 4
test edx, edx
ja 0x4e68a0
jb 0x4e68c0
cmp eax, 0xff
ja 0x4e68a0
test edx, edx
jne 0x4e68c0
cmp eax, 0xf
jbe 0x4e68d4
shrd eax, edx, 1
add ecx, 0xa
shr edx, 1
test edx, edx
ja 0x4e68c0
jb 0x4e68d4
cmp eax, 0xf
ja 0x4e68c0
and eax, 7
mov ax, word [eax*2 + 0x78d514]
sub ax, 0xa
add ax, cx
movzx eax, ax
mov word [edi + 2], ax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4e6ad5
push eax
push ebp
call fcn.00535820
add esp, 8
jmp 0x4e6ad5
cmp dl, 1
jne 0x4e6917
mov esi, dword [esp + 0x38]
mov dword [esp + 0x24], esi
jmp 0x4e693f
mov esi, dword [ebx + 0x28]
push 0
push esi
push 0x76
lea eax, [esi + 1]
mov dword [esp + 0x30], esi
push ebp
mov dword [ebx + 0x28], eax
call fcn.0052b410
push edi
mov dword [edi + 0x14], eax
call fcn.004d7ae0
add esp, 0x14
or dword [eax + 4], 0x20
lea eax, [esp + 0x6c]
mov byte [esp + 0x6c], 1
push eax
push dword [esp + 0x14]
mov dword [esp + 0x78], esi
push ebx
mov dword [esp + 0x80], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
call fcn.005218a0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x14], ecx
test ecx, ecx
jne 0x4e6c75
cmp byte [edi], 0x88
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x2c], eax
sete al
inc al
mov dword [edi + 0x3c], ecx
mov byte [esp + 0x6c], al
movzx eax, byte [edi]
push eax
call fcn.00524ce0
push eax
push str._s_USING_TEMP_B_TREE
push 1
push ebx
call fcn.00534ed0
lea eax, [esp + 0x80]
push eax
push edi
push ebx
call fcn.005218a0
mov dword [esp + 0x34], eax
add esp, 0x20
cmp byte [edi], 0x86
mov eax, dword [edi + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], 0
jne 0x4e6a0a
movzx eax, word [eax + 2]
push eax
movzx eax, word [edi + 2]
push eax
call fcn.00515a70
add esp, 8
mov word [edi + 2], ax
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x4e6a1e
push eax
push dword [esp + 0x20]
call fcn.00508c00
add esp, 8
cmp byte [esp + 0x34], 1
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x3c], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
je 0x4e6ad5
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x57], 0
jne 0x4e6ad5
mov ebx, dword [ebx + 0x38]
mov eax, dword [esp + 0x8c]
dec ebx
push ebx
push dword [esp + 0x94]
lea edi, [ebx - 1]
push eax
mov dword [eax + 0x38], edi
call fcn.004cfaa0
push ebx
push esi
push 0x24
push ebp
call fcn.0052b410
mov esi, dword [ebp + 0x6c]
lea eax, [esp + 0x50]
push ebx
push edi
push eax
push 0
push 0
push dword [esp + 0x54]
push dword [esp + 0xc4]
push dword [esp + 0xc4]
call fcn.004f4e70
push edi
push ebp
call fcn.00537e30
add esp, 0x44
push esi
mov esi, dword [esp + 0x28]
push esi
push 0x27
push ebp
call fcn.0052b410
push ebx
push ebp
call fcn.00537e30
push 0
push esi
push 0x7a
push ebp
call fcn.0052b410
mov ebx, dword [esp + 0xb4]
add esp, 0x28
mov edi, dword [esp + 0x90]
cmp dword [edi + 0x38], 0
jne 0x4e6ae4
push ebx
call fcn.00534f30
add esp, 4
cmp dword [ebx + 0x24], 0
jne 0x4e6c71
test byte [edi + 4], 0x20
je 0x4e6c71
mov eax, dword [edi + 0x1c]
push 1
mov eax, dword [eax]
push eax
push dword [esp + 0x24]
mov dword [esp + 0x38], eax
call fcn.005149d0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x30], esi
test esi, esi
jne 0x4e6b28
mov ecx, 7
mov dword [esp + 0x14], ecx
jmp 0x4e6c75
xor ebx, ebx
lea ecx, [esi + 0x14]
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x2c], ebx
jle 0x4e6ba8
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x28], ebx
mov eax, dword [edi + 0x34]
test eax, eax
je 0x4e6b62
push ebx
push eax
push ebp
call fcn.004e6d00
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x4e6b80
jmp 0x4e6b64
xor eax, eax
mov edx, dword [edi + 0x1c]
cmp ebx, dword [edx]
jge 0x4e6b80
mov eax, dword [esp + 0x28]
push dword [edx + eax + 8]
push ebp
call fcn.00508540
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [ecx], eax
test eax, eax
jne 0x4e6b8f
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [ecx], eax
add dword [esp + 0x28], 0x14
inc ebx
add ecx, 4
mov dword [esp + 0x10], ecx
cmp ebx, esi
jl 0x4e6b46
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x18]
xor ebx, ebx
add edi, 0x14
nop dword [eax]
mov edx, dword [edi]
test edx, edx
js 0x4e6c40
mov eax, dword [ebp]
cmp byte [eax + 0x57], 0
je 0x4e6bca
mov eax, 0x7937a8
jmp 0x4e6bd3
mov eax, dword [ebp + 0x68]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esi]
lea eax, [ecx + 1]
mov dword [esi], eax
mov eax, dword [ebp]
cmp byte [eax + 0x57], 0
je 0x4e6c07
cmp dword [eax + 0x210], 0
jne 0x4e6c2d
mov dword [esi], ecx
test ecx, ecx
jne 0x4e6c2d
push esi
push dword [esi + 0xc]
call fcn.00503150
add esp, 8
jmp 0x4e6c2d
mov eax, dword [ebp + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4e6c26
push 0xfffffffffffffff8
push esi
push eax
push ebp
call fcn.00546490
add esp, 0x10
jmp 0x4e6c2d
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf8
mov dword [edi], 0xffffffff
inc ebx
add edi, 4
cmp ebx, 2
jl 0x4e6bb0
mov edi, dword [esp + 0x90]
mov edi, dword [edi + 0x34]
mov dword [esp + 0x90], edi
test edi, edi
jne 0x4e6ba8
add dword [esi], 0xffffffff
jne 0x4e6c6a
push esi
push dword [esi + 0xc]
call fcn.00503150
add esp, 8
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 0x10], eax
test ebp, ebp
je 0x4e6cec
mov eax, dword [ebx]
push 0
push 0xc
test eax, eax
je 0x4e6ca7
push eax
call fcn.00503030
add esp, 0xc
jmp 0x4e6caf
call fcn.00515c10
add esp, 8
mov ecx, eax
test ecx, ecx
je 0x4e6cdb
mov eax, dword [ebx + 0x88]
pop edi
mov dword [ecx], eax
mov dword [ebx + 0x88], ecx
pop esi
mov dword [ecx + 4], ebp
mov dword [ecx + 8], fcn.00524950
mov ecx, dword [esp + 0xc]
mov eax, ecx
pop ebp
pop ebx
add esp, 0x78
ret
push 1
push ebp
push dword [ebx]
call fcn.004cce60
mov ecx, dword [esp + 0x20]
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x78
ret