Function at 0x407502
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x1e8
mov eax, 0x4e020e
call fcn.004b3d87
mov eax, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [edi + 0x100]
mov dword [ebp - 0x80], eax
mov eax, dword [ecx]
mov dword [ebp - 0x7c], edi
call dword [eax + 0x34]
push eax
call sub.msi.dll_MsiGetFeatureCostA
mov dword [ebp - 0x70], eax
mov dword [ebp - 0xc0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
push str.Control_Default
lea ecx, [ebp - 0xbc]
call fcn.0040417e
mov byte [ebp - 4], 1
mov esi, 0x4ea590
push esi
lea ecx, [ebp - 0xdc]
call fcn.0040417e
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x30]
call fcn.0040417e
mov byte [ebp - 4], 3
push dword [ebp - 0x80]
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x30]
call fcn.0048d513
add esp, 0x10
mov byte [ebp - 4], 5
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x30]
call fcn.00403537
mov byte [ebp - 4], 6
push ebx
push esi
lea ecx, [ebp - 0xdc]
call fcn.00403537
mov byte [ebp - 4], 7
push ebx
push esi
lea ecx, [ebp - 0xbc]
call fcn.00403537
cmp dword [ebp - 0x54], ebx
jne 0x4075d6
mov byte [ebp - 4], bl
push ebx
push esi
jmp 0x407a59
push str._Dialog__
lea ecx, [ebp - 0x4c]
call fcn.0040417e
mov byte [ebp - 4], 8
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x80]
lea ecx, [ebp - 0x4c]
call fcn.0040958d
mov esi, str._AND__Control__
push esi
call fcn.004af01d
pop ecx
push eax
mov eax, esi
lea esi, [ebp - 0x4c]
call fcn.00408558
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x68]
push eax
mov ecx, esi
call fcn.0040958d
mov esi, 0x4ea504
push esi
call fcn.004af01d
pop ecx
push eax
mov eax, esi
lea esi, [ebp - 0x4c]
call fcn.00408558
lea eax, [ebp - 0xa0]
push eax
call fcn.00418c59
mov byte [ebp - 4], 9
lea eax, [ebp - 0xa0]
push str.ControlEvent
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x88], 0x4ea85c
mov dword [ebp - 0x84], eax
call fcn.0040417e
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x407677
lea eax, [ebp - 0x48]
mov ecx, dword [edi + 0x100]
mov edx, dword [ecx]
lea esi, [ebp - 0x88]
push esi
push eax
push 0x521644
push 0x521634
lea eax, [ebp - 0xbc]
push eax
call dword [edx + 4]
mov byte [ebp - 4], 9
push ebx
push 1
lea ecx, [ebp - 0xbc]
call fcn.00403537
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x94]
push 0x18
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x78], ebx
test eax, eax
jbe 0x407a34
mov dword [ebp - 0x74], ebx
mov edi, 0x4ea6f4
push dword [ebp - 0x74]
lea esi, [ebp - 0xa0]
call fcn.00408357
mov ecx, eax
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 3
jne 0x407a10
push 0x4ea60c
push dword [ebp - 0x74]
call fcn.00408357
call fcn.0049f30b
mov esi, eax
call fcn.0040a7b6
pop ecx
test al, al
jne 0x407a10
push str.INSERT_INTO__ControlEvent____Dialog_____Control____Event___Argument____Condition____Ordering___VALUES__
lea ecx, [ebp - 0x30]
call fcn.0040417e
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x7c]
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
push edi
call dword [eax]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.0040895b
add esp, 0xc
mov byte [ebp - 4], 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040958d
mov byte [ebp - 4], 0xb
push ebx
push 1
lea ecx, [ebp - 0xbc]
call fcn.00403537
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.0040895b
add esp, 0xc
mov byte [ebp - 4], 0xd
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040958d
mov byte [ebp - 4], 0xb
push ebx
push 1
lea ecx, [ebp - 0xdc]
call fcn.00403537
push edi
push ebx
push dword [ebp - 0x74]
lea esi, [ebp - 0xa0]
call fcn.00408357
mov esi, eax
call fcn.0040822c
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.0040895b
add esp, 0xc
mov byte [ebp - 4], 0xe
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040958d
mov byte [ebp - 4], 0xb
push ebx
push 1
lea ecx, [ebp - 0x168]
call fcn.00403537
push edi
push 1
push dword [ebp - 0x74]
lea esi, [ebp - 0xa0]
call fcn.00408357
mov esi, eax
call fcn.0040822c
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0040895b
add esp, 0xc
mov byte [ebp - 4], 0xf
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040958d
mov byte [ebp - 4], 0xb
push ebx
push 1
lea ecx, [ebp - 0x130]
call fcn.00403537
mov ecx, dword [ebp - 0x7c]
add ecx, 0x24
mov eax, dword [ecx]
lea edx, [ebp - 0x184]
push edx
call dword [eax + 0x40]
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 0x10
push str._AND
push 2
push dword [ebp - 0x74]
lea esi, [ebp - 0xa0]
call fcn.00408357
mov esi, eax
call fcn.0040822c
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0040895b
add esp, 0xc
mov byte [ebp - 4], 0x11
push dword [ebp - 0x84]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004089aa
add esp, 0xc
mov byte [ebp - 4], 0x12
push 0x4ea70c
push eax
lea eax, [ebp - 0x1d8]
push eax
call fcn.0040895b
add esp, 0xc
mov byte [ebp - 4], 0x13
push dword [ebp - 0x80]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.004089aa
add esp, 0xc
mov byte [ebp - 4], 0x14
push 0x4ea700
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.0040895b
add esp, 0xc
mov byte [ebp - 4], 0x15
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040958d
mov byte [ebp - 4], 0x14
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x1a0]
call fcn.00403537
mov byte [ebp - 4], 0x13
push ebx
push esi
lea ecx, [ebp - 0xf8]
call fcn.00403537
mov byte [ebp - 4], 0x12
push ebx
push esi
lea ecx, [ebp - 0x1d8]
call fcn.00403537
mov byte [ebp - 4], 0x11
push ebx
push esi
lea ecx, [ebp - 0x114]
call fcn.00403537
mov byte [ebp - 4], 0x10
push ebx
push esi
lea ecx, [ebp - 0x14c]
call fcn.00403537
mov byte [ebp - 4], 0xb
push ebx
push esi
lea ecx, [ebp - 0x184]
call fcn.00403537
mov eax, dword [ebp - 0x7c]
add eax, 0x174
inc word [eax]
movzx eax, word [eax]
movzx ecx, ax
lea esi, [ebp - 0x1f4]
call fcn.0044adf0
mov byte [ebp - 4], 0x16
push str.__TEMPORARY
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.0040895b
add esp, 0xc
mov byte [ebp - 4], 0x17
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040958d
mov byte [ebp - 4], 0x16
push ebx
push 1
lea ecx, [ebp - 0x1bc]
call fcn.00403537
mov byte [ebp - 4], 0xb
push ebx
push 1
mov ecx, esi
call fcn.00403537
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x6c], ebx
je 0x4079d2
push dword [ebp - 0x6c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
push dword [ebp - 0x70]
lea esi, [ebp - 0x6c]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x6c], ebx
call fcn.0048cb18
pop ecx
cmp eax, ebx
je 0x4079f0
push dword [ebp - 0x6c]
call sub.msi.dll_MsiViewGetErrorW
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x6c], ebx
je 0x407a01
push dword [ebp - 0x6c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov byte [ebp - 4], 9
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00403537
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x94]
push 0x18
cdq
pop esi
idiv esi
inc dword [ebp - 0x78]
movzx ecx, word [ebp - 0x78]
mov dword [ebp - 0x74], ecx
cmp ecx, eax
jb 0x4076d2
mov byte [ebp - 4], 8
lea eax, [ebp - 0xa0]
push eax
call fcn.0040830e
mov byte [ebp - 4], 7
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00403537
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.00403537
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x70], ebx
je 0x407a72
push dword [ebp - 0x70]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
call fcn.004b3e0a
ret 4