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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cb606
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
and dword [esp], 0
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
and dword [esp + 0x43c], 0
mov dword [esp + 0x1c], eax
mov eax, ebx
call fcn.0043e7bb
mov esi, eax
test esi, esi
jl 0x43ed3c
cmp word [ebx], 0x7d
je 0x43ed3a
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push ebx
mov dword [esp + 0x1c], 1
call esi
mov edi, eax
neg edi
push str.ForceRemove
sbb edi, edi
push ebx
inc edi
call esi
test eax, eax
je 0x43e956
test edi, edi
je 0x43ea24
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0043e7bb
mov esi, eax
test esi, esi
jl 0x43ed29
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x43ea26
push 0x5c
mov eax, ebx
call fcn.0043e64a
test eax, eax
pop ecx
jne 0x43eded
push ebx
call fcn.0043f353
test eax, eax
je 0x43e9a3
mov eax, dword [ebp + 0xc]
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.0043f37f
cmp edi, esi
je 0x43ea26
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0043e7bb
mov esi, eax
test esi, esi
jl 0x43ed29
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.0043f30a
mov esi, eax
test esi, esi
jl 0x43ed29
cmp word [ebx], 0x7b
jne 0x43ea15
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x43ea15
mov ecx, dword [esp + 0x10]
push 0
push dword [ebp + 0x10]
push dword [esp + 0x14]
push ebx
call fcn.0043e8cc
mov esi, eax
test esi, esi
jl 0x43ed29
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0043e7bb
mov esi, eax
test esi, esi
jl 0x43ed29
cmp word [ebx], 0x7d
jne 0x43e925
jmp 0x43ed29
xor esi, esi
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43ea51
and dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0043e7bb
mov esi, eax
test esi, esi
jl 0x43ed29
xor esi, esi
push 0x4e41d0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43eb49
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x228]
call fcn.0043e7bb
mov esi, eax
test esi, esi
jl 0x43ed29
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0043e7bb
mov esi, eax
test esi, esi
jl 0x43ed29
cmp word [ebx], 0x3d
jne 0x43ee07
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x43eae2
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x43c], 1
mov dword [esp + 0x14], eax
push ebx
lea eax, [esp + 0x22c]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
call fcn.0043ee98
mov esi, eax
cmp esi, edi
jl 0x43ee0e
mov byte [esp + 0x43c], 0
jmp 0x43e9d1
cmp dword [ebp + 0x14], edi
jne 0x43eb39
cmp dword [esp + 0x14], edi
je 0x43eb39
lea eax, [esp + 0x14]
push eax
push 0x20006
push edi
push edi
push dword [ebp + 0xc]
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x43ed22
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x228]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x43eb2e
cmp eax, 2
jne 0x43ee17
test edi, edi
je 0x43eb39
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.0043f30a
jmp 0x43ea0b
push 0x5c
mov eax, ebx
call fcn.0043e64a
test eax, eax
pop ecx
jne 0x43eded
cmp dword [ebp + 0x10], esi
je 0x43ec22
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x14]
push eax
push 0x2001f
push esi
push ebx
push dword [ebp + 0xc]
mov dword [esp + 0x28], esi
call edi
cmp eax, esi
jne 0x43eba1
xor eax, eax
cmp dword [esp + 0xc], esi
je 0x43eb95
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
je 0x43ebed
lea eax, [esp + 0x14]
push eax
push 0x20019
push esi
push ebx
push dword [ebp + 0xc]
mov dword [esp + 0x28], esi
call edi
cmp eax, esi
jne 0x43ebd8
xor eax, eax
cmp dword [esp + 0xc], esi
je 0x43ebcc
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
je 0x43ebed
push ebx
push dword [ebp + 0xc]
lea eax, [esp + 0x14]
call fcn.0043ee5a
cmp eax, esi
jne 0x43ee32
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0043e7bb
mov esi, eax
test esi, esi
jl 0x43ed29
cmp word [ebx], 0x3d
jne 0x43e9d1
push ebx
push 0
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x1c]
call fcn.0043ee98
jmp 0x43e9c7
cmp dword [ebp + 0x14], esi
jne 0x43ec64
lea eax, [esp + 0x18]
push eax
push 0x20019
push esi
push ebx
push dword [ebp + 0xc]
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x43ec5e
xor eax, eax
cmp dword [esp + 0xc], esi
je 0x43ec56
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
jmp 0x43ec6c
mov dword [esp + 0x18], 2
cmp dword [esp + 0x18], esi
je 0x43ec79
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x28]
push 0x104
push eax
call fcn.004aa589
push eax
call fcn.0040289a
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov eax, ebx
call fcn.0043e7bb
mov esi, eax
test esi, esi
jl 0x43ed29
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.0043f30a
mov esi, eax
test esi, esi
jl 0x43ed29
cmp word [ebx], 0x7b
jne 0x43ecfc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x43ecfc
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x14]
push ebx
call fcn.0043e8cc
mov esi, eax
test esi, esi
jge 0x43eceb
cmp dword [ebp + 0x14], 0
je 0x43ed29
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.0043e7bb
mov esi, eax
test esi, esi
jl 0x43ed29
cmp dword [esp + 0x18], 2
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x14], eax
je 0x43ea15
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, edi
je 0x43ed53
cmp dword [esp + 0x1c], edi
jne 0x43ea15
call fcn.00447567
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x43ed3a
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x434]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esp + 0x1c], edi
je 0x43ed95
push dword [esp + 0xc]
call fcn.0043f468
test eax, eax
je 0x43ed95
lea eax, [esp + 0x20]
push eax
call fcn.0043f353
test eax, eax
je 0x43ea15
cmp dword [esp + 0x14], edi
je 0x43ea15
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
call fcn.0043f37f
jmp 0x43ea15
push dword [esp + 0xc]
call fcn.0043f468
cmp dword [esp + 0xc], edi
mov dword [esp + 0x18], eax
je 0x43edbe
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
mov dword [esp + 0xc], edi
jne 0x43ee50
cmp dword [esp + 0x14], edi
je 0x43ea15
cmp dword [esp + 0x18], edi
jne 0x43ea15
lea eax, [esp + 0x20]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x43ed22
jmp 0x43ea15
cmp dword [esp + 0xc], esi
je 0x43edfd
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x43ed3c
cmp dword [esp + 0xc], 0
jmp 0x43edf1
cmp dword [esp + 0xc], edi
jmp 0x43ed2e
call fcn.00447567
test edi, edi
mov esi, eax
je 0x43ed29
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43ed29
call fcn.00447567
cmp dword [esp + 0xc], esi
mov edi, eax
je 0x43ee49
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x43ed3c
call fcn.00447567
jmp 0x43ed3c