Function at 0x140282224
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 [0x14042b840]
xor rax, rsp
mov qword [rsp + 0x80], 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 0x1402823a7
je 0x1402822ac
sub ecx, 0x14
je 0x140282919
sub ecx, 0x19
je 0x1402828a0
sub ecx, 3
je 0x1402822ac
sub ecx, 1
je 0x140282919
sub ecx, 1
je 0x1402822ed
sub ecx, 1
je 0x1402822ed
sub ecx, 1
je 0x1402822ac
sub ecx, 1
je 0x1402822ac
cmp ecx, 1
jne 0x140282a8a
mov rax, qword [r14]
cmp byte [rax + 0x67], dil
jne 0x140282a8a
mov rcx, qword [rbx + 0x10]
call fcn.140299de0
cmp byte [rbx], 0x30
mov r8d, eax
jne 0x140282a46
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rdx + 8]
call fcn.140299de0
cmp eax, r8d
jne 0x140282a54
mov rcx, qword [rdx + 0x28]
jmp 0x140282a4a
mov r8, rsi
mov rdx, rdi
mov ebp, 1
cmp rdx, 8
jge 0x140282312
mov eax, dword [r8 + 0x20]
mov r8, qword [r8 + 0x18]
mov dword [rsp + rdx*4 + 0x60], eax
add rdx, rbp
test r8, r8
jne 0x1402822f8
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140282323
mov rcx, r9
call fcn.1402da32c
mov rcx, qword [rbx + 0x10]
call fcn.14029636c
test eax, eax
jne 0x1402825a9
cmp byte [r14 + 0x124], 2
jae 0x1402825a9
cmp byte [rbx], 0x33
mov eax, 0x10000000
mov edx, 0x20000000
mov rcx, rdi
cmovne eax, edx
lea rdx, str.false
or dword [rbx + 4], eax
lea rax, str.true
cmp byte [rbx], 0x33
cmovne rax, rdx
mov qword [rbx + 8], rax
mov byte [rbx], 0xaa
cmp rcx, 8
jge 0x14028238d
mov eax, dword [rsp + rcx*4 + 0x60]
add rcx, rbp
mov dword [rsi + 0x20], eax
mov rsi, qword [rsi + 0x18]
test rsi, rsi
jne 0x140282374
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14028239e
mov rcx, qword [r14]
call fcn.14029899c
mov qword [rbx + 0x10], rdi
jmp 0x1402825a9
mov edx, ecx
sub edx, 0x38
je 0x1402822ac
sub edx, 1
je 0x1402822ac
sub edx, 2
je 0x140282992
sub edx, 0x10
je 0x14028296d
sub edx, 0x3f
je 0x140282919
sub edx, 3
je 0x140282992
sub edx, 0xf
je 0x1402828f0
sub edx, 0xf
je 0x1402828a0
cmp edx, 1
jne 0x140282a8a
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14028240d
mov r12d, dword [rax]
jmp 0x140282410
mov r12d, edi
mov rcx, qword [r14]
mov eax, dword [rsi + 0x28]
and eax, 0x4001
mov dword [rsp + 0x38], edi
test dword [rbx + 4], 0x1000000
mov dl, byte [rcx + 0x64]
mov byte [rsp + 0x30], dl
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x3c], edi
mov dword [rsp + 0x48], eax
je 0x140282446
mov r15, qword [rbx + 0x40]
cmp byte [r15 + 0x20], 0xa6
jne 0x140282449
mov r15, rdi
mov rax, qword [rbx + 8]
mov r9b, dl
mov rdx, rax
mov qword [rsp + 0x40], rax
mov r8d, r12d
mov byte [rsp + 0x20], dil
call fcn.140299ee0
mov r13, rax
mov ebp, 1
test rax, rax
jne 0x1402824a5
mov r9b, byte [rsp + 0x30]
lea r8d, [rax - 2]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [r14]
mov byte [rsp + 0x20], dil
call fcn.140299ee0
mov r13, rax
mov ecx, edi
test r13, r13
mov eax, edi
sete al
test r13, r13
setne cl
jmp 0x14028266d
cmp qword [r13 + 0x20], rdi
mov eax, edi
setne al
test dword [r13 + 4], 0x400
mov dword [rsp + 0x3c], eax
je 0x140282571
bts dword [rbx + 4], 0x12
cmp r12d, 2
jne 0x14028255a
mov r12, qword [rsp + 0x58]
movsd xmm0, qword [0x1403ee630]
movsd qword [rsp + 0x40], xmm0
mov r12, qword [r12 + 0x28]
cmp byte [r12], 0x99
je 0x1402824f3
or eax, 0xffffffff
jmp 0x14028253c
mov rcx, qword [r12 + 8]
test rcx, rcx
jne 0x140282501
mov eax, edi
jmp 0x14028250b
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
and eax, 0x3fffffff
mov rcx, qword [r12 + 8]
lea rdx, [rsp + 0x40]
mov r9b, bpl
mov r8d, eax
call fcn.14028b30c
movsd xmm2, qword [rsp + 0x40]
comisd xmm2, xmmword [0x1402effc0]
ja 0x1402824ee
mulsd xmm2, qword [0x1404154c8]
cvttsd2si eax, xmm2
mov dword [rbx + 0x2c], eax
test eax, eax
jns 0x140282571
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.140295b24
add dword [rsi + 0x24], ebp
jmp 0x140282571
mov rax, qword [r13 + 0x38]
mov ecx, 0x7800000
mov edx, 0x800000
cmp byte [rax], 0x75
cmove ecx, edx
mov dword [rbx + 0x2c], ecx
mov r9, qword [r13 + 0x38]
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], rdi
lea edx, [r8 + 0x1f]
call fcn.14028b984
test eax, eax
je 0x1402825b0
cmp eax, ebp
jne 0x1402825a6
mov r8, rbx
lea rdx, str.not_authorized_to_use_function:__T
mov rcx, r14
call fcn.140295b24
add dword [rsi + 0x24], ebp
mov byte [rbx], 0x79
mov eax, ebp
jmp 0x140282a95
test dword [r13 + 4], 0x2800
je 0x1402825bf
bts dword [rbx + 4], 0x13
test dword [r13 + 4], 0x800
mov r12d, 0x40000000
jne 0x1402825f1
test byte [rsi + 0x28], 0x2a
je 0x140282606
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea r8, str.non_deterministic_functions
mov rdx, rsi
mov rcx, r14
call fcn.140279a1c
jmp 0x140282606
mov al, byte [rsi + 0x28]
and al, 0x2e
mov byte [rbx + 2], al
test dword [rsi + 0x28], 0x40000
je 0x140282606
or dword [rbx + 4], r12d
test dword [r13 + 4], 0x40000
je 0x140282626
cmp byte [r14 + 0x1e], dil
jne 0x140282626
mov rax, qword [r14]
test byte [rax + 0x2c], 0x20
jne 0x140282626
mov eax, ebp
mov r13, rdi
jmp 0x140282669
test dword [r13 + 4], 0x280000
je 0x140282665
cmp byte [r14 + 0x124], 2
jae 0x140282665
test dword [rbx + 4], r12d
je 0x140282665
test dword [r13 + 4], 0x80000
jne 0x140282653
mov rax, qword [r14]
test byte [rax + 0x30], 0x80
jne 0x140282665
mov r8, rbx
lea rdx, str.unsafe_use_of__T__
mov rcx, r14
call fcn.140295b24
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
cmp byte [r14 + 0x124], 2
jae 0x140282787
test r13, r13
je 0x1402826c6
cmp qword [r13 + 0x28], rdi
jne 0x1402826c6
test r15, r15
je 0x1402826c6
mov r8, rbx
lea rdx, str._T___may_not_be_used_as_a_window_function
mov rcx, r14
call fcn.140295b24
add dword [rsi + 0x24], ebp
mov r12d, dword [rsp + 0x3c]
test r12d, r12d
je 0x140282797
mov rax, r15
neg rax
sbb ecx, ecx
neg ecx
add ecx, 0xffffbffe
and dword [rsi + 0x28], ecx
jmp 0x140282797
mov r12d, dword [rsp + 0x3c]
test r12d, r12d
je 0x140282727
mov edx, 0x10000
test byte [rsi + 0x28], bpl
je 0x1402826f4
test dword [r13 + 4], edx
je 0x1402826e6
test r15, r15
je 0x140282706
test r15, r15
je 0x140282727
test dword [rsi + 0x28], 0x4000
jne 0x140282727
test dword [r13 + 4], edx
jne 0x140282706
lea r8, str.aggregate
test r15, r15
je 0x14028270d
lea r8, str.window
mov r9, rbx
lea rdx, str.misuse_of__s_function__T__
mov rcx, r14
call fcn.140295b24
add dword [rsi + 0x24], ebp
mov r12d, edi
jmp 0x140282797
test eax, eax
je 0x140282740
mov rax, qword [r14]
cmp byte [rax + 0xc5], dil
jne 0x140282740
lea rdx, str.no_such_function:__T
jmp 0x14028274b
test ecx, ecx
je 0x14028275e
lea rdx, str.wrong_number_of_arguments_to_function__T__
mov r8, rbx
mov rcx, r14
call fcn.140295b24
add dword [rsi + 0x24], ebp
jmp 0x1402826a5
test r12d, r12d
jne 0x1402826ae
test dword [rbx + 4], 0x1000000
je 0x140282797
mov r8, rbx
lea rdx, str.FILTER_may_not_be_used_with_non_aggregate__T__
mov rcx, r14
call fcn.140295b24
add dword [rsi + 0x24], ebp
jmp 0x140282797
test dword [rbx + 4], 0x1000000
mov r12d, dword [rsp + 0x3c]
cmovne r12d, ebp
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call fcn.1402cb084
test r12d, r12d
je 0x1402825a9
test r15, r15
je 0x14028282b
cmp byte [r14 + 0x124], 2
mov rbx, qword [rsi + 0x30]
jae 0x1402827eb
test rbx, rbx
je 0x1402827cd
mov rdx, qword [rbx + 0x78]
jmp 0x1402827d0
mov rdx, rdi
mov r9, r13
mov r8, r15
mov rcx, r14
call fcn.1402d06d0
mov rax, qword [r14]
cmp byte [rax + 0x67], dil
jne 0x140282a8a
mov r14, qword [rsp + 0x50]
mov rdx, qword [r15 + 0x10]
mov rcx, r14
call fcn.1402cb084
mov rdx, qword [r15 + 0x18]
mov rcx, r14
call fcn.1402cb084
mov rdx, qword [r15 + 0x48]
test rdx, rdx
je 0x140282819
mov rcx, r14
call fcn.1402da32c
mov rdx, r15
mov rcx, rbx
call fcn.1402d00e0
bts dword [rsi + 0x28], 0xf
jmp 0x140282894
test dword [rbx + 4], 0x1000000
mov byte [rbx], 0xa8
mov byte [rbx + 2], dil
je 0x140282852
mov rax, qword [rbx + 0x40]
mov rdx, qword [rax + 0x48]
test rdx, rdx
je 0x140282852
mov rcx, qword [rsp + 0x50]
call fcn.1402da32c
mov r15, rsi
mov r8, qword [r15 + 8]
mov rdx, rbx
mov rcx, r14
call fcn.1402b4f38
test eax, eax
jne 0x140282875
add byte [rbx + 2], bpl
mov r15, qword [r15 + 0x18]
test r15, r15
jne 0x140282855
test r15, r15
je 0x140282894
test r13, r13
je 0x140282894
mov eax, dword [r13 + 4]
xor eax, 0xffffefff
and eax, 0x8001000
or eax, 0x10
or dword [r15 + 0x28], eax
mov eax, dword [rsp + 0x48]
or dword [rsi + 0x28], eax
jmp 0x1402825a9
mov rcx, qword [rbx + 0x18]
call fcn.140299db4
mov rsi, rax
test rax, rax
je 0x1402822ac
cmp byte [rax], 0x3b
je 0x1402828c3
cmp byte [rax], 0xaa
jne 0x1402822ac
mov rdx, rsi
mov rcx, r9
call fcn.140282224
cmp eax, 2
jne 0x1402828d8
jmp 0x140282a95
cmp byte [rsi], 0xaa
jne 0x1402822ac
mov al, byte [rbx]
mov byte [rbx + 2], al
xor eax, eax
mov byte [rbx], 0xaf
jmp 0x140282a95
test byte [rsi + 0x28], 0x2e
je 0x140282a8a
mov r9, rbx
mov qword [rsp + 0x20], rbx
lea r8, str.parameters
mov rdx, rsi
mov rcx, r14
call fcn.140279a1c
jmp 0x140282a8a
test dword [rbx + 4], 0x800
je 0x140282a8a
test byte [rsi + 0x28], 0x2e
mov edi, dword [rsi + 0x20]
je 0x14028294b
mov r9, rbx
mov qword [rsp + 0x20], rbx
lea r8, str.subqueries
mov rdx, rsi
mov rcx, r14
call fcn.140279a1c
jmp 0x140282957
mov rdx, qword [rbx + 0x20]
mov rcx, r9
call fcn.1402cb0dc
cmp edi, dword [rsi + 0x20]
je 0x140282a8a
or dword [rbx + 4], 0x20
or dword [rsi + 0x28], 0x40
jmp 0x140282a8a
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 0x140282a8a
cmp cl, 0x3b
jne 0x1402829a6
mov r9, qword [rbx + 8]
mov rdx, rdi
mov r8, rdi
jmp 0x140282a32
test byte [rsi + 0x28], 0x28
mov rbp, qword [rbx + 0x10]
je 0x1402829ca
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea r8, str.the__.__operator
mov rdx, rsi
mov rcx, r14
call fcn.140279a1c
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x3b
jne 0x1402829d8
mov rdx, rdi
jmp 0x1402829e4
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 0x140282a32
mov rcx, qword [r14 + 0x190]
jmp 0x140282a08
cmp qword [rcx], rax
je 0x140282a0f
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1402829ff
jmp 0x140282a12
mov qword [rcx], rbx
mov rcx, qword [r14 + 0x190]
jmp 0x140282a24
cmp qword [rcx], rbp
je 0x140282a2b
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140282a1b
jmp 0x140282a32
lea rax, [rbx + 0x40]
mov qword [rcx], rax
mov qword [rsp + 0x28], rbx
mov rcx, r14
mov qword [rsp + 0x20], rsi
call fcn.140276370
jmp 0x140282a95
mov rcx, qword [rbx + 0x18]
call fcn.140299de0
cmp r8d, eax
je 0x140282a8a
lea rdx, str.row_value_misused
mov rcx, r14
call fcn.140295b24
mov rcx, qword [r14]
mov ebp, 1
test byte [rbx + 4], bpl
jne 0x140282a76
cmp dword [rbx + 0x34], edi
jg 0x140282a7f
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140282a6b
test rbx, rbx
je 0x140282a8a
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 + 0x80]
xor rcx, rsp
call fcn.1402e63c0
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret