Function at 0x1400d7570
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x298]
sub rsp, reloc.mfc110u.dll_Ordinal_896
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1403542a0]
xor rax, rsp
mov qword [rbp + 0x278], rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x28], ebx
xor r8d, r8d
lea rdx, [0x1401a5458]
mov rcx, rsi
call fcn.140004990
cmp qword [rdi + 0x18], 8
jb 0x1400d75d1
mov rcx, qword [rdi]
jmp 0x1400d75d4
mov rcx, rdi
call fcn.1400cbf60
test al, al
je 0x1400d7607
cmp qword [rdi + 0x18], 8
jb 0x1400d75e7
mov rdi, qword [rdi]
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rdi
call sub.msi.dll_MsiOpenProductW
test eax, eax
je 0x1400d760e
lea rcx, str.Failed_in_call_to_MsiOpenDatabase
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
jmp 0x1400d7825
lea rax, [0x1402a5c70]
mov qword [rsp + 0x40], rax
lea rax, [0x140122cd0]
mov qword [rsp + 0x50], rax
mov rax, qword [sym.imp.MSVCP110.dll_const_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::vftable]
mov qword [rbp - 0x28], rax
mov dword [rsp + 0x28], 1
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP110.dll_public:_void___cdecl_std::basic_iostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::constructor_class_std::basic_streambuf_unsigned_short_int__struct_std::char_traits_unsigned_short_int______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_stringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__.0
mov qword [rsp + rcx + 0x40], r14
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP110.dll_protected:_void___cdecl_std::basic_streambuf_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__.0
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x40], rbx
mov dword [rbp - 0x38], ebx
lea rdx, str.SELECT__Value__FROM__
lea rcx, [rsp + 0x50]
call fcn.14000f7c0
mov rcx, rax
lea rdx, str.Property
call fcn.14000f7c0
mov rcx, rax
lea rdx, str.__WHERE__Property_
call fcn.14000f7c0
mov rcx, rax
lea rdx, [0x1402adad0]
call fcn.14000f7c0
mov rcx, rax
lea rdx, [0x1402a5e60]
call fcn.14000f7c0
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140005c20
cmp qword [rax + 0x18], 8
jb 0x1400d76f9
mov rax, qword [rax]
lea r8, [rsp + 0x24]
mov rdx, rax
mov ecx, dword [rsp + 0x20]
call sub.msi.dll_MsiEnumClientsA
test eax, eax
setne dil
cmp qword [rbp + 0x58], 8
jb 0x1400d7720
mov rcx, qword [rbp + 0x40]
call sub.mfc110u.dll_Ordinal_1482
test dil, dil
je 0x1400d7734
lea rcx, str.Failed_in_call_to_MsiDatabaseOpenView
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1400d7759
xor edx, edx
mov ecx, dword [rsp + 0x24]
call sub.msi.dll_MsiViewModify
test eax, eax
je 0x1400d7767
lea rcx, str.Failed_in_call_to_MsiViewExecute
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [rsp + 0x24]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [rsp + 0x20]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
xor dil, dil
jmp 0x1400d77df
xor dil, dil
lea rdx, [rsp + 0x2c]
mov ecx, dword [rsp + 0x24]
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
jne 0x1400d77cc
mov dword [rsp + 0x28], Ordinal_266
lea r9, [rsp + 0x28]
lea r8, [rbp + 0x60]
lea edx, [rax + 1]
mov ecx, dword [rsp + 0x2c]
call sub.msi.dll_MsiRecordSetStreamA
test eax, eax
jne 0x1400d77cc
cmp word [rbp + 0x60], ax
je 0x1400d77ba
lea rax, [rbp + 0x60]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400d77b0
mov r8, rbx
lea rdx, [rbp + 0x60]
mov rcx, rsi
call fcn.140004990
mov dil, 1
mov ecx, dword [rsp + 0x24]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ecx, dword [rsp + 0x20]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
nop
mov rcx, qword [rsp + 0x40]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x40], r14
mov rcx, qword [rsp + 0x40]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x3c], r8d
lea rcx, [rsp + 0x58]
call fcn.140003890
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_iostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
movzx eax, dil
mov rcx, qword [rbp + 0x278]
xor rcx, rsp
call fcn.1400f3d50
lea r11, [rsp + reloc.mfc110u.dll_Ordinal_896]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret