Function at 0x140006540
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rbx, r9
mov edi, r8d
mov rsi, rdx
lea rdx, str.SELECT_Value_FROM_Property_WHERE_Property.Property
lea rcx, [rbp - 0x10]
call fcn.1400019ac
nop
lea r14, [0x1400592d8]
mov rcx, r14
call fcn.14003879c
mov r8d, eax
mov rdx, r14
lea rcx, [rbp - 0x10]
call fcn.140003a24
mov rdx, qword [rbx]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x10]
call fcn.140003a24
mov rcx, r14
call fcn.14003879c
mov r8d, eax
mov rdx, r14
lea rcx, [rbp - 0x10]
call fcn.140003a24
nop
xor r14d, r14d
mov dword [rbp - 0x20], r14d
mov dword [rbp - 0x1c], r14d
lea r8, [rbp - 0x1c]
mov rdx, qword [rbp - 0x10]
mov ecx, edi
call sub.msi.dll_MsiEnumClientsA
test eax, eax
jne 0x140006625
xor edx, edx
mov ecx, dword [rbp - 0x1c]
call sub.msi.dll_MsiViewModify
test eax, eax
jne 0x140006625
mov ecx, dword [rbp - 0x20]
test ecx, ecx
je 0x1400065ed
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov dword [rbp - 0x20], r14d
lea rdx, [rbp - 0x20]
mov ecx, dword [rbp - 0x1c]
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
jne 0x140006625
mov word [rbp + 0x38], r14w
mov dword [rbp - 0x18], r14d
lea r9, [rbp - 0x18]
lea r8, [rbp + 0x38]
lea edi, [rax + 1]
mov edx, edi
mov ecx, dword [rbp - 0x20]
call sub.msi.dll_MsiRecordSetStreamA
cmp dword [rbp - 0x18], r14d
jne 0x14000669f
call fcn.14001269c
test rax, rax
mov rcx, rax
je 0x14000675f
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140016c1a.0]
add rax, 0x18
mov qword [rsi], rax
mov ecx, dword [rbp - 0x20]
test ecx, ecx
je 0x140006657
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
nop
mov ecx, dword [rbp - 0x1c]
test ecx, ecx
je 0x140006664
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140006689
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140016c1a.0]
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
call fcn.14001269c
nop
mov rcx, rax
test rax, rax
je 0x14000675f
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140016c1a.0]
lea rbx, [rax + 0x18]
mov qword [rbp - 8], rbx
mov eax, dword [rbp - 0x18]
add eax, edi
mov dword [rbp - 0x18], eax
lea edx, [rax + 1]
test edx, edx
js 0x14000676a
mov ecx, edi
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edx
or eax, ecx
jge 0x1400066f4
lea rcx, [rbp - 8]
call fcn.1400017ac
mov rbx, qword [rbp - 8]
lea r9, [rbp - 0x18]
mov r8, rbx
mov edx, edi
mov ecx, dword [rbp - 0x20]
call sub.msi.dll_MsiRecordSetStreamA
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1400388c8
test eax, eax
js 0x14000676a
cmp eax, dword [rbx - 0xc]
jg 0x14000676a
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r14w
lea rcx, [rbx - 0x18]
call fcn.14000148c
add rax, 0x18
mov qword [rsi], rax
or eax, 0xffffffff
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x14000664a
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
mov rax, qword [rax + 8]
call qword [case.0x140016c1a.0]
jmp 0x14000664a
mov ecx, 0x80004005
call fcn.140001474
nop
mov ecx, 0x80070057
call fcn.140001474
int3