Function at 0x420ef4
Capabilities:
Accept command line arguments
Delete registry value
Set registry value

Disassembly:
mov eax, 0x49a54d
call fcn.0047d43c
sub esp, 0x31c
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.00401166
mov esi, eax
xor edi, edi
lea eax, [ebp - 0x1d]
mov ebx, 0x4a36b8
push edi
push eax
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x64], 0x4a36b0
call fcn.00403cd9
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00435870
test al, al
je 0x421490
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x88]
push 1
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0041fd53
test eax, eax
je 0x4214a6
mov eax, str.ScriptDriven
mov dword [ebp - 0x54], 0x4a3670
mov ecx, eax
mov dword [ebp - 0x34], 0x4a3668
test ecx, ecx
jne 0x420f8d
mov eax, 0x4c6e10
lea ecx, [ebp - 0xd]
push edi
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.004011a9
lea eax, [ebp - 0xf]
push 1
push eax
lea ecx, [ebp - 0xd8]
push dword [0x4a3800]
mov byte [ebp - 4], 1
call fcn.00401884
push 0xa
lea eax, [ebp - 0x54]
push edi
push eax
lea eax, [ebp - 0xd8]
mov ecx, esi
push eax
mov byte [ebp - 4], 2
call fcn.00435c72
cmp eax, 3
lea ecx, [ebp - 0xd8]
sete byte [ebp - 0xe]
mov byte [ebp - 4], 1
call fcn.00401093
and byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00401093
cmp byte [ebp - 0xe], 0
je 0x421107
and byte [ebp - 0x4c], 0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x4b]
and byte [ebp - 0x328], 0
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x7f
xor eax, eax
pop ecx
lea edi, [ebp - 0x327]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x4c]
push eax
push str.Msi.DLL
call fcn.00448adf
lea eax, [ebp - 0x4c]
push eax
push str.4.05.0.0
call fcn.00449449
add esp, 0x14
test eax, eax
jge 0x421105
mov eax, 0x6b1
push eax
mov dword [0x4c8ee0], eax
call fcn.004489b4
cmp byte [0x4c6914], 0
pop ecx
jne 0x421076
cmp byte [0x4c9568], 0
je 0x4212f0
lea eax, [ebp - 0xf]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0xd8]
call fcn.00401884
mov eax, str.Windows_Installer_4.5_or_newer_is_required_to_run_this_installation_but_is_not_present_on_the_machine._Setup_will_now_exit.
mov byte [ebp - 4], 3
mov ecx, eax
mov dword [ebp - 0xb0], 0x4a3670
test ecx, ecx
mov dword [ebp - 0x90], 0x4a3668
jne 0x4210b4
mov eax, 0x4c6e10
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.004011a9
lea eax, [ebp - 0xd8]
push 0x402
push eax
lea eax, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 4
call fcn.0048dff0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 3
call fcn.00401093
and byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00401093
jmp 0x4212f0
xor edi, edi
cmp dword [ebp - 0x28], edi
jne 0x42116c
cmp byte [esi + 0x16a], 0
je 0x42116c
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
lea edx, [ebp - 0x100]
push 5
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 5
push ecx
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00426e1c
mov ebx, eax
lea ecx, [ebp - 0x100]
neg ebx
sbb bl, bl
and byte [ebp - 4], 0
inc bl
call fcn.00402438
test bl, bl
je 0x421165
mov ecx, dword [ebp - 0x18]
call fcn.00428f99
xor esi, esi
jmp 0x42147d
mov ebx, 0x4a36b8
xor edi, edi
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0xf]
push edi
push eax
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 6
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x108], 0x4a36b0
call fcn.00403cd9
mov ecx, dword [esi + 0x16c]
lea eax, [ebp - 0x100]
push eax
mov byte [ebp - 4], 7
call fcn.0040f2ac
mov eax, dword [eax + 8]
mov byte [ebp - 4], 8
cmp eax, edi
jne 0x4211b9
mov eax, 0x4a36e0
push eax
lea eax, [ebp - 0x128]
push 0x4bc540
push eax
call fcn.0040f4b6
add esp, 0xc
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 7
call fcn.00402438
mov ecx, esi
call fcn.00436693
test al, al
je 0x42132c
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax]
test eax, eax
jne 0x42132c
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
push 0xf
call dword [eax + 0x28]
test al, al
je 0x42132c
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 9
call fcn.00421c2c
mov eax, dword [ebp - 0x4c]
mov ebx, 0x4a368c
cmp eax, edi
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x24], ebx
je 0x421243
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xd]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0x100]
call fcn.00401884
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0xb
cmp eax, edi
jne 0x421266
mov eax, ebx
push dword [ebp - 0x24]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x58], 0x41c
push str.Installing_silent_prerequisites_for_features:__s
push eax
call fcn.0040a47f
add esp, 0xc
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xa
call fcn.00401093
cmp dword [ebp - 0x48], edi
je 0x421306
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x54]
push 1
push eax
push edi
call fcn.0043a9af
test eax, eax
je 0x421306
mov ecx, dword [ebp - 0x18]
call fcn.00428f99
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
call fcn.00401093
cmp dword [ebp - 0x1c], edi
je 0x4212d0
push dword [ebp - 0x1c]
call fcn.0044c617
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 6
call fcn.00402438
cmp dword [ebp - 0x14], edi
je 0x4212f0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00402438
xor eax, eax
jmp 0x4214b7
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 9
call fcn.00401093
cmp dword [ebp - 0x1c], edi
mov byte [ebp - 4], 7
je 0x42142c
push dword [ebp - 0x1c]
call fcn.0044c617
jmp 0x42142c
mov eax, dword [esi + 4]
add esi, 4
push 0xf
mov ecx, esi
call dword [eax + 0x28]
test al, al
je 0x42142c
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersion
push SysReAllocStringLen
lea ecx, [ebp - 0x14]
call fcn.00419f99
test eax, eax
jne 0x42142c
lea eax, [ebp - 0xd]
push edi
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xb8], 0x4a36b0
call fcn.00403cd9
mov eax, dword [esi]
lea ecx, [ebp - 0xb0]
push 0x12
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xc
call dword [eax + 0x1c]
cmp dword [ebp - 0xa4], edi
mov byte [ebp - 4], 0xd
jne 0x4213dd
lea eax, [ebp - 0xe]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x100]
call fcn.00402e7f
lea eax, [ebp - 0x100]
lea ecx, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 0xe
call fcn.004024b2
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xd
call fcn.00402438
lea ecx, [ebp - 0xb0]
call fcn.004042dd
lea ecx, [ebp - 0x128]
mov esi, eax
call fcn.004042dd
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
push 1
push edi
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0xc
call fcn.00402438
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 7
call fcn.00402438
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x84]
push dword [ebp - 0x2c]
push eax
call fcn.00422b70
cmp dword [ebp - 0x14], edi
mov esi, eax
je 0x42145d
lea ecx, [ebp - 0x128]
call fcn.004042dd
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 6
call fcn.00402438
cmp dword [ebp - 0x14], edi
je 0x42147d
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00402438
mov eax, esi
jmp 0x4214b7
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 0x4c]
test al, al
je 0x4214a6
mov ecx, esi
call fcn.00435933
mov edi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00402438
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret