Function at 0x14008ea98
Capabilities:
Inspect section memory permissions

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov rsi, qword [rcx + 0x28]
mov rdi, rdx
movzx edx, byte [rdx]
xor ebx, ebx
mov r8, rcx
mov r14, qword [rsi]
cmp edx, 0x37
ja 0x14008ec00
je 0x14008eb0a
sub edx, 0x14
je 0x14008f1cd
sub edx, 0x19
je 0x14008f159
sub edx, 3
je 0x14008eb0a
sub edx, 1
je 0x14008f1cd
sub edx, 1
je 0x14008eb4a
sub edx, 1
je 0x14008eb4a
sub edx, 1
je 0x14008eb0a
sub edx, 1
je 0x14008eb0a
cmp edx, 1
jne 0x14008f30f
mov rax, qword [r14]
cmp byte [rax + 0x63], bl
jne 0x14008f30f
mov rcx, qword [rdi + 0x10]
call fcn.14009063c
cmp byte [rdi], 0x30
mov r8d, eax
jne 0x14008f2f2
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdx + 8]
call fcn.14009063c
cmp eax, r8d
jne 0x14008f300
mov rcx, qword [rdx + 0x28]
jmp 0x14008f2f6
mov rdx, rsi
mov rcx, rbx
mov ebp, 1
cmp rcx, 8
jge 0x14008eb6e
mov eax, dword [rdx + 0x20]
mov rdx, qword [rdx + 0x18]
mov dword [rsp + rcx*4 + 0x68], eax
add rcx, rbp
test rdx, rdx
jne 0x14008eb55
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x14008eb7f
mov rcx, r8
call fcn.14008d8dc
mov rcx, qword [rdi + 0x10]
call fcn.140092700
test eax, eax
jne 0x14008ee2b
cmp byte [r14 + 0x10c], 2
jae 0x14008ee2b
cmp byte [rdi], 0x33
lea rax, str.false
lea rcx, str.true
mov edx, 0x20000000
cmovne rcx, rax
mov eax, 0x10000000
cmovne eax, edx
or dword [rdi + 4], eax
mov qword [rdi + 8], rcx
mov rcx, rbx
mov byte [rdi], 0xa9
cmp rcx, 8
jge 0x14008ebe6
mov eax, dword [rsp + rcx*4 + 0x68]
add rcx, rbp
mov dword [rsi + 0x20], eax
mov rsi, qword [rsi + 0x18]
test rsi, rsi
jne 0x14008ebcd
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x14008ebf7
mov rcx, qword [r14]
call fcn.140091400
mov qword [rdi + 0x10], rbx
jmp 0x14008ee2b
mov ecx, edx
sub ecx, 0x38
je 0x14008eb0a
sub ecx, 1
je 0x14008eb0a
sub ecx, 2
je 0x14008f243
sub ecx, 0x10
je 0x14008f21c
sub ecx, 0x3e
je 0x14008f1cd
sub ecx, 3
je 0x14008f243
sub ecx, 0xf
je 0x14008f1a9
sub ecx, 0xf
je 0x14008f159
cmp ecx, 1
jne 0x14008f30f
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14008ec66
mov r12d, dword [rax]
jmp 0x14008ec69
mov r12d, ebx
mov rcx, qword [r14]
lea rax, [rsi + 0x28]
mov qword [rsp + 0x30], rax
mov eax, dword [rax]
and eax, 0x4001
mov dword [rsp + 0xe8], ebx
test dword [rdi + 4], 0x1000000
mov bpl, byte [rcx + 0x60]
mov dword [rsp + 0x50], eax
je 0x14008eca3
mov rax, qword [rdi + 0x40]
mov qword [rsp + 0x48], rax
cmp byte [rax + 0x20], 0xa5
jne 0x14008eca8
mov qword [rsp + 0x48], rbx
mov rdx, qword [rdi + 8]
or r15, 0xffffffffffffffff
mov qword [rsp + 0x38], rdx
test rdx, rdx
jne 0x14008ecc0
mov dword [rsp + 0x40], ebx
jmp 0x14008ecd5
mov rax, r15
inc rax
cmp byte [rdx + rax], bl
jne 0x14008ecc3
and eax, 0x3fffffff
mov qword [rsp + 0x40], rax
mov r9b, bpl
mov byte [rsp + 0x20], bl
mov r8d, r12d
call fcn.1400a47a4
mov r13, rax
test rax, rax
jne 0x14008ed26
mov rdx, qword [rsp + 0x38]
lea r8d, [rax - 2]
mov rcx, qword [r14]
mov r9b, bpl
mov byte [rsp + 0x20], bl
call fcn.1400a47a4
mov r12, qword [rsp + 0x30]
mov r13, rax
mov ebp, 1
test rax, rax
jne 0x14008ed1d
mov ecx, ebp
jmp 0x14008eeed
mov edx, ebp
mov ecx, ebx
jmp 0x14008eeef
cmp qword [r13 + 0x20], rbx
mov eax, ebx
mov ebp, 1
setne al
test dword [r13 + 4], 0x400
mov dword [rsp + 0xe8], eax
je 0x14008edf2
bts dword [rdi + 4], 0x12
cmp r12d, 2
jne 0x14008eddb
mov rax, qword [rsp + 0x60]
movsd xmm0, qword [0x1401f5378]
movsd qword [rsp + 0x58], xmm0
mov rax, qword [rax + 0x28]
cmp byte [rax], 0x98
jne 0x14008edbe
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14008ed81
mov eax, ebx
jmp 0x14008ed91
mov rax, r15
inc rax
cmp byte [rcx + rax], bl
jne 0x14008ed84
and eax, 0x3fffffff
mov r9b, bpl
lea rdx, [rsp + 0x58]
mov r8d, eax
call fcn.140062b20
movsd xmm2, qword [rsp + 0x58]
comisd xmm2, xmmword [0x1401f5280]
ja 0x14008edbe
mulsd xmm2, qword [0x1401f5308]
cvttsd2si r15d, xmm2
mov dword [rdi + 0x2c], r15d
test r15d, r15d
jns 0x14008edf2
lea rdx, str.second_argument_to_likelihood___must_be_a_constant_between_0.0_and_1.0
mov rcx, r14
call fcn.140062934
add dword [rsi + 0x24], ebp
jmp 0x14008edf2
mov rax, qword [r13 + 0x38]
mov ecx, 0x7800000
mov edx, 0x800000
cmp byte [rax], 0x75
cmove ecx, edx
mov dword [rdi + 0x2c], ecx
mov r9, qword [r13 + 0x38]
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], rbx
lea edx, [r8 + 0x1f]
call fcn.14009cba0
test eax, eax
je 0x14008ee32
cmp eax, ebp
jne 0x14008ee28
mov r8, qword [r13 + 0x38]
lea rdx, str.not_authorized_to_use_function:__s
mov rcx, r14
call fcn.140062934
add dword [rsi + 0x24], ebp
mov byte [rdi], 0x78
mov eax, ebp
jmp 0x14008f324
test dword [r13 + 4], 0x2800
je 0x14008ee41
bts dword [rdi + 4], 0x13
test dword [r13 + 4], 0x800
mov r15d, 0x40000000
mov r12, qword [rsp + 0x30]
jne 0x14008ee74
test byte [r12], 0x2a
je 0x14008ee8b
xor r9d, r9d
lea r8, str.non_deterministic_functions
mov rdx, rsi
mov rcx, r14
call fcn.14008ea40
jmp 0x14008ee8b
mov al, byte [r12]
and al, 0x2e
mov byte [rdi + 2], al
test dword [r12], 0x40000
je 0x14008ee8b
or dword [rdi + 4], r15d
test dword [r13 + 4], 0x40000
je 0x14008eeab
cmp byte [r14 + 0x1e], bl
jne 0x14008eeab
mov rax, qword [r14]
test byte [rax + 0x2c], 0x20
jne 0x14008eeab
mov ecx, ebp
mov r13, rbx
jmp 0x14008eeed
test dword [r13 + 4], 0x280000
je 0x14008eeeb
cmp byte [r14 + 0x10c], 2
jae 0x14008eeeb
test dword [rdi + 4], r15d
je 0x14008eeeb
test dword [r13 + 4], 0x80000
jne 0x14008eed8
mov rax, qword [r14]
test byte [rax + 0x30], 0x80
jne 0x14008eeeb
mov r8, qword [r13 + 0x38]
lea rdx, str.unsafe_use_of__s__
mov rcx, r14
call fcn.140062934
mov ecx, ebx
mov edx, ebx
cmp byte [r14 + 0x10c], 2
jae 0x14008f025
mov r15, qword [rsp + 0x48]
test r13, r13
je 0x14008ef1e
cmp qword [r13 + 0x28], rbx
jne 0x14008ef1e
test r15, r15
je 0x14008ef1e
lea rdx, str._.s___may_not_be_used_as_a_window_function
jmp 0x14008efbf
mov eax, dword [rsp + 0xe8]
test eax, eax
je 0x14008ef95
mov r8d, 0x10000
test byte [r12], bpl
je 0x14008ef4f
test dword [r13 + 4], r8d
je 0x14008ef40
test r15, r15
je 0x14008ef61
test r15, r15
je 0x14008ef95
test dword [r12], 0x4000
jne 0x14008ef95
test dword [r13 + 4], r8d
jne 0x14008ef61
lea r8, str.aggregate
test r15, r15
je 0x14008ef68
lea r8, str.window
mov rax, qword [rsp + 0x38]
lea rdx, str.misuse_of__s_function__.s__
mov r9d, dword [rsp + 0x40]
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.140062934
add dword [rsi + 0x24], ebp
mov dword [rsp + 0xe8], ebx
jmp 0x14008f03d
test ecx, ecx
je 0x14008efb4
mov rax, qword [r14]
cmp byte [rax + 0xc5], bl
jne 0x14008efad
lea rdx, str.no_such_function:__.s
jmp 0x14008efbf
mov eax, dword [rsp + 0xe8]
test edx, edx
je 0x14008effa
lea rdx, str.wrong_number_of_arguments_to_function__.s__
mov r9, qword [rsp + 0x38]
mov rcx, r14
mov r8d, dword [rsp + 0x40]
call fcn.140062934
add dword [rsi + 0x24], ebp
mov eax, dword [rsp + 0xe8]
test eax, eax
je 0x14008f03d
mov r12, qword [rsp + 0x30]
mov rax, r15
neg rax
sbb ecx, ecx
neg ecx
add ecx, 0xffffbffe
and dword [r12], ecx
jmp 0x14008f042
test eax, eax
jne 0x14008efdf
test dword [rdi + 4], 0x1000000
je 0x14008f03d
mov r9, qword [rsp + 0x38]
lea rdx, str.FILTER_may_not_be_used_with_non_aggregate__.s__
mov r8d, dword [rsp + 0x40]
mov rcx, r14
call fcn.140062934
add dword [rsi + 0x24], ebp
jmp 0x14008f03d
mov eax, dword [rsp + 0xe8]
test dword [rdi + 4], 0x1000000
cmovne eax, ebp
mov dword [rsp + 0xe8], eax
mov r12, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xe0]
call fcn.14008d990
cmp dword [rsp + 0xe8], ebx
je 0x14008ee2b
mov r15, qword [rsp + 0x48]
test r15, r15
je 0x14008f0e5
cmp byte [r14 + 0x10c], 2
mov rdi, qword [rsi + 0x30]
jae 0x14008f0a1
test rdi, rdi
je 0x14008f084
mov rdx, qword [rdi + 0x78]
jmp 0x14008f087
mov rdx, rbx
mov r9, r13
mov r8, r15
mov rcx, r14
call fcn.1400d0550
mov rax, qword [r14]
cmp byte [rax + 0x63], bl
jne 0x14008f30f
mov rsi, qword [rsp + 0xe0]
mov rdx, qword [r15 + 0x10]
mov rcx, rsi
call fcn.14008d990
mov rdx, qword [r15 + 0x18]
mov rcx, rsi
call fcn.14008d990
mov rdx, qword [r15 + 0x48]
test rdx, rdx
je 0x14008f0d2
mov rcx, rsi
call fcn.14008d8dc
mov rdx, r15
mov rcx, rdi
call fcn.1400d1494
bts dword [r12], 0xf
jmp 0x14008f14c
test dword [rdi + 4], 0x1000000
mov byte [rdi], 0xa7
mov byte [rdi + 2], bl
je 0x14008f10e
mov rax, qword [rdi + 0x40]
mov rdx, qword [rax + 0x48]
test rdx, rdx
je 0x14008f10e
mov rcx, qword [rsp + 0xe0]
call fcn.14008d8dc
mov r8, qword [rsi + 8]
mov rdx, rdi
mov rcx, r14
call fcn.1400970b8
test eax, eax
jne 0x14008f12e
add byte [rdi + 2], bpl
mov rsi, qword [rsi + 0x18]
test rsi, rsi
jne 0x14008f10e
test rsi, rsi
je 0x14008f14c
test r13, r13
je 0x14008f14c
mov eax, dword [r13 + 4]
xor eax, 0xffffefff
and eax, 0x8001000
or eax, 0x10
or dword [rsi + 0x28], eax
mov eax, dword [rsp + 0x50]
or dword [r12], eax
jmp 0x14008ee2b
mov rcx, qword [rdi + 0x18]
call fcn.14009026c
mov rsi, rax
test rax, rax
je 0x14008eb0a
cmp byte [rax], 0x3b
je 0x14008f17c
cmp byte [rax], 0xa9
jne 0x14008eb0a
mov rdx, rsi
mov rcx, r8
call fcn.14008ea98
cmp eax, 2
jne 0x14008f191
jmp 0x14008f324
cmp byte [rsi], 0xa9
jne 0x14008eb0a
mov al, byte [rdi]
mov byte [rdi + 2], al
xor eax, eax
mov byte [rdi], 0xae
jmp 0x14008f324
test byte [rsi + 0x28], 0x2e
je 0x14008f30f
mov r9, rdi
lea r8, str.parameters
mov rdx, rsi
mov rcx, r14
call fcn.14008ea40
jmp 0x14008f30f
test dword [rdi + 4], 0x800
je 0x14008f30f
test byte [rsi + 0x28], 0x2e
mov ebp, dword [rsi + 0x20]
je 0x14008f1fa
mov r9, rdi
lea r8, str.subqueries
mov rdx, rsi
mov rcx, r14
call fcn.14008ea40
jmp 0x14008f206
mov rdx, qword [rdi + 0x20]
mov rcx, r8
call fcn.14008d9e8
cmp ebp, dword [rsi + 0x20]
je 0x14008f30f
or dword [rdi + 4], 0x20
or dword [rsi + 0x28], 0x40
jmp 0x14008f30f
mov rcx, qword [rsi + 8]
or r15, 0xffffffffffffffff
mov byte [rdi], 0xa6
mov rax, qword [rcx + 0x28]
mov qword [rdi + 0x40], rax
mov eax, dword [rcx + 0x4c]
add word [rdi + 0x30], r15w
mov dword [rdi + 0x2c], eax
mov byte [rdi + 1], 0x44
jmp 0x14008f30f
cmp dl, 0x3b
jne 0x14008f257
mov r9, qword [rdi + 8]
mov rdx, rbx
mov r8, rbx
jmp 0x14008f2de
test byte [rsi + 0x28], 0x28
mov rbp, qword [rdi + 0x10]
je 0x14008f276
xor r9d, r9d
lea r8, str.the__.__operator
mov rdx, rsi
mov rcx, r14
call fcn.14008ea40
mov rax, qword [rdi + 0x18]
cmp byte [rax], 0x3b
jne 0x14008f284
mov rdx, rbx
jmp 0x14008f290
mov rdx, qword [rbp + 8]
mov rbp, qword [rax + 0x10]
mov rax, qword [rax + 0x18]
cmp byte [r14 + 0x10c], 2
mov r8, qword [rbp + 8]
mov r9, qword [rax + 8]
jb 0x14008f2de
mov rcx, qword [r14 + 0x188]
jmp 0x14008f2b4
cmp qword [rcx], rax
je 0x14008f2bb
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x14008f2ab
jmp 0x14008f2be
mov qword [rcx], rdi
mov rcx, qword [r14 + 0x188]
jmp 0x14008f2d0
cmp qword [rcx], rbp
je 0x14008f2d7
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x14008f2c7
jmp 0x14008f2de
lea rax, [rdi + 0x40]
mov qword [rcx], rax
mov qword [rsp + 0x28], rdi
mov rcx, r14
mov qword [rsp + 0x20], rsi
call fcn.14008de34
jmp 0x14008f324
mov rcx, qword [rdi + 0x18]
call fcn.14009063c
cmp r8d, eax
je 0x14008f30f
lea rdx, str.row_value_misused
mov rcx, r14
call fcn.140062934
cmp dword [r14 + 0x30], ebx
jne 0x14008f31d
mov rax, qword [r14]
cmp byte [rax + 0x63], bl
je 0x14008f322
mov ebx, 2
mov eax, ebx
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret