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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae79b
mov eax, dword fs:[0]
push eax
mov eax, 0x224c
call fcn.00491130
mov eax, dword [0x4dbe18]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x2228], ecx
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2224], ebx
mov dword [ebp - 0x2220], ebx
mov edx, dword [ebp + 0x14]
mov eax, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2254], edx
call fcn.004460a0
mov esi, eax
cmp esi, ebx
jl 0x44699f
cmp word [edi], 0x7d
je 0x44699d
lea esp, [esp]
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x2238], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x4462d3
test ebx, ebx
je 0x446416
mov ecx, dword [ebp - 0x2228]
mov eax, edi
call fcn.004460a0
mov esi, eax
test esi, esi
jl 0x44698a
xor edx, edx
cmp dword [ebp + 0x10], edx
je 0x446416
movzx ecx, word [edi]
mov dword [ebp - 0x2234], edx
mov dword [ebp - 0x2230], edx
mov eax, edi
cmp cx, dx
je 0x44632d
movzx ecx, cx
cmp cx, 0x5c
je 0x446325
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
test cx, cx
jne 0x44630e
jmp 0x44632d
test eax, eax
jne 0x4468fc
mov esi, 0x4c140c
mov eax, dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x446379
add esi, 4
cmp esi, 0x4c143c
jl 0x446332
mov ecx, dword [ebp - 0x222c]
mov dword [ebp - 0x2234], ecx
xor esi, esi
push edi
lea ecx, [ebp - 0x2234]
mov dword [ebp - 0x2230], esi
call fcn.00445e80
mov dword [ebp - 0x2234], esi
mov dword [ebp - 0x2230], esi
jmp 0x44637b
xor esi, esi
cmp ebx, esi
je 0x446410
mov ebx, dword [ebp - 0x2228]
mov eax, edi
mov ecx, ebx
call fcn.004460a0
mov esi, eax
test esi, esi
jl 0x44691c
mov ecx, ebx
call fcn.00445de0
mov esi, eax
test esi, esi
jl 0x44691c
mov dword [ebp - 0x2230], 0
cmp word [edi], 0x7b
jne 0x446401
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, 1
jne 0x446401
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x2224]
mov ebx, dword [ebp - 0x2228]
push 0
push ecx
push edx
push edi
mov ecx, ebx
call fcn.00446220
mov esi, eax
test esi, esi
jl 0x44698a
mov eax, edi
mov ecx, ebx
call fcn.004460a0
mov esi, eax
test esi, esi
jl 0x44698a
cmp word [edi], 0x7d
jne 0x4462a0
jmp 0x44698a
mov dword [ebp - 0x2230], esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x446443
mov ecx, dword [ebp - 0x2228]
mov dword [ebp - 0x2238], eax
mov eax, edi
call fcn.004460a0
mov esi, eax
test esi, esi
jl 0x44698a
mov ebx, dword [ebp - 0x2228]
push 0x4c10ac
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x446572
lea eax, [ebp - 0x2218]
mov ecx, ebx
call fcn.004460a0
mov esi, eax
test esi, esi
jl 0x44698a
mov eax, edi
mov ecx, ebx
call fcn.004460a0
mov esi, eax
test esi, esi
jl 0x44698a
cmp word [edi], 0x3d
jne 0x446907
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x4464e6
mov edx, dword [ebp - 0x222c]
lea eax, [ebp - 0x2218]
push eax
lea ecx, [ebp - 0x2248]
mov dword [ebp - 0x2248], edx
mov edx, dword [ebp - 0x2228]
push ecx
mov ecx, edi
mov dword [ebp - 0x2244], ebx
call fcn.00445a80
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
jl 0x446924
mov dword [ebp - 0x2244], ebx
jmp 0x4463b7
cmp dword [ebp + 0x14], ebx
jne 0x446558
cmp dword [ebp - 0x2238], ebx
je 0x446558
mov edx, dword [ebp - 0x222c]
push edx
mov ecx, 0x20006
xor edx, edx
lea esi, [ebp - 0x2240]
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
call fcn.004147c0
cmp eax, ebx
jne 0x44693c
mov esi, dword [ebp - 0x2240]
lea eax, [ebp - 0x2218]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x446541
cmp eax, 2
jne 0x44693c
cmp esi, ebx
je 0x446552
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
mov ecx, dword [ebp - 0x2228]
call fcn.00445de0
mov esi, eax
cmp esi, ebx
jl 0x44698c
jmp 0x446401
movzx ecx, word [edi]
xor esi, esi
mov eax, edi
cmp cx, si
je 0x4465a0
movzx ecx, cx
cmp cx, 0x5c
je 0x446598
push eax
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [eax]
cmp cx, si
jne 0x446581
jmp 0x4465a0
cmp eax, esi
jne 0x446907
cmp dword [ebp + 0x10], esi
je 0x4466f4
mov esi, dword [ebp - 0x222c]
lea ecx, [ebp - 0x221c]
push ecx
push 0x2001f
xor ebx, ebx
push ebx
push edi
push esi
mov dword [ebp - 0x221c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4465fd
mov ecx, dword [ebp - 0x2224]
xor eax, eax
cmp ecx, ebx
je 0x4465e3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x221c]
mov dword [ebp - 0x2220], ebx
mov dword [ebp - 0x2224], edx
cmp eax, ebx
je 0x4466b0
mov ebx, dword [ebp - 0x2224]
lea eax, [ebp - 0x221c]
push eax
push 0x20019
push 0
push edi
push esi
mov dword [ebp - 0x221c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44664e
test ebx, ebx
je 0x446632
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2220], 0
mov dword [ebp - 0x2224], ecx
test eax, eax
je 0x4466b0
mov ebx, ecx
lea edx, [ebp - 0x2258]
push edx
lea eax, [ebp - 0x221c]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push esi
mov dword [ebp - 0x221c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
jne 0x446950
test ebx, ebx
je 0x446690
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2220], 0
mov esi, eax
mov dword [ebp - 0x2224], ecx
test eax, eax
jne 0x446950
mov ebx, dword [ebp - 0x2228]
mov eax, edi
mov ecx, ebx
call fcn.004460a0
mov esi, eax
test esi, esi
jl 0x44698a
cmp word [edi], 0x3d
jne 0x4463b7
push 0
lea edx, [ebp - 0x2224]
push edx
mov ecx, edi
mov edx, ebx
call fcn.00445a80
mov esi, eax
test esi, esi
jl 0x44698a
jmp 0x4463b7
cmp dword [ebp + 0x14], esi
jne 0x44680f
mov ecx, dword [ebp - 0x222c]
lea eax, [ebp - 0x221c]
push eax
push 0x20019
push esi
push edi
push ecx
mov dword [ebp - 0x221c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x446747
mov ecx, dword [ebp - 0x2224]
xor eax, eax
cmp ecx, esi
je 0x446735
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x221c]
mov dword [ebp - 0x2220], esi
mov dword [ebp - 0x2224], edx
mov dword [ebp - 0x221c], eax
cmp eax, esi
je 0x446758
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0048d153
add esp, 0x10
mov eax, edi
mov ecx, ebx
call fcn.004460a0
mov esi, eax
test esi, esi
jl 0x44698a
mov ecx, ebx
call fcn.00445de0
mov esi, eax
test esi, esi
jl 0x44698a
cmp word [edi], 0x7b
jne 0x4467dd
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, 1
jne 0x4467dd
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x2224]
push ecx
push 0
push edx
push edi
mov ecx, ebx
call fcn.00446220
mov esi, eax
test esi, esi
jge 0x4467ca
cmp dword [ebp + 0x14], 0
je 0x44698a
mov eax, edi
mov ecx, ebx
call fcn.004460a0
mov esi, eax
test esi, esi
jl 0x44698a
mov ecx, dword [ebp - 0x221c]
mov eax, dword [ebp - 0x2254]
mov dword [ebp + 0x14], eax
cmp ecx, 2
je 0x446401
test ecx, ecx
je 0x44681e
test eax, eax
jne 0x446401
mov eax, ecx
call fcn.00446060
mov esi, eax
jmp 0x44698a
mov dword [ebp - 0x221c], 2
jmp 0x446751
test eax, eax
je 0x446864
mov ecx, dword [ebp - 0x2224]
call fcn.00446010
test eax, eax
je 0x446864
lea ebx, [ebp - 0x218]
call fcn.00445e40
test eax, eax
je 0x446401
cmp dword [ebp - 0x2238], 0
je 0x446401
mov eax, ebx
push eax
lea ecx, [ebp - 0x2224]
call fcn.00445e80
jmp 0x446401
mov ecx, dword [ebp - 0x2224]
call fcn.00446010
xor ebx, ebx
mov dword [ebp - 0x221c], eax
cmp dword [ebp - 0x2224], ebx
je 0x446898
mov ecx, dword [ebp - 0x2224]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov dword [ebp - 0x2224], 0
mov dword [ebp - 0x2220], 0
test ebx, ebx
jne 0x446964
cmp dword [ebp - 0x2238], ebx
je 0x446401
cmp dword [ebp - 0x221c], ebx
jne 0x446401
mov eax, dword [ebp - 0x222c]
lea edx, [ebp - 0x218]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor ecx, ecx
mov dword [ebp - 0x2250], ecx
mov dword [ebp - 0x224c], ecx
cmp eax, ecx
jne 0x446978
lea ecx, [ebp - 0x2250]
call fcn.00414810
jmp 0x446401
lea ecx, [ebp - 0x2234]
call fcn.00414810
lea ecx, [ebp - 0x2224]
call fcn.00414810
mov eax, 0x80020009
jmp 0x44699f
lea ecx, [ebp - 0x2234]
jmp 0x446985
lea ecx, [ebp - 0x2248]
call fcn.00414810
lea ecx, [ebp - 0x2224]
call fcn.00414810
jmp 0x44699d
call fcn.00446060
lea ecx, [ebp - 0x2240]
mov esi, eax
call fcn.00414810
jmp 0x44698c
lea ecx, [ebp - 0x2224]
call fcn.00414810
mov eax, esi
call fcn.00446060
jmp 0x44699f
lea ecx, [ebp - 0x2224]
call fcn.00414810
mov eax, ebx
call fcn.00446060
jmp 0x44699f
call fcn.00446060
mov esi, eax
lea ecx, [ebp - 0x2250]
call fcn.00414810
xor ebx, ebx
mov eax, dword [ebp - 0x2224]
cmp eax, ebx
je 0x44699d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret 0x10