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

Disassembly:
mov eax, 0x47718f
call fcn.004461a8
sub esp, 0x508
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
call fcn.0040104a
mov esi, eax
lea eax, [ebp - 0x21]
mov edi, 0x47e5e0
push 0
push eax
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xac], edi
mov dword [ebp - 0x8c], 0x47e5d8
call fcn.004029f5
and dword [ebp - 4], 0
mov ecx, esi
call fcn.00432b27
test al, al
je 0x41e279
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0xec]
push 1
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.0041cbf3
test eax, eax
je 0x41df65
mov eax, str.ScriptDriven
mov esi, 0x47e5a0
mov ecx, eax
mov ebx, 0x47e598
test ecx, ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x3c], ebx
jne 0x41dd7e
mov eax, 0x49cc4c
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00408d43
mov eax, dword [str.Startup]
mov byte [ebp - 4], 1
test eax, eax
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xb4], ebx
jne 0x41ddab
mov eax, 0x49cc4c
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0xd4]
call fcn.00408d43
mov ecx, dword [ebp - 0x18]
push 0xa
lea eax, [ebp - 0x5c]
push 0
push eax
lea eax, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 2
call fcn.00432f11
cmp eax, 3
lea ecx, [ebp - 0xd4]
sete byte [ebp - 0x19]
mov byte [ebp - 4], 1
call fcn.00401bc7
and byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00401bc7
cmp byte [ebp - 0x19], 0
je 0x41df0c
and word [ebp - 0xe8], 0
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0xe6]
and word [ebp - 0x514], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x512]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0xe8]
push eax
push str.Msi.DLL
call fcn.004412f0
lea eax, [ebp - 0xe8]
push eax
push str.4.05.0.0
call fcn.00441ca8
add esp, 0x14
test eax, eax
jge 0x41df07
mov eax, 0x6b1
push eax
mov dword [0x4a1c0c], eax
call fcn.00440f54
cmp byte [0x49c838], 0
pop ecx
jne 0x41de8f
cmp byte [0x4a22e0], 0
je 0x41e10d
lea eax, [ebp - 0xe]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0x84]
call fcn.00401764
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 - 0x5c], esi
test ecx, ecx
mov dword [ebp - 0x3c], ebx
jne 0x41debf
mov eax, 0x49cc4c
lea ecx, [ebp - 0xd]
push 0
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00408d43
lea eax, [ebp - 0x84]
push 0x408
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 4
call fcn.0046c800
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00401bc7
and byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.00401bc7
jmp 0x41e10d
mov edi, 0x47e5e0
cmp dword [ebp - 0x28], 0
mov esi, dword [ebp - 0x18]
jne 0x41df87
cmp byte [esi + 0x282], 0
je 0x41df87
lea eax, [ebp - 0x84]
push 6
push eax
mov ecx, esi
call fcn.0040832b
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 5
push ecx
mov ecx, dword [ebp - 0x20]
push eax
call fcn.0042372c
mov ebx, eax
lea ecx, [ebp - 0x84]
neg ebx
sbb bl, bl
and byte [ebp - 4], 0
inc bl
call fcn.00401f6c
test bl, bl
je 0x41df87
mov ecx, dword [ebp - 0x20]
call fcn.00425900
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00401f6c
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
and dword [ebp - 0x14], 0
lea eax, [ebp - 0xe]
mov ebx, 0x47e5d8
push 0
push eax
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 6
mov dword [ebp - 0x114], edi
mov dword [ebp - 0xf4], ebx
call fcn.004029f5
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
mov byte [ebp - 4], 7
call fcn.00433442
mov eax, dword [eax + 8]
mov byte [ebp - 4], 8
test eax, eax
jne 0x41dfd3
mov eax, 0x47e608
push eax
lea eax, [ebp - 0x114]
push str.__IS_PREREQCMD____s
push eax
call fcn.00414bf6
add esp, 0xc
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 7
call fcn.00401f6c
mov ecx, esi
call fcn.004337f5
test al, al
je 0x41e14c
cmp dword [esi + 0x24], 0
jne 0x41e14c
push 0x12
mov ecx, esi
call fcn.00408306
test al, al
je 0x41e14c
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xd4]
push eax
mov byte [ebp - 4], 9
call fcn.0041ea6a
mov ebx, dword [ebp - 0xcc]
mov byte [ebp - 4], 0xa
test ebx, ebx
mov edi, 0x47e5b8
jne 0x41e058
mov ebx, edi
lea eax, [ebp - 0xd]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupmsiaction.cpp
lea ecx, [ebp - 0x84]
call fcn.00401764
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0xb
test eax, eax
jne 0x41e07b
mov eax, edi
mov dword [ebp - 0x34], eax
push ebx
lea eax, [ebp - 0x34]
push str.Installing_silent_prerequisites_for_features:__s
push eax
mov dword [ebp - 0x30], 0x422
call fcn.00408437
add esp, 0xc
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xa
call fcn.00401bc7
xor edi, edi
cmp dword [ebp - 0xc8], edi
je 0x41e123
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
lea eax, [ebp - 0xd4]
push 1
push eax
push edi
call fcn.00430376
test eax, eax
je 0x41e123
mov ecx, dword [ebp - 0x20]
call fcn.00425900
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 9
call fcn.00401bc7
cmp dword [ebp - 0x18], edi
je 0x41e0ed
push dword [ebp - 0x18]
call fcn.0044526c
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 6
call fcn.00401f6c
cmp dword [ebp - 0x14], edi
je 0x41e10d
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00401f6c
xor eax, eax
jmp 0x41df78
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 9
call fcn.00401bc7
cmp dword [ebp - 0x18], edi
mov byte [ebp - 4], 7
je 0x41e21b
push dword [ebp - 0x18]
call fcn.0044526c
jmp 0x41e21b
push 0x12
mov ecx, esi
call fcn.00408306
test al, al
je 0x41e219
push 0xf003f
push str.SoftwareMicrosoftWindowsCurrentVersion
push SysReAllocStringLen
lea ecx, [ebp - 0x14]
call fcn.00417d10
test eax, eax
jne 0x41e219
mov dword [ebp - 0x64], ebx
xor ebx, ebx
lea eax, [ebp - 0xd]
push ebx
push eax
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x84], edi
call fcn.004029f5
lea eax, [ebp - 0x5c]
push 0x15
push eax
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0040832b
cmp dword [ebp - 0x50], ebx
mov byte [ebp - 4], 0xd
jne 0x41e1c9
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp eax, ebx
jne 0x41e1c0
mov eax, 0x49cc4c
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403ca9
mov esi, dword [ebp - 0x10c]
cmp esi, ebx
jne 0x41e1d8
mov esi, 0x47e608
mov edi, dword [ebp - 0x54]
cmp edi, ebx
jne 0x41e1e4
mov edi, 0x47e608
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push ebx
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
call fcn.00401f6c
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 7
call fcn.00401f6c
xor edi, edi
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0xac]
push dword [ebp - 0x2c]
push eax
call fcn.0041f997
cmp dword [ebp - 0x14], edi
mov esi, eax
je 0x41e250
mov eax, dword [ebp - 0x10c]
cmp eax, edi
jne 0x41e246
mov eax, 0x47e608
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 6
call fcn.00401f6c
cmp dword [ebp - 0x14], edi
je 0x41df67
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], edi
jmp 0x41df67
mov ecx, esi
call fcn.00432b7f
test al, al
je 0x41df65
mov ecx, esi
call fcn.00432bec
mov esi, eax
jmp 0x41df67