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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [ebp + 0x14]
and dword [esp], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, edi
mov dword [esp + 0x10], ecx
call fcn.0043e32e
mov esi, eax
test esi, esi
jl 0x43e80b
cmp word [edi], 0x7d
je 0x43e809
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
push str.Delete
push edi
mov dword [esp + 0x1c], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x43e4ac
test ebx, ebx
je 0x43e577
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.0043e32e
mov esi, eax
test esi, esi
jl 0x43e7f8
cmp dword [ebp + 0x10], 0
je 0x43e577
push 0x5c
mov eax, edi
call fcn.0043e207
test eax, eax
pop ecx
jne 0x43e8aa
push edi
call fcn.0043ed40
test eax, eax
je 0x43e4f8
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.00434d96
test ebx, ebx
je 0x43e577
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.0043e32e
mov esi, eax
test esi, esi
jl 0x43e7f8
mov ecx, dword [esp + 0x10]
call fcn.0043ecf7
mov esi, eax
test esi, esi
jl 0x43e7f8
cmp word [edi], 0x7b
jne 0x43e568
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, 1
jne 0x43e568
mov ecx, dword [esp + 0x10]
push 0
push dword [ebp + 0x10]
push dword [esp + 0x14]
push edi
call fcn.0043e43f
mov esi, eax
test esi, esi
jl 0x43e7f8
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.0043e32e
mov esi, eax
test esi, esi
jl 0x43e7f8
cmp word [edi], 0x7d
jne 0x43e47b
jmp 0x43e7f8
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x43e5a0
and dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.0043e32e
mov esi, eax
test esi, esi
jl 0x43e7f8
push 0x4ef4d8
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x43e68d
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x228]
call fcn.0043e32e
mov esi, eax
test esi, esi
jl 0x43e7f8
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.0043e32e
mov esi, eax
test esi, esi
jl 0x43e7f8
cmp word [edi], 0x3d
jne 0x43e8aa
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x43e625
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 0x22c]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
call fcn.0043e901
mov esi, eax
cmp esi, ebx
jge 0x43e524
cmp dword [esp + 0xc], ebx
jmp 0x43e7fd
cmp dword [ebp + 0x14], ebx
jne 0x43e67b
cmp dword [esp + 0x14], ebx
je 0x43e67b
push 0x20006
push ebx
push dword [ebp + 0xc]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
call fcn.0041491e
cmp eax, ebx
jne 0x43e8e0
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x228]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x43e66e
cmp eax, 2
jne 0x43e8c5
test ebx, ebx
je 0x43e679
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov ecx, dword [esp + 0x10]
call fcn.0043ecf7
mov esi, eax
cmp esi, ebx
jmp 0x43e562
push 0x5c
mov eax, edi
call fcn.0043e207
test eax, eax
pop ecx
jne 0x43e8aa
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x43e71c
push 0x2001f
push edi
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
call fcn.0041491e
test eax, eax
je 0x43e6e7
push 0x20019
push edi
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
call fcn.0041491e
test eax, eax
je 0x43e6e7
push edi
push dword [ebp + 0xc]
lea eax, [esp + 0x14]
call fcn.00424973
cmp eax, esi
jne 0x43e7f1
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.0043e32e
mov esi, eax
test esi, esi
jl 0x43e7f8
cmp word [edi], 0x3d
jne 0x43e524
push edi
push 0
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x1c]
call fcn.0043e901
jmp 0x43e51a
cmp dword [ebp + 0x14], esi
jne 0x43e739
push 0x20019
push edi
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
call fcn.0041491e
mov dword [esp + 0x18], eax
jmp 0x43e741
mov dword [esp + 0x18], 2
cmp dword [esp + 0x18], esi
je 0x43e74e
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x28]
push 0x104
push eax
call fcn.00487869
push eax
call fcn.0040e8f0
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov eax, edi
call fcn.0043e32e
mov esi, eax
test esi, esi
jl 0x43e7f8
mov ecx, dword [esp + 0x10]
call fcn.0043ecf7
mov esi, eax
test esi, esi
jl 0x43e7f8
cmp word [edi], 0x7b
jne 0x43e7cb
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, 1
jne 0x43e7cb
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x14]
push edi
call fcn.0043e43f
mov esi, eax
test esi, esi
jge 0x43e7ba
cmp dword [ebp + 0x14], 0
je 0x43e7f8
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.0043e32e
mov esi, eax
test esi, esi
jl 0x43e7f8
cmp dword [esp + 0x18], 2
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x14], eax
je 0x43e568
xor ebx, ebx
cmp dword [esp + 0x18], ebx
je 0x43e814
cmp eax, ebx
jne 0x43e568
mov eax, dword [esp + 0x18]
call fcn.0043f069
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x43e809
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, ebx
je 0x43e855
push dword [esp + 0xc]
call fcn.0043ed6c
test eax, eax
je 0x43e855
lea eax, [esp + 0x20]
push eax
call fcn.0043ed40
test eax, eax
je 0x43e568
cmp dword [esp + 0x14], 0
je 0x43e568
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
call fcn.00434d96
jmp 0x43e568
push dword [esp + 0xc]
call fcn.0043ed6c
cmp dword [esp + 0xc], ebx
mov dword [esp + 0x18], eax
je 0x43e87a
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov dword [esp + 0xc], ebx
jne 0x43e8f7
cmp dword [esp + 0x14], ebx
je 0x43e568
cmp dword [esp + 0x18], 0
jne 0x43e568
lea eax, [esp + 0x20]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x43e7f1
jmp 0x43e568
cmp dword [esp + 0xc], 0
je 0x43e8bb
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x43e80b
call fcn.0043f069
test ebx, ebx
mov esi, eax
je 0x43e7f8
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43e7f8
call fcn.0043f069
cmp dword [esp + 0x14], ebx
mov esi, eax
je 0x43e7f8
push dword [esp + 0x14]
jmp 0x43e8d5
call fcn.0043f069
jmp 0x43e80b