Function at 0x10037ef0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006207f
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10088020]
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 - 0x58], ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0
sub esp, 8
lea ecx, [ebp + 8]
call fcn.100062b0
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.10006210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x5c], eax
cmp esi, eax
je 0x10037f99
movzx eax, word [esi]
push eax
mov dword [ebp - 0x48], eax
call fcn.100489d0
add esp, 4
test eax, eax
je 0x10037f91
mov ecx, dword [ebp - 0x48]
lea edi, [edi + edi*4]
lea edi, [edi - 0x18]
lea edi, [ecx + edi*2]
add esi, 2
cmp esi, dword [ebp - 0x5c]
jne 0x10037f72
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.100055a0
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx]
cmp edi, dword [eax]
jne 0x1003815d
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae 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.10002c20
push 0
push 0x100707ac
push 1
push 0x10070770
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x50], 2
call fcn.1001a9c0
mov esi, 2
add esp, 0x10
mov dword [ebp - 0x50], esi
and esi, 0xfffffffd
mov dword [ebp - 0x50], esi
mov dword [ebp - 4], 2
or esi, 1
lea ecx, [ebp + 8]
mov dword [ebp - 0x50], esi
call fcn.100055a0
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 - 0x50], esi
mov byte [ebp - 4], al
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10009f40
mov ecx, eax
test ecx, ecx
je 0x1003826a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x4c]
push str.SELECT__Name__FROM__Binary__WHERE__Name____s
push eax
call fcn.100107e0
add esp, 0xc
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x58]
mov esi, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov eax, dword [eax + 4]
mov edi, dword [eax]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x100380c3
push eax
call esi
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], eax
cmp dword [eax - 4], 1
jle 0x100380e7
push dword [eax - 0xc]
lea ecx, [ebp - 0x4c]
call fcn.10007b20
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
push edi
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov edi, eax
mov dword [ebp - 0x5c], edi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x10038125
cmp word [eax], 0
je 0x10038125
lea ecx, [ebp - 0x44]
push ecx
push eax
push edi
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
jle 0x1003811e
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x10038189
call fcn.100281a0
mov byte [ebp - 4], 6
test edi, edi
je 0x10038130
push edi
call esi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1003813e
push eax
call esi
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003815d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100055a0
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.10044a98
mov esp, ebp
pop ebp
ret 0x18
push 0
push dword [ebp - 0x44]
call dword [sym.imp.msi.dll_MsiViewModify]
mov dword [ebp - 0x48], eax
test eax, eax
jle 0x100381a8
movzx eax, ax
or eax, 0x80070000
mov dword [ebp - 0x48], eax
test eax, eax
jns 0x100381af
call fcn.100281a0
mov byte [ebp - 4], 6
test edi, edi
je 0x100381ba
push edi
call esi
cmp dword [ebp - 0x48], 0
jl 0x10038130
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x100381d9
push eax
call esi
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], 0
test eax, eax
je 0x1003820e
lea ecx, [ebp - 0x54]
push ecx
push eax
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jle 0x10038200
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x10038223
cmp eax, 0x80070103
je 0x1003820e
call fcn.100281a0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x10038130
push eax
jmp 0x1003812e
mov eax, dword [ebp - 0x58]
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae edx, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x14], 8
jb 0x1003823c
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 - 0x54]
test eax, eax
je 0x10038257
push eax
call esi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x10038265
push eax
call esi
jmp 0x1003813e
push 0x80004005
call fcn.10005390
int3