Function at 0x140052570
Capabilities:
Inspect section memory permissions

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x14030aae8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r14, qword [rcx + 0x28]
mov rbx, rdx
movzx edx, byte [rdx]
xor ebp, ebp
mov r15, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x78], r14
mov rsi, qword [r14]
lea eax, [rdx - 0x14]
cmp eax, 0x97
ja case.0x1400525e0.21
lea r8, [0x140000000]
cdqe
movzx eax, byte [r8 + rax + 0x53178]
mov ecx, dword [r8 + rax*4 + 0x53154]
add rcx, r8
jmp rcx
mov rcx, qword [r14 + 8]
mov byte [rbx], 0xa6
mov rax, qword [rcx + 0x28]
mov qword [rbx + 0x40], rax
mov eax, dword [rcx + 0x4c]
dec word [rbx + 0x30]
mov dword [rbx + 0x2c], eax
mov byte [rbx + 1], 0x44
jmp case.0x1400525e0.21
mov r8, r14
mov rdx, rbp
nop word [rax + rax]
cmp rdx, 8
jge 0x14005262d
mov eax, dword [r8 + 0x20]
mov r8, qword [r8 + 0x18]
mov dword [rsp + rdx*4 + 0xb0], eax
inc rdx
test r8, r8
jne 0x140052610
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140052645
mov rdx, rcx
mov rcx, r15
call fcn.1400bd6e0
mov rcx, qword [rbx + 0x10]
call fcn.14006a530
test eax, eax
jne 0x140052f4c
cmp byte [rsi + 0x114], 2
jae 0x140052f4c
cmp byte [rbx], 0x33
mov eax, 0x10000000
mov edx, 0x20000000
cmovne eax, edx
lea rdx, str.false
or dword [rbx + 4], eax
lea rax, str.true
cmp byte [rbx], 0x33
cmovne rax, rdx
mov rdx, rbp
mov qword [rbx + 8], rax
mov byte [rbx], 0xa9
cmp rdx, 8
jge 0x1400526ae
mov eax, dword [rsp + rdx*4 + 0xb0]
inc rdx
mov dword [r14 + 0x20], eax
mov r14, qword [r14 + 0x18]
test r14, r14
jne 0x140052691
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400526bf
mov rcx, qword [rsi]
call fcn.14006de70
mov qword [rbx + 0x10], rbp
mov eax, 1
jmp 0x140053127
cmp dl, 0x3b
jne 0x1400526de
mov r9, qword [rbx + 8]
mov r8, rbp
jmp 0x14005279a
mov ecx, dword [r14 + 0x28]
mov rdi, qword [rbx + 0x10]
test cl, 0x28
je 0x140052732
lea rax, str.partial_index_WHERE_clauses
test cl, 0x20
je 0x140052700
lea r9, str.index_expressions
jmp 0x14005271c
test cl, 4
je 0x14005270e
lea r9, str.CHECK_constraints
jmp 0x14005271c
test cl, 8
lea r9, str.generated_columns
cmove r9, rax
lea r8, str.the__.__operator
mov rcx, rsi
lea rdx, str._s_prohibited_in__s
call fcn.1400692d0
mov rcx, qword [rbx + 0x18]
cmp byte [rcx], 0x3b
je 0x140052747
mov rbp, qword [rdi + 8]
mov rdi, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
cmp byte [rsi + 0x114], 2
mov r8, qword [rdi + 8]
mov r9, qword [rcx + 8]
jb 0x14005279a
mov rax, qword [rsi + 0x190]
test rax, rax
je 0x140052777
cmp qword [rax], rcx
je 0x140052774
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140052764
jmp 0x140052777
mov qword [rax], rbx
mov rcx, qword [rsi + 0x190]
test rcx, rcx
je 0x14005279a
cmp qword [rcx], rdi
je 0x140052793
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140052783
jmp 0x14005279a
lea rax, [rbx + 0x40]
mov qword [rcx], rax
mov qword [rsp + 0x28], rbx
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], r14
call fcn.1400444c0
jmp 0x140053127
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400527c7
mov r15d, dword [rax]
jmp 0x1400527ca
mov r15d, ebp
mov rcx, qword [rsi]
lea rdx, [r14 + 0x28]
mov qword [rsp + 0x40], rdx
mov r12d, ebp
mov edx, dword [rdx]
and edx, 0x4001
mov dword [rsp + 0x34], ebp
test dword [rbx + 4], 0x1000000
movzx eax, byte [rcx + 0x60]
mov dword [rsp + 0x38], ebp
mov byte [rsp + 0x30], al
mov dword [rsp + 0x70], edx
je 0x14005280d
mov rdx, qword [rbx + 0x40]
mov qword [rsp + 0x60], rdx
cmp byte [rdx + 0x20], 0xa5
jne 0x140052812
mov qword [rsp + 0x60], rbp
mov r10, qword [rbx + 8]
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x48], r10
test r10, r10
jne 0x14005282d
mov dword [rsp + 0x58], ebp
jmp 0x140052844
mov rdx, rdi
inc rdx
cmp byte [r10 + rdx], bpl
jne 0x140052830
and edx, 0x3fffffff
mov qword [rsp + 0x58], rdx
movzx r9d, al
mov byte [rsp + 0x20], bpl
mov r8d, r15d
mov rdx, r10
call fcn.14006fb10
mov r13, rax
test rax, rax
jne 0x1400529df
mov rax, qword [rsp + 0x48]
mov r13, rbp
mov r12, qword [rsi]
mov r15d, ebp
test rax, rax
jne 0x140052880
mov edi, ebp
jmp 0x14005288f
inc rdi
cmp byte [rax + rdi], bpl
jne 0x140052880
and edi, 0x3fffffff
lea rcx, [r12 + 0x230]
xor r8d, r8d
mov rdx, rax
call fcn.14003a9c0
mov r11d, 5
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x140052918
movzx r10d, byte [rsp + 0x30]
cmp byte [rdx], 0xfe
je 0x1400528ca
mov rax, qword [rdx + 0x18]
neg rax
sbb ecx, ecx
and ecx, 6
jmp 0x1400528f3
mov r9d, dword [rdx + 4]
mov r8d, r10d
mov eax, r9d
and eax, 3
cmp r10d, eax
jne 0x1400528e3
mov ecx, 6
jmp 0x1400528f3
and r8b, r9b
mov ecx, 4
test r8b, 2
cmovne ecx, r11d
cmp ecx, r15d
jle 0x1400528fe
mov r13, rdx
mov r15d, ecx
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1400528b7
test r13, r13
je 0x140052918
test byte [r12 + 0x2c], 2
je 0x1400529ba
mov r8, qword [rsp + 0x48]
lea rcx, [0x140000000]
mov r15d, ebp
movzx eax, byte [r8]
movzx ecx, byte [rax + rcx + 0x28a630]
mov eax, 0xb21642c9
add ecx, edi
mul ecx
shr edx, 4
imul eax, edx, 0x17
mov rdx, r8
sub ecx, eax
call fcn.140073180
mov r8, rax
test rax, rax
je 0x1400529b5
movzx r14d, byte [rsp + 0x30]
mov r10d, 5
cmp byte [r8], 0xfe
je 0x140052974
mov rcx, qword [r8 + 0x18]
neg rcx
sbb edx, edx
and edx, 6
jmp 0x14005299c
mov r9d, dword [r8 + 4]
mov ecx, r14d
mov eax, r9d
and eax, 3
cmp r14d, eax
jne 0x14005298d
mov edx, 6
jmp 0x14005299c
and cl, r9b
mov edx, 4
test cl, 2
cmovne edx, r10d
cmp edx, r15d
jle 0x1400529a7
mov r13, r8
mov r15d, edx
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x140052960
mov r14, qword [rsp + 0x78]
test r13, r13
je 0x1400529c0
cmp qword [r13 + 0x18], rbp
jne 0x1400529c3
mov r13, rbp
mov r15, qword [rsp + 0x50]
test r13, r13
mov r12d, ebp
mov ecx, ebp
sete r12b
test r13, r13
setne cl
jmp 0x140052bef
mov eax, ebp
cmp qword [r13 + 0x20], rax
setne al
test dword [r13 + 4], 0x400
mov dword [rsp + 0x38], eax
je 0x140052ab4
or dword [rbx + 4], 0x40000
cmp r15d, 2
mov r15, qword [rsp + 0x50]
jne 0x140052a9b
mov rcx, qword [r15 + 0x28]
movsd xmm0, qword [0x140296d90]
movsd qword [rsp + 0x50], xmm0
cmp byte [rcx], 0x98
je 0x140052a2c
mov dword [rbx + 0x2c], edi
jmp 0x140052a86
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140052a39
mov eax, ebp
jmp 0x140052a4e
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rcx + rax], bpl
jne 0x140052a40
and eax, 0x3fffffff
mov r9b, 1
lea rdx, [rsp + 0x50]
mov r8d, eax
call fcn.14005ae10
movsd xmm2, qword [rsp + 0x50]
comisd xmm2, xmmword [0x140296cd0]
jbe 0x140052a73
mov dword [rbx + 0x2c], edi
jmp 0x140052a86
mulsd xmm2, qword [0x140296d40]
cvttsd2si eax, xmm2
mov dword [rbx + 0x2c], eax
test eax, eax
jns 0x140052ab9
lea rdx, str.second_argument_to_likelihood___must_be_a_constant_between_0.0_and_1.0
mov rcx, rsi
call fcn.1400692d0
inc dword [r14 + 0x24]
jmp 0x140052ab9
mov rax, qword [r13 + 0x38]
mov ecx, 0x7800000
mov edx, 0x800000
cmp byte [rax], 0x75
cmove ecx, edx
mov dword [rbx + 0x2c], ecx
jmp 0x140052ab9
mov r15, qword [rsp + 0x50]
mov r9, qword [r13 + 0x38]
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rbp
lea edx, [r8 + 0x1f]
call fcn.14005b550
test eax, eax
je 0x140052afe
cmp eax, 1
jne 0x140052af1
mov r8, qword [r13 + 0x38]
lea rdx, str.not_authorized_to_use_function:__s
mov rcx, rsi
call fcn.1400692d0
inc dword [r14 + 0x24]
mov byte [rbx], 0x78
mov eax, 1
jmp 0x140053127
mov eax, dword [r13 + 4]
test eax, 0x2800
je 0x140052b14
or dword [rbx + 4], 0x80000
mov eax, dword [r13 + 4]
bt eax, 0xb
jb 0x140052b6f
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
test cl, 0x2a
je 0x140052b8b
lea rax, str.partial_index_WHERE_clauses
test cl, 0x20
je 0x140052b3b
lea r9, str.index_expressions
jmp 0x140052b57
test cl, 4
je 0x140052b49
lea r9, str.CHECK_constraints
jmp 0x140052b57
test cl, 8
lea r9, str.generated_columns
cmove r9, rax
lea r8, str.non_deterministic_functions
mov rcx, rsi
lea rdx, str._s_prohibited_in__s
call fcn.1400692d0
jmp 0x140052b8b
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx]
and al, 0x2e
mov byte [rbx + 2], al
test dword [rcx], 0x40000
je 0x140052b8b
or dword [rbx + 4], 0x40000000
mov ecx, dword [r13 + 4]
bt ecx, 0x12
jae 0x140052baf
cmp byte [rsi + 0x1e], bpl
jne 0x140052baf
mov rax, qword [rsi]
test byte [rax + 0x2c], 0x20
jne 0x140052baf
mov r12d, 1
mov r13, rbp
jmp 0x140052beb
test ecx, 0x280000
je 0x140052beb
cmp byte [rsi + 0x114], 2
jae 0x140052beb
test dword [rbx + 4], 0x40000000
je 0x140052beb
bt ecx, 0x13
jb 0x140052bd8
mov rax, qword [rsi]
test byte [rax + 0x30], 0x80
jne 0x140052beb
mov r8, qword [r13 + 0x38]
lea rdx, str.unsafe_use_of__s__
mov rcx, rsi
call fcn.1400692d0
mov ecx, dword [rsp + 0x34]
cmp byte [rsi + 0x114], 2
jae 0x140052d2c
mov rdi, qword [rsp + 0x60]
test r13, r13
je 0x140052c1d
cmp qword [r13 + 0x28], rbp
jne 0x140052c1d
test rdi, rdi
je 0x140052c1d
lea rdx, str._.s___may_not_be_used_as_a_window_function
jmp 0x140052cae
mov edx, dword [rsp + 0x38]
test edx, edx
je 0x140052c89
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
test al, 1
je 0x140052c4c
test dword [r13 + 4], 0x10000
je 0x140052c41
test rdi, rdi
je 0x140052c62
jmp 0x140052c46
test rdi, rdi
je 0x140052c89
bt eax, 0xe
jb 0x140052c89
test dword [r13 + 4], 0x10000
jne 0x140052c62
lea r8, str.aggregate
test rdi, rdi
je 0x140052c69
lea r8, str.window
mov r9, qword [rsp + 0x48]
lea rdx, str.misuse_of__s_function__.s__
mov qword [rsp + 0x20], r9
mov rcx, rsi
mov r9d, dword [rsp + 0x58]
call fcn.1400692d0
jmp 0x140052cf6
test r12d, r12d
je 0x140052ca3
mov rax, qword [rsi]
cmp byte [rax + 0xbd], bpl
jne 0x140052ca3
lea rdx, str.no_such_function:__.s
jmp 0x140052cae
test ecx, ecx
je 0x140052cd0
lea rdx, str.wrong_number_of_arguments_to_function__.s__
mov r9, qword [rsp + 0x48]
mov rcx, rsi
mov r8d, dword [rsp + 0x58]
call fcn.1400692d0
inc dword [r14 + 0x24]
mov r12d, dword [rsp + 0x38]
test r12d, r12d
je 0x140052d4c
jmp 0x140052d16
test edx, edx
jne 0x140052d11
test dword [rbx + 4], 0x1000000
je 0x140052d47
mov r9, qword [rsp + 0x48]
lea rdx, str.FILTER_may_not_be_used_with_non_aggregate__.s__
mov r8d, dword [rsp + 0x58]
mov rcx, rsi
call fcn.1400692d0
inc dword [r14 + 0x24]
mov rdx, r15
mov rcx, qword [rsp + 0x68]
call fcn.1400a6e90
mov eax, 1
jmp 0x140053127
mov r12d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
test rdi, rdi
mov eax, ebp
setne al
add eax, 0xffffbffe
and dword [rcx], eax
jmp 0x140052d4c
test dword [rbx + 4], 0x1000000
je 0x140052d47
mov rdx, r15
mov r15, qword [rsp + 0x68]
mov rcx, r15
call fcn.1400a6e90
jmp 0x140052d65
mov r12d, dword [rsp + 0x38]
mov rdx, r15
mov r15, qword [rsp + 0x68]
mov rcx, r15
call fcn.1400a6e90
test r12d, r12d
je 0x140052f4c
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x140052df8
cmp byte [rsi + 0x114], 2
mov rbx, qword [r14 + 0x30]
jae 0x140052da9
test rbx, rbx
je 0x140052d8b
mov rdx, qword [rbx + 0x78]
jmp 0x140052d8e
mov rdx, rbp
mov r9, r13
mov r8, rdi
mov rcx, rsi
call fcn.1400b04b0
mov rax, qword [rsi]
cmp byte [rax + 0x63], bpl
jne case.0x1400525e0.21
mov rdx, qword [rdi + 0x10]
mov rcx, r15
call fcn.1400a6e90
mov rdx, qword [rdi + 0x18]
mov rcx, r15
call fcn.1400a6e90
mov rdx, qword [rdi + 0x48]
test rdx, rdx
je 0x140052dd2
mov rcx, r15
call fcn.1400bd6e0
mov rdx, rdi
mov rcx, rbx
call fcn.1400aef30
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x70]
or dword [rax], 0x8000
or dword [rax], ecx
mov eax, 1
jmp 0x140053127
test dword [rbx + 4], 0x1000000
mov byte [rbx], 0xa7
mov byte [rbx + 2], bpl
je 0x140052e1d
mov rax, qword [rbx + 0x40]
mov rdx, qword [rax + 0x48]
test rdx, rdx
je 0x140052e1d
mov rcx, r15
call fcn.1400bd6e0
lea r15, [0x140039e90]
lea r12, [0x140056f30]
nop dword [rax + rax]
mov rax, qword [r14 + 8]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x80], rbp
xorps xmm0, xmm0
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r12
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rax
movdqu xmmword [rsp + 0x98], xmm0
test rax, rax
je 0x140052e85
cmp dword [rax], ebp
je 0x140052e85
mov eax, dword [rax + 0x4c]
mov dword [rsp + 0xb8], eax
jmp 0x140052e90
mov dword [rsp + 0xb8], 0x7fffffff
mov rsi, qword [rbx + 0x20]
mov qword [rsp + 0xbc], rbp
test rsi, rsi
je 0x140052ed3
mov edi, dword [rsi]
add rsi, 8
test edi, edi
jle 0x140052ed3
nop dword [rax + rax]
mov rdx, qword [rsi]
test rdx, rdx
je 0x140052ec9
lea rcx, [rsp + 0x80]
call fcn.1400bd6e0
test eax, eax
jne 0x140052ed3
dec edi
add rsi, 0x20
test edi, edi
jg 0x140052eb0
test dword [rbx + 4], 0x1000000
je 0x140052ef6
mov rax, qword [rbx + 0x40]
mov rdx, qword [rax + 0x48]
test rdx, rdx
je 0x140052ef6
lea rcx, [rsp + 0x80]
call fcn.1400bd6e0
cmp dword [rsp + 0xbc], ebp
jg 0x140052f2c
cmp dword [rsp + 0xc0], ebp
je 0x140052f2c
inc byte [rbx + 2]
mov r14, qword [r14 + 0x18]
test r14, r14
jne 0x140052e30
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x70]
or dword [rax], ecx
lea eax, [r14 + 1]
jmp 0x140053127
test r13, r13
je 0x140052f41
mov eax, dword [r13 + 4]
and eax, 0x1000
or eax, 0x10
or dword [r14 + 0x28], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x70]
or dword [rax], ecx
mov eax, 1
jmp 0x140053127
test dword [rbx + 4], 0x800
je case.0x1400525e0.21
mov ecx, dword [r14 + 0x28]
mov edi, dword [r14 + 0x20]
test cl, 0x2e
je 0x140052fba
lea rax, str.partial_index_WHERE_clauses
test cl, 0x20
je 0x140052f85
lea r9, str.index_expressions
jmp 0x140052fa1
test cl, 4
je 0x140052f93
lea r9, str.CHECK_constraints
jmp 0x140052fa1
test cl, 8
lea r9, str.generated_columns
cmove r9, rax
lea r8, str.subqueries
mov rcx, rsi
lea rdx, str._s_prohibited_in__s
call fcn.1400692d0
mov byte [rbx], 0x78
mov rdx, qword [rbx + 0x20]
mov rcx, r15
call fcn.1400a6f00
cmp edi, dword [r14 + 0x20]
je case.0x1400525e0.21
or dword [rbx + 4], 0x20
or dword [r14 + 0x28], 0x40
jmp case.0x1400525e0.21
mov ecx, dword [r14 + 0x28]
test cl, 0x2e
je case.0x1400525e0.21
lea rax, str.partial_index_WHERE_clauses
test cl, 0x20
je 0x140053000
lea r9, str.index_expressions
jmp 0x14005301c
test cl, 4
je 0x14005300e
lea r9, str.CHECK_constraints
jmp 0x14005301c
test cl, 8
lea r9, str.generated_columns
cmove r9, rax
lea r8, str.parameters
mov rcx, rsi
lea rdx, str._s_prohibited_in__s
call fcn.1400692d0
mov byte [rbx], 0x78
jmp case.0x1400525e0.21
mov rdi, qword [rbx + 0x18]
test rdi, rdi
je case.0x1400525e0.48
mov eax, dword [rdi + 4]
test eax, 0x41000
je 0x14005308f
bt eax, 0x12
jae 0x14005305d
mov rax, qword [rdi + 0x20]
mov rdi, qword [rax + 8]
jmp 0x140053061
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x140053043
mov rax, qword [rsi]
cmp byte [rax + 0x63], bpl
jne case.0x1400525e0.21
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rcx]
cmp al, 0xaf
jne 0x140053082
movzx eax, byte [rcx + 2]
cmp al, 0xb0
jne 0x1400530c1
mov rax, qword [rcx + 0x20]
mov r8d, dword [rax]
jmp 0x1400530d8
movzx eax, byte [rdi]
cmp al, 0x3b
je 0x14005309a
cmp al, 0xa9
jne case.0x1400525e0.48
mov rdx, rdi
mov rcx, r15
call fcn.140052570
cmp eax, 2
jne 0x1400530af
jmp 0x140053127
cmp byte [rdi], 0xa9
jne case.0x1400525e0.48
movzx eax, byte [rbx]
mov byte [rbx + 2], al
xor eax, eax
mov byte [rbx], 0xae
jmp 0x140053127
cmp al, 0x89
jne 0x1400530d2
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + 0x20]
mov r8d, dword [rcx]
jmp 0x1400530d8
mov r8d, 1
cmp byte [rbx], 0x30
jne 0x1400530f5
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rdx + 8]
call fcn.14006f770
cmp eax, r8d
jne 0x140053103
mov rcx, qword [rdx + 0x28]
jmp 0x1400530f9
mov rcx, qword [rbx + 0x18]
call fcn.14006f770
cmp r8d, eax
je case.0x1400525e0.21
lea rdx, str.row_value_misused
mov rcx, rsi
call fcn.1400692d0
cmp dword [rsi + 0x30], ebp
jne 0x140053120
mov rax, qword [rsi]
cmp byte [rax + 0x63], bpl
je 0x140053125
mov ebp, 2
mov eax, ebp
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400cfc50
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret