Function at 0x4f4660
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567744
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5d0074]
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 - 0xdc], edi
xor ecx, ecx
push ecx
push dword [ebp + 8]
mov dword [ebp - 0xe0], ecx
mov ecx, edi
call fcn.004f45b0
test al, al
jne 0x4f4a23
mov ecx, dword [edi + 0x68]
call fcn.004f3cc0
test al, al
jne 0x4f47e4
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0x40]
push 0xa
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push str.TRANSFORMS
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00407880
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004f3b60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00407b40
cmp dword [ebp - 0x18], 0
je 0x4f47d5
cmp dword [edi + 0xc8], 0
je 0x4f47c9
mov eax, dword [edi + 0x68]
add eax, 4
push eax
call fcn.004f99f0
test al, al
jne 0x4f479d
mov eax, dword [edi + 0x68]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4f474b
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xd4]
call fcn.004127e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd4]
call fcn.004bf6a0
cmp eax, 0x3200000
seta byte [ebp - 0xcd]
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0xd4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4f4794
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xcd], 0
je 0x4f47c9
push ecx
mov ecx, dword [edi + 0xc8]
push 0
push 0xdc
call fcn.004b4cb0
lea eax, [edi + 0x58]
push eax
call fcn.004b4fa0
mov ecx, dword [edi + 0xc8]
lea ecx, [ecx + 0xc]
call fcn.004b46f0
jmp 0x4f47d5
mov eax, dword [edi + 0x58]
lea ecx, [edi + 0x58]
push 0
push 0
call dword [eax]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407b40
mov ecx, dword [edi + 0x68]
cmp dword [ecx + 0x5c], 0
je 0x4f4822
mov eax, dword [edi + 0x5c]
lea esi, [edi + 0x5c]
test eax, eax
je 0x4f47fe
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov dword [esi], 0
mov eax, dword [edi + 0x68]
add eax, 0x4c
cmp dword [eax + 0x14], 8
jb 0x4f4812
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.msi.dll_MsiPreviewDialogW]
mov dword [edi + 0x60], eax
jmp 0x4f4a5b
call fcn.004f3cc0
test al, al
jne 0x4f48cb
cmp dword [edi + 0xc8], 0
je 0x4f48cb
mov eax, dword [edi + 0x68]
add eax, 4
push eax
call fcn.004f99f0
test al, al
je 0x4f48cb
mov edi, dword [edi + 0x70]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd8], esp
mov eax, dword [edi]
push 0x57df48
mov esi, dword [eax + 8]
call fcn.004064f0
mov dword [ebp - 4], 5
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0xd4], esp
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 6
push 0x13ca
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.004e1930
mov dword [ebp - 4], 7
mov ecx, 1
mov dword [ebp - 0xe0], ecx
mov ecx, edi
push eax
call esi
mov byte [ebp - 0xcd], 0
test al, al
je 0x4f48d2
mov byte [ebp - 0xcd], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xe0]
test al, 1
je 0x4f4910
and eax, 0xfffffffe
mov dword [ebp - 0xe0], eax
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x98]
call fcn.00407b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.00407b40
cmp byte [ebp - 0xcd], 0
je 0x4f492b
mov edi, dword [ebp - 0xdc]
mov ecx, edi
call fcn.004fa890
jmp 0x4f4a5b
lea ecx, [ebp - 0xd4]
call fcn.00411710
mov dword [ebp - 4], 0xa
mov edi, dword [ebp - 0xdc]
push 0xffffffffffffffff
push ecx
push 0x591f78
mov esi, dword [edi + 0x68]
lea ecx, [esi + 4]
call fcn.00478960
inc eax
lea ecx, [esi + 4]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00428790
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0xd4]
push 0xc7
push eax
call fcn.0049e440
mov esi, dword [edi + 0x70]
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x34], 0x5928b8
add esp, 0xc
mov dword [ebp - 0x30], edi
mov eax, dword [esi]
mov edx, dword [eax + 8]
lea eax, [ebp - 0x34]
push eax
push 0x13c8
call fcn.004e1a10
mov byte [ebp - 4], 0xc
mov ecx, esi
push eax
call edx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x98]
call fcn.00407b40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xb0]
call fcn.00407b40
mov eax, dword [edi + 0xc8]
mov al, byte [eax + 0x39]
test al, al
je 0x4f4a2a
mov dword [edi + 0x60], 0xe0000008
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00407b40
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0xd4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4f4a23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
jmp 0x4f507b
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
call fcn.00407b40
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0xd4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4f4a5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x5c]
test edx, edx
je 0x4f4a9c
lea ecx, [ebp - 0x58]
call fcn.0041d7d0
mov dword [ebp - 4], 0x11
mov edx, eax
mov ecx, dword [edi + 0x68]
add ecx, 0xe4
cmp dword [eax + 0x14], 8
jb 0x4f4a84
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.00418ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407b40
mov ecx, dword [edi + 0x68]
call fcn.004f3cc0
test al, al
je 0x4f4b4b
mov ecx, edi
call fcn.004f5690
test al, al
jne 0x4f4b4b
push 0
push 0
push 0
push 0x105d
push dword [edi + 0x5c]
call fcn.004a2c20
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0x40]
add esp, 0x14
push str.CLIENTPROCESSID
call fcn.004064f0
mov dword [ebp - 4], 0x12
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004f3b60
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x40]
call fcn.00407b40
cmp dword [ebp - 0x18], 0
je 0x4f4b35
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x4f4b35
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.004eb370
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 - 0x28]
call fcn.00407b40
cmp dword [edi + 0x60], 0
je 0x4f4c6d
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x4f4b64
push eax
mov eax, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
call eax
mov dword [edi + 0x5c], 0
mov esi, dword [edi + 0x68]
add esi, 4
cmp dword [esi + 0x14], 8
jb 0x4f4b79
mov esi, dword [esi]
mov eax, dword [edi + 0x60]
lea ecx, [edi + 0x124]
push 0x12
push 0x57fcbc
mov dword [ebp - 0xd8], eax
call fcn.00407880
test esi, esi
je 0x4f4bfb
push 0x5832fc
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.004fb180
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0x15
lea ecx, [edi + 0x124]
cmp ecx, esi
je 0x4f4bec
call fcn.00407b40
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 - 0x58]
call fcn.00407b40
mov edx, dword [ebp - 0xd8]
lea ecx, [ebp - 0x58]
call fcn.004f8440
mov esi, eax
mov dword [ebp - 4], 0x16
lea eax, [edi + 0x13c]
cmp eax, esi
je 0x4f4c4d
mov ecx, eax
call fcn.00407b40
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 - 0x58]
call fcn.00407b40
mov dword [edi + 0x154], 0x10
xor al, al
jmp 0x4f507b
mov esi, dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
lea eax, [ebp - 0xe4]
push eax
push 0
push str.LIMITUI
push dword [edi + 0x5c]
mov dword [ebp - 0xe4], 0
call esi
cmp dword [ebp - 0xe4], 0
jbe 0x4f4cd7
mov ecx, dword [edi + 0x68]
cmp dword [ecx + 0xf4], 0
je 0x4f4cba
call fcn.004f3cc0
test al, al
jne 0x4f4cba
mov eax, dword [edi + 0x68]
mov byte [eax + 0x148], 1
jmp 0x4f4cd7
push 0x57df48
push str.AI_EUIMSI
push dword [edi + 0x5c]
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
mov eax, dword [edi + 0x68]
mov dword [eax + 0x68], 3
mov ecx, dword [edi + 0x68]
call fcn.004f3cc0
test al, al
jne 0x4f4eb8
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0
push eax
push 0
push 0x591fb4
push dword [edi + 0x5c]
call esi
cmp dword [ebp - 0xdc], 0
jbe 0x4f4eb8
push dword [edi + 0x5c]
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 4], 0x17
xor eax, eax
mov ecx, dword [edi + 0x5c]
push 0x16
mov dword [edi + 0x104], ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push str.InstallerAnalytics.dll
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00407880
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00478670
add esp, 4
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 0x19
lea esi, [edi + 0x108]
cmp esi, eax
je 0x4f4db8
mov ecx, esi
call fcn.00407b40
mov eax, dword [ebp - 0xd4]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x58]
call fcn.00407b40
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x40]
call fcn.00407b40
push 0x43
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push 0x581490
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00407880
mov byte [ebp - 4], 0x1a
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0xd8]
push esi
call fcn.004deb10
add esp, 4
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x28]
call fcn.00407b40
cmp dword [esi + 0x14], 8
jb 0x4f4e2b
mov esi, dword [esi]
push 0x5c
push esi
call fcn.00522c09
add esp, 8
test eax, eax
je 0x4f4e89
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0xd4], eax
test eax, eax
je 0x4f4e89
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitializeEmbeddedUI
push eax
call esi
push str.ShutdownEmbeddedUI
push dword [ebp - 0xd4]
mov dword [edi + 0xf8], eax
call esi
push str.EmbeddedUIHandler
push dword [ebp - 0xd4]
mov dword [edi + 0xfc], eax
call esi
mov dword [edi + 0x100], eax
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x4f4e9f
push 0
push 0
push dword [edi + 0x104]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd8]
test eax, eax
je 0x4f4eb8
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 - 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.00407880
mov dword [ebp - 4], 0x1b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.004f3b60
mov byte [ebp - 4], 0x1c
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4f4f10
mov ecx, dword [eax]
cmp dword [eax + 0x10], 1
jne 0x4f4f30
push 1
mov edx, 0x591fb0
call fcn.00406da0
add esp, 4
mov byte [ebp - 0xcd], 1
test eax, eax
je 0x4f4f37
mov byte [ebp - 0xcd], 0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x58]
call fcn.00407b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407b40
cmp byte [ebp - 0xcd], 0
je 0x4f4f67
mov byte [edi + 0xf1], 1
jmp 0x4f5079
mov eax, dword [edi + 0x68]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4f4f75
mov eax, dword [eax]
lea ecx, [ebp - 0xd8]
push ecx
push 0
push eax
call dword [sym.imp.msi.dll_MsiOpenProductW]
test eax, eax
jne 0x4f5079
push str.ALLUSERS
lea ecx, [ebp - 0x58]
call fcn.004064f0
mov dword [ebp - 4], 0x1d
lea ecx, [ebp - 0x70]
push str.Value
call fcn.004064f0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x40]
push str.Property
call fcn.004064f0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x28]
push str.Property
call fcn.004064f0
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0xd8]
lea ecx, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004dfe40
add esp, 0x10
mov byte [ebp - 4], 0x21
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4f5006
mov ecx, dword [eax]
cmp dword [eax + 0x10], 1
jne 0x4f5023
push 1
mov edx, 0x591fb0
call fcn.00406da0
add esp, 4
test eax, eax
jne 0x4f5023
mov al, 1
jmp 0x4f5025
xor al, al
mov byte [edi + 0xf1], al
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xcc]
call fcn.00407b40
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x28]
call fcn.00407b40
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x40]
call fcn.00407b40
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x70]
call fcn.00407b40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407b40
push dword [ebp - 0xd8]
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov al, 1
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.005214e1
mov esp, ebp
pop ebp
ret 4