Function at 0x458c87
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov ecx, str.InterbootContext
call fcn.00451160
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
mov esi, 0x4e1b70
push eax
mov dword [ebp - 0x18], esi
call fcn.0044dda0
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x10], 0x45b510
mov byte [ebp - 0xc], 1
mov dword [ebp - 8], edi
call fcn.004399d0
mov ebx, dword [ebp + 8]
test byte [ebx + 0x6c], 2
jne 0x458d14
mov dword [ebp - 0x18], esi
cmp dword [ebp - 8], 0
je 0x458cee
push dword [ebp - 8]
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x10]
pop ecx
pop ecx
cmp byte [ebp - 0xc], 0
je 0x458d02
push dword [ebp - 0x14]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [ebp - 0x14]
push eax
call fcn.004399d0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
lea esi, [ebx + 0x18]
push 0x15
call fcn.004657b5
test eax, eax
je 0x458d2b
mov dword [ebp - 0x18], 0x4e1b70
jmp 0x458cdc
mov eax, dword [edi + 0x34]
mov dword [ebx + 0xa8], eax
mov al, byte [edi + 0x38]
mov byte [ebx + 0xac], al
cmp dword [edi + 8], 0
jle 0x458d75
push 0x14
call fcn.004657b5
test eax, eax
je 0x458d59
add eax, 4
push eax
mov eax, edi
call fcn.0045c4a7
mov dword [ebp - 0x20], edi
push 0xdf
lea edi, [ebp - 0x24]
mov eax, ebx
mov dword [ebp - 0x24], 0x4db70c
call fcn.0045949c
mov edi, dword [ebp + 0xc]
mov eax, edi
call fcn.0045c559
test al, al
jne 0x458ded
cmp byte [0x506010], al
je 0x458daf
push str.No_prerequisite_must_be_installed.
lea eax, [ebp + 8]
push eax
call fcn.00466612
push eax
call fcn.00466622
push eax
mov eax, 0x505fe0
call fcn.00465a03
lea ecx, [ebp + 8]
call fcn.004058e3
xor esi, esi
mov dword [ebp - 0x18], 0x4e1b70
cmp dword [ebp - 8], esi
je 0x458dc9
push dword [ebp - 8]
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x10]
pop ecx
pop ecx
cmp byte [ebp - 0xc], 0
je 0x458ddd
push dword [ebp - 0x14]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [ebp - 0x14]
push eax
call fcn.004399d0
mov eax, esi
jmp 0x458d0d
lea esi, [ebx + 0x138]
mov eax, esi
call fcn.004654d3
and dword [ebp + 0xc], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebx + 0x28]
push esi
push eax
mov eax, ebx
mov ecx, edi
lea ebx, [ebp - 0xa0]
call fcn.00469332
push edi
call fcn.0045c2b1
test al, al
je 0x458eba
xor ebx, ebx
cmp byte [0x506010], bl
je 0x458e55
push str.Starting_installing_prerequisites_in_silent_mode.
lea eax, [ebp - 4]
push eax
call fcn.00466612
push eax
call fcn.00466622
push eax
mov eax, 0x505fe0
call fcn.00465a03
lea ecx, [ebp - 4]
call fcn.004058e3
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 0x70], 1
call fcn.0046a3bc
push ebx
lea eax, [ebp - 0xa0]
push eax
call fcn.0046974e
push ebx
lea ebx, [ebp - 0xa0]
call fcn.00469d02
push 0
call fcn.0046a0ba
xor ebx, ebx
cmp byte [ebp - 0x4b], bl
jne 0x459039
lea eax, [ebp - 0xa0]
call fcn.00469530
lea edi, [ebp - 0xa0]
call fcn.0046a2af
test al, al
jne 0x459039
mov dword [ebp + 0xc], 1
jmp 0x459039
push edi
call fcn.0045c379
test al, al
je 0x458f54
cmp byte [0x506010], 0
je 0x458ef8
push str.Starting_installing_prerequisites_in_basic_UI_mode.
lea eax, [ebp - 4]
push eax
call fcn.00466612
push eax
call fcn.00466622
push eax
mov eax, 0x505fe0
call fcn.00465a03
lea ecx, [ebp - 4]
call fcn.004058e3
push 0
mov eax, esi
call fcn.004653f4
push eax
lea eax, [ebp - 0xa0]
lea esi, [ebp - 0xf8]
call fcn.0046a7b4
lea eax, [ebp - 0xa0]
push eax
call fcn.0046a3bc
mov ebx, esi
call fcn.0046a840
dec eax
je 0x458f40
dec eax
je 0x458f3a
sub eax, 5
jne 0x458f44
mov dword [ebp + 0xc], 1
jmp 0x458f44
or dword [ebp + 0xc], 0xffffffff
jmp 0x458f44
and dword [ebp + 0xc], 0
lea edi, [ebp - 0xf8]
call fcn.0046a814
jmp 0x459037
cmp byte [0x506010], 0
je 0x458f84
push str.Starting_installing_prerequisites_in_full_UI_mode.
lea eax, [ebp - 4]
push eax
call fcn.00466612
push eax
call fcn.00466622
push eax
mov eax, 0x505fe0
call fcn.00465a03
lea ecx, [ebp - 4]
call fcn.004058e3
push esi
lea eax, [ebp - 0xa0]
push eax
lea ebx, [ebp - 0x660]
call fcn.0046aa63
call dword [sym.imp.USER32.dll_GetActiveWindow]
and dword [ebp - 0x638], 0xfffffbff
xor ebx, ebx
cmp dword [ebp - 0x634], ebx
jne 0x458fb7
mov dword [ebp - 0x634], eax
mov eax, dword [ebp - 0x614]
mov dword [ebp - 0x61c], eax
mov eax, dword [ebp - 0x610]
mov dword [ebp - 0x624], eax
lea eax, [ebp - 0x660]
push eax
lea esi, [ebp - 0x658]
call fcn.00410cad
lea eax, [ebp - 0x63c]
push eax
call dword [sym.imp.COMCTL32.dll_PropertySheetW]
mov dword [ebp - 0x624], ebx
mov dword [ebp - 0x61c], ebx
cmp dword [ebp - 0x614], ebx
je 0x459014
push dword [ebp - 0x614]
call fcn.0049cebc
pop ecx
mov dword [ebp - 0x614], ebx
mov dword [ebp - 0x610], ebx
mov dword [ebp - 0x60c], ebx
cmp byte [ebp - 0x5db], bl
je 0x45902c
or dword [ebp + 0xc], 0xffffffff
lea ebx, [ebp - 0x660]
call fcn.00459173
xor ebx, ebx
cmp byte [0x506010], bl
je 0x459080
push dword [ebp - 0x4b]
lea eax, [ebp - 4]
push str.__Reboot_was_required
push str.After_running_prerequisites_we_have:
push eax
call fcn.00466612
push eax
call fcn.00466622
push eax
call fcn.00466622
push eax
call fcn.0046663d
push eax
mov esi, 0x505fe0
mov eax, esi
call fcn.00465a03
lea ecx, [ebp - 4]
call fcn.004058e3
jmp 0x459085
mov esi, 0x505fe0
cmp byte [ebp - 0x4b], bl
je 0x459103
cmp byte [0x506010], bl
je 0x4590bf
push dword [ebp - 0x4c]
lea eax, [ebp - 4]
push str.__Reboot_was_refused
push eax
call fcn.00466612
push eax
call fcn.00466622
push eax
call fcn.0046663d
push eax
mov eax, esi
call fcn.00465a03
lea ecx, [ebp - 4]
call fcn.004058e3
cmp byte [ebp - 0x4c], bl
jne 0x4590f9
cmp byte [0x506010], bl
je 0x4590f9
push dword [ebp - 0x30]
lea eax, [ebp - 4]
push str.__Reboot_in_Progress
push eax
call fcn.00466612
push eax
call fcn.00466622
push eax
call fcn.0046663d
push eax
mov eax, esi
call fcn.00465a03
lea ecx, [ebp - 4]
call fcn.004058e3
cmp byte [ebp - 0x4b], bl
je 0x459103
cmp byte [ebp - 0x4c], bl
je 0x459108
cmp byte [ebp - 0x30], bl
je 0x459119
mov eax, dword [ebp + 8]
or dword [ebp + 0xc], 0xffffffff
mov byte [ebp - 0xc], bl
mov byte [eax + 0x184], 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edi, [ebp - 0x60]
mov dword [ecx + 0x10], eax
call fcn.0045bdd5
lea esi, [ebp - 0x84]
call fcn.0045bd8d
lea ecx, [ebp - 0x88]
call fcn.004058e3
mov dword [ebp - 0x18], 0x4e1b70
cmp dword [ebp - 8], ebx
je 0x459158
push dword [ebp - 8]
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x10]
pop ecx
pop ecx
cmp byte [ebp - 0xc], bl
je 0x45916b
push dword [ebp - 0x14]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, dword [ebp + 0xc]
jmp 0x458ddd