Function at 0x43f36f
Capabilities:
Delete registry key

Disassembly:
push 0x210
mov eax, 0x490d74
call fcn.00458f67
mov esi, ecx
call fcn.004433de
mov edi, 0x80000002
test eax, eax
je 0x43f5d5
lea eax, [ebp - 0x21c]
xor ebx, ebx
push eax
push 0x10109
push ebx
push str.SoftwareMcAfeeMcInst
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, eax
cmp edx, 2
jne 0x43f3ea
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x43f673
cmp dword [0x4c12e0], ebx
je 0x43f673
cmp dword [0x4c3630], ebx
je 0x43f673
mov eax, dword [ecx]
push str.McInst_key_not_present_in_registry._No_key_to_delete
push ecx
call dword [eax + 0x10]
jmp 0x43f671
test edx, edx
je 0x43f419
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x43f646
cmp dword [0x4c12e0], ebx
je 0x43f646
push edx
push str.RegOpenKeyEx___failed._Error:__d._Unable_to_delete_McInst_registry_key
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
jmp 0x43f643
push ebx
push dword [ebp - 0x21c]
call fcn.00443771
mov edx, eax
pop ecx
pop ecx
test edx, edx
je 0x43f44e
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x43f44e
cmp dword [0x4c12e0], ebx
je 0x43f44e
mov eax, dword [ecx]
push edx
push str.Unable_to_delete_McInst_subkeys_and_values_from_registry._Error:__d
push ecx
call dword [eax + 0x18]
add esp, 0xc
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
lea eax, [ebp - 0x110]
push str.SoftwareMcAfeeMcInst
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call fcn.0040b4de
push ebx
push 0x100
push dword [ebp - 0x114]
mov dword [ebp - 4], ebx
push edi
call fcn.0044372e
or dword [ebp - 4], 0xffffffff
mov ebx, eax
lea eax, [ebp - 0x110]
add esp, 0x10
cmp dword [ebp - 0x114], eax
je 0x43f4b0
push dword [ebp - 0x114]
call fcn.0045f1d9
pop ecx
test ebx, ebx
je 0x43f4da
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x43f646
cmp dword [0x4c12e0], 0
je 0x43f646
push ebx
push str...Unable_to_delete_McInst_InstallSettings_key_from_registry._Error:__d
jmp 0x43f40e
call fcn.004433d2
test eax, eax
je 0x43f64a
lea eax, [ebp - 0x21c]
xor ebx, ebx
push eax
push 0x10209
push ebx
push str.SoftwareMcAfeeMcInst
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, eax
cmp edx, 2
je 0x43f3b4
test edx, edx
jne 0x43f3ee
push ebx
push dword [ebp - 0x21c]
call fcn.00443771
mov edx, eax
pop ecx
pop ecx
test edx, edx
je 0x43f54a
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x43f54a
cmp dword [0x4c12e0], ebx
je 0x43f54a
mov eax, dword [ecx]
push edx
push str.Unable_to_delete_McInst_subkeys_and_values_from_registry._Error:__d
push ecx
call dword [eax + 0x18]
add esp, 0xc
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
lea eax, [ebp - 0x214]
push str.SoftwareMcAfeeMcInst
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], eax
call fcn.0040b4de
push ebx
push 0x200
push dword [ebp - 0x218]
mov dword [ebp - 4], 1
push edi
call fcn.0044372e
or dword [ebp - 4], 0xffffffff
mov edi, eax
lea eax, [ebp - 0x214]
add esp, 0x10
cmp dword [ebp - 0x218], eax
je 0x43f5b0
push dword [ebp - 0x218]
call fcn.0045f1d9
pop ecx
test edi, edi
je 0x43f64a
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x43f646
cmp dword [0x4c12e0], 0
je 0x43f646
push edi
jmp 0x43f4d0
mov ebx, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push str.SoftwareMcAfeeMcInstInstallSettings
push edi
call ebx
mov edx, eax
test edx, edx
je 0x43f60d
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x43f646
cmp dword [0x4c12e0], 0
je 0x43f646
cmp dword [0x4c3630], 0
je 0x43f646
push edx
push str.SHDeleteKey___failed._Error:__d._Unable_to_delete_McInst_InstallSettings_key
jmp 0x43f63d
push str.SoftwareMcAfeeMcInst
push edi
call ebx
mov edx, eax
test edx, edx
je 0x43f64a
mov ecx, dword [esi + 0x110]
test ecx, ecx
je 0x43f646
cmp dword [0x4c12e0], 0
je 0x43f646
cmp dword [0x4c3630], 0
je 0x43f646
push edx
push str.SHDeleteKey___failed._Error:__d._Unable_to_delete_McInst_registry_key
mov eax, dword [ecx]
push ecx
call dword [eax + 0x10]
add esp, 0xc
xor al, al
jmp 0x43f675
mov edx, dword [esi + 0x110]
test edx, edx
je 0x43f673
cmp dword [0x4c12e0], 0
je 0x43f673
cmp dword [0x4c3630], 0
je 0x43f673
mov ecx, dword [edx]
push str.Deleted_McInst_registry_keys
push edx
call dword [ecx + 0x10]
pop ecx
pop ecx
mov al, 1
call fcn.00458f11
ret