Function at 0x140003d18
Capabilities:
Get disk size
Reference sql statements

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov r12, rdx
mov r13, rcx
xor edi, edi
lea rax, [rbp - 0x1c]
mov qword [r11 - 0x58], rax
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x20]
lea rdx, [rbp + 0x48]
lea rcx, [0x140027e28]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov esi, dword [rbp + 0x48]
imul esi, dword [rbp - 0x20]
cmp dword [r13 + 0xc], edi
je 0x140003edc
lea ecx, [rdi + 1]
call sub.msi.dll_MsiDatabaseExportA
mov ebx, eax
mov dword [rbp - 0x14], eax
test eax, eax
je 0x140003ed1
mov r8, r12
lea edx, [rdi + 1]
mov ecx, eax
call sub.msi.dll_MsiReinstallFeatureFromDescriptorW
test eax, eax
jne 0x140003ed1
lea rcx, [rbp - 0x10]
call fcn.140015078
nop
lea rdx, str.SELECT__FROM_File_WHERE_Component____
lea rcx, [rbp - 0x10]
call fcn.140014f10
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x10]
mov ecx, dword [r13 + 0xc]
call sub.msi.dll_MsiEnableUIPreview
test eax, eax
jne 0x140003e14
mov edx, ebx
mov ecx, dword [rbp + 0x30]
call sub.msi.dll_MsiViewModify
test eax, eax
jne 0x140003e0c
jmp 0x140003dfc
mov edx, 4
mov ecx, dword [rbp + 0x40]
call sub.msi.dll_MsiRecordReadStream
xor edx, edx
div esi
imul eax, esi
add edi, eax
test edx, edx
je 0x140003df4
add edi, esi
mov ecx, dword [rbp + 0x40]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea rdx, [rbp + 0x40]
mov ecx, dword [rbp + 0x30]
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
je 0x140003dd8
mov ecx, dword [rbp + 0x30]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea rdx, str.SELECT__FROM_Extension_WHERE_Component____
lea rcx, [rbp - 0x10]
call fcn.140014f10
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x10]
mov ecx, dword [r13 + 0xc]
call sub.msi.dll_MsiEnableUIPreview
test eax, eax
jne 0x140003e6f
mov edx, ebx
mov ecx, dword [rbp + 0x30]
call sub.msi.dll_MsiViewModify
test eax, eax
jne 0x140003e67
jmp 0x140003e57
add edi, 0x400
mov ecx, dword [rbp + 0x40]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea rdx, [rbp + 0x40]
mov ecx, dword [rbp + 0x30]
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
je 0x140003e49
mov ecx, dword [rbp + 0x30]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea rdx, str.SELECT__FROM_Shortcut_WHERE_Component____
lea rcx, [rbp - 0x10]
call fcn.140014f10
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x10]
mov ecx, dword [r13 + 0xc]
call sub.msi.dll_MsiEnableUIPreview
test eax, eax
jne 0x140003ec7
mov edx, ebx
mov ecx, dword [rbp + 0x30]
call sub.msi.dll_MsiViewModify
test eax, eax
jne 0x140003ebe
jmp 0x140003eae
add edi, esi
mov ecx, dword [rbp + 0x40]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea rdx, [rbp + 0x40]
mov ecx, dword [rbp + 0x30]
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
je 0x140003ea4
mov ecx, dword [rbp + 0x30]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
nop
lea rcx, [rbp - 0x10]
call fcn.1400149a0
nop
test ebx, ebx
je 0x140003edc
mov ecx, ebx
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, edi
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret