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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x70b034]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
mov esi, edx
mov dword [esp + 0xc], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x34]
movups xmm0, xmmword [edx]
mov dword [esp + 0x30], edx
push edi
mov edi, dword [ecx]
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x28], esi
movq xmm0, qword [edx + 0x10]
movq qword [esp + 0x50], xmm0
mov edx, dword [eax + 0x30]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test edx, edx
jne 0x4e2c41
cmp dword [eax + 0x3c], edx
jne 0x4e2c41
mov edi, dword [ecx + 8]
mov dword [esp + 0x2c], edi
test edi, edi
jne 0x4e2494
cmp dword [ecx + 0x74], edi
jne 0x4e2489
mov eax, dword [esp + 0x1c]
test byte [eax + 0x4c], 8
jne 0x4e2489
mov byte [ecx + 0x17], 1
call fcn.004a1f00
mov edi, eax
mov dword [esp + 0x2c], eax
mov dl, byte [esp + 0x40]
cmp dl, 0xc
jne 0x4e24ba
mov eax, dword [esi]
mov edx, 0x70
mov ecx, edi
push dword [eax]
push dword [esp + 0x48]
call fcn.004a2370
mov dl, 0xe
add esp, 8
mov byte [esp + 0x40], dl
mov eax, dword [esi + 8]
test eax, 0x400
je 0x4e24de
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.004e2370
add esp, 4
mov esi, eax
jmp 0x4e2bff
test eax, 0x2000
je 0x4e24fd
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
mov edx, esi
call fcn.004e1cb0
add esp, 4
jmp 0x4e2aba
cmp dword [esi + 0x30], 0
je 0x4e252a
mov ecx, dword [esp + 0x34]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004e3190
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00625788
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x34], 0
jne 0x4e2562
push str.COMPOUND_QUERY
push 1
push dword [esp + 0x18]
call fcn.004a2730
add esp, 0xc
push str.LEFT_MOST_SUBQUERY
push 1
push dword [esp + 0x18]
call fcn.004a2730
mov dl, byte [esp + 0x4c]
add esp, 0xc
mov ecx, dword [esp + 0x14]
movzx eax, byte [esi + 4]
sub eax, 0x82
je 0x4e28b0
sub eax, 1
je 0x4e278e
sub eax, 1
je 0x4e28b0
mov ecx, dword [esp + 0x10]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x1c], edx
push edx
lea eax, [edx + 1]
mov edx, 0x70
mov dword [esp + 0x28], eax
inc eax
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.004a2370
mov dword [esi + 0x18], eax
add esp, 8
mov eax, dword [esi + 0x38]
mov ecx, esi
test eax, eax
je 0x4e25c0
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x4e25b7
or dword [ecx + 8], 0x20
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x70], 1
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
call fcn.004e7050
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x4e2bfb
push eax
push dword [esp + 0x24]
lea edx, [eax + 0x70]
mov ecx, edi
call fcn.004a2370
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x3c]
movzx ecx, byte [esi + 4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esp + 0x78], eax
call fcn.004e0660
push eax
push 0x711dfc
push 1
push dword [esp + 0x24]
call fcn.004a2730
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x84]
push eax
mov edx, esi
call fcn.004e7050
mov dword [esp + 0x40], eax
add esp, 0x1c
mov eax, dword [esi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
movzx eax, word [eax + 6]
cmp word [esi + 6], ax
jle 0x4e268e
mov word [esi + 6], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x4e269e
mov ecx, dword [esp + 0x1c]
call fcn.004b8e40
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x3c], eax
mov esi, dword [ecx + 0x38]
dec esi
push esi
mov dword [esp + 0x18], esi
lea eax, [esi - 1]
mov dword [ecx + 0x38], eax
call fcn.004e19d0
add esp, 4
mov edx, 0x24
mov ecx, edi
push esi
push dword [esp + 0x1c]
call fcn.004a2370
mov ecx, dword [esp + 0x18]
call fcn.004c04f0
mov esi, eax
mov edx, 0x7f
push esi
push dword [esp + 0x24]
mov ecx, edi
call fcn.004a2370
mov ecx, dword [esp + 0x3c]
mov edi, eax
mov eax, dword [esp + 0x24]
mov edx, 0x1c
push 0
push esi
dec eax
push eax
push dword [esp + 0x3c]
call fcn.004a28e0
mov ecx, dword [esp + 0x30]
mov edx, esi
call fcn.004c0510
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
push eax
lea esi, [eax - 1]
push esi
lea eax, [esp + 0x68]
push eax
push 0
push 0
push dword [esp + 0x4c]
call fcn.004df800
mov edx, esi
mov esi, dword [esp + 0x64]
mov ecx, esi
call fcn.004a2a30
push edi
mov edi, dword [esp + 0x54]
mov edx, 5
push edi
mov ecx, esi
call fcn.004a2370
mov edx, dword [esp + 0x54]
add esp, 0x40
mov ecx, esi
call fcn.004a2a30
lea eax, [edi + 1]
mov edx, 0x75
push 0
push eax
mov ecx, esi
call fcn.004a2370
push 0
push edi
mov edx, 0x75
mov ecx, esi
call fcn.004a2370
add esp, 0x10
jmp 0x4e2aa5
xor eax, eax
mov edx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x3c], eax
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004e7050
mov ecx, eax
mov dword [esi + 0x3c], 0
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x4e2bfb
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x10], eax
test ecx, ecx
je 0x4e2815
push ecx
mov edx, 0x14
mov ecx, edi
call fcn.004a2310
mov ecx, dword [esi + 0x10]
add esp, 4
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x4e2815
push ecx
inc ecx
mov edx, 0x98
push ecx
push dword [esi + 0xc]
mov ecx, edi
call fcn.004a2240
add esp, 0xc
push str.UNION_ALL
push 1
push dword [esp + 0x18]
call fcn.004a2730
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
add esp, 0xc
mov edx, esi
push eax
call fcn.004e7050
mov cx, word [esi + 6]
add esp, 4
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
mov dx, word [eax + 6]
call fcn.00485040
mov edx, dword [esp + 0x14]
mov word [esi + 6], ax
mov ecx, dword [edx + 0x3c]
test ecx, ecx
je 0x4e2896
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x3c]
call fcn.004ba680
test eax, eax
je 0x4e2896
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x4e2896
cdq
push edx
push eax
call fcn.004850a0
add esp, 8
cmp word [esi + 6], ax
jle 0x4e2896
mov word [esi + 6], ax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4e2aa9
mov edx, eax
mov ecx, edi
call fcn.004a2d60
jmp 0x4e2aa9
cmp dl, 1
jne 0x4e28bf
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
jmp 0x4e2901
mov ecx, dword [esp + 0x10]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x1c], edx
push edx
lea eax, [edx + 1]
mov edx, 0x70
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.004a2370
mov dword [esi + 0x18], eax
add esp, 8
mov eax, dword [esi + 0x38]
mov ecx, esi
test eax, eax
je 0x4e28f9
nop
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x4e28f0
or dword [ecx + 8], 0x20
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0x88], 1
mov dword [esp + 0x98], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call fcn.004e7050
mov ecx, eax
add esp, 4
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x4e2bfb
cmp byte [esi + 4], 0x84
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x3c], eax
sete al
mov dword [esi + 0x3c], ecx
inc al
movzx ecx, byte [esi + 4]
mov byte [esp + 0x84], al
call fcn.004e0660
push eax
push str._s_USING_TEMP_B_TREE
push 1
push edi
call fcn.004a2730
lea eax, [esp + 0x94]
mov edx, esi
push eax
mov ecx, edi
call fcn.004e7050
mov edx, dword [esi + 0x30]
add esp, 0x14
mov dword [esp + 0x24], eax
test edx, edx
je 0x4e29b5
mov ecx, dword [esp + 0x1c]
call fcn.004ba080
cmp byte [esi + 4], 0x82
mov eax, dword [esi + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], 0
jne 0x4e29e1
mov dx, word [eax + 6]
mov cx, word [esi + 6]
call fcn.00485040
mov word [esi + 6], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x4e29f1
mov ecx, dword [esp + 0x1c]
call fcn.004b8e40
cmp byte [esp + 0x40], 1
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x3c], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
je 0x4e2aad
mov esi, dword [edi + 0x38]
mov eax, dword [esp + 0x10]
dec esi
mov edx, dword [esp + 0x28]
mov ecx, eax
push esi
mov dword [esp + 0x24], esi
lea edi, [esi - 1]
mov dword [eax + 0x38], edi
call fcn.004e19d0
add esp, 4
mov edx, 0x24
push esi
push dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
mov ecx, esi
call fcn.004a2370
push dword [esp + 0x28]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esi + 0x6c]
push edi
push eax
push 0
push 0
push dword [esp + 0x34]
call fcn.004df800
mov edx, edi
mov edi, dword [esp + 0x4c]
mov ecx, edi
call fcn.004a2a30
push esi
mov esi, dword [esp + 0x3c]
mov edx, 5
push esi
mov ecx, edi
call fcn.004a2370
mov edx, dword [esp + 0x48]
mov ecx, edi
call fcn.004a2a30
push 0
push esi
mov edx, 0x75
mov ecx, edi
call fcn.004a2370
add esp, 0x30
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x38], 0
jne 0x4e2aba
mov ecx, edi
call fcn.004a2790
test byte [esi + 8], 0x20
je 0x4e2bfb
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x24], eax
call fcn.004e04d0
mov edi, eax
add esp, 4
mov dword [esp + 0x38], edi
test edi, edi
jne 0x4e2aee
lea esi, [eax + 7]
jmp 0x4e2bff
lea eax, [edi + 0x14]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x20], eax
jle 0x4e2b40
mov edi, dword [esp + 0x10]
push eax
mov edx, esi
mov ecx, edi
call fcn.004e1b20
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x4e2b25
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
add ecx, 4
inc eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x20]
jl 0x4e2b05
mov edi, dword [esp + 0x38]
nop
lea eax, [esi + 0x18]
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
test eax, eax
js 0x4e2be1
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4e2b6c
mov ecx, 0x71e19c
jmp 0x4e2b75
mov ecx, dword [esi + 0x68]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x20]
mov dword [ecx + 8], edx
inc dword [edi]
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4e2b96
push edi
mov edx, 0xfffffff7
call fcn.004a2f10
add esp, 4
jmp 0x4e2bbe
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4e2bb7
push 0xfffffffffffffff7
push edi
mov edx, eax
mov ecx, esi
call fcn.004a30a0
add esp, 8
jmp 0x4e2bbe
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0x14], eax
cmp ecx, 2
jl 0x4e2b53
mov esi, dword [esp + 0x28]
mov esi, dword [esi + 0x34]
mov dword [esp + 0x28], esi
test esi, esi
jne 0x4e2b40
mov ecx, edi
call fcn.004e0590
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
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 0x4e2c2b
push 1
mov edx, eax
mov ecx, edi
call fcn.004de810
add esp, 4
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00625788
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 4]
sub eax, 0x83
je 0x4e2c6b
sub eax, 1
je 0x4e2c64
sub eax, 1
je 0x4e2c5d
mov eax, str.UNION
jmp 0x4e2c70
mov eax, str.INTERSECT
jmp 0x4e2c70
mov eax, str.EXCEPT
jmp 0x4e2c70
mov eax, 0x711c38
push eax
test edx, edx
mov eax, 0x711d94
mov esi, str.LIMIT
cmove eax, esi
push eax
push str._s_clause_should_come_after__s_not_before
push ecx
call fcn.00483c70
add esp, 0x10
mov esi, 1
jmp 0x4e2c03