Function at 0x444bb2
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.00444aa1
mov esi, eax
test esi, esi
jl 0x444f7e
cmp word [edi], 0x7d
je 0x444f7c
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 0x444c1f
test ebx, ebx
je 0x444cea
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.00444aa1
mov esi, eax
test esi, esi
jl 0x444f6b
cmp dword [ebp + 0x10], 0
je 0x444cea
push 0x5c
mov eax, edi
call fcn.0044497a
test eax, eax
pop ecx
jne 0x44501d
push edi
call fcn.004454e7
test eax, eax
je 0x444c6b
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.004391b5
test ebx, ebx
je 0x444cea
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.00444aa1
mov esi, eax
test esi, esi
jl 0x444f6b
mov ecx, dword [esp + 0x10]
call fcn.0044549e
mov esi, eax
test esi, esi
jl 0x444f6b
cmp word [edi], 0x7b
jne 0x444cdb
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, 1
jne 0x444cdb
mov ecx, dword [esp + 0x10]
push 0
push dword [ebp + 0x10]
push dword [esp + 0x14]
push edi
call fcn.00444bb2
mov esi, eax
test esi, esi
jl 0x444f6b
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.00444aa1
mov esi, eax
test esi, esi
jl 0x444f6b
cmp word [edi], 0x7d
jne 0x444bee
jmp 0x444f6b
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x444d13
and dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.00444aa1
mov esi, eax
test esi, esi
jl 0x444f6b
push 0x508a3c
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x444e00
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x228]
call fcn.00444aa1
mov esi, eax
test esi, esi
jl 0x444f6b
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.00444aa1
mov esi, eax
test esi, esi
jl 0x444f6b
cmp word [edi], 0x3d
jne 0x44501d
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x444d98
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.00445074
mov esi, eax
cmp esi, ebx
jge 0x444c97
cmp dword [esp + 0xc], ebx
jmp 0x444f70
cmp dword [ebp + 0x14], ebx
jne 0x444dee
cmp dword [esp + 0x14], ebx
je 0x444dee
push 0x20006
push ebx
push dword [ebp + 0xc]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
call fcn.0041187a
cmp eax, ebx
jne 0x445053
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x228]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x444de1
cmp eax, 2
jne 0x445038
test ebx, ebx
je 0x444dec
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov ecx, dword [esp + 0x10]
call fcn.0044549e
mov esi, eax
cmp esi, ebx
jmp 0x444cd5
push 0x5c
mov eax, edi
call fcn.0044497a
test eax, eax
pop ecx
jne 0x44501d
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x444e8f
push 0x2001f
push edi
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
call fcn.0041187a
test eax, eax
je 0x444e5a
push 0x20019
push edi
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
call fcn.0041187a
test eax, eax
je 0x444e5a
push edi
push dword [ebp + 0xc]
lea eax, [esp + 0x14]
call fcn.0044190d
cmp eax, esi
jne 0x444f64
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.00444aa1
mov esi, eax
test esi, esi
jl 0x444f6b
cmp word [edi], 0x3d
jne 0x444c97
push edi
push 0
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x1c]
call fcn.00445074
jmp 0x444c8d
cmp dword [ebp + 0x14], esi
jne 0x444eac
push 0x20019
push edi
push dword [ebp + 0xc]
lea eax, [esp + 0x18]
call fcn.0041187a
mov dword [esp + 0x18], eax
jmp 0x444eb4
mov dword [esp + 0x18], 2
cmp dword [esp + 0x18], esi
je 0x444ec1
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x28]
push 0x104
push eax
call fcn.0049aba1
push eax
call fcn.004017eb
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov eax, edi
call fcn.00444aa1
mov esi, eax
test esi, esi
jl 0x444f6b
mov ecx, dword [esp + 0x10]
call fcn.0044549e
mov esi, eax
test esi, esi
jl 0x444f6b
cmp word [edi], 0x7b
jne 0x444f3e
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, 1
jne 0x444f3e
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x14]
push edi
call fcn.00444bb2
mov esi, eax
test esi, esi
jge 0x444f2d
cmp dword [ebp + 0x14], 0
je 0x444f6b
mov ecx, dword [esp + 0x10]
mov eax, edi
call fcn.00444aa1
mov esi, eax
test esi, esi
jl 0x444f6b
cmp dword [esp + 0x18], 2
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x14], eax
je 0x444cdb
xor ebx, ebx
cmp dword [esp + 0x18], ebx
je 0x444f87
cmp eax, ebx
jne 0x444cdb
mov eax, dword [esp + 0x18]
call fcn.004459f4
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x444f7c
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 0x444fc8
push dword [esp + 0xc]
call fcn.00445513
test eax, eax
je 0x444fc8
lea eax, [esp + 0x20]
push eax
call fcn.004454e7
test eax, eax
je 0x444cdb
cmp dword [esp + 0x14], 0
je 0x444cdb
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
call fcn.004391b5
jmp 0x444cdb
push dword [esp + 0xc]
call fcn.00445513
cmp dword [esp + 0xc], ebx
mov dword [esp + 0x18], eax
je 0x444fed
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov dword [esp + 0xc], ebx
jne 0x44506a
cmp dword [esp + 0x14], ebx
je 0x444cdb
cmp dword [esp + 0x18], 0
jne 0x444cdb
lea eax, [esp + 0x20]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x444f64
jmp 0x444cdb
cmp dword [esp + 0xc], 0
je 0x44502e
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x444f7e
call fcn.004459f4
test ebx, ebx
mov esi, eax
je 0x444f6b
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x444f6b
call fcn.004459f4
cmp dword [esp + 0x14], ebx
mov esi, eax
je 0x444f6b
push dword [esp + 0x14]
jmp 0x445048
call fcn.004459f4
jmp 0x444f7e