Function at 0x403625
Capabilities:
Delete registry key

Disassembly:
push 0x108
mov eax, 0x4361a4
call fcn.00422682
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push str.InterbootContext
lea ecx, [ebp - 0x14]
call fcn.00404405
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
mov esi, dword [ebp + 8]
push esi
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e91b
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402471
cmp dword [esi + 8], 0
je 0x403740
cmp byte [ebx + 5], 0
mov dword [ebp - 0x38], 0x443640
mov dword [ebp - 0x34], esi
je 0x403692
push 0
push 0
lea ecx, [ebp - 0x38]
call fcn.00402c7b
jmp 0x4036b8
push ecx
lea ecx, [ebp - 0x38]
call fcn.00402ca0
movzx eax, al
lea ecx, [ebx + 0x108]
push eax
push 0xdf
call fcn.0040bba9
lea eax, [ebp - 0x38]
push eax
call fcn.0040bc4a
mov eax, dword [esi + 8]
xor edi, edi
mov dword [ebp + 8], eax
test eax, eax
jle 0x4036f6
lea eax, [esi + 4]
push edi
mov ecx, eax
call fcn.004094de
mov eax, dword [eax + 0x60]
cmp eax, 2
je 0x40378b
cmp eax, 1
je 0x40378b
cmp eax, 3
je 0x40378b
inc edi
lea eax, [esi + 4]
cmp edi, dword [ebp + 8]
jl 0x4036c7
cmp byte [0x44fccc], 0
je 0x403740
call fcn.0040219e
push eax
lea ecx, [ebp + 8]
call fcn.00401fe1
mov esi, str.No_prerequisite_must_be_installed.
mov byte [ebp - 4], 4
push esi
call fcn.00425b9b
pop ecx
push eax
push esi
lea ecx, [ebp + 8]
call fcn.00404e09
lea eax, [ebp + 8]
mov ecx, 0x44fc98
push eax
call fcn.004117dd
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00402471
xor edi, edi
mov dword [ebp - 4], 0xd
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], 0x445880
je 0x403762
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 0x24]
pop ecx
pop ecx
cmp byte [ebp - 0x20], 0
je 0x403776
push dword [ebp - 0x28]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402471
mov eax, edi
call fcn.0042265c
ret 4
lea ecx, [ebx + 0x114]
call fcn.0040bdbf
lea ecx, [ebp - 0x2c]
xor edi, edi
push ecx
lea eax, [ebx + 0x108]
push eax
lea eax, [ebx + 8]
push eax
push esi
push ecx
lea ecx, [ebp - 0xbc]
call fcn.0040f0c6
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.00408924
test al, al
je 0x40387e
cmp byte [0x44fccc], 0
je 0x403815
call fcn.0040219e
push eax
lea ecx, [ebp + 8]
call fcn.00401fe1
mov esi, str.Starting_installing_prerequisites_in_silent_mode.
mov byte [ebp - 4], 7
push esi
call fcn.00425b9b
pop ecx
push eax
push esi
lea ecx, [ebp + 8]
call fcn.00404e09
lea eax, [ebp + 8]
mov ecx, 0x44fc98
push eax
call fcn.004117dd
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x10]
call fcn.00402471
lea ecx, [ebp - 0xbc]
mov byte [ebp - 0x88], 1
call fcn.00410951
xor esi, esi
lea ecx, [ebp - 0xbc]
push esi
call fcn.0040f415
push esi
lea ecx, [ebp - 0xbc]
call fcn.0040fd68
push esi
lea ecx, [ebp - 0xbc]
call fcn.004104e5
cmp byte [ebp - 0x57], 0
jne 0x403960
push ecx
lea ecx, [ebp - 0xbc]
call fcn.0040f23d
lea ecx, [ebp - 0xbc]
call fcn.004107b8
test al, al
jne 0x403960
xor edi, edi
inc edi
jmp 0x403960
mov ecx, esi
call fcn.00408957
test al, al
je 0x403960
cmp byte [0x44fccc], 0
je 0x4038db
call fcn.0040219e
push eax
lea ecx, [ebp + 8]
call fcn.00401fe1
mov esi, str.Starting_installing_prerequisites_in_basic_UI_mode.
mov byte [ebp - 4], 8
push esi
call fcn.00425b9b
pop ecx
push eax
push esi
lea ecx, [ebp + 8]
call fcn.00404e09
lea eax, [ebp + 8]
mov ecx, 0x44fc98
push eax
call fcn.004117dd
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00402471
push 0
lea ecx, [ebx + 0x108]
call fcn.0040ba8c
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x114]
call fcn.004112e7
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.00410951
push ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x114]
call fcn.004115c9
push 0xffffffffffffffff
push dword [ebp - 0xdc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xdc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0xdc], 0
sub esi, 1
je 0x40394f
sub esi, 6
jne 0x403951
xor edi, edi
inc edi
jmp 0x403951
xor edi, edi
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 6
call fcn.00411376
mov al, byte [0x44fccc]
mov esi, str.true
test al, al
je 0x4039fb
call fcn.0040219e
push eax
lea ecx, [ebp + 8]
call fcn.00401fe1
mov byte [ebp - 4], 0xa
mov bl, byte [ebp - 0x57]
push str.After_running_prerequisites_we_have:
call fcn.00425b9b
pop ecx
push eax
push str.After_running_prerequisites_we_have:
lea ecx, [ebp + 8]
call fcn.00404e09
push str.__Reboot_was_required
call fcn.00425b9b
pop ecx
push eax
push str.__Reboot_was_required
lea ecx, [ebp + 8]
call fcn.00404e09
test bl, bl
mov eax, str.false
cmove esi, eax
push esi
call fcn.00425b9b
pop ecx
push eax
push esi
lea ecx, [ebp + 8]
call fcn.00404e09
lea eax, [ebp + 8]
mov ecx, 0x44fc98
push eax
call fcn.004117dd
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x10]
call fcn.00402471
mov al, byte [0x44fccc]
mov esi, str.true
cmp byte [ebp - 0x57], 0
je 0x403af0
test al, al
je 0x403a74
call fcn.0040219e
push eax
lea ecx, [ebp + 8]
call fcn.00401fe1
mov byte [ebp - 4], 0xb
mov bl, byte [ebp - 0x58]
push str.__Reboot_was_refused
call fcn.00425b9b
pop ecx
push eax
push str.__Reboot_was_refused
lea ecx, [ebp + 8]
call fcn.00404e09
test bl, bl
mov eax, str.false
cmove esi, eax
push esi
call fcn.00425b9b
pop ecx
push eax
push esi
lea ecx, [ebp + 8]
call fcn.00404e09
lea eax, [ebp + 8]
mov ecx, 0x44fc98
push eax
call fcn.004117dd
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x10]
call fcn.00402471
mov al, byte [0x44fccc]
mov cl, byte [ebp - 0x58]
test cl, cl
jne 0x403ae6
test al, al
je 0x403ae6
call fcn.0040219e
push eax
lea ecx, [ebp + 8]
call fcn.00401fe1
mov esi, str.__Reboot_in_Progress
mov byte [ebp - 4], 0xc
mov bl, byte [ebp - 0x40]
push esi
call fcn.00425b9b
pop ecx
push eax
push esi
lea ecx, [ebp + 8]
call fcn.00404e09
test bl, bl
mov eax, str.false
mov ebx, str.true
cmove ebx, eax
push ebx
call fcn.00425b9b
pop ecx
push eax
push ebx
lea ecx, [ebp + 8]
call fcn.00404e09
lea eax, [ebp + 8]
mov ecx, 0x44fc98
push eax
call fcn.004117dd
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402471
mov cl, byte [ebp - 0x58]
cmp byte [ebp - 0x57], 0
je 0x403af0
test cl, cl
je 0x403af6
cmp byte [ebp - 0x40], 0
je 0x403b06
mov eax, dword [ebp - 0x18]
or edi, 0xffffffff
mov byte [ebp - 0x20], 0
mov byte [eax + 4], 1
jmp 0x403b09
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x6c]
mov dword [eax], edi
call fcn.00404a5a
lea ecx, [ebp - 0xa0]
call fcn.00410b2c
mov ecx, dword [ebp - 0xa8]
lea ecx, [ecx - 0x10]
call fcn.00402471
jmp 0x403742