Function at 0x140110ae0
Capabilities:
Inspect section memory permissions

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x98
movzx r8d, byte [rdx]
mov rdi, qword [rcx + 0x28]
mov rbx, rdx
mov rsi, qword [rdi]
lea eax, [r8 - 0x14]
mov r9, rcx
cmp eax, 0x98
ja case.0x140110b2b.21
lea rcx, [0x140000000]
cdqe
movzx eax, byte [rcx + rax + 0x1113cc]
mov edx, dword [rcx + rax*4 + 0x1113a8]
add rdx, rcx
jmp rdx
mov rcx, qword [rdi + 8]
mov byte [rbx], 0xa7
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], MsiGetPropertyW
jmp case.0x140110b2b.21
xor ebp, ebp
mov rdx, rdi
mov ecx, ebp
cmp rcx, 8
jge 0x140110b6f
mov eax, dword [rdx + 0x20]
mov rdx, qword [rdx + 0x18]
inc rcx
mov dword [rsp + rcx*4 + 0x64], eax
test rdx, rdx
jne 0x140110b56
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140110b80
mov rcx, r9
call fcn.1401814e0
mov rcx, qword [rbx + 0x10]
call fcn.140128e20
test eax, eax
jne 0x140110bf1
cmp byte [rsi + 0x124], 2
jae 0x140110bf1
cmp byte [rbx], 0x33
jne 0x140110bab
or dword [rbx + 4], 0x10000000
lea rax, str.true
jmp 0x140110bb9
or dword [rbx + 4], 0x20000000
lea rax, str.false
mov qword [rbx + 8], rax
mov byte [rbx], 0xaa
mov rdx, rbp
cmp rdx, 8
jge 0x140110bdc
mov eax, dword [rsp + rdx*4 + 0x68]
inc rdx
mov dword [rdi + 0x20], eax
mov rdi, qword [rdi + 0x18]
test rdi, rdi
jne 0x140110bc3
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x140110bed
mov rcx, qword [rsi]
call fcn.14012cc10
mov qword [rbx + 0x10], rbp
mov eax, 1
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp r8b, 0x3b
jne 0x140110c16
mov r9, qword [rbx + 8]
xor ebp, ebp
mov r8d, ebp
jmp 0x140110cb7
test byte [rdi + 0x28], 0x28
mov rdx, qword [rbx + 0x10]
mov qword [rsp + 0xc0], rdx
je 0x140110c4a
lea r8, str.the__.__operator
xor r9d, r9d
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call fcn.1401046a0
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rbx + 0x18]
cmp byte [rcx], 0x3b
jne 0x140110c57
xor ebp, ebp
jmp 0x140110c63
mov rbp, qword [rdx + 8]
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
cmp byte [rsi + 0x124], 2
mov r8, qword [rdx + 8]
mov r9, qword [rcx + 8]
jb 0x140110cb7
mov rax, qword [rsi + 0x190]
test rax, rax
je 0x140110c93
cmp qword [rax], rcx
je 0x140110c90
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140110c80
jmp 0x140110c93
mov qword [rax], rbx
mov rcx, qword [rsi + 0x190]
test rcx, rcx
je 0x140110cb7
nop
cmp qword [rcx], rdx
je 0x140110cb0
mov rcx, qword [rcx + 0x18]
test rcx, rcx
jne 0x140110ca0
jmp 0x140110cb7
lea rax, [rbx + 0x40]
mov qword [rcx], rax
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
call fcn.1400ffdc0
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rbx + 0x20]
xor ebp, ebp
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140110cec
mov eax, dword [rax]
jmp 0x140110cee
mov eax, ebp
mov r10, qword [rsi]
lea rcx, [rdi + 0x28]
mov dword [rsp + 0x50], eax
movzx edx, byte [r10 + 0x64]
mov qword [rsp + 0x40], rcx
mov ecx, dword [rcx]
and ecx, 0x4001
test dword [rbx + 4], 0x1000000
mov dword [rsp + 0xd0], ebp
mov dword [rsp + 0x54], ecx
mov byte [rsp + 0xc8], dl
je 0x140110d35
mov rcx, qword [rbx + 0x40]
mov qword [rsp + 0x48], rcx
cmp byte [rcx + 0x20], 0xa6
jne 0x140110d3a
mov qword [rsp + 0x48], rbp
mov rcx, qword [rbx + 8]
movzx r9d, dl
mov r8d, eax
mov qword [rsp + 0x60], rcx
mov rdx, rcx
mov rcx, r10
mov byte [rsp + 0x20], bpl
call fcn.14012eed0
mov rcx, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140110dab
movzx r9d, byte [rsp + 0xc8]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsi]
lea r8d, [rax - 2]
mov byte [rsp + 0x20], bpl
call fcn.14012eed0
mov rcx, rax
mov qword [rsp + 0x38], rax
test rax, rax
mov eax, 1
jne 0x140110da0
mov r8d, eax
jmp 0x140110fb4
mov r9d, eax
mov r8d, ebp
jmp 0x140110fb7
mov eax, ebp
cmp qword [rcx + 0x20], rax
setne al
test dword [rcx + 4], 0x400
mov dword [rsp + 0xd0], eax
je 0x140110e8b
or dword [rbx + 4], 0x40000
cmp dword [rsp + 0x50], 2
jne 0x140110e74
mov rcx, qword [rsp + 0x58]
movsd xmm0, qword [0x1401e9f68]
movsd qword [rsp + 0xc8], xmm0
mov rcx, qword [rcx + 0x28]
cmp byte [rcx], 0x99
je 0x140110dff
or rax, 0xffffffffffffffff
jmp 0x140110e56
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140110e0c
mov eax, ebp
jmp 0x140110e1e
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], bpl
jne 0x140110e10
and eax, 0x3fffffff
lea rdx, [rsp + 0xc8]
mov r9b, 1
mov r8d, eax
call fcn.140118c90
movsd xmm2, qword [rsp + 0xc8]
comisd xmm2, xmmword [0x1401d07a8]
jbe 0x140110e4a
or rax, 0xffffffffffffffff
jmp 0x140110e56
mulsd xmm2, qword [0x1401e9f08]
cvttsd2si eax, xmm2
mov dword [rbx + 0x2c], eax
test eax, eax
jns 0x140110e8b
lea rdx, str.second_argument_to__T___must_be_a_constant_between_0.0_and_1.0
mov r8, rbx
mov rcx, rsi
call fcn.140127e60
inc dword [rdi + 0x24]
jmp 0x140110e8b
mov rax, qword [rcx + 0x38]
mov edx, 0x800000
mov ecx, 0x7800000
cmp byte [rax], 0x75
cmove ecx, edx
mov dword [rbx + 0x2c], ecx
mov rax, qword [rsp + 0x38]
xor r8d, r8d
mov rcx, rsi
mov r9, qword [rax + 0x38]
lea edx, [r8 + 0x1f]
mov qword [rsp + 0x20], rbp
call fcn.140119380
test eax, eax
je 0x140110eda
cmp eax, 1
jne 0x140110ec6
lea rdx, str.not_authorized_to_use_function:__T
mov r8, rbx
mov rcx, rsi
call fcn.140127e60
inc dword [rdi + 0x24]
mov byte [rbx], 0x79
mov eax, 1
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, qword [rsp + 0x38]
test dword [rcx + 4], 0x2800
je 0x140110eef
or dword [rbx + 4], 0x80000
test dword [rcx + 4], 0x800
jne 0x140110f23
mov rax, qword [rsp + 0x40]
test byte [rax], 0x2a
je 0x140110f3f
lea r8, str.non_deterministic_functions
xor r9d, r9d
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call fcn.1401046a0
mov rcx, qword [rsp + 0x38]
jmp 0x140110f3f
mov rdx, qword [rsp + 0x40]
movzx eax, byte [rdx]
and al, 0x2e
mov byte [rbx + 2], al
test dword [rdx], 0x40000
je 0x140110f3f
or dword [rbx + 4], 0x40000000
mov edx, dword [rcx + 4]
bt edx, 0x12
jae 0x140110f6c
cmp byte [rsi + 0x1e], bpl
jne 0x140110f6c
mov rax, qword [rsi]
test byte [rax + 0x2c], 0x20
jne 0x140110f6c
mov rcx, rbp
mov eax, 1
mov r8d, eax
mov qword [rsp + 0x38], rcx
mov r9d, ecx
jmp 0x140110fb7
test edx, 0x280000
je 0x140110fac
cmp byte [rsi + 0x124], 2
jae 0x140110fac
test dword [rbx + 4], 0x40000000
je 0x140110fac
bt edx, 0x13
jb 0x140110f95
mov rax, qword [rsi]
test byte [rax + 0x30], 0x80
jne 0x140110fac
lea rdx, str.unsafe_use_of__T__
mov r8, rbx
mov rcx, rsi
call fcn.140127e60
mov rcx, qword [rsp + 0x38]
mov eax, 1
mov r8d, ebp
mov r9d, ebp
cmp byte [rsi + 0x124], 2
jae 0x1401110d5
mov rax, qword [rsp + 0x48]
test rcx, rcx
je 0x140110fe5
cmp qword [rcx + 0x28], rbp
jne 0x140110fe5
test rax, rax
je 0x140110fe5
lea rdx, str._T___may_not_be_used_as_a_window_function
jmp 0x140111081
mov edx, dword [rsp + 0xd0]
test edx, edx
je 0x14011105b
mov rdx, qword [rsp + 0x40]
mov edx, dword [rdx]
test dl, 1
je 0x140111017
test dword [rcx + 4], 0x10000
je 0x14011100c
test rax, rax
je 0x140111017
jmp 0x140111011
test rax, rax
je 0x140111054
bt edx, 0xe
jb 0x140111054
test dword [rcx + 4], 0x10000
jne 0x14011102c
lea r8, str.aggregate
test rax, rax
je 0x140111033
lea r8, str.window
lea rdx, str.misuse_of__s_function__T__
mov r9, rbx
mov rcx, rsi
call fcn.140127e60
inc dword [rdi + 0x24]
mov dword [rsp + 0xd0], ebp
jmp 0x1401110ed
mov edx, dword [rsp + 0xd0]
test r8d, r8d
je 0x140111075
mov rax, qword [rsi]
cmp byte [rax + 0xc5], bpl
jne 0x140111075
lea rdx, str.no_such_function:__T
jmp 0x140111081
test r9d, r9d
je 0x1401110b1
lea rdx, str.wrong_number_of_arguments_to_function__T__
mov r8, rbx
mov rcx, rsi
call fcn.140127e60
inc dword [rdi + 0x24]
cmp dword [rsp + 0xd0], ebp
je 0x1401110ed
mov rcx, qword [rsp + 0x40]
mov eax, ebp
cmp qword [rsp + 0x48], rax
sete al
bts eax, 0xe
not eax
and dword [rcx], eax
jmp 0x1401110ed
test edx, edx
jne 0x140111098
test dword [rbx + 4], 0x1000000
je 0x1401110ed
lea rdx, str.FILTER_may_not_be_used_with_non_aggregate__T__
mov r8, rbx
mov rcx, rsi
call fcn.140127e60
inc dword [rdi + 0x24]
jmp 0x1401110ed
mov ecx, dword [rsp + 0xd0]
test dword [rbx + 4], 0x1000000
cmovne ecx, eax
mov dword [rsp + 0xd0], ecx
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xc0]
call fcn.14016a6f0
cmp dword [rsp + 0xd0], ebp
je 0x140111242
cmp qword [rsp + 0x48], rbp
je 0x1401111b7
cmp byte [rsi + 0x124], 2
mov rbx, qword [rdi + 0x30]
jae 0x140111154
test rbx, rbx
je 0x14011112d
mov rbp, qword [rbx + 0x78]
mov rdi, qword [rsp + 0x48]
mov r9, qword [rsp + 0x38]
mov rdx, rbp
mov r8, rdi
mov rcx, rsi
call fcn.1401733b0
mov rax, qword [rsi]
cmp byte [rax + 0x67], 0
jne case.0x140110b2b.21
jmp 0x140111159
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0xc0]
mov rdx, qword [rdi + 0x10]
mov rcx, rsi
call fcn.14016a6f0
mov rdx, qword [rdi + 0x18]
mov rcx, rsi
call fcn.14016a6f0
mov rdx, qword [rdi + 0x48]
test rdx, rdx
je 0x14011118a
mov rcx, rsi
call fcn.1401814e0
mov rdx, rdi
mov rcx, rbx
call fcn.140172570
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x54]
or dword [rax], 0x8000
or dword [rax], ecx
mov eax, 1
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
test dword [rbx + 4], 0x1000000
mov byte [rbx], 0xa8
mov byte [rbx + 2], bpl
je 0x1401111e1
mov rax, qword [rbx + 0x40]
mov rdx, qword [rax + 0x48]
test rdx, rdx
je 0x1401111e1
mov rcx, qword [rsp + 0xc0]
call fcn.1401814e0
mov r8, qword [rdi + 8]
mov rdx, rbx
mov rcx, rsi
call fcn.14014b0d0
test eax, eax
jne 0x14011121a
inc byte [rbx + 2]
mov rdi, qword [rdi + 0x18]
test rdi, rdi
jne 0x1401111e1
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x54]
or dword [rax], ecx
lea eax, [rdi + 1]
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140111237
mov eax, dword [rax + 4]
xor eax, 0xffffefff
and eax, 0x8001000
or eax, 0x10
or dword [rdi + 0x28], eax
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x54]
or dword [rax], ecx
mov eax, 1
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
test dword [rbx + 4], 0x800
je case.0x140110b2b.21
test byte [rdi + 0x28], 0x2e
mov ebp, dword [rdi + 0x20]
je 0x140111285
lea r8, str.subqueries
mov r9, rbx
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call fcn.1401046a0
jmp 0x140111291
mov rdx, qword [rbx + 0x20]
mov rcx, r9
call fcn.14016a760
cmp ebp, dword [rdi + 0x20]
je case.0x140110b2b.21
or dword [rbx + 4], 0x20
or dword [rdi + 0x28], 0x40
jmp case.0x140110b2b.21
test byte [rdi + 0x28], 0x2e
je case.0x140110b2b.21
lea r8, str.parameters
mov r9, rbx
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call fcn.1401046a0
jmp case.0x140110b2b.21
mov rcx, qword [rbx + 0x18]
call fcn.14012eb80
mov rdi, rax
test rax, rax
je case.0x140110b2b.48
movzx eax, byte [rax]
cmp al, 0x3b
je 0x1401112ec
cmp al, 0xaa
jne case.0x140110b2b.48
mov rdx, rdi
mov rcx, r9
call fcn.140110ae0
cmp eax, 2
jne 0x140111308
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp byte [rdi], 0xaa
jne case.0x140110b2b.48
movzx eax, byte [rbx]
mov byte [rbx], SQLSetStmtAttrW
mov byte [rbx + 2], al
xor eax, eax
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rsi]
cmp byte [rax + 0x67], 0
jne case.0x140110b2b.21
mov rcx, qword [rbx + 0x10]
call fcn.14012ec20
cmp byte [rbx], 0x30
mov edx, eax
jne 0x140111354
mov r8, qword [rbx + 0x20]
mov rcx, qword [r8 + 8]
call fcn.14012ec20
cmp eax, edx
jne 0x140111361
mov rcx, qword [r8 + 0x28]
jmp 0x140111358
mov rcx, qword [rbx + 0x18]
call fcn.14012ec20
cmp edx, eax
je case.0x140110b2b.21
lea rdx, str.row_value_misused
mov rcx, rsi
call fcn.140127e60
mov rcx, qword [rsi]
test byte [rbx + 4], 1
jne 0x14011137f
cmp dword [rbx + 0x34], 0
jg 0x14011138a
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140111373
jmp case.0x140110b2b.21
mov eax, dword [rbx + 0x34]
mov dword [rcx + 0x54], eax
mov eax, dword [rsi + 0x30]
neg eax
sbb eax, eax
and eax, 2
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret