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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x44db90
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056d0
xor eax, eax
push ebp
push 0x44de14
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004052cc
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x44de2c
call fcn.004057d0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405748
mov edx, dword [ebp - 8]
mov eax, 0x44de2c
call fcn.004057d0
mov ecx, eax
lea eax, [ebp - 8]
mov edx, 1
call fcn.00405788
mov edx, dword [ebp - 8]
mov eax, edx
test eax, eax
je 0x44dc08
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
cmp byte [ecx + eax - 1], 0x5c
jne 0x44dd66
mov ebx, edx
test ebx, ebx
je 0x44dc21
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.00405748
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x44dc41
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0xc]
push eax
mov dl, 0x5c
mov eax, dword [ebp - 8]
call fcn.0044d53c
mov edx, eax
inc edx
mov ecx, ebx
mov eax, dword [ebp - 8]
call fcn.00405748
mov dl, 0x5c
mov eax, dword [ebp - 8]
call fcn.0044d53c
mov edx, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x44dc74
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebp - 8]
xchg ecx, eax
call fcn.00405788
lea eax, [ebp - 0x18]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 8]
call fcn.004056e0
push eax
mov eax, dword [ebp - 0x10]
call fcn.0044c900
push eax
call sub.advapi32.dll_RegOpenKeyExA
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0044d3d8
cmp dword [ebp - 0x1c], 0
jne 0x44dccc
mov eax, dword [ebp - 0xc]
call fcn.004056e0
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
jmp 0x44dde3
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0044d3d8
jmp 0x44dd3c
push dword [ebp - 4]
lea eax, [ebp - 0x24]
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x44de38
call fcn.004057d0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00405748
push dword [ebp - 0x24]
push 0x44de2c
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004055e4
mov eax, dword [ebp - 0x20]
call fcn.0044db88
mov ebx, eax
test bl, bl
je 0x44dd4d
mov edx, dword [ebp - 0x14]
mov eax, 0x44de38
call fcn.004057d0
mov ecx, eax
lea eax, [ebp - 0x14]
mov edx, 1
call fcn.00405788
mov edx, dword [ebp - 0x14]
mov eax, 0x44de38
call fcn.004057d0
test eax, eax
jg 0x44dcd9
mov eax, dword [ebp - 0xc]
call fcn.004056e0
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
jmp 0x44dde3
mov ebx, edx
test ebx, ebx
je 0x44dd71
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0xc]
push eax
mov dl, 0x5c
mov eax, dword [ebp - 8]
call fcn.0044d53c
mov edx, eax
inc edx
mov ecx, ebx
mov eax, dword [ebp - 8]
call fcn.00405748
mov dl, 0x5c
mov eax, dword [ebp - 8]
call fcn.0044d53c
mov edx, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x44dda4
sub eax, 4
mov eax, dword [eax]
lea ecx, [ebp - 8]
xchg ecx, eax
call fcn.00405788
lea eax, [ebp - 0x18]
push eax
push 2
push 0
mov eax, dword [ebp - 8]
call fcn.004056e0
push eax
mov eax, dword [ebp - 0x10]
call fcn.0044c900
push eax
call sub.advapi32.dll_RegOpenKeyExA
mov eax, dword [ebp - 0xc]
call fcn.004056e0
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
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44de1b
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00405258
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00405258
ret