Function at 0x1003f4e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006adaf
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0
sub esp, 8
lea ecx, [ebp + 8]
call fcn.10006300
xor ecx, ecx
xor edi, edi
cmp eax, 0xffffffff
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ebp - 0x40]
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.10006260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
lea esi, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmova ecx, dword [ebp - 0x40]
cmova esi, dword [ebp - 0x40]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x58], eax
cmp esi, eax
je 0x1003f589
movzx eax, word [esi]
push eax
mov dword [ebp - 0x5c], eax
call fcn.10051230
add esp, 4
test eax, eax
je 0x1003f581
mov ecx, dword [ebp - 0x5c]
lea edi, [edi + edi*4]
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
add esi, 2
cmp esi, dword [ebp - 0x58]
jne 0x1003f562
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10005610
mov ecx, dword [ebp - 0x54]
mov eax, dword [ecx]
cmp edi, dword [eax]
jne 0x1003f760
cmp dword [ebp + 0x1c], 7
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmova ecx, dword [ebp + 8]
mov byte [ebp - 4], 3
xorps xmm0, xmm0
push eax
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.10002cb0
push 0
push 0x10093cf4
push 1
push 0x10093cb8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x4c], 2
call fcn.1001b480
mov esi, 2
add esp, 0x10
mov dword [ebp - 0x4c], esi
and esi, 0xfffffffd
mov dword [ebp - 0x4c], esi
mov dword [ebp - 4], 2
or esi, 1
lea ecx, [ebp + 8]
mov dword [ebp - 0x4c], esi
call fcn.10005610
movups xmm0, xmmword [ebp - 0x28]
xor eax, eax
and esi, 0xfffffffe
mov word [ebp - 0x28], ax
movups xmmword [ebp + 8], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [ebp + 0x18], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], al
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.1000a220
mov edi, eax
test edi, edi
je 0x1003f878
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1006e578]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 7
cmova eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x48]
push str.SELECT__Name__FROM__Binary__WHERE__Name____s
push eax
call fcn.100113f0
add esp, 0xc
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 4]
mov esi, dword [eax]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1003f6bb
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x44], 0
cmp dword [edi - 4], 1
jle 0x1003f6d9
push dword [edi - 0xc]
lea ecx, [ebp - 0x48]
call fcn.10007bf0
mov edi, dword [ebp - 0x48]
push esi
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov esi, eax
mov dword [ebp - 0x58], esi
mov byte [ebp - 4], 7
test edi, edi
je 0x1003f714
cmp word [edi], 0
je 0x1003f714
lea eax, [ebp - 0x44]
push eax
push edi
push esi
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
jle 0x1003f70d
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1003f78c
call fcn.1002f0b0
mov byte [ebp - 4], 6
test esi, esi
je 0x1003f723
push esi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1003f735
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003f760
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1006e578]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005610
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d40a
mov esp, ebp
pop ebp
ret 0x18
push 0
push dword [ebp - 0x44]
call dword [sym.imp.msi.dll_MsiViewModify]
mov edi, eax
test edi, edi
jle 0x1003f7a8
movzx edi, di
or edi, 0x80070000
test edi, edi
jns 0x1003f7af
call fcn.1002f0b0
mov byte [ebp - 4], 6
test esi, esi
je 0x1003f7be
push esi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
test edi, edi
js 0x1003f723
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x1003f7df
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], 0
test eax, eax
je 0x1003f814
lea ecx, [ebp - 0x50]
push ecx
push eax
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jle 0x1003f806
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1003f829
cmp eax, 0x80070103
je 0x1003f814
call fcn.1002f0b0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x1003f723
push eax
jmp 0x1003f71d
mov eax, dword [ebp - 0x54]
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 7
cmova edx, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x14], 7
jbe 0x1003f842
mov ecx, dword [ecx]
mov eax, dword [eax + 4]
push edx
push ecx
push dword [eax]
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x1003f861
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1003f873
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
jmp 0x1003f735
push 0x80004005
call fcn.10005390
int3