Function at 0x1402ccd60
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, 0x90
mov rax, qword [0x140481f48]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rsi, qword [rcx + 0x28]
mov r9, rcx
mov qword [rsp + 0x50], rcx
xor edi, edi
movzx ecx, byte [rdx]
mov rbx, rdx
mov r14, qword [rsi]
cmp ecx, 0x37
ja 0x1402ccee0
je 0x1402ccde8
sub ecx, 0x14
je 0x1402cd451
sub ecx, 0x19
je 0x1402cd3d8
sub ecx, 3
je 0x1402ccde8
sub ecx, 1
je 0x1402cd451
sub ecx, 1
je 0x1402cce29
sub ecx, 1
je 0x1402cce29
sub ecx, 1
je 0x1402ccde8
sub ecx, 1
je 0x1402ccde8
cmp ecx, 1
jne 0x1402cd5c2
mov rax, qword [r14]
cmp byte [rax + 0x67], dil
jne 0x1402cd5c2
mov rcx, qword [rbx + 0x10]
call fcn.1402e49e0
cmp byte [rbx], 0x30
mov r8d, eax
jne 0x1402cd57e
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rdx + 8]
call fcn.1402e49e0
cmp eax, r8d
jne 0x1402cd58c
mov rcx, qword [rdx + 0x28]
jmp 0x1402cd582
mov r8, rsi
mov rdx, rdi
mov ebp, 1
cmp rdx, 8
jge 0x1402cce4e
mov eax, dword [r8 + 0x20]
mov r8, qword [r8 + 0x18]
mov dword [rsp + rdx*4 + 0x68], eax
add rdx, rbp
test r8, r8
jne 0x1402cce34
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1402cce5f
mov rcx, r9
call fcn.140324b0c
mov rcx, qword [rbx + 0x10]
call fcn.1402e0f30
test eax, eax
jne 0x1402cd0e6
cmp byte [r14 + 0x124], 2
jae 0x1402cd0e6
cmp byte [rbx], 0x33
lea rax, str.false
lea rcx, str.true
mov edx, 0x20000000
cmovne rcx, rax
mov eax, 0x10000000
cmovne eax, edx
or dword [rbx + 4], eax
mov qword [rbx + 8], rcx
mov rcx, rdi
mov byte [rbx], 0xaa
cmp rcx, 8
jge 0x1402ccec6
mov eax, dword [rsp + rcx*4 + 0x68]
add rcx, rbp
mov dword [rsi + 0x20], eax
mov rsi, qword [rsi + 0x18]
test rsi, rsi
jne 0x1402ccead
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1402cced7
mov rcx, qword [r14]
call fcn.1402e3590
mov qword [rbx + 0x10], rdi
jmp 0x1402cd0e6
mov edx, ecx
sub edx, 0x38
je 0x1402ccde8
sub edx, 1
je 0x1402ccde8
sub edx, 2
je 0x1402cd4ca
sub edx, 0x10
je 0x1402cd4a5
sub edx, 0x3f
je 0x1402cd451
sub edx, 3
je 0x1402cd4ca
sub edx, 0xf
je 0x1402cd428
sub edx, 0xf
je 0x1402cd3d8
cmp edx, 1
jne 0x1402cd5c2
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1402ccf46
mov r15d, dword [rax]
jmp 0x1402ccf49
mov r15d, edi
mov rcx, qword [r14]
lea rdx, [rsi + 0x28]
mov qword [rsp + 0x40], rdx
mov edx, dword [rdx]
and edx, 0x4001
mov dword [rsp + 0x30], edi
test dword [rbx + 4], 0x1000000
mov al, byte [rcx + 0x64]
mov byte [rsp + 0x34], al
mov dword [rsp + 0x48], edx
je 0x1402ccf80
mov r13, qword [rbx + 0x40]
cmp byte [r13 + 0x20], 0xa6
jne 0x1402ccf83
mov r13, rdi
mov rbp, qword [rbx + 8]
mov r9b, al
mov rdx, rbp
mov byte [rsp + 0x20], dil
mov r8d, r15d
call fcn.1402e4ae4
mov r12, rax
test rax, rax
jne 0x1402ccfdd
mov r9b, byte [rsp + 0x34]
lea r8d, [rax - 2]
mov rcx, qword [r14]
mov rdx, rbp
mov byte [rsp + 0x20], dil
call fcn.1402e4ae4
mov r15, qword [rsp + 0x40]
mov r12, rax
mov ebp, 1
test rax, rax
jne 0x1402ccfd4
mov ecx, ebp
jmp 0x1402cd1ac
mov edx, ebp
mov ecx, edi
jmp 0x1402cd1ae
cmp qword [r12 + 0x20], rdi
mov eax, edi
mov ebp, 1
setne al
test dword [r12 + 4], 0x400
mov dword [rsp + 0x30], eax
je 0x1402cd0ad
bts dword [rbx + 4], 0x12
cmp r15d, 2
jne 0x1402cd095
mov r15, qword [rsp + 0x60]
movsd xmm0, qword [0x140441b10]
movsd qword [rsp + 0x58], xmm0
mov r15, qword [r15 + 0x28]
cmp byte [r15], 0x99
je 0x1402cd030
or eax, 0xffffffff
jmp 0x1402cd077
mov rcx, qword [r15 + 8]
test rcx, rcx
jne 0x1402cd03d
mov eax, edi
jmp 0x1402cd047
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
and eax, 0x3fffffff
mov rcx, qword [r15 + 8]
lea rdx, [rsp + 0x58]
mov r9b, bpl
mov r8d, eax
call fcn.1402d5edc
movsd xmm2, qword [rsp + 0x58]
comisd xmm2, xmmword [0x14046c480]
ja 0x1402cd02b
mulsd xmm2, qword [0x14046c530]
cvttsd2si eax, xmm2
mov dword [rbx + 0x2c], eax
test eax, eax
jns 0x1402cd0ad
mov r8, rbx
lea rdx, str.second_argument_to__T___must_be_a_constant_between_0.0_and_1.0
mov rcx, r14
call fcn.1402e06bc
add dword [rsi + 0x24], ebp
jmp 0x1402cd0ad
mov rax, qword [r12 + 0x38]
mov ecx, 0x7800000
mov edx, 0x800000
cmp byte [rax], 0x75
cmove ecx, edx
mov dword [rbx + 0x2c], ecx
mov r9, qword [r12 + 0x38]
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], rdi
lea edx, [r8 + 0x1f]
call fcn.1402d6548
test eax, eax
je 0x1402cd0ed
cmp eax, ebp
jne 0x1402cd0e3
mov r8, rbx
lea rdx, str.not_authorized_to_use_function:__T
mov rcx, r14
call fcn.1402e06bc
add dword [rsi + 0x24], ebp
mov byte [rbx], 0x79
mov eax, ebp
jmp 0x1402cd5cd
test dword [r12 + 4], 0x2800
je 0x1402cd0fd
bts dword [rbx + 4], 0x13
test dword [r12 + 4], 0x800
mov r15, qword [rsp + 0x40]
jne 0x1402cd12f
test byte [r15], 0x2a
je 0x1402cd145
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea r8, str.non_deterministic_functions
mov rdx, rsi
mov rcx, r14
call fcn.1402c4a68
jmp 0x1402cd145
mov al, byte [r15]
and al, 0x2e
mov byte [rbx + 2], al
test dword [r15], 0x40000
je 0x1402cd145
bts dword [rbx + 4], 0x1e
test dword [r12 + 4], 0x40000
je 0x1402cd166
cmp byte [r14 + 0x1e], dil
jne 0x1402cd166
mov rax, qword [r14]
test byte [rax + 0x2c], 0x20
jne 0x1402cd166
mov ecx, ebp
mov r12, rdi
jmp 0x1402cd1ac
test dword [r12 + 4], 0x280000
je 0x1402cd1aa
cmp byte [r14 + 0x124], 2
jae 0x1402cd1aa
test dword [rbx + 4], 0x40000000
je 0x1402cd1aa
test dword [r12 + 4], 0x80000
jne 0x1402cd198
mov rax, qword [r14]
test byte [rax + 0x30], 0x80
jne 0x1402cd1aa
mov r8, rbx
lea rdx, str.unsafe_use_of__T__
mov rcx, r14
call fcn.1402e06bc
mov ecx, edi
mov edx, edi
cmp byte [r14 + 0x124], 2
jae 0x1402cd2ba
test r12, r12
je 0x1402cd1d9
cmp qword [r12 + 0x28], rdi
jne 0x1402cd1d9
test r13, r13
je 0x1402cd1d9
lea rdx, str._T___may_not_be_used_as_a_window_function
jmp 0x1402cd266
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1402cd23e
mov r8d, 0x10000
test byte [r15], bpl
je 0x1402cd206
test dword [r12 + 4], r8d
je 0x1402cd1f8
test r13, r13
je 0x1402cd219
test r13, r13
je 0x1402cd23e
test dword [r15], 0x4000
jne 0x1402cd23e
test dword [r12 + 4], r8d
jne 0x1402cd219
lea r8, str.aggregate
test r13, r13
je 0x1402cd220
lea r8, str.window
mov r9, rbx
lea rdx, str.misuse_of__s_function__T__
mov rcx, r14
call fcn.1402e06bc
add dword [rsi + 0x24], ebp
mov dword [rsp + 0x30], edi
jmp 0x1402cd2cc
test ecx, ecx
je 0x1402cd25b
mov rax, qword [r14]
cmp byte [rax + 0xc5], dil
jne 0x1402cd257
lea rdx, str.no_such_function:__T
jmp 0x1402cd266
mov eax, dword [rsp + 0x30]
test edx, edx
je 0x1402cd296
lea rdx, str.wrong_number_of_arguments_to_function__T__
mov r8, rbx
mov rcx, r14
call fcn.1402e06bc
add dword [rsi + 0x24], ebp
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1402cd2cc
mov r15, qword [rsp + 0x40]
mov rax, r13
neg rax
sbb ecx, ecx
neg ecx
add ecx, 0xffffbffe
and dword [r15], ecx
jmp 0x1402cd2d1
test eax, eax
jne 0x1402cd27c
test dword [rbx + 4], 0x1000000
je 0x1402cd2cc
mov r8, rbx
lea rdx, str.FILTER_may_not_be_used_with_non_aggregate__T__
mov rcx, r14
call fcn.1402e06bc
add dword [rsi + 0x24], ebp
jmp 0x1402cd2cc
mov eax, dword [rsp + 0x30]
test dword [rbx + 4], 0x1000000
cmovne eax, ebp
mov dword [rsp + 0x30], eax
mov r15, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call fcn.140315888
cmp dword [rsp + 0x30], edi
je 0x1402cd0e6
test r13, r13
je 0x1402cd366
cmp byte [r14 + 0x124], 2
mov rbx, qword [rsi + 0x30]
jae 0x1402cd326
test rbx, rbx
je 0x1402cd308
mov rdx, qword [rbx + 0x78]
jmp 0x1402cd30b
mov rdx, rdi
mov r9, r12
mov r8, r13
mov rcx, r14
call fcn.14031aec4
mov rax, qword [r14]
cmp byte [rax + 0x67], dil
jne 0x1402cd5c2
mov rsi, qword [rsp + 0x50]
mov rdx, qword [r13 + 0x10]
mov rcx, rsi
call fcn.140315888
mov rdx, qword [r13 + 0x18]
mov rcx, rsi
call fcn.140315888
mov rdx, qword [r13 + 0x48]
test rdx, rdx
je 0x1402cd354
mov rcx, rsi
call fcn.140324b0c
mov rdx, r13
mov rcx, rbx
call fcn.14031a8e4
bts dword [r15], 0xf
jmp 0x1402cd3cc
test dword [rbx + 4], 0x1000000
mov byte [rbx], 0xa8
mov byte [rbx + 2], dil
je 0x1402cd38d
mov rax, qword [rbx + 0x40]
mov rdx, qword [rax + 0x48]
test rdx, rdx
je 0x1402cd38d
mov rcx, qword [rsp + 0x50]
call fcn.140324b0c
mov r8, qword [rsi + 8]
mov rdx, rbx
mov rcx, r14
call fcn.1402ffa9c
test eax, eax
jne 0x1402cd3ad
add byte [rbx + 2], bpl
mov rsi, qword [rsi + 0x18]
test rsi, rsi
jne 0x1402cd38d
test rsi, rsi
je 0x1402cd3cc
test r12, r12
je 0x1402cd3cc
mov eax, dword [r12 + 4]
xor eax, 0xffffefff
and eax, 0x8001000
or eax, 0x10
or dword [rsi + 0x28], eax
mov eax, dword [rsp + 0x48]
or dword [r15], eax
jmp 0x1402cd0e6
mov rcx, qword [rbx + 0x18]
call fcn.1402e49b4
mov rsi, rax
test rax, rax
je 0x1402ccde8
cmp byte [rax], 0x3b
je 0x1402cd3fb
cmp byte [rax], 0xaa
jne 0x1402ccde8
mov rdx, rsi
mov rcx, r9
call fcn.1402ccd60
cmp eax, 2
jne 0x1402cd410
jmp 0x1402cd5cd
cmp byte [rsi], 0xaa
jne 0x1402ccde8
mov al, byte [rbx]
mov byte [rbx + 2], al
xor eax, eax
mov byte [rbx], 0xaf
jmp 0x1402cd5cd
test byte [rsi + 0x28], 0x2e
je 0x1402cd5c2
mov r9, rbx
mov qword [rsp + 0x20], rbx
lea r8, str.parameters
mov rdx, rsi
mov rcx, r14
call fcn.1402c4a68
jmp 0x1402cd5c2
test dword [rbx + 4], 0x800
je 0x1402cd5c2
test byte [rsi + 0x28], 0x2e
mov edi, dword [rsi + 0x20]
je 0x1402cd483
mov r9, rbx
mov qword [rsp + 0x20], rbx
lea r8, str.subqueries
mov rdx, rsi
mov rcx, r14
call fcn.1402c4a68
jmp 0x1402cd48f
mov rdx, qword [rbx + 0x20]
mov rcx, r9
call fcn.1403158e0
cmp edi, dword [rsi + 0x20]
je 0x1402cd5c2
or dword [rbx + 4], 0x20
or dword [rsi + 0x28], 0x40
jmp 0x1402cd5c2
mov rcx, qword [rsi + 8]
mov byte [rbx], 0xa7
mov rax, qword [rcx + 0x28]
mov qword [rbx + 0x40], rax
mov eax, dword [rcx + 0x4c]
mov dword [rbx + 0x2c], eax
or eax, 0xffffffff
add word [rbx + 0x30], ax
mov byte [rbx + 1], 0x44
jmp 0x1402cd5c2
cmp cl, 0x3b
jne 0x1402cd4de
mov r9, qword [rbx + 8]
mov rdx, rdi
mov r8, rdi
jmp 0x1402cd56a
test byte [rsi + 0x28], 0x28
mov rbp, qword [rbx + 0x10]
je 0x1402cd502
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea r8, str.the__.__operator
mov rdx, rsi
mov rcx, r14
call fcn.1402c4a68
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x3b
jne 0x1402cd510
mov rdx, rdi
jmp 0x1402cd51c
mov rdx, qword [rbp + 8]
mov rbp, qword [rax + 0x10]
mov rax, qword [rax + 0x18]
cmp byte [r14 + 0x124], 2
mov r8, qword [rbp + 8]
mov r9, qword [rax + 8]
jb 0x1402cd56a
mov rcx, qword [r14 + 0x190]
jmp 0x1402cd540
cmp qword [rcx], rax
je 0x1402cd547
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1402cd537
jmp 0x1402cd54a
mov qword [rcx], rbx
mov rcx, qword [r14 + 0x190]
jmp 0x1402cd55c
cmp qword [rcx], rbp
je 0x1402cd563
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1402cd553
jmp 0x1402cd56a
lea rax, [rbx + 0x40]
mov qword [rcx], rax
mov qword [rsp + 0x28], rbx
mov rcx, r14
mov qword [rsp + 0x20], rsi
call fcn.1402c13e0
jmp 0x1402cd5cd
mov rcx, qword [rbx + 0x18]
call fcn.1402e49e0
cmp r8d, eax
je 0x1402cd5c2
lea rdx, str.row_value_misused
mov rcx, r14
call fcn.1402e06bc
mov rcx, qword [r14]
mov ebp, 1
test byte [rbx + 4], bpl
jne 0x1402cd5ae
cmp dword [rbx + 0x34], edi
jg 0x1402cd5b7
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1402cd5a3
test rbx, rbx
je 0x1402cd5c2
mov eax, dword [rbx + 0x34]
mov dword [rcx + 0x54], eax
mov eax, dword [r14 + 0x30]
neg eax
sbb eax, eax
and eax, 2
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140330e30
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret