Function at 0x4119de
Capabilities:
Reference sql statements

Disassembly:
push 0x19c
mov eax, 0x4f66cc
call fcn.004d2c4d
mov esi, ecx
mov dword [ebp - 0x180], esi
mov ecx, dword [esi + 0x14c]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x190], ebx
mov eax, dword [ecx]
call dword [eax + 0x34]
push eax
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov edi, eax
mov dword [ebp - 0x1a8], edi
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
push str.Control_Default
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
call fcn.004d828d
pop ecx
push eax
push str.Control_Default
lea ecx, [ebp - 0x40]
call fcn.004087d4
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
push 0x52008c
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], eax
mov word [ebp - 0x70], ax
call fcn.004d828d
pop ecx
push eax
push 0x52008c
lea ecx, [ebp - 0x70]
call fcn.004087d4
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 0x52008c
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.004d828d
pop ecx
push eax
push 0x52008c
lea ecx, [ebp - 0x28]
call fcn.004087d4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push ebx
push eax
lea eax, [ebp - 0x70]
mov edx, edi
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x88]
call fcn.004a632e
add esp, 0x10
mov byte [ebp - 4], 5
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00404a9e
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
push ebx
push 1
call fcn.00404a9e
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
push ebx
push 1
call fcn.00404a9e
cmp dword [ebp - 0x78], ebx
mov ebx, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
je 0x412014
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
push str._Dialog__
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
call fcn.004d828d
pop ecx
push eax
push str._Dialog__
lea ecx, [ebp - 0x58]
call fcn.004087d4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
push 0xffffffffffffffff
push 0
push dword [ebp - 0x190]
call fcn.0040f46c
push str._AND__Control__
call fcn.004d828d
pop ecx
push eax
push str._AND__Control__
lea ecx, [ebp - 0x58]
call fcn.0040d083
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040f46c
push 0x520000
call fcn.004d828d
pop ecx
push eax
push 0x520000
lea ecx, [ebp - 0x58]
call fcn.0040d083
xor ecx, ecx
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x184], ecx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x198], eax
xor eax, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
push str.ControlEvent
mov dword [ebp - 0x19c], str.ASELECT__Data__FROM__Binary__WHERE__Name___InstallerAnalytics.dll
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x40], ax
call fcn.004d828d
pop ecx
push eax
push str.ControlEvent
lea ecx, [ebp - 0x40]
call fcn.004087d4
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x58]
mov ecx, dword [esi + 0x14c]
lea esi, [ebp - 0x19c]
cmp dword [ebp - 0x44], 8
push esi
cmovae eax, dword [ebp - 0x58]
mov edx, dword [ecx]
push eax
push 0x569168
push 0x569158
lea eax, [ebp - 0x40]
push eax
call dword [edx + 4]
mov byte [ebp - 4], 9
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x40]
call fcn.00404a9e
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x18c]
push 0xc
pop ecx
cdq
idiv ecx
mov dword [ebp - 0x194], esi
mov dword [ebp - 0x198], ecx
test eax, eax
je 0x411ff6
mov ecx, esi
mov dword [ebp - 0x1a0], 0x18
imul esi, ecx, 0xc
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x1a4], esi
mov eax, dword [esi + ecx + 4]
sub eax, dword [esi + ecx]
cdq
idiv dword [ebp - 0x1a0]
cmp eax, 3
jne 0x411fc9
mov ecx, dword [esi + ecx]
mov edx, 0x520108
call fcn.00412cce
test al, al
jne 0x411fc9
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push str.INSERT_INTO__ControlEvent____Dialog_____Control____Event___Argument____Condition____Ordering___VALUES__
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.004d828d
pop ecx
push eax
push str.INSERT_INTO__ControlEvent____Dialog_____Control____Event___Argument____Condition____Ordering___VALUES__
lea ecx, [ebp - 0x28]
call fcn.004087d4
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x180]
push 0x5201f4
mov ecx, dword [ecx + 0xa4]
mov eax, dword [ecx]
call dword [eax]
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.00412bb4
pop ecx
push 0xc
pop ecx
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push 0
push eax
call fcn.0040f46c
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.00404a9e
mov eax, dword [ebp - 0x180]
push 0x5201f4
mov ecx, dword [eax + 0xa4]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.00412bb4
pop ecx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push 0
push eax
call fcn.0040f46c
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x70]
push 0
push 1
call fcn.00404a9e
mov edx, dword [ebp - 0x18c]
lea ecx, [ebp - 0xa0]
push 0x5201f4
mov edx, dword [esi + edx]
call fcn.00412bb4
pop ecx
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push 0
push eax
call fcn.0040f46c
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa0]
push 0
push 1
call fcn.00404a9e
mov eax, dword [ebp - 0x18c]
push 0x18
mov edx, dword [esi + eax]
pop eax
add edx, eax
lea ecx, [ebp - 0xb8]
push 0x5201f4
call fcn.00412bb4
pop ecx
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push 0
push eax
call fcn.0040f46c
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xb8]
push 0
push 1
call fcn.00404a9e
mov ecx, dword [ebp - 0x180]
lea edx, [ebp - 0x148]
add ecx, 0x24
push edx
mov eax, dword [ecx]
call dword [eax + 0x40]
mov esi, eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ebp - 0x1a4]
push str._AND
mov edx, dword [edx + ecx]
lea ecx, [ebp - 0x130]
add edx, 0x30
call fcn.00412bb4
mov byte [ebp - 4], 0x11
mov edx, eax
push esi
lea ecx, [ebp - 0x118]
call fcn.00412c28
mov byte [ebp - 4], 0x12
mov edx, eax
push 0x52020c
lea ecx, [ebp - 0x100]
call fcn.00412b69
mov byte [ebp - 4], 0x13
mov edx, eax
push dword [ebp - 0x190]
lea ecx, [ebp - 0xe8]
call fcn.00412c90
mov byte [ebp - 4], 0x14
mov edx, eax
push 0x520200
lea ecx, [ebp - 0xd0]
call fcn.00412b69
add esp, 0x14
mov byte [ebp - 4], 0x15
xor esi, esi
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f46c
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xd0]
push esi
push 1
call fcn.00404a9e
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xe8]
push esi
push 1
call fcn.00404a9e
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x100]
push esi
push 1
call fcn.00404a9e
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x118]
push esi
push 1
call fcn.00404a9e
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x130]
push esi
push 1
call fcn.00404a9e
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x148]
push esi
push 1
call fcn.00404a9e
mov eax, dword [ebp - 0x180]
lea ecx, [ebp - 0x178]
inc word [eax + 0x198]
mov ax, word [eax + 0x198]
movzx edx, ax
call fcn.004574a0
mov byte [ebp - 4], 0x16
mov edx, eax
push str.__TEMPORARY
lea ecx, [ebp - 0x160]
call fcn.00412b69
pop ecx
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
push esi
push eax
call fcn.0040f46c
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x160]
push esi
push 1
call fcn.00404a9e
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x178]
push esi
push 1
call fcn.00404a9e
mov dword [ebp - 0x17c], esi
push 0x18
pop eax
mov byte [ebp - 4], al
cmp dword [ebp - 0x17c], esi
je 0x411f79
push dword [ebp - 0x17c]
call ebx
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x17c], esi
push eax
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.004a57a7
pop ecx
test eax, eax
jne 0x411fbb
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x17c], 0
je 0x411faa
push dword [ebp - 0x17c]
call ebx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
push esi
push 1
call fcn.00404a9e
jmp 0x411fcb
push dword [ebp - 0x17c]
call dword [sym.imp.msi.dll_MsiViewGetErrorW]
jmp 0x411f95
xor esi, esi
mov eax, dword [ebp - 0x194]
inc eax
movzx ecx, ax
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x18c]
cdq
idiv dword [ebp - 0x198]
cmp ecx, eax
jb 0x411c69
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x18c]
call fcn.004128d3
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
push esi
push 1
call fcn.00404a9e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
push 0
push 1
call fcn.00404a9e
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x412032
push edi
call ebx
call fcn.004d2bf7
ret 8