Function at 0x454a40
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ab48
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b3014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x21], 0
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x454a84
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
call fcn.00469aee
push eax
lea eax, [ebp - 0x1c]
push str.tempo__d
push eax
call fcn.0042fcb0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push 0x2001f
push 0
push str.SOFTWARE
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x1c]
or ebx, 0xffffffff
test eax, eax
jne 0x454c3e
push dword [esi - 0xc]
push esi
push 1
push esi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
jne 0x454af8
push esi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov byte [ebp - 0x21], 1
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x21], 0
je 0x454c3e
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x454b20
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 1
push 0x49c308
lea edi, [ebp - 0x14]
call fcn.0042d680
mov ecx, edi
call fcn.00459e90
add esp, 4
test al, al
jne 0x454b64
push ecx
mov ecx, esp
push str.ProgramFiles
call fcn.0042d680
mov ecx, edi
call fcn.00459e90
add esp, 4
mov edi, dword [ebp - 0x14]
mov eax, dword [edi - 0xc]
test eax, eax
je 0x454c23
lea ecx, [eax - 1]
test ecx, ecx
js 0x454c79
cmp ecx, eax
jg 0x454c79
cmp word [edi + ecx*2], 0x5c
je 0x454b9b
push 1
push 0x49a36c
lea ecx, [ebp - 0x14]
call fcn.0042e600
push dword [esi - 0xc]
lea ecx, [ebp - 0x14]
push esi
call fcn.0042e600
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x454bbc
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00456930
mov edi, dword [ebp - 0x14]
neg al
mov ebx, esp
mov byte [ebp - 0x22], 1
sbb al, al
mov dword [ebp - 0x28], ebx
and byte [ebp - 0x21], al
lea ecx, [edi - 0x10]
call fcn.0042ed60
mov cl, byte [ebp - 0x22]
lea edx, [ebp - 0x18]
add eax, 0x10
mov dword [ebx], eax
call fcn.004566c0
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov edx, dword [ebp - 0x18]
add esp, 4
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454c23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x454c3e
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x454c5a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x21]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f17f
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0041ffd0
int3