Function at 0x1400064b4
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.1400383fc
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.1400383fc
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 0x140006599
xor edx, edx
mov ecx, dword [rbp - 0x1c]
call sub.msi.dll_MsiViewModify
test eax, eax
jne 0x140006599
mov ecx, dword [rbp - 0x20]
test ecx, ecx
je 0x140006561
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 0x140006599
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 0x140006613
call fcn.1400122fc
test rax, rax
mov rcx, rax
je 0x1400066d3
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001687a.0]
add rax, 0x18
mov qword [rsi], rax
mov ecx, dword [rbp - 0x20]
test ecx, ecx
je 0x1400065cb
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
nop
mov ecx, dword [rbp - 0x1c]
test ecx, ecx
je 0x1400065d8
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 0x1400065fd
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.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.1400122fc
nop
mov rcx, rax
test rax, rax
je 0x1400066d3
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001687a.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 0x1400066de
mov ecx, edi
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edx
or eax, ecx
jge 0x140006668
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.140038528
test eax, eax
js 0x1400066de
cmp eax, dword [rbx - 0xc]
jg 0x1400066de
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 0x1400065be
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
mov rax, qword [rax + 8]
call qword [case.0x14001687a.0]
jmp 0x1400065be
mov ecx, 0x80004005
call fcn.140001474
nop
mov ecx, 0x80070057
call fcn.140001474
int3