Function at 0x454ea4
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x454eac
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405754
xor eax, eax
push ebp
push 0x455130
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405350
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x455148
call fcn.00405854
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004057cc
mov edx, dword [ebp - 8]
mov eax, 0x455148
call fcn.00405854
mov ecx, eax
lea eax, [ebp - 8]
mov edx, 1
call fcn.0040580c
mov edx, dword [ebp - 8]
mov eax, edx
test eax, eax
je 0x454f24
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
cmp byte [ecx + eax - 1], 0x5c
jne 0x455082
mov ebx, edx
test ebx, ebx
je 0x454f3d
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004057cc
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x454f5d
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0xc]
push eax
mov dl, 0x5c
mov eax, dword [ebp - 8]
call fcn.00454850
mov edx, eax
inc edx
mov ecx, ebx
mov eax, dword [ebp - 8]
call fcn.004057cc
mov dl, 0x5c
mov eax, dword [ebp - 8]
call fcn.00454850
mov edx, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x454f90
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebp - 8]
xchg ecx, eax
call fcn.0040580c
lea eax, [ebp - 0x18]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 8]
call fcn.00405764
push eax
mov eax, dword [ebp - 0x10]
call fcn.00453c14
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004546ec
cmp dword [ebp - 0x1c], 0
jne 0x454fe8
mov eax, dword [ebp - 0xc]
call fcn.00405764
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
jmp 0x4550ff
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004546ec
jmp 0x455058
push dword [ebp - 4]
lea eax, [ebp - 0x24]
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x455154
call fcn.00405854
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.004057cc
push dword [ebp - 0x24]
push 0x455148
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00405668
mov eax, dword [ebp - 0x20]
call fcn.00454ea4
mov ebx, eax
test bl, bl
je 0x455069
mov edx, dword [ebp - 0x14]
mov eax, 0x455154
call fcn.00405854
mov ecx, eax
lea eax, [ebp - 0x14]
mov edx, 1
call fcn.0040580c
mov edx, dword [ebp - 0x14]
mov eax, 0x455154
call fcn.00405854
test eax, eax
jg 0x454ff5
mov eax, dword [ebp - 0xc]
call fcn.00405764
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
jmp 0x4550ff
mov ebx, edx
test ebx, ebx
je 0x45508d
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0xc]
push eax
mov dl, 0x5c
mov eax, dword [ebp - 8]
call fcn.00454850
mov edx, eax
inc edx
mov ecx, ebx
mov eax, dword [ebp - 8]
call fcn.004057cc
mov dl, 0x5c
mov eax, dword [ebp - 8]
call fcn.00454850
mov edx, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x4550c0
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebp - 8]
xchg ecx, eax
call fcn.0040580c
lea eax, [ebp - 0x18]
push eax
push 2
push 0
mov eax, dword [ebp - 8]
call fcn.00405764
push eax
mov eax, dword [ebp - 0x10]
call fcn.00453c14
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
mov eax, dword [ebp - 0xc]
call fcn.00405764
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
sete bl
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455137
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004052dc
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004052dc
ret