Function at 0x140004ac8
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x388]
sub rsp, 0x488
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x140034ab8]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov r13, r9
mov rsi, r8
mov r15, rdx
mov r12, rcx
mov r14, qword [rbp + 0x3f0]
mov rax, qword [rbp + 0x3f8]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x400]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp + 0x408]
mov qword [rsp + 0x58], rax
mov rax, qword [rbp + 0x410]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x418]
mov qword [rsp + 0x50], rax
xor edi, edi
cmp dword [rcx + 0xc], edi
je 0x140004d1c
lea rcx, [rsp + 0x30]
call fcn.140015078
nop
lea rdx, str.SELECT__FROM_Feature_WHERE_Feature___
lea rcx, [rsp + 0x30]
call fcn.140014f10
lea ecx, [rdi + 1]
call sub.msi.dll_MsiDatabaseExportA
mov ebx, eax
mov dword [rsp + 0x48], eax
test eax, eax
je 0x140004d06
mov r8, r15
lea edx, [rdi + 1]
mov ecx, eax
call sub.msi.dll_MsiReinstallFeatureFromDescriptorW
test eax, eax
jne 0x140004d06
lea r8, [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov ecx, dword [r12 + 0xc]
call sub.msi.dll_MsiEnableUIPreview
test eax, eax
jne 0x140004d06
mov edx, ebx
mov ecx, dword [rsp + 0x28]
call sub.msi.dll_MsiViewModify
test eax, eax
jne 0x140004cfc
lea rdx, [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
jne 0x140004cfc
mov edi, 0x400
mov dword [rsp + 0x24], edi
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x70]
lea edx, [rax + 2]
mov ecx, dword [rsp + 0x20]
call sub.msi.dll_MsiRecordSetInteger
test eax, eax
jne 0x140004c14
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140014f10
mov dword [rsp + 0x24], edi
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x70]
mov edx, 3
mov ecx, dword [rsp + 0x20]
call sub.msi.dll_MsiRecordSetInteger
test eax, eax
jne 0x140004c41
lea rdx, [rsp + 0x70]
mov rcx, r13
call fcn.140014f10
mov dword [rsp + 0x24], edi
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x70]
mov edx, 4
mov ecx, dword [rsp + 0x20]
call sub.msi.dll_MsiRecordSetInteger
test eax, eax
jne 0x140004c6e
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140014f10
mov edx, 5
mov ecx, dword [rsp + 0x20]
call sub.msi.dll_MsiRecordReadStream
mov rcx, qword [rsp + 0x38]
mov dword [rcx], eax
mov edx, 6
mov ecx, dword [rsp + 0x20]
call sub.msi.dll_MsiRecordReadStream
mov rcx, qword [rsp + 0x60]
mov dword [rcx], eax
mov dword [rsp + 0x24], edi
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x70]
mov edx, 7
mov ecx, dword [rsp + 0x20]
call sub.msi.dll_MsiRecordSetInteger
test eax, eax
jne 0x140004cc7
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call fcn.140014f10
mov edx, 8
mov ecx, dword [rsp + 0x20]
call sub.msi.dll_MsiRecordReadStream
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov rdx, r15
mov rcx, r12
call fcn.14000494c
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
mov ecx, dword [rsp + 0x20]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov edi, 1
mov ecx, dword [rsp + 0x28]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
nop
test ebx, ebx
je 0x140004d12
mov ecx, ebx
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
nop
lea rcx, [rsp + 0x30]
call fcn.1400149a0
mov eax, edi
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140017020
add rsp, 0x488
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret