Function at 0x1001f81f
Capabilities:
Delete file
Reference sql statements

Disassembly:
push 0x28c
mov eax, 0x1003409e
call fcn.10022f92
mov ebx, ecx
push ebx
mov dword [ebp - 0x138], ebx
call fcn.1001f694
mov esi, dword [ebx]
xor edi, edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x5c], vtable.MsiCustomSearchProvider.0
mov dword [ebp - 0x58], str.SELECT__Data__FROM__Binary__WHERE__Name__
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
call fcn.1000a503
push esi
call sub.msi.dll_MsiGetFeatureCostA
mov esi, eax
cmp dword [ebp - 0x50], edi
je 0x1001f871
push dword [ebp - 0x50]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov dword [ebp - 0x50], esi
mov dword [ebp - 4], edi
push dword [ebx]
lea eax, [ebp - 0x12c]
push eax
call fcn.1001d531
push str.AI_AppSearchEx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.1000902f
push edi
push 0x10043b40
push 0x10043b1c
lea eax, [ebp - 0x78]
push eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.1001dd35
push edi
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.10008661
lea eax, [ebp - 0x180]
lea ecx, [ebp - 0xe0]
call fcn.1001d49c
lea eax, [ebp - 0x1a8]
lea ecx, [ebp - 0xe0]
call fcn.1001d4b1
lea edi, [ebp - 0x1a8]
lea esi, [ebp - 0x180]
call fcn.10014778
test al, al
je 0x10020030
lea esi, [ebp - 0x180]
call fcn.1000a876
mov edi, eax
push str.Property
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x184], edi
call fcn.1000902f
lea eax, [ebp - 0x27c]
push eax
mov ebx, edi
mov byte [ebp - 4], 3
call fcn.1001d311
push 0
push 1
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 1
call fcn.10008661
push str.Condition
lea ecx, [ebp - 0x30]
call fcn.1000902f
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 4
call fcn.1001d311
cmp dword [eax + 0x18], 8
jb 0x1001f971
mov eax, dword [eax + 4]
jmp 0x1001f974
add eax, 4
mov esi, dword [ebp - 0x138]
push eax
push dword [esi]
call sub.msi.dll_MsiGetComponentStateW
mov ebx, eax
neg ebx
push 0
sbb bl, bl
push 1
lea ecx, [ebp - 0x30]
inc bl
mov byte [ebp - 4], 1
call fcn.10008661
test bl, bl
jne 0x10020006
push str.SearchString
lea ecx, [ebp - 0x30]
call fcn.1000902f
lea eax, [ebp - 0x30]
push eax
mov ebx, edi
mov byte [ebp - 4], 5
call fcn.1001d311
push dword [esi]
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.1001d749
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.10008661
push str.VerMin
lea ecx, [ebp - 0x260]
call fcn.1000902f
lea eax, [ebp - 0x260]
push eax
mov byte [ebp - 4], 8
call fcn.1001d311
push 0
push 1
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 7
call fcn.10008661
push str.VerMax
lea ecx, [ebp - 0x1ec]
call fcn.1000902f
lea eax, [ebp - 0x1ec]
push eax
mov byte [ebp - 4], 9
call fcn.1001d311
push 0
push 1
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 7
call fcn.10008661
push str.RefContent
lea ecx, [ebp - 0x298]
call fcn.1000902f
lea eax, [ebp - 0x298]
push eax
mov byte [ebp - 4], 0xa
call fcn.1001d311
push 0
push 1
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 7
call fcn.10008661
push str.Type
lea ecx, [ebp - 0x178]
call fcn.1000902f
lea eax, [ebp - 0x178]
push eax
mov byte [ebp - 4], 0xb
call fcn.1001d311
cmp dword [eax + 0x18], 8
jb 0x1001fab3
mov eax, dword [eax + 4]
jmp 0x1001fab6
add eax, 4
mov esi, eax
call fcn.1001c822
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 7
call fcn.10008661
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x78]
call fcn.1000a5c9
mov esi, eax
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x78]
call fcn.1000a5a9
push dword [esi + 4]
push dword [esi]
lea esi, [ebp - 0x178]
push dword [eax + 4]
push dword [eax]
call fcn.10010322
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x18], 0x10
jb 0x1001fb1d
mov eax, dword [eax + 4]
jmp 0x1001fb20
add eax, 4
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.10005889
push ebx
push edi
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0xe
call fcn.100096b9
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0x15c]
call fcn.1000ebb8
mov esi, eax
lea eax, [ebp - 0x22c]
push eax
mov eax, dword [ebp - 0x15c]
call fcn.1000eb98
push dword [esi + 4]
push dword [esi]
lea esi, [ebp - 0x30]
push dword [eax + 4]
push dword [eax]
call fcn.1000f98c
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x18], 0x10
jb 0x1001fb85
mov eax, dword [eax + 4]
jmp 0x1001fb88
add eax, 4
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.10005889
push ebx
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x11
call fcn.100096b9
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp - 0x158]
call fcn.1000ebb8
mov esi, eax
lea eax, [ebp - 0x1fc]
push eax
mov eax, dword [ebp - 0x158]
call fcn.1000eb98
push dword [esi + 4]
push dword [esi]
lea esi, [ebp - 0x178]
push dword [eax + 4]
push dword [eax]
call fcn.1000f98c
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x18], 0x10
jb 0x1001fbed
mov eax, dword [eax + 4]
jmp 0x1001fbf0
add eax, 4
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.10005889
push ebx
push edi
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x14
call fcn.100096b9
lea eax, [ebp - 0x1f4]
push eax
mov eax, dword [ebp - 0x130]
call fcn.1000ebb8
mov esi, eax
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 0x130]
call fcn.1000eb98
push dword [esi + 4]
push dword [esi]
lea esi, [ebp - 0x1ec]
push dword [eax + 4]
push dword [eax]
call fcn.1000f98c
mov byte [ebp - 4], 0x15
cmp dword [eax + 0x18], 0x10
jb 0x1001fc58
mov eax, dword [eax + 4]
jmp 0x1001fc5b
add eax, 4
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.10005889
push ebx
push edi
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0x17
call fcn.100096b9
lea eax, [ebp - 0x234]
push eax
mov eax, dword [ebp - 0x130]
call fcn.1000ebb8
mov esi, eax
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x130]
call fcn.1000eb98
push dword [esi + 4]
push dword [esi]
lea esi, [ebp - 0x178]
push dword [eax + 4]
push dword [eax]
call fcn.1000f98c
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x18], 0x10
jb 0x1001fcc3
mov eax, dword [eax + 4]
jmp 0x1001fcc6
add eax, 4
push eax
lea eax, [ebp - 0x18c]
push eax
call fcn.10005889
push ebx
push edi
lea ecx, [ebp - 0x178]
call fcn.100096b9
mov dword [ebp - 0x1c4], ebx
mov dword [ebp - 0x1c8], ebx
mov dword [ebp - 0x1cc], ebx
mov dword [ebp - 0x1d0], ebx
mov dword [ebp - 0x1c0], ebx
mov dword [ebp - 0x1b0], ebx
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 0x1bc], ebx
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
push str.Platform
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x1a
call fcn.1000902f
mov ebx, dword [ebp - 0x184]
push 0x10038648
push ecx
lea eax, [ebp - 0x178]
push eax
mov byte [ebp - 4], 0x1b
call fcn.1001d311
pop ecx
mov esi, eax
call fcn.1000d270
pop ecx
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x178]
mov byte [ebp - 0x188], al
call fcn.10008661
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x140], ebx
lea eax, [ebp - 0x1a0]
push eax
lea esi, [ebp - 0x148]
mov byte [ebp - 4], 0x1c
call fcn.100201a4
push 4
call sub.msi.dll_MsiDatabaseExportA
mov esi, eax
mov eax, dword [ebp - 0x13c]
cmp dword [eax + 0x18], 8
jb 0x1001fdc7
add eax, 4
mov dword [ebp - 0x130], eax
mov eax, dword [eax]
jmp 0x1001fdd0
add eax, 4
mov dword [ebp - 0x130], eax
push eax
push 1
push esi
call sub.msi.dll_MsiReinstallFeatureW
cmp dword [ebp - 0x60], 8
mov eax, dword [ebp - 0x74]
jae 0x1001fde5
lea eax, [ebp - 0x74]
push eax
push 2
push esi
call sub.msi.dll_MsiReinstallFeatureW
mov edi, dword [ebp - 0x138]
push esi
push 0x9000000
push dword [edi]
call sub.msi.dll_MsiProvideComponentW
cmp esi, ebx
je 0x1001fe0b
push esi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x188]
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x1d0]
push eax
lea ebx, [ebp - 0x148]
call fcn.100043ae
push str.AiVerMin
lea ecx, [ebp - 0x178]
mov byte [ebp - 0x131], al
call fcn.1000902f
mov ecx, dword [ebp - 0x13c]
push edi
lea edi, [ebp - 0x178]
lea esi, [ebp - 0x198]
mov byte [ebp - 4], 0x1d
call fcn.1002011d
xor ebx, ebx
push ebx
push 1
mov ecx, edi
mov byte [ebp - 4], 0x1c
call fcn.10008661
push str.AiVerMax
lea ecx, [ebp - 0x178]
call fcn.1000902f
push dword [ebp - 0x138]
mov ecx, dword [ebp - 0x13c]
lea edi, [ebp - 0x178]
lea esi, [ebp - 0x194]
mov byte [ebp - 4], 0x1e
call fcn.1002011d
push ebx
push 1
mov ecx, edi
call fcn.10008661
cmp byte [ebp - 0x131], bl
je 0x1001ffa4
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 7
call fcn.10008643
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x198]
cmp dword [eax - 0xc], ebx
jne 0x1001fee1
mov eax, dword [ebp - 0x194]
cmp dword [eax - 0xc], ebx
je 0x1001ff5d
cmp dword [ebp - 0x150], ebx
jle 0x1001ff5d
xor edi, edi
cmp dword [ebp - 0x150], ebx
jle 0x100200d6
mov eax, dword [ebp - 0x154]
cmp edi, dword [eax + 4]
jge 0x1001ff6a
cmp dword [ebp - 0x1c], ebx
je 0x1001ff1e
mov esi, 0x1003af7c
push esi
call fcn.10020d18
pop ecx
push eax
mov eax, esi
lea esi, [ebp - 0x30]
call fcn.1000b6ca
mov ecx, dword [ebp - 0x154]
mov eax, edi
call fcn.10001cd3
lea ecx, [ebp - 0x178]
push ecx
call fcn.1001030b
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x20
call fcn.1000b621
push ebx
push 1
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x1f
call fcn.10008661
inc edi
jmp 0x1001feeb
push 0x10038648
lea ecx, [ebp - 0x30]
call fcn.10009098
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x1001ff76
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x13c]
cmp dword [eax + 0x18], 8
mov eax, dword [ebp - 0x130]
jb 0x1001ff8a
mov eax, dword [eax]
push ecx
push eax
mov eax, dword [ebp - 0x138]
push dword [eax]
call sub.msi.dll_MsiSummaryInfoGetPropertyCount
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.10008661
mov esi, dword [ebp - 0x148]
cmp esi, ebx
je 0x1001ffd5
mov edi, dword [ebp - 0x144]
cmp edi, ebx
jle 0x1001ffc3
call fcn.100200e6
add esi, 0x18
dec edi
jne 0x1001ffb8
push dword [ebp - 0x148]
call fcn.1002147d
pop ecx
mov dword [ebp - 0x148], ebx
lea edi, [ebp - 0x154]
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x140], ebx
call fcn.100057f4
lea esi, [ebp - 0x1a0]
call fcn.100200e6
push ebx
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.10008661
lea edi, [ebp - 0x23c]
lea esi, [ebp - 0x180]
call fcn.10014743
lea edi, [ebp - 0x1a8]
call fcn.10014778
test al, al
jne 0x1001f8fe
mov ebx, dword [ebp - 0x138]
push 4
call sub.msi.dll_MsiDatabaseExportA
push 0x1003aff8
mov esi, eax
push 3
push esi
call sub.msi.dll_MsiReinstallFeatureW
push esi
push 0x8000000
push dword [ebx]
call sub.msi.dll_MsiProvideComponentW
test esi, esi
je 0x1002005d
push esi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
push 1
call sub.msi.dll_MsiDatabaseExportA
push 0x10038494
mov esi, eax
push 1
push esi
call sub.msi.dll_MsiReinstallFeatureW
push esi
push 0x9000000
push dword [ebx]
call sub.msi.dll_MsiProvideComponentW
test esi, esi
je 0x1002008a
push esi
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x12c]
push eax
mov byte [ebp - 4], 0
call fcn.1001d608
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x5c], vtable.MsiCustomSearchProvider.0
jae 0x100200ad
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.10008661
cmp dword [ebp - 0x50], 0
je 0x100200ce
push dword [ebp - 0x50]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
xor eax, eax
call fcn.10023015
ret
push ebx
push ebx
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]