Function at 0x4fbee0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ca25
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x5e8024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xd4], edi
xor ecx, ecx
push ecx
push dword [ebp + 8]
mov dword [ebp - 0xe4], ecx
mov ecx, edi
call fcn.004fbe30
test al, al
jne 0x4fc2f4
mov ecx, dword [edi + 0x68]
call fcn.004fb4e0
test al, al
jne 0x4fbf43
mov ecx, edi
call fcn.004fd690
mov ecx, dword [edi + 0x68]
cmp dword [ecx + 0x5c], 0
je 0x4fbf81
mov eax, dword [edi + 0x5c]
lea esi, [edi + 0x5c]
test eax, eax
je 0x4fbf60
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov ecx, dword [edi + 0x68]
lea eax, [ecx + 0x4c]
mov dword [esi], 0
cmp dword [eax + 0x14], 8
jb 0x4fbf71
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.msi.dll_MsiPreviewDialogW]
mov dword [edi + 0x60], eax
jmp 0x4fc356
call fcn.004fb4e0
test al, al
jne 0x4fc045
cmp dword [edi + 0xc8], 0
je 0x4fc045
mov eax, dword [edi + 0x68]
add eax, 4
push eax
call fcn.00501a70
test al, al
je 0x4fc045
mov edi, dword [edi + 0x70]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe8], esp
mov eax, dword [edi]
push 0
push 0x593988
mov dword [ecx], 0
mov esi, dword [eax + 8]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004082a0
mov dword [ebp - 4], 0
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xd8], esp
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov byte [ebp - 4], 1
push 0x13ca
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.004e7d90
mov dword [ebp - 4], 2
mov ecx, 1
mov dword [ebp - 0xe4], ecx
mov ecx, edi
push eax
call esi
mov byte [ebp - 0xcd], 0
test al, al
je 0x4fc04c
mov byte [ebp - 0xcd], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe4]
test al, 1
je 0x4fc08a
and eax, 0xfffffffe
mov dword [ebp - 0xe4], eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.00408570
cmp byte [ebp - 0xcd], 0
mov edi, dword [ebp - 0xd4]
je 0x4fc0a5
mov ecx, edi
call fcn.00502890
jmp 0x4fc356
mov eax, dword [edi + 0x68]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4fc0b3
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00416070
mov dword [ebp - 4], 5
lea edx, [ebp - 0xe0]
lea ecx, [ebp - 0xdc]
call fcn.004c6840
mov byte [ebp - 4], 7
or esi, 0xffffffff
mov edx, dword [ebp - 0xe0]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4fc0fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xdc]
cmp dword [eax - 0xc], 0
jne 0x4fc18c
mov eax, dword [edi + 0x68]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4fc119
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00416070
mov byte [ebp - 4], 9
lea edx, [ebp - 0xd8]
lea ecx, [ebp - 0xe8]
call fcn.004bf690
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xdc]
push eax
call fcn.0047f480
mov byte [ebp - 4], 9
mov eax, esi
mov edx, dword [ebp - 0xe8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4fc16b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov eax, esi
mov edx, dword [ebp - 0xd8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4fc18c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00409d30
mov ecx, eax
test ecx, ecx
je 0x4fca74
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0xd4]
push dword [ebp - 0xdc]
push 0xc7
push eax
call fcn.004a45d0
mov ecx, dword [edi + 0x70]
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x1c], 0x5a8cc4
xor edx, edx
mov dword [ebp - 0x18], edi
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xb4], 0x13c8
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], dx
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], dx
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov byte [ebp - 4], 0x11
lea edx, [ebp - 0xb4]
push edx
call dword [eax + 8]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x98]
call fcn.00408570
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xb0]
call fcn.00408570
mov eax, dword [edi + 0xc8]
cmp byte [eax + 0x39], 0
je 0x4fc313
mov dword [edi + 0x60], 0xe0000008
mov byte [ebp - 4], 7
mov eax, esi
mov edx, dword [ebp - 0xd4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4fc2d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xdc]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4fc2f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
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.0052df57
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 4], 7
mov eax, esi
mov edx, dword [ebp - 0xd4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4fc334
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xdc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4fc356
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x5c]
test edx, edx
je 0x4fc396
lea ecx, [ebp - 0x40]
call fcn.004209e0
mov dword [ebp - 4], 0x18
mov ecx, dword [edi + 0x68]
mov edx, dword [eax + 0x10]
add ecx, 0xd8
cmp dword [eax + 0x14], 8
jb 0x4fc380
mov eax, dword [eax]
push edx
push eax
call fcn.00408c60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408570
mov ecx, dword [edi + 0x68]
call fcn.004fb4e0
test al, al
je 0x4fc470
mov ecx, edi
call fcn.004fd150
test al, al
jne 0x4fc470
push 0
push 0
push 0
push 0x105d
push dword [edi + 0x5c]
call fcn.004a8ec0
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0x28]
add esp, 0x14
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0xf
push str.CLIENTPROCESSID
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004082a0
mov dword [ebp - 4], 0x19
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004fb3e0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x28]
call fcn.00408570
cmp dword [ebp - 0x30], 0
je 0x4fc45a
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x4fc45a
lea eax, [ebp - 0x40]
push eax
push 0
call fcn.004f2350
mov eax, dword [edi + 0xc0]
mov dword [eax + 0x54], 0xc
mov eax, dword [edi + 0xc0]
mov byte [eax + 0x58], 1
mov dword [edi + 0x60], 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408570
mov eax, dword [edi + 0x60]
mov dword [ebp - 0xd8], eax
test eax, eax
je 0x4fc597
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x4fc499
push eax
mov eax, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
call eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 0xd8], eax
mov dword [edi + 0x5c], 0
mov esi, dword [edi + 0x68]
add esi, 4
cmp dword [esi + 0x14], 8
jb 0x4fc4ae
mov esi, dword [esi]
push 0x12
lea ecx, [edi + 0x124]
push 0x5957b0
call fcn.004082a0
test esi, esi
je 0x4fc527
push 0x598e64
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.005030b0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0x1c
lea ecx, [edi + 0x124]
cmp ecx, esi
je 0x4fc518
call fcn.00408570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi + 0x124], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x134], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408570
mov edx, dword [ebp - 0xd8]
lea ecx, [ebp - 0x40]
call fcn.004ffd00
mov esi, eax
mov dword [ebp - 4], 0x1d
lea eax, [edi + 0x13c]
cmp eax, esi
je 0x4fc579
mov ecx, eax
call fcn.00408570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi + 0x13c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x14c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408570
mov dword [edi + 0x154], 0x10
jmp 0x4fc2f4
mov esi, dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
lea eax, [ebp - 0xec]
push eax
push 0
push str.LIMITUI
push dword [edi + 0x5c]
mov dword [ebp - 0xec], 0
call esi
cmp dword [ebp - 0xec], 0
jbe 0x4fc601
mov eax, dword [edi + 0x68]
mov dword [eax + 0x68], 3
mov ecx, dword [edi + 0x68]
cmp dword [ecx + 0xe8], 0
je 0x4fc5ee
call fcn.004fb4e0
test al, al
jne 0x4fc5ee
mov eax, dword [edi + 0x68]
mov byte [eax + 0x13c], 1
jmp 0x4fc601
push 0x593988
push str.AI_EUIMSI
push dword [edi + 0x5c]
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
mov ecx, dword [edi + 0x68]
call fcn.004fb4e0
test al, al
jne 0x4fc78b
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd8], 0
push eax
push 0
push 0x5a83c8
push dword [edi + 0x5c]
call esi
cmp dword [ebp - 0xd8], 0
jbe 0x4fc78b
push dword [edi + 0x5c]
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 4], 0x1e
mov edx, str.INAN
mov ecx, dword [edi + 0x5c]
mov dword [edi + 0x104], ecx
lea ecx, [ebp - 0x40]
push 0
push 0
call fcn.0040a470
add esp, 8
mov byte [ebp - 4], 0x1f
lea esi, [edi + 0x108]
cmp esi, eax
je 0x4fc690
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4fc687
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.004082a0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x40]
call fcn.00408570
push 0x43
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.SELECT__Data__FROM__Binary__WHERE__Name___InstallerAnalytics.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004082a0
mov byte [ebp - 4], 0x22
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0xd4]
push esi
call fcn.004e52d0
add esp, 4
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x28]
call fcn.00408570
cmp dword [esi + 0x14], 8
jb 0x4fc6fe
mov esi, dword [esi]
push 0x5c
push esi
call fcn.0052f665
add esp, 8
test eax, eax
je 0x4fc75c
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0xe0], eax
test eax, eax
je 0x4fc75c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitializeEmbeddedUI
push eax
call esi
push str.ShutdownEmbeddedUI
push dword [ebp - 0xe0]
mov dword [edi + 0xf8], eax
call esi
push str.EmbeddedUIHandler
push dword [ebp - 0xe0]
mov dword [edi + 0xfc], eax
call esi
mov dword [edi + 0x100], eax
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x4fc772
push 0
push 0
push dword [edi + 0x104]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x4fc78b
push eax
mov eax, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
call eax
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0x28]
push 8
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.ALLUSERS
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004082a0
mov dword [ebp - 4], 0x23
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004fb3e0
mov byte [ebp - 4], 0x24
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4fc7eb
mov eax, dword [eax]
cmp ecx, 1
jne 0x4fc80b
push ecx
mov edx, 0x5a83c4
mov ecx, eax
call fcn.00407970
add esp, 4
mov byte [ebp - 0xcd], 1
test eax, eax
je 0x4fc812
mov byte [ebp - 0xcd], 0
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x40]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408570
cmp byte [ebp - 0xcd], 0
je 0x4fc844
mov byte [edi + 0xf1], 1
mov al, 1
jmp 0x4fc2f6
mov eax, dword [edi + 0x68]
push 1
sub esp, 0x18
add eax, 4
mov dword [ebp - 0xe8], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd8], esp
push eax
call fcn.00407250
mov dword [ebp - 4], 0x25
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0048de20
add esp, 0x18
mov dword [ebp - 4], 0x26
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0048e260
mov dword [ebp - 4], 0x28
cmp dword [ebp - 0x30], 0x104
ja 0x4fc8c5
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0xd4]
push ecx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
call dword [sym.imp.msi.dll_MsiOpenProductW]
mov esi, eax
jmp 0x4fc8fd
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.00481a00
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0xd4]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
push 0
push eax
call dword [sym.imp.msi.dll_MsiOpenProductW]
mov esi, eax
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0x58]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408570
test esi, esi
jne 0x4fca6d
push 8
xor eax, eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], esi
push str.ALLUSERS
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004082a0
mov dword [ebp - 4], 0x2c
xor eax, eax
push 5
mov dword [ebp - 0x58], esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
push str.Value
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.004082a0
mov byte [ebp - 4], 0x2d
xor eax, eax
push 8
mov dword [ebp - 0x70], esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
push str.Property
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.004082a0
mov byte [ebp - 4], 0x2e
xor eax, eax
push 8
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
push str.Property
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004082a0
mov byte [ebp - 4], 0x2f
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0xd4]
lea ecx, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004e68d0
add esp, 0x10
mov byte [ebp - 4], 0x30
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4fc9fa
mov eax, dword [eax]
cmp ecx, 1
jne 0x4fca17
push ecx
mov edx, 0x5a83c4
mov ecx, eax
call fcn.00407970
add esp, 4
test eax, eax
jne 0x4fca17
mov al, 1
jmp 0x4fca19
xor al, al
mov byte [edi + 0xf1], al
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0xcc]
call fcn.00408570
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x28]
call fcn.00408570
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x70]
call fcn.00408570
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x58]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408570
push dword [ebp - 0xd4]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov al, 1
jmp 0x4fc2f6
push 0x80004005
call fcn.00409a00
int3