Function at 0x1001aad0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003a64d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10059024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov edi, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
test eax, eax
je 0x1001ab16
push eax
call edi
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x18]
push ebx
mov ecx, str.SELECT__Argument____Condition__FROM__ControlEvent__WHERE__Dialog____ExitDialog_AND__Control____Finish_AND__Event___DoAction_ORDER_BY__Ordering_
mov dword [ebp - 0x18], 0
call fcn.10011080
add esp, 4
test eax, eax
js 0x1001ad88
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
xor al, al
mov byte [ebp - 0xd], al
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov esi, 1
test eax, eax
je 0x1001ab5b
push eax
call edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x1001acbd
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jle 0x1001ab86
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x1001acb1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
mov edx, 2
push eax
call fcn.10011680
mov edi, dword [ebp - 0x28]
add esp, 4
push edi
push ebx
call dword [sym.imp.msi.dll_MsiGetComponentStateW]
cmp eax, 1
je 0x1001abcb
cmp eax, 2
je 0x1001abcb
xor bl, bl
jmp 0x1001abcd
mov bl, 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov edx, esi
push eax
call fcn.10011680
mov esi, dword [ebp - 0x20]
add esp, 4
test bl, bl
je 0x1001ac63
push 0
mov edx, 0x1004dae4
mov ecx, esi
call fcn.1000f370
add esp, 4
test al, al
je 0x1001ac63
push 0
mov edx, str.AI_ViewReadme
mov ecx, esi
call fcn.1000f370
add esp, 4
test al, al
je 0x1001ac32
mov ebx, dword [ebp + 8]
push esi
push ebx
mov byte [ebp - 0xd], 1
call dword [sym.imp.msi.dll_MsiEnumComponentQualifiersA]
jmp 0x1001ac66
push 0
mov edx, str.AI_LaunchApp
mov ecx, esi
call fcn.1000f370
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov ebx, dword [ebp + 8]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
push esi
push ebx
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.msi.dll_MsiEnumComponentQualifiersA]
jmp 0x1001ac66
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 2
test esi, esi
je 0x1001ac79
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
jmp 0x1001ac7f
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 1
test edi, edi
je 0x1001ac98
push edi
call esi
mov edi, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
jmp 0x1001ab4c
cmp eax, 0x80070103
je 0x1001acbd
call fcn.100112b0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
push eax
mov edx, str.CTRLS
mov ecx, ebx
call fcn.10010bc0
mov esi, dword [ebp - 0x28]
add esp, 4
cmp byte [ebp - 0x1c], 0
jne 0x1001ad21
push 0
mov edx, 0x1004db30
mov ecx, esi
call fcn.1000f370
add esp, 4
test al, al
jne 0x1001ad15
push 0
mov edx, 0x1004c2f8
mov ecx, esi
call fcn.1000f370
add esp, 4
test al, al
je 0x1001ad21
push str.AI_LaunchApp
push ebx
call dword [sym.imp.msi.dll_MsiEnumComponentQualifiersA]
cmp byte [ebp - 0xd], 0
jne 0x1001ad5d
push 0
mov edx, 0x1004db30
mov ecx, esi
call fcn.1000f370
add esp, 4
test al, al
jne 0x1001ad51
push 0
mov edx, 0x10049620
mov ecx, esi
call fcn.1000f370
add esp, 4
test al, al
je 0x1001ad5d
push str.AI_ViewReadme
push ebx
call dword [sym.imp.msi.dll_MsiEnumComponentQualifiersA]
mov byte [ebp - 4], 1
test esi, esi
je 0x1001ad6c
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1001ad88
push eax
call edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1001ad99
push eax
call edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4