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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x43ee68
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004042b8
xor eax, eax
push ebp
push 0x43f0d1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00403ea0
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x43f0e8
call fcn.004043b0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404328
mov edx, dword [ebp - 0xc]
mov eax, 0x43f0e8
call fcn.004043b0
mov ecx, eax
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.00404368
mov eax, dword [ebp - 0xc]
call fcn.004040c8
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x5c
jne 0x43f02e
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004040c8
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404328
lea eax, [ebp - 0x10]
push eax
mov dl, 0x5c
mov eax, dword [ebp - 0xc]
call fcn.0043e830
inc eax
push eax
mov eax, dword [ebp - 0xc]
call fcn.004040c8
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00404328
mov dl, 0x5c
mov eax, dword [ebp - 0xc]
call fcn.0043e830
push eax
mov eax, dword [ebp - 0xc]
call fcn.004040c8
mov ecx, eax
lea eax, [ebp - 0xc]
pop edx
call fcn.00404368
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov eax, dword [ebp - 0xc]
call fcn.004042c8
push eax
mov eax, dword [ebp - 0x14]
call fcn.0043e0c8
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0043e6d8
cmp dword [ebp - 0x1c], 0
jne 0x43ef94
mov eax, dword [ebp - 0x10]
call fcn.004042c8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
jmp 0x43f0a5
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0043e6d8
jmp 0x43f004
push dword [ebp - 4]
lea eax, [ebp - 0x24]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x43f0f4
call fcn.004043b0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.00404328
push dword [ebp - 0x24]
push 0x43f0e8
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404188
mov eax, dword [ebp - 0x20]
call fcn.0043ee60
mov ebx, eax
test bl, bl
je 0x43f015
mov edx, dword [ebp - 0x18]
mov eax, 0x43f0f4
call fcn.004043b0
mov ecx, eax
lea eax, [ebp - 0x18]
mov edx, 1
call fcn.00404368
mov edx, dword [ebp - 0x18]
mov eax, 0x43f0f4
call fcn.004043b0
test eax, eax
jg 0x43efa1
mov eax, dword [ebp - 0x10]
call fcn.004042c8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
jmp 0x43f0a5
lea eax, [ebp - 0x10]
push eax
mov dl, 0x5c
mov eax, dword [ebp - 0xc]
call fcn.0043e830
inc eax
push eax
mov eax, dword [ebp - 0xc]
call fcn.004040c8
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.00404328
mov dl, 0x5c
mov eax, dword [ebp - 0xc]
call fcn.0043e830
push eax
mov eax, dword [ebp - 0xc]
call fcn.004040c8
mov ecx, eax
lea eax, [ebp - 0xc]
pop edx
call fcn.00404368
lea eax, [ebp - 8]
push eax
push 2
push 0
mov eax, dword [ebp - 0xc]
call fcn.004042c8
push eax
mov eax, dword [ebp - 0x14]
call fcn.0043e0c8
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
mov eax, dword [ebp - 0x10]
call fcn.004042c8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
sete bl
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f0d8
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00403e2c
lea eax, [ebp - 4]
call fcn.00403e08
ret