Function at 0x407d97
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x1e8
mov eax, 0x4e484b
call fcn.004b814b
mov eax, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [edi + 0x194]
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.00404357
mov byte [ebp - 4], 1
mov esi, 0x4ee6f8
push esi
lea ecx, [ebp - 0xdc]
call fcn.00404357
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x30]
call fcn.00404357
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.00491c64
add esp, 0x10
mov byte [ebp - 4], 5
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x30]
call fcn.004035da
mov byte [ebp - 4], 6
push ebx
push esi
lea ecx, [ebp - 0xdc]
call fcn.004035da
mov byte [ebp - 4], 7
push ebx
push esi
lea ecx, [ebp - 0xbc]
call fcn.004035da
cmp dword [ebp - 0x54], ebx
jne 0x407e6b
mov byte [ebp - 4], bl
push ebx
push esi
jmp 0x4082f4
push str._Dialog__
lea ecx, [ebp - 0x4c]
call fcn.00404357
mov byte [ebp - 4], 8
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x80]
lea ecx, [ebp - 0x4c]
call fcn.00409db5
mov esi, str._AND__Control__
push esi
call fcn.004b3310
pop ecx
push eax
mov eax, esi
lea esi, [ebp - 0x4c]
call fcn.00408d63
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x68]
push eax
mov ecx, esi
call fcn.00409db5
mov esi, 0x4ee66c
push esi
call fcn.004b3310
pop ecx
push eax
mov eax, esi
lea esi, [ebp - 0x4c]
call fcn.00408d63
lea eax, [ebp - 0xa0]
push eax
call fcn.004168c9
mov byte [ebp - 4], 9
lea eax, [ebp - 0xa0]
push str.ControlEvent
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x88], 0x4f2770
mov dword [ebp - 0x84], eax
call fcn.00404357
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x407f0c
lea eax, [ebp - 0x48]
mov ecx, dword [edi + 0x194]
mov edx, dword [ecx]
lea esi, [ebp - 0x88]
push esi
push eax
push 0x526694
push 0x526684
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.004035da
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 0x4082cf
mov dword [ebp - 0x74], ebx
mov edi, 0x4ee85c
push dword [ebp - 0x74]
lea esi, [ebp - 0xa0]
call fcn.00408bc6
mov ecx, eax
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 3
jne 0x4082ab
push 0x4ee774
push dword [ebp - 0x74]
call fcn.00408bc6
call fcn.00408aa0
mov esi, eax
call fcn.00409208
pop ecx
test al, al
jne 0x4082ab
push str.INSERT_INTO__ControlEvent____Dialog_____Control____Event___Argument____Condition____Ordering___VALUES__
lea ecx, [ebp - 0x30]
call fcn.00404357
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x7c]
mov ecx, dword [esi + 0xcc]
mov eax, dword [ecx]
push edi
call dword [eax]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.00409166
add esp, 0xc
mov byte [ebp - 4], 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.00409db5
mov byte [ebp - 4], 0xb
push ebx
push 1
lea ecx, [ebp - 0xbc]
call fcn.004035da
mov ecx, dword [esi + 0xcc]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.00409166
add esp, 0xc
mov byte [ebp - 4], 0xd
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.00409db5
mov byte [ebp - 4], 0xb
push ebx
push 1
lea ecx, [ebp - 0xdc]
call fcn.004035da
push edi
push ebx
push dword [ebp - 0x74]
lea esi, [ebp - 0xa0]
call fcn.00408bc6
mov esi, eax
call fcn.00408a7c
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.00409166
add esp, 0xc
mov byte [ebp - 4], 0xe
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.00409db5
mov byte [ebp - 4], 0xb
push ebx
push 1
lea ecx, [ebp - 0x168]
call fcn.004035da
push edi
push 1
push dword [ebp - 0x74]
lea esi, [ebp - 0xa0]
call fcn.00408bc6
mov esi, eax
call fcn.00408a7c
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00409166
add esp, 0xc
mov byte [ebp - 4], 0xf
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.00409db5
mov byte [ebp - 4], 0xb
push ebx
push 1
lea ecx, [ebp - 0x130]
call fcn.004035da
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.00408bc6
mov esi, eax
call fcn.00408a7c
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00409166
add esp, 0xc
mov byte [ebp - 4], 0x11
push dword [ebp - 0x84]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004091b5
add esp, 0xc
mov byte [ebp - 4], 0x12
push 0x4ee874
push eax
lea eax, [ebp - 0x1d8]
push eax
call fcn.00409166
add esp, 0xc
mov byte [ebp - 4], 0x13
push dword [ebp - 0x80]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.004091b5
add esp, 0xc
mov byte [ebp - 4], 0x14
push 0x4ee868
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.00409166
add esp, 0xc
mov byte [ebp - 4], 0x15
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.00409db5
mov byte [ebp - 4], 0x14
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x1a0]
call fcn.004035da
mov byte [ebp - 4], 0x13
push ebx
push esi
lea ecx, [ebp - 0xf8]
call fcn.004035da
mov byte [ebp - 4], 0x12
push ebx
push esi
lea ecx, [ebp - 0x1d8]
call fcn.004035da
mov byte [ebp - 4], 0x11
push ebx
push esi
lea ecx, [ebp - 0x114]
call fcn.004035da
mov byte [ebp - 4], 0x10
push ebx
push esi
lea ecx, [ebp - 0x14c]
call fcn.004035da
mov byte [ebp - 4], 0xb
push ebx
push esi
lea ecx, [ebp - 0x184]
call fcn.004035da
mov eax, dword [ebp - 0x7c]
add eax, 0x208
inc word [eax]
movzx eax, word [eax]
movzx ecx, ax
lea esi, [ebp - 0x1f4]
call fcn.0044ea50
mov byte [ebp - 4], 0x16
push str.__TEMPORARY
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.00409166
add esp, 0xc
mov byte [ebp - 4], 0x17
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.00409db5
mov byte [ebp - 4], 0x16
push ebx
push 1
lea ecx, [ebp - 0x1bc]
call fcn.004035da
mov byte [ebp - 4], 0xb
push ebx
push 1
mov ecx, esi
call fcn.004035da
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x6c], ebx
je 0x40826d
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.00491295
pop ecx
cmp eax, ebx
je 0x40828b
push dword [ebp - 0x6c]
call sub.msi.dll_MsiViewGetErrorW
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x6c], ebx
je 0x40829c
push dword [ebp - 0x6c]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov byte [ebp - 4], 9
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004035da
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 0x407f67
mov byte [ebp - 4], 8
lea eax, [ebp - 0xa0]
push eax
call fcn.00408b7d
mov byte [ebp - 4], 7
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.004035da
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.004035da
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x70], ebx
je 0x40830d
push dword [ebp - 0x70]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
call fcn.004b81ce
ret 4