Function at 0x1400404f0
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, 0xd0
mov rax, qword [0x14031a320]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov r14, qword [rcx + 0x28]
mov rbx, rdx
movzx edx, byte [rdx]
xor ebp, ebp
mov r13, rcx
mov rsi, qword [r14]
lea eax, [rdx - 0x14]
cmp eax, 0x97
ja case.0x140040559.21
lea r8, [0x140000000]
cdqe
lea edi, [rbp + 1]
movzx eax, byte [r8 + rax + 0x410a0]
mov ecx, dword [r8 + rax*4 + 0x4107c]
add rcx, r8
jmp rcx
mov rcx, qword [r14 + 8]
mov byte [rbx], Ordinal_167
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.0x140040559.21
mov r8, r14
mov rdx, rbp
cmp rdx, 8
jge 0x14004059d
mov eax, dword [r8 + 0x20]
mov r8, qword [r8 + 0x18]
mov dword [rsp + rdx*4 + 0x78], eax
inc rdx
test r8, r8
jne 0x140040583
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400405b2
mov rcx, r13
call fcn.14003ec50
mov rdx, qword [rbx + 0x10]
movzx ecx, byte [rdx]
lea eax, [rcx + 0x54]
cmp al, dil
ja 0x1400405c3
mov rdx, qword [rdx + 0x10]
jmp 0x1400405b2
cmp cl, 0xaf
jne 0x1400405cc
movzx ecx, byte [rdx + 2]
cmp cl, 0x74
je 0x140040628
cmp cl, 0x97
jbe 0x140040e2e
cmp cl, 0x9a
jbe 0x140040628
cmp cl, 0xa6
jne 0x140040e2e
test dword [rdx + 4], 0x100000
jne 0x140040e2e
mov rax, qword [rdx + 0x40]
test rax, rax
je 0x140040e2e
movsx r8, word [rdx + 0x30]
test r8w, r8w
js 0x140040628
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140040628
mov rax, r8
shl rax, 5
cmp byte [rax + rcx + 0x18], bpl
je 0x140040e2e
cmp byte [rsi + 0x114], 2
jae 0x140040e2e
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 0x140040681
mov eax, dword [rsp + rdx*4 + 0x78]
inc rdx
mov dword [r14 + 0x20], eax
mov r14, qword [r14 + 0x18]
test r14, r14
jne 0x140040667
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140040692
mov rcx, qword [rsi]
call fcn.140043b30
mov qword [rbx + 0x10], rbp
mov eax, edi
jmp 0x140041050
cmp dl, 0x3b
jne 0x1400406ae
mov r9, qword [rbx + 8]
mov r8, rbp
jmp 0x14004076a
mov ecx, dword [r14 + 0x28]
mov rdi, qword [rbx + 0x10]
test cl, 0x28
je 0x140040702
lea rax, str.partial_index_WHERE_clauses
test cl, 0x20
je 0x1400406d0
lea r9, str.index_expressions
jmp 0x1400406ec
test cl, 4
je 0x1400406de
lea r9, str.CHECK_constraints
jmp 0x1400406ec
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.140007d30
mov rcx, qword [rbx + 0x18]
cmp byte [rcx], 0x3b
je 0x140040717
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 0x14004076a
mov rax, qword [rsi + 0x190]
test rax, rax
je 0x140040747
cmp qword [rax], rcx
je 0x140040744
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140040734
jmp 0x140040747
mov qword [rax], rbx
mov rcx, qword [rsi + 0x190]
test rcx, rcx
je 0x14004076a
cmp qword [rcx], rdi
je 0x140040763
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140040753
jmp 0x14004076a
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.14003f300
jmp 0x140041050
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140040796
mov edi, dword [rax]
jmp 0x140040798
mov edi, ebp
mov rcx, qword [rsi]
lea rax, [r14 + 0x28]
mov qword [rsp + 0x50], rax
mov eax, dword [rax]
and eax, 0x4001
mov dword [rsp + 0x38], ebp
test dword [rbx + 4], 0x1000000
movzx r15d, byte [rcx + 0x60]
mov dword [rsp + 0x60], eax
je 0x1400407d0
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x40], rax
cmp byte [rax + 0x20], 0xa5
jne 0x1400407d5
mov qword [rsp + 0x40], rbp
mov rax, qword [rbx + 8]
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x1400407e8
mov r12d, ebp
jmp 0x140040800
mov r12, 0xffffffffffffffff
nop
inc r12
cmp byte [rax + r12], bpl
jne 0x1400407f0
and r12d, 0x3fffffff
movzx r9d, r15b
mov byte [rsp + 0x20], bpl
mov r8d, edi
mov rdx, rax
call fcn.1400616f0
mov qword [rsp + 0x48], rax
mov rdx, rax
test rax, rax
jne 0x140040868
mov rdi, qword [rsp + 0x58]
lea r8d, [rax - 2]
mov rcx, qword [rsi]
mov rdx, rdi
movzx r9d, r15b
mov byte [rsp + 0x20], bpl
call fcn.1400616f0
mov r15d, dword [rsp + 0x38]
mov rdx, rax
mov qword [rsp + 0x48], rax
test rax, rax
mov eax, 1
jne 0x14004085d
mov r8d, eax
jmp 0x140040aa4
mov r9d, eax
mov r8d, ebp
jmp 0x140040aa7
cmp qword [rax + 0x20], rbp
mov r15d, ebp
setne r15b
test dword [rax + 4], 0x400
mov dword [rsp + 0x38], r15d
je 0x140040932
or dword [rbx + 4], 0x40000
cmp edi, 2
jne 0x14004097c
mov rax, qword [rsp + 0x70]
movsd xmm0, qword [0x1402ef5c0]
movsd qword [rsp + 0x68], xmm0
mov rax, qword [rax + 0x28]
cmp byte [rax], 0x98
je 0x1400408ba
mov dword [rbx + 0x2c], 0xffffffff
jmp 0x14004091a
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x1400408c7
mov eax, ebp
jmp 0x1400408de
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], bpl
jne 0x1400408d0
and eax, 0x3fffffff
mov r9b, 1
lea rdx, [rsp + 0x68]
mov r8d, eax
call fcn.140007fb0
movsd xmm2, qword [rsp + 0x68]
comisd xmm2, xmmword [0x1402ef4e0]
jbe 0x140040907
mov dword [rbx + 0x2c], 0xffffffff
jmp 0x14004091a
mulsd xmm2, qword [0x1402ef558]
cvttsd2si eax, xmm2
mov dword [rbx + 0x2c], eax
test eax, eax
jns 0x14004092d
lea rdx, str.second_argument_to_likelihood___must_be_a_constant_between_0.0_and_1.0
mov rcx, rsi
call fcn.140007d30
inc dword [r14 + 0x24]
mov rdx, qword [rsp + 0x48]
mov r9, qword [rdx + 0x38]
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rbp
lea edx, [r8 + 0x1f]
call fcn.140055540
test eax, eax
je 0x140040997
cmp eax, 1
jne 0x14004096f
mov rax, qword [rsp + 0x48]
lea rdx, str.not_authorized_to_use_function:__s
mov rcx, rsi
mov r8, qword [rax + 0x38]
call fcn.140007d30
inc dword [r14 + 0x24]
mov byte [rbx], 0x78
mov eax, 1
jmp 0x140041050
mov rax, qword [rax + 0x38]
mov ecx, 0x7800000
mov r8d, 0x800000
cmp byte [rax], 0x75
cmove ecx, r8d
mov dword [rbx + 0x2c], ecx
jmp 0x140040932
mov rdx, qword [rsp + 0x48]
mov eax, dword [rdx + 4]
test eax, 0x2800
je 0x1400409b0
or dword [rbx + 4], 0x80000
mov eax, dword [rdx + 4]
bt eax, 0xb
jb 0x140040a10
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
test cl, 0x2a
je 0x140040a2c
lea rax, str.partial_index_WHERE_clauses
test cl, 0x20
je 0x1400409d7
lea r9, str.index_expressions
jmp 0x1400409f3
test cl, 4
je 0x1400409e5
lea r9, str.CHECK_constraints
jmp 0x1400409f3
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.140007d30
mov rdx, qword [rsp + 0x48]
jmp 0x140040a2c
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx]
and al, 0x2e
mov byte [rbx + 2], al
test dword [rcx], 0x40000
je 0x140040a2c
or dword [rbx + 4], 0x40000000
mov ecx, dword [rdx + 4]
bt ecx, 0x12
jae 0x140040a56
cmp byte [rsi + 0x1e], bpl
jne 0x140040a56
mov rax, qword [rsi]
test byte [rax + 0x2c], 0x20
jne 0x140040a56
mov eax, 1
mov rdx, rbp
mov r8d, eax
mov qword [rsp + 0x48], rdx
jmp 0x140040a9f
test ecx, 0x280000
je 0x140040a97
cmp byte [rsi + 0x114], 2
jae 0x140040a97
test dword [rbx + 4], 0x40000000
je 0x140040a97
bt ecx, 0x13
jb 0x140040a7f
mov rax, qword [rsi]
test byte [rax + 0x30], 0x80
jne 0x140040a97
mov r8, qword [rdx + 0x38]
mov rcx, rsi
lea rdx, str.unsafe_use_of__s__
call fcn.140007d30
mov rdx, qword [rsp + 0x48]
mov eax, 1
mov r8d, ebp
mov rdi, qword [rsp + 0x58]
mov r9d, ebp
cmp byte [rsi + 0x114], 2
jae 0x140040bc1
mov rcx, qword [rsp + 0x40]
test rdx, rdx
je 0x140040ad5
cmp qword [rdx + 0x28], rbp
jne 0x140040ad5
test rcx, rcx
je 0x140040ad5
lea rdx, str._.s___may_not_be_used_as_a_window_function
jmp 0x140040b66
test r15d, r15d
je 0x140040b40
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
test al, 1
je 0x140040b00
test dword [rdx + 4], 0x10000
je 0x140040af5
test rcx, rcx
je 0x140040b15
jmp 0x140040afa
test rcx, rcx
je 0x140040b40
bt eax, 0xe
jb 0x140040b40
test dword [rdx + 4], 0x10000
jne 0x140040b15
lea r8, str.aggregate
test rcx, rcx
je 0x140040b1c
lea r8, str.window
mov r9d, r12d
mov qword [rsp + 0x20], rdi
lea rdx, str.misuse_of__s_function__.s__
mov rcx, rsi
call fcn.140007d30
inc dword [r14 + 0x24]
mov dword [rsp + 0x38], ebp
jmp 0x140040bd1
test r8d, r8d
je 0x140040b5a
mov rax, qword [rsi]
cmp byte [rax + 0xbd], bpl
jne 0x140040b5a
lea rdx, str.no_such_function:__.s
jmp 0x140040b66
test r9d, r9d
je 0x140040b98
lea rdx, str.wrong_number_of_arguments_to_function__.s__
mov r9, rdi
mov r8d, r12d
mov rcx, rsi
call fcn.140007d30
inc dword [r14 + 0x24]
test r15d, r15d
je 0x140040bd1
mov r12, qword [rsp + 0x40]
mov eax, ebp
mov rcx, qword [rsp + 0x50]
test r12, r12
setne al
add eax, 0xffffbffe
and dword [rcx], eax
jmp 0x140040bd6
test r15d, r15d
jne 0x140040b7d
test dword [rbx + 4], 0x1000000
je 0x140040bd1
mov r9, rdi
lea rdx, str.FILTER_may_not_be_used_with_non_aggregate__.s__
mov r8d, r12d
mov rcx, rsi
call fcn.140007d30
inc dword [r14 + 0x24]
jmp 0x140040bd1
test dword [rbx + 4], 0x1000000
cmovne r15d, eax
mov dword [rsp + 0x38], r15d
mov r12, qword [rsp + 0x40]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140040c09
mov edi, dword [rax]
lea r15, [rax + 8]
test edi, edi
jle 0x140040c09
nop word [rax + rax]
mov rdx, qword [r15]
mov rcx, r13
call fcn.14003ed40
test eax, eax
jne 0x140040c09
dec edi
add r15, 0x20
test edi, edi
jg 0x140040bf0
cmp dword [rsp + 0x38], ebp
je 0x140040e29
test r12, r12
je 0x140040cf3
cmp byte [rsi + 0x114], 2
mov r14, qword [r14 + 0x30]
jae 0x140040c54
test r14, r14
je 0x140040c34
mov rdx, qword [r14 + 0x78]
jmp 0x140040c37
mov rdx, rbp
mov r9, qword [rsp + 0x48]
mov r8, r12
mov rcx, rsi
call fcn.1400a6ee0
mov rax, qword [rsi]
cmp byte [rax + 0x63], bpl
jne case.0x140040559.21
mov rdi, qword [r12 + 0x10]
test rdi, rdi
je 0x140040c89
mov ebx, dword [rdi]
add rdi, 8
test ebx, ebx
jle 0x140040c89
nop dword [rax + rax]
mov rdx, qword [rdi]
mov rcx, r13
call fcn.14003ed40
test eax, eax
jne 0x140040c89
dec ebx
add rdi, 0x20
test ebx, ebx
jg 0x140040c70
mov rdi, qword [r12 + 0x18]
test rdi, rdi
je 0x140040cb9
mov ebx, dword [rdi]
add rdi, 8
test ebx, ebx
jle 0x140040cb9
nop dword [rax]
mov rdx, qword [rdi]
mov rcx, r13
call fcn.14003ed40
test eax, eax
jne 0x140040cb9
dec ebx
add rdi, 0x20
test ebx, ebx
jg 0x140040ca0
mov rdx, qword [r12 + 0x48]
test rdx, rdx
je 0x140040ccb
mov rcx, r13
call fcn.14003ec50
mov rdx, r12
mov rcx, r14
call fcn.1400a8700
mov rax, qword [rsp + 0x50]
mov edi, 1
mov ecx, dword [rsp + 0x60]
or dword [rax], 0x8000
or dword [rax], ecx
mov eax, edi
jmp 0x140041050
test dword [rbx + 4], 0x1000000
mov byte [rbx], reloc.WLDAP32.dll_Ordinal_167
mov byte [rbx + 2], bpl
je 0x140040d18
mov rax, qword [rbx + 0x40]
mov rdx, qword [rax + 0x48]
test rdx, rdx
je 0x140040d18
mov rcx, r13
call fcn.14003ec50
lea r15, [0x14004cf10]
lea r12, [0x14004cee0]
mov rax, qword [r14 + 8]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x98], rbp
xorps xmm0, xmm0
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0x78], rax
movdqu xmmword [rsp + 0xb0], xmm0
test rax, rax
je 0x140040d75
cmp dword [rax], ebp
je 0x140040d75
mov eax, dword [rax + 0x4c]
mov dword [rsp + 0x80], eax
jmp 0x140040d80
mov dword [rsp + 0x80], 0x7fffffff
mov rsi, qword [rbx + 0x20]
mov qword [rsp + 0x84], rbp
test rsi, rsi
je 0x140040dbe
mov edi, dword [rsi]
add rsi, 8
test edi, edi
jle 0x140040dbe
nop dword [rax + rax]
mov rdx, qword [rsi]
lea rcx, [rsp + 0x98]
call fcn.14003ed40
test eax, eax
jne 0x140040dbe
dec edi
add rsi, 0x20
test edi, edi
jg 0x140040da0
test dword [rbx + 4], 0x1000000
je 0x140040de1
mov rax, qword [rbx + 0x40]
mov rdx, qword [rax + 0x48]
test rdx, rdx
je 0x140040de1
lea rcx, [rsp + 0x98]
call fcn.14003ec50
cmp dword [rsp + 0x84], ebp
jg 0x140040e05
cmp dword [rsp + 0x88], ebp
je 0x140040e05
inc byte [rbx + 2]
mov r14, qword [r14 + 0x18]
test r14, r14
jne 0x140040d26
jmp 0x140040e1e
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140040e1e
mov eax, dword [rax + 4]
and eax, 0x1000
or eax, 0x10
or dword [r14 + 0x28], eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x60]
or dword [rax], ecx
mov edi, 1
mov eax, edi
jmp 0x140041050
test dword [rbx + 4], 0x800
je case.0x140040559.21
mov ecx, dword [r14 + 0x28]
mov edi, dword [r14 + 0x20]
test cl, 0x2e
je 0x140040e99
lea rax, str.partial_index_WHERE_clauses
test cl, 0x20
je 0x140040e64
lea r9, str.index_expressions
jmp 0x140040e80
test cl, 4
je 0x140040e72
lea r9, str.CHECK_constraints
jmp 0x140040e80
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.140007d30
mov byte [rbx], 0x78
mov rdx, qword [rbx + 0x20]
mov rcx, r13
call fcn.14003ed50
cmp edi, dword [r14 + 0x20]
je case.0x140040559.21
or dword [rbx + 4], 0x20
or dword [r14 + 0x28], 0x40
jmp case.0x140040559.21
mov ecx, dword [r14 + 0x28]
test cl, 0x2e
je case.0x140040559.21
lea rax, str.partial_index_WHERE_clauses
test cl, 0x20
je 0x140040edf
lea r9, str.index_expressions
jmp 0x140040efb
test cl, 4
je 0x140040eed
lea r9, str.CHECK_constraints
jmp 0x140040efb
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.140007d30
mov byte [rbx], 0x78
jmp case.0x140040559.21
mov rdi, qword [rbx + 0x18]
test rdi, rdi
je case.0x140040559.48
mov eax, dword [rdi + 4]
test eax, 0x41000
je 0x140040f73
bt eax, 0x12
jae 0x140040f3c
mov rax, qword [rdi + 0x20]
mov rdi, qword [rax + 8]
jmp 0x140040f40
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x140040f22
mov rax, qword [rsi]
cmp byte [rax + 0x63], bpl
jne case.0x140040559.21
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rcx]
cmp al, 0xaf
jne 0x140040f61
movzx eax, byte [rcx + 2]
mov r9d, 1
cmp al, 0xb0
jne 0x140040fa8
mov rax, qword [rcx + 0x20]
mov edx, dword [rax]
jmp 0x140040fbb
movzx eax, byte [rdi]
cmp al, 0x3b
je 0x140040f7e
cmp al, 0xa9
jne case.0x140040559.48
mov rdx, rdi
mov rcx, r13
call fcn.1400404f0
cmp eax, 2
jne 0x140040f93
jmp 0x140041050
cmp byte [rdi], 0xa9
jne case.0x140040559.48
movzx eax, byte [rbx]
mov byte [rbx + 2], al
xor eax, eax
mov byte [rbx], 0xae
jmp 0x140041050
cmp al, 0x89
jne 0x140040fb8
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + 0x20]
mov edx, dword [rcx]
jmp 0x140040fbb
mov edx, r9d
cmp byte [rbx], 0x30
jne 0x140040ffc
mov r8, qword [rbx + 0x20]
mov rcx, qword [r8 + 8]
movzx eax, byte [rcx]
cmp al, 0xaf
jne 0x140040fd3
movzx eax, byte [rcx + 2]
cmp al, 0xb0
jne 0x140040fdf
mov rax, qword [rcx + 0x20]
mov ecx, dword [rax]
jmp 0x140040ff2
cmp al, 0x89
jne 0x140040fef
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + 0x20]
mov ecx, dword [rcx]
jmp 0x140040ff2
mov ecx, r9d
cmp ecx, edx
jne 0x14004102c
mov rcx, qword [r8 + 0x28]
jmp 0x140041000
mov rcx, qword [rbx + 0x18]
movzx eax, byte [rcx]
cmp al, 0xaf
jne 0x14004100b
movzx eax, byte [rcx + 2]
cmp al, 0xb0
jne 0x140041018
mov rax, qword [rcx + 0x20]
mov r9d, dword [rax]
jmp 0x140041027
cmp al, 0x89
jne 0x140041027
mov rax, qword [rcx + 0x20]
mov rcx, qword [rax + 0x20]
mov r9d, dword [rcx]
cmp edx, r9d
je case.0x140040559.21
lea rdx, str.row_value_misused
mov rcx, rsi
call fcn.140007d30
cmp dword [rsi + 0x30], ebp
jne 0x140041049
mov rax, qword [rsi]
cmp byte [rax + 0x63], bpl
je 0x14004104e
mov ebp, 2
mov eax, ebp
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140252d20
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret