Function at 0x4693f2
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b4
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov ecx, str.InterbootContext
call fcn.004611c0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
mov esi, 0x4ff6dc
push eax
mov dword [ebp - 0x18], esi
call fcn.0045d910
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x10], 0x46bf3f
mov byte [ebp - 0xc], 1
mov dword [ebp - 8], edi
call fcn.00447065
mov ebx, dword [ebp + 8]
test byte [ebx + 0x6c], 2
jne 0x46947f
mov dword [ebp - 0x18], esi
cmp dword [ebp - 8], 0
je 0x469459
push dword [ebp - 8]
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x10]
pop ecx
pop ecx
cmp byte [ebp - 0xc], 0
je 0x46946d
push dword [ebp - 0x14]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [ebp - 0x14]
push eax
call fcn.00447065
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
lea esi, [ebx + 0x18]
push 0x15
call fcn.0047716c
test eax, eax
je 0x469496
mov dword [ebp - 0x18], 0x4ff6dc
jmp 0x469447
mov eax, dword [edi + 0x34]
mov dword [ebx + 0xac], eax
mov al, byte [edi + 0x38]
mov byte [ebx + 0xb0], al
cmp dword [edi + 8], 0
jle 0x4694e0
push 0x14
call fcn.0047716c
test eax, eax
je 0x4694c4
add eax, 4
push eax
mov eax, edi
call fcn.0046d134
mov dword [ebp - 0x20], edi
push 0xdf
lea edi, [ebp - 0x24]
mov eax, ebx
mov dword [ebp - 0x24], 0x4f8164
call fcn.00469c33
mov edi, dword [ebp + 0xc]
mov eax, edi
call fcn.0046d1e6
test al, al
jne 0x469558
cmp byte [0x5283d4], al
je 0x46951a
push str.No_prerequisite_must_be_installed.
lea eax, [ebp + 8]
push eax
call fcn.00478183
push eax
call fcn.00478193
push eax
mov eax, 0x5283a4
call fcn.004775b8
lea ecx, [ebp + 8]
call fcn.00402964
xor esi, esi
mov dword [ebp - 0x18], 0x4ff6dc
cmp dword [ebp - 8], esi
je 0x469534
push dword [ebp - 8]
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x10]
pop ecx
pop ecx
cmp byte [ebp - 0xc], 0
je 0x469548
push dword [ebp - 0x14]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [ebp - 0x14]
push eax
call fcn.00447065
mov eax, esi
jmp 0x469478
lea esi, [ebx + 0x168]
mov eax, esi
call fcn.00476e86
and dword [ebp + 0xc], 0
push esi
lea eax, [ebx + 0x28]
push eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x18]
mov edx, edi
mov eax, ebx
call fcn.0047bc59
push edi
call fcn.0046cea0
test al, al
je 0x469626
cmp byte [0x5283d4], 0
je 0x4695bf
push str.Starting_installing_prerequisites_in_silent_mode.
lea eax, [ebp - 4]
push eax
call fcn.00478183
push eax
call fcn.00478193
push eax
mov eax, 0x5283a4
call fcn.004775b8
lea ecx, [ebp - 4]
call fcn.00402964
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 0x78], 1
call fcn.0047cc8f
push 0
lea eax, [ebp - 0xa8]
push eax
call fcn.0047c04a
push 0
lea ebx, [ebp - 0xa8]
call fcn.0047c610
push 0
call fcn.0047c98a
xor ebx, ebx
cmp byte [ebp - 0x47], bl
jne 0x4697a5
lea eax, [ebp - 0xa8]
call fcn.0047be27
lea edi, [ebp - 0xa8]
call fcn.0047cb82
test al, al
jne 0x4697a5
mov dword [ebp + 0xc], 1
jmp 0x4697a5
push edi
call fcn.0046cf68
test al, al
je 0x4696c0
cmp byte [0x5283d4], 0
je 0x469664
push str.Starting_installing_prerequisites_in_basic_UI_mode.
lea eax, [ebp - 4]
push eax
call fcn.00478183
push eax
call fcn.00478193
push eax
mov eax, 0x5283a4
call fcn.004775b8
lea ecx, [ebp - 4]
call fcn.00402964
push 0
mov eax, esi
call fcn.00476d99
push eax
lea eax, [ebp - 0xa8]
lea edi, [ebp - 0x100]
call fcn.0047d13d
lea eax, [ebp - 0xa8]
push eax
call fcn.0047cc8f
mov ebx, edi
call fcn.0047d1d0
dec eax
je 0x4696ac
dec eax
je 0x4696a6
sub eax, 5
jne 0x4696b0
mov dword [ebp + 0xc], 1
jmp 0x4696b0
or dword [ebp + 0xc], 0xffffffff
jmp 0x4696b0
and dword [ebp + 0xc], 0
lea edi, [ebp - 0x100]
call fcn.0047d19d
jmp 0x4697a3
cmp byte [0x5283d4], 0
je 0x4696f0
push str.Starting_installing_prerequisites_in_full_UI_mode.
lea eax, [ebp - 4]
push eax
call fcn.00478183
push eax
call fcn.00478193
push eax
mov eax, 0x5283a4
call fcn.004775b8
lea ecx, [ebp - 4]
call fcn.00402964
push esi
lea eax, [ebp - 0xa8]
push eax
lea ebx, [ebp - 0x6b0]
call fcn.0047d3fc
call dword [sym.imp.USER32.dll_GetActiveWindow]
and dword [ebp - 0x688], 0xfffffbff
xor ebx, ebx
cmp dword [ebp - 0x684], ebx
jne 0x469723
mov dword [ebp - 0x684], eax
mov eax, dword [ebp - 0x658]
mov dword [ebp - 0x66c], eax
mov eax, dword [ebp - 0x654]
mov dword [ebp - 0x674], eax
lea eax, [ebp - 0x6b0]
push eax
lea esi, [ebp - 0x6a8]
call fcn.00417f81
lea eax, [ebp - 0x68c]
push eax
call dword [sym.imp.COMCTL32.dll_PropertySheetW]
mov dword [ebp - 0x674], ebx
mov dword [ebp - 0x66c], ebx
cmp dword [ebp - 0x658], ebx
je 0x469780
push dword [ebp - 0x658]
call fcn.004b1a6a
pop ecx
mov dword [ebp - 0x658], ebx
mov dword [ebp - 0x654], ebx
mov dword [ebp - 0x650], ebx
cmp byte [ebp - 0x617], bl
je 0x469798
or dword [ebp + 0xc], 0xffffffff
lea ebx, [ebp - 0x6b0]
call fcn.004698cb
xor ebx, ebx
cmp byte [0x5283d4], bl
je 0x4697ec
push dword [ebp - 0x47]
lea eax, [ebp - 4]
push str.__Reboot_was_required
push str.After_running_prerequisites_we_have:
push eax
call fcn.00478183
push eax
call fcn.00478193
push eax
call fcn.00478193
push eax
call fcn.004781ae
push eax
mov esi, 0x5283a4
mov eax, esi
call fcn.004775b8
lea ecx, [ebp - 4]
call fcn.00402964
jmp 0x4697f1
mov esi, 0x5283a4
cmp byte [ebp - 0x47], bl
je 0x46986f
cmp byte [0x5283d4], bl
je 0x46982b
push dword [ebp - 0x48]
lea eax, [ebp - 4]
push str.__Reboot_was_refused
push eax
call fcn.00478183
push eax
call fcn.00478193
push eax
call fcn.004781ae
push eax
mov eax, esi
call fcn.004775b8
lea ecx, [ebp - 4]
call fcn.00402964
cmp byte [ebp - 0x48], bl
jne 0x469865
cmp byte [0x5283d4], bl
je 0x469865
push dword [ebp - 0x2c]
lea eax, [ebp - 4]
push str.__Reboot_in_Progress
push eax
call fcn.00478183
push eax
call fcn.00478193
push eax
call fcn.004781ae
push eax
mov eax, esi
call fcn.004775b8
lea ecx, [ebp - 4]
call fcn.00402964
cmp byte [ebp - 0x47], bl
je 0x46986f
cmp byte [ebp - 0x48], bl
je 0x469874
cmp byte [ebp - 0x2c], bl
je 0x469885
mov eax, dword [ebp + 8]
or dword [ebp + 0xc], 0xffffffff
mov byte [ebp - 0xc], bl
mov byte [eax + 0x1b4], 1
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x5c]
mov dword [eax + 0x10], esi
call fcn.0046c939
lea edi, [ebp - 0x90]
call fcn.0047cd83
mov dword [ebp - 0xa4], 0x4f810c
mov dword [ebp - 0x18], 0x4ff6dc
cmp dword [ebp - 8], ebx
je 0x4698c3
push dword [ebp - 8]
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x10]
pop ecx
pop ecx
cmp byte [ebp - 0xc], bl
jmp 0x469538