Function at 0x1401b3ab0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

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 [0x14042f068]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rsi, qword [rcx + 0x28]
mov r9, rcx
mov qword [rsp + 0x58], rcx
xor edi, edi
movzx ecx, byte [rdx]
mov rbx, rdx
mov r14, qword [rsi]
cmp ecx, 0x37
ja 0x1401b3c30
je 0x1401b3b38
sub ecx, 0x14
je 0x1401b41ad
sub ecx, 0x19
je 0x1401b4134
sub ecx, 3
je 0x1401b3b38
sub ecx, 1
je 0x1401b41ad
sub ecx, 1
je 0x1401b3b79
sub ecx, 1
je 0x1401b3b79
sub ecx, 1
je 0x1401b3b38
sub ecx, 1
je 0x1401b3b38
cmp ecx, 1
jne 0x1401b4319
mov rax, qword [r14]
cmp byte [rax + 0x67], dil
jne 0x1401b4319
mov rcx, qword [rbx + 0x10]
call fcn.1401c8834
cmp byte [rbx], 0x30
mov r8d, eax
jne 0x1401b42da
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rdx + 8]
call fcn.1401c8834
cmp eax, r8d
jne 0x1401b42e8
mov rcx, qword [rdx + 0x28]
jmp 0x1401b42de
mov r8, rsi
mov rdx, rdi
mov ebp, 1
cmp rdx, 8
jge 0x1401b3b9e
mov eax, dword [r8 + 0x20]
mov r8, qword [r8 + 0x18]
mov dword [rsp + rdx*4 + 0x68], eax
add rdx, rbp
test r8, r8
jne 0x1401b3b84
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1401b3baf
mov rcx, r9
call fcn.1401fc9d0
mov rcx, qword [rbx + 0x10]
call fcn.1401c4d80
test eax, eax
jne 0x1401b3e3f
cmp byte [r14 + 0x124], 2
jae 0x1401b3e3f
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 0x1401b3c16
mov eax, dword [rsp + rcx*4 + 0x68]
add rcx, rbp
mov dword [rsi + 0x20], eax
mov rsi, qword [rsi + 0x18]
test rsi, rsi
jne 0x1401b3bfd
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1401b3c27
mov rcx, qword [r14]
call fcn.1401c7428
mov qword [rbx + 0x10], rdi
jmp 0x1401b3e3f
mov edx, ecx
sub edx, 0x38
je 0x1401b3b38
sub edx, 1
je 0x1401b3b38
sub edx, 2
je 0x1401b4226
sub edx, 0x10
je 0x1401b4201
sub edx, 0x3f
je 0x1401b41ad
sub edx, 3
je 0x1401b4226
sub edx, 0xf
je 0x1401b4184
sub edx, 0xf
je 0x1401b4134
cmp edx, 1
jne 0x1401b4319
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1401b3c96
mov r12d, dword [rax]
jmp 0x1401b3c99
mov r12d, edi
mov rcx, qword [r14]
lea rax, [rsi + 0x28]
mov qword [rsp + 0x40], rax
mov eax, dword [rax]
and eax, 0x4001
mov dword [rsp + 0x3c], edi
test dword [rbx + 4], 0x1000000
mov dl, byte [rcx + 0x64]
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov byte [rsp + 0x34], dl
mov dword [rsp + 0x50], eax
je 0x1401b3cd7
mov r13, qword [rbx + 0x40]
cmp byte [r13 + 0x20], 0xa6
jne 0x1401b3cda
mov r13, rdi
mov rax, qword [rbx + 8]
mov r9b, dl
mov rdx, rax
mov qword [rsp + 0x48], rax
mov r8d, r12d
mov byte [rsp + 0x20], dil
call fcn.1401c8934
mov r15, rax
mov ebp, 1
test rax, rax
jne 0x1401b3d3b
mov r9b, byte [rsp + 0x34]
lea r8d, [rax - 2]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [r14]
mov byte [rsp + 0x20], dil
call fcn.1401c8934
mov r12, qword [rsp + 0x40]
test rax, rax
mov ecx, edi
mov edx, edi
sete cl
mov r15, rax
test rax, rax
setne dl
jmp 0x1401b3f09
cmp qword [r15 + 0x20], rdi
mov eax, edi
setne al
test dword [r15 + 4], 0x400
mov dword [rsp + 0x30], eax
je 0x1401b3e07
bts dword [rbx + 4], 0x13
cmp r12d, 2
jne 0x1401b3df0
mov r12, qword [rsp + 0x60]
movsd xmm0, qword [0x1403efa58]
movsd qword [rsp + 0x48], xmm0
mov r12, qword [r12 + 0x28]
cmp byte [r12], 0x99
je 0x1401b3d89
or eax, 0xffffffff
jmp 0x1401b3dd2
mov rcx, qword [r12 + 8]
test rcx, rcx
jne 0x1401b3d97
mov eax, edi
jmp 0x1401b3da1
call fcn.1402b31f0
and eax, 0x3fffffff
mov rcx, qword [r12 + 8]
lea rdx, [rsp + 0x48]
mov r9b, bpl
mov r8d, eax
call fcn.1401b9acc
movsd xmm2, qword [rsp + 0x48]
comisd xmm2, xmmword [0x1402e1d28]
ja 0x1401b3d84
mulsd xmm2, qword [0x1403efa00]
cvttsd2si eax, xmm2
mov dword [rbx + 0x2c], eax
test eax, eax
jns 0x1401b3e07
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.1401c451c
add dword [rsi + 0x24], ebp
jmp 0x1401b3e07
mov rax, qword [r15 + 0x38]
mov ecx, 0x7800000
mov edx, 0x800000
cmp byte [rax], 0x75
cmove ecx, edx
mov dword [rbx + 0x2c], ecx
mov r9, qword [r15 + 0x38]
xor r8d, r8d
mov rcx, r14
mov qword [rsp + 0x20], rdi
lea edx, [r8 + 0x1f]
call fcn.1401ba138
test eax, eax
je 0x1401b3e46
cmp eax, ebp
jne 0x1401b3e3c
mov r8, rbx
lea rdx, str.not_authorized_to_use_function:__T
mov rcx, r14
call fcn.1401c451c
add dword [rsi + 0x24], ebp
mov byte [rbx], 0x79
mov eax, ebp
jmp 0x1401b4324
test dword [r15 + 4], 0x2800
je 0x1401b3e55
bts dword [rbx + 4], 0x14
test dword [r15 + 4], 0x800
mov r12, qword [rsp + 0x40]
jne 0x1401b3e87
test byte [r12], 0x2a
je 0x1401b3e9f
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea r8, str.non_deterministic_functions
mov rdx, rsi
mov rcx, r14
call fcn.1401ac14c
jmp 0x1401b3e9f
mov al, byte [r12]
and al, 0x2e
mov byte [rbx + 2], al
test dword [r12], 0x40000
je 0x1401b3e9f
bts dword [rbx + 4], 0x1e
test dword [r15 + 4], 0x40000
je 0x1401b3ebf
cmp byte [r14 + 0x1e], dil
jne 0x1401b3ebf
mov rax, qword [r14]
test byte [rax + 0x2c], 0x20
jne 0x1401b3ebf
mov ecx, ebp
mov r15, rdi
jmp 0x1401b3f05
test dword [r15 + 4], 0x280000
je 0x1401b3f01
cmp byte [r14 + 0x124], 2
jae 0x1401b3f01
test dword [rbx + 4], 0x40000000
je 0x1401b3f01
test dword [r15 + 4], 0x80000
jne 0x1401b3eef
mov rax, qword [r14]
test byte [rax + 0x30], 0x80
jne 0x1401b3f01
mov r8, rbx
lea rdx, str.unsafe_use_of__T__
mov rcx, r14
call fcn.1401c451c
mov ecx, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x38]
cmp byte [r14 + 0x124], 2
jae 0x1401b4015
test r15, r15
je 0x1401b3f33
cmp qword [r15 + 0x28], rdi
jne 0x1401b3f33
test r13, r13
je 0x1401b3f33
lea rdx, str._T___may_not_be_used_as_a_window_function
jmp 0x1401b3fc0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1401b3f98
mov r8d, 0x10000
test byte [r12], bpl
je 0x1401b3f61
test dword [r15 + 4], r8d
je 0x1401b3f52
test r13, r13
je 0x1401b3f73
test r13, r13
je 0x1401b3f98
test dword [r12], 0x4000
jne 0x1401b3f98
test dword [r15 + 4], r8d
jne 0x1401b3f73
lea r8, str.aggregate
test r13, r13
je 0x1401b3f7a
lea r8, str.window
mov r9, rbx
lea rdx, str.misuse_of__s_function__T__
mov rcx, r14
call fcn.1401c451c
add dword [rsi + 0x24], ebp
mov dword [rsp + 0x30], edi
jmp 0x1401b4027
test ecx, ecx
je 0x1401b3fb5
mov rax, qword [r14]
cmp byte [rax + 0xc5], dil
jne 0x1401b3fb1
lea rdx, str.no_such_function:__T
jmp 0x1401b3fc0
mov eax, dword [rsp + 0x30]
test edx, edx
je 0x1401b3ff1
lea rdx, str.wrong_number_of_arguments_to_function__T__
mov r8, rbx
mov rcx, r14
call fcn.1401c451c
add dword [rsi + 0x24], ebp
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1401b4027
mov r12, qword [rsp + 0x40]
mov rax, r13
neg rax
sbb ecx, ecx
neg ecx
add ecx, 0xffffbffe
and dword [r12], ecx
jmp 0x1401b402c
test eax, eax
jne 0x1401b3fd6
test dword [rbx + 4], 0x1000000
je 0x1401b4027
mov r8, rbx
lea rdx, str.FILTER_may_not_be_used_with_non_aggregate__T__
mov rcx, r14
call fcn.1401c451c
add dword [rsi + 0x24], ebp
jmp 0x1401b4027
mov eax, dword [rsp + 0x30]
test dword [rbx + 4], 0x1000000
cmovne eax, ebp
mov dword [rsp + 0x30], eax
mov r12, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.1401edf64
cmp dword [rsp + 0x30], edi
je 0x1401b3e3f
test r13, r13
je 0x1401b40c2
cmp byte [r14 + 0x124], 2
mov rbx, qword [rsi + 0x30]
jae 0x1401b4081
test rbx, rbx
je 0x1401b4063
mov rdx, qword [rbx + 0x78]
jmp 0x1401b4066
mov rdx, rdi
mov r9, r15
mov r8, r13
mov rcx, r14
call fcn.1401f3f68
mov rax, qword [r14]
cmp byte [rax + 0x67], dil
jne 0x1401b4319
mov rsi, qword [rsp + 0x58]
mov rdx, qword [r13 + 0x10]
mov rcx, rsi
call fcn.1401edf64
mov rdx, qword [r13 + 0x18]
mov rcx, rsi
call fcn.1401edf64
mov rdx, qword [r13 + 0x48]
test rdx, rdx
je 0x1401b40af
mov rcx, rsi
call fcn.1401fc9d0
mov rdx, r13
mov rcx, rbx
call fcn.1401f3988
bts dword [r12], 0xf
jmp 0x1401b4127
test dword [rbx + 4], 0x1000000
mov byte [rbx], 0xa8
mov byte [rbx + 2], dil
je 0x1401b40e9
mov rax, qword [rbx + 0x40]
mov rdx, qword [rax + 0x48]
test rdx, rdx
je 0x1401b40e9
mov rcx, qword [rsp + 0x58]
call fcn.1401fc9d0
mov r8, qword [rsi + 8]
mov rdx, rbx
mov rcx, r14
call fcn.1401d82e4
test eax, eax
jne 0x1401b4109
add byte [rbx + 2], bpl
mov rsi, qword [rsi + 0x18]
test rsi, rsi
jne 0x1401b40e9
test rsi, rsi
je 0x1401b4127
test r15, r15
je 0x1401b4127
mov eax, dword [r15 + 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 0x1401b3e3f
mov rcx, qword [rbx + 0x18]
call fcn.1401c8808
mov rsi, rax
test rax, rax
je 0x1401b3b38
cmp byte [rax], 0x3b
je 0x1401b4157
cmp byte [rax], 0xaa
jne 0x1401b3b38
mov rdx, rsi
mov rcx, r9
call fcn.1401b3ab0
cmp eax, 2
jne 0x1401b416c
jmp 0x1401b4324
cmp byte [rsi], 0xaa
jne 0x1401b3b38
mov al, byte [rbx]
mov byte [rbx + 2], al
xor eax, eax
mov byte [rbx], 0xaf
jmp 0x1401b4324
test byte [rsi + 0x28], 0x2e
je 0x1401b4319
mov r9, rbx
mov qword [rsp + 0x20], rbx
lea r8, str.parameters
mov rdx, rsi
mov rcx, r14
call fcn.1401ac14c
jmp 0x1401b4319
test dword [rbx + 4], 0x1000
je 0x1401b4319
test byte [rsi + 0x28], 0x2e
mov edi, dword [rsi + 0x20]
je 0x1401b41df
mov r9, rbx
mov qword [rsp + 0x20], rbx
lea r8, str.subqueries
mov rdx, rsi
mov rcx, r14
call fcn.1401ac14c
jmp 0x1401b41eb
mov rdx, qword [rbx + 0x20]
mov rcx, r9
call fcn.1401edfbc
cmp edi, dword [rsi + 0x20]
je 0x1401b4319
or dword [rbx + 4], 0x40
or dword [rsi + 0x28], 0x40
jmp 0x1401b4319
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 0x1401b4319
cmp cl, 0x3b
jne 0x1401b423a
mov r9, qword [rbx + 8]
mov rdx, rdi
mov r8, rdi
jmp 0x1401b42c6
test byte [rsi + 0x28], 0x28
mov rbp, qword [rbx + 0x10]
je 0x1401b425e
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea r8, str.the__.__operator
mov rdx, rsi
mov rcx, r14
call fcn.1401ac14c
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x3b
jne 0x1401b426c
mov rdx, rdi
jmp 0x1401b4278
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 0x1401b42c6
mov rcx, qword [r14 + 0x190]
jmp 0x1401b429c
cmp qword [rcx], rax
je 0x1401b42a3
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1401b4293
jmp 0x1401b42a6
mov qword [rcx], rbx
mov rcx, qword [r14 + 0x190]
jmp 0x1401b42b8
cmp qword [rcx], rbp
je 0x1401b42bf
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x1401b42af
jmp 0x1401b42c6
lea rax, [rbx + 0x40]
mov qword [rcx], rax
mov qword [rsp + 0x28], rbx
mov rcx, r14
mov qword [rsp + 0x20], rsi
call fcn.1401a9480
jmp 0x1401b4324
mov rcx, qword [rbx + 0x18]
call fcn.1401c8834
cmp r8d, eax
je 0x1401b4319
lea rdx, str.row_value_misused
mov rcx, r14
call fcn.1401c451c
mov rcx, qword [r14]
test byte [rbx + 4], 3
jne 0x1401b4305
cmp dword [rbx + 0x34], edi
jg 0x1401b430e
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401b42fa
test rbx, rbx
je 0x1401b4319
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.1402af300
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret