Function at 0x100456c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079f9f
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100c0040]
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 0x10045769
movzx eax, word [esi]
push eax
mov dword [ebp - 0x5c], eax
call fcn.10059370
add esp, 4
test eax, eax
je 0x10045761
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 0x10045742
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 0x10045940
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 0x100a416c
push 1
push 0x100a4130
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x4c], 2
call fcn.10020d40
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.1000a960
mov edi, eax
test edi, edi
je 0x10045a58
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x1007d584]
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.10014650
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 0x1004589b
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 0x100458b9
push dword [edi - 0xc]
lea ecx, [ebp - 0x48]
call fcn.10008330
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 0x100458f4
cmp word [edi], 0
je 0x100458f4
lea eax, [ebp - 0x44]
push eax
push edi
push esi
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
jle 0x100458ed
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1004596c
call fcn.10035290
mov byte [ebp - 4], 6
test esi, esi
je 0x10045903
push esi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x10045915
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 0x10045940
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1007d584]
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.10053e7d
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 0x10045988
movzx edi, di
or edi, 0x80070000
test edi, edi
jns 0x1004598f
call fcn.10035290
mov byte [ebp - 4], 6
test esi, esi
je 0x1004599e
push esi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
test edi, edi
js 0x10045903
mov dword [ebp - 0x50], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x100459bf
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], 0
test eax, eax
je 0x100459f4
lea ecx, [ebp - 0x50]
push ecx
push eax
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jle 0x100459e6
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x10045a09
cmp eax, 0x80070103
je 0x100459f4
call fcn.10035290
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x10045903
push eax
jmp 0x100458fd
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 0x10045a22
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 0x10045a41
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x10045a53
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
jmp 0x10045915
push 0x80004005
call fcn.10005390
int3