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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x43fed4
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d4c
xor eax, eax
push ebp
push 0x440158
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404964
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x440170
call fcn.00404e4c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404dc4
mov edx, dword [ebp - 8]
mov eax, 0x440170
call fcn.00404e4c
mov ecx, eax
lea eax, [ebp - 8]
mov edx, 1
call fcn.00404e04
mov edx, dword [ebp - 8]
mov eax, edx
test eax, eax
je 0x43ff4c
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
cmp byte [ecx + eax - 1], 0x5c
jne 0x4400aa
mov ebx, edx
test ebx, ebx
je 0x43ff65
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.00404dc4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x43ff85
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0xc]
push eax
mov dl, 0x5c
mov eax, dword [ebp - 8]
call fcn.0043f880
mov edx, eax
inc edx
mov ecx, ebx
mov eax, dword [ebp - 8]
call fcn.00404dc4
mov dl, 0x5c
mov eax, dword [ebp - 8]
call fcn.0043f880
mov edx, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x43ffb8
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebp - 8]
xchg ecx, eax
call fcn.00404e04
lea eax, [ebp - 0x18]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 8]
call fcn.00404d5c
push eax
mov eax, dword [ebp - 0x10]
call fcn.0043f118
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0043f71c
cmp dword [ebp - 0x1c], 0
jne 0x440010
mov eax, dword [ebp - 0xc]
call fcn.00404d5c
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
jmp 0x440127
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0043f71c
jmp 0x440080
push dword [ebp - 4]
lea eax, [ebp - 0x24]
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x44017c
call fcn.00404e4c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404dc4
push dword [ebp - 0x24]
push 0x440170
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404c60
mov eax, dword [ebp - 0x20]
call fcn.0043fecc
mov ebx, eax
test bl, bl
je 0x440091
mov edx, dword [ebp - 0x14]
mov eax, 0x44017c
call fcn.00404e4c
mov ecx, eax
lea eax, [ebp - 0x14]
mov edx, 1
call fcn.00404e04
mov edx, dword [ebp - 0x14]
mov eax, 0x44017c
call fcn.00404e4c
test eax, eax
jg 0x44001d
mov eax, dword [ebp - 0xc]
call fcn.00404d5c
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
jmp 0x440127
mov ebx, edx
test ebx, ebx
je 0x4400b5
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0xc]
push eax
mov dl, 0x5c
mov eax, dword [ebp - 8]
call fcn.0043f880
mov edx, eax
inc edx
mov ecx, ebx
mov eax, dword [ebp - 8]
call fcn.00404dc4
mov dl, 0x5c
mov eax, dword [ebp - 8]
call fcn.0043f880
mov edx, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x4400e8
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebp - 8]
xchg ecx, eax
call fcn.00404e04
lea eax, [ebp - 0x18]
push eax
push 2
push 0
mov eax, dword [ebp - 8]
call fcn.00404d5c
push eax
mov eax, dword [ebp - 0x10]
call fcn.0043f118
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
mov eax, dword [ebp - 0xc]
call fcn.00404d5c
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 0x44015f
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004048f0
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004048f0
ret