Function at 0x447595
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8d75
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.0056f680
mov eax, dword [0x649ffc]
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, ecx
mov dword [ebp - 0x221c], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2220], ecx
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0x222c], ecx
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x2228], ecx
mov dword [ebp - 4], ecx
mov ecx, eax
push edi
call fcn.00446b6e
mov esi, eax
test esi, esi
js 0x447b97
push 0x7d
pop eax
cmp word [edi], ax
je 0x447b8c
xor eax, eax
push str.Delete
inc eax
push edi
mov dword [ebp - 0x2234], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x5fb50c
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2224], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x44764a
test esi, esi
je 0x447705
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00446b6e
mov esi, eax
test esi, esi
js 0x447b8c
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x447707
push 0x5c
pop edx
mov ecx, edi
mov dword [ebp - 0x2250], esi
mov dword [ebp - 0x2248], esi
call fcn.00446b09
test eax, eax
jne 0x447b87
push edi
call fcn.004470fa
test eax, eax
je 0x4476bd
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2250]
push edi
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], esi
call fcn.0041d573
mov dword [ebp - 0x2250], esi
mov dword [ebp - 0x2248], esi
cmp dword [ebp - 0x2224], esi
je 0x4476fd
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00446b6e
mov esi, eax
test esi, esi
js 0x447b8c
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044715e
mov esi, eax
test esi, esi
js 0x447b8c
and dword [ebp - 0x224c], 0
jmp 0x447b01
mov dword [ebp - 0x224c], esi
jmp 0x447707
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x447733
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2234], esi
call fcn.00446b6e
mov esi, eax
test esi, esi
js 0x447b8c
push 0x5fb504
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44787e
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.00446b6e
mov esi, eax
test esi, esi
js 0x447b8c
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00446b6e
mov esi, eax
test esi, esi
js 0x447b8c
push 0x3d
pop eax
cmp word [edi], ax
jne 0x447b87
cmp dword [ebp + 0x10], 0
je 0x4477f1
mov ecx, dword [ebp - 0x221c]
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2220]
and dword [ebp - 0x2258], 0
and dword [ebp - 0x2254], 0
mov dword [ebp - 0x225c], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x225c]
push eax
call fcn.00446cc9
mov esi, eax
xor eax, eax
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2254], eax
test esi, esi
js 0x447b8c
mov byte [ebp - 4], al
mov dword [ebp - 0x2258], eax
jmp 0x447b01
cmp dword [ebp + 0x14], 0
jne 0x44786d
cmp dword [ebp - 0x2234], 0
je 0x44786d
xor eax, eax
lea ecx, [ebp - 0x2240]
push 0x20006
push eax
push dword [ebp - 0x2220]
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], eax
mov dword [ebp - 0x2238], eax
call fcn.004118fe
test eax, eax
jne 0x447b56
mov esi, dword [ebp - 0x2240]
lea eax, [ebp - 0x2218]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x447854
cmp eax, 2
jne 0x447b56
test esi, esi
je 0x447866
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x2240], 0
and dword [ebp - 0x223c], 0
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044715e
jmp 0x447b4b
push 0x5c
pop edx
mov ecx, edi
call fcn.00446b09
test eax, eax
jne 0x447b87
cmp dword [ebp + 0x10], eax
je 0x447929
mov ebx, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2230]
push 0x2001f
push edi
push ebx
call fcn.004118fe
test eax, eax
je 0x4478e3
push 0x20019
push edi
push ebx
lea ecx, [ebp - 0x2230]
call fcn.004118fe
test eax, eax
je 0x4478e3
sub esp, 0x14
lea ecx, [ebp - 0x2230]
push edi
push ebx
call fcn.00446519
test eax, eax
jne 0x447b76
mov ebx, dword [ebp - 0x221c]
mov ecx, ebx
push edi
call fcn.00446b6e
mov esi, eax
test esi, esi
js 0x447b7f
push 0x3d
pop eax
cmp word [edi], ax
jne 0x44791e
push edi
push 0
lea eax, [ebp - 0x2230]
mov ecx, ebx
push eax
call fcn.00446cc9
mov esi, eax
test esi, esi
js 0x447b7f
mov ebx, dword [ebp - 0x2230]
jmp 0x447b01
cmp dword [ebp + 0x14], 0
jne 0x44794e
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x2230]
call fcn.004118fe
mov ebx, dword [ebp - 0x2230]
jmp 0x447951
push 2
pop eax
mov ecx, dword [ebp + 0x14]
test eax, eax
push 1
mov dword [ebp - 0x2224], eax
pop eax
push 0xffffffffffffffff
cmovne ecx, eax
lea eax, [ebp - 0x218]
push edi
push 0x104
push eax
mov dword [ebp - 0x2244], ecx
call fcn.00598bb6
push eax
call fcn.0042347e
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.00446b6e
mov esi, eax
test esi, esi
js 0x447b8c
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0044715e
mov esi, eax
test esi, esi
js 0x447b8c
push 0x7b
pop eax
cmp word [edi], ax
jne 0x447a03
push edi
call fcn.0059771b
pop ecx
cmp eax, 1
jne 0x447a03
push dword [ebp - 0x2244]
mov ecx, dword [ebp - 0x221c]
push 0
push ebx
push edi
call fcn.00447595
mov esi, eax
test esi, esi
jns 0x4479ed
cmp dword [ebp - 0x2244], 0
je 0x447b8c
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00446b6e
mov esi, eax
test esi, esi
js 0x447b8c
mov eax, dword [ebp - 0x2224]
cmp eax, 2
je 0x447606
test eax, eax
je 0x447a2e
cmp dword [ebp + 0x14], 0
jne 0x447606
mov ecx, eax
call fcn.00446321
mov esi, eax
jmp 0x447b8c
cmp dword [ebp + 0x14], 0
je 0x447a7c
push ebx
call fcn.00447129
test eax, eax
je 0x447a7c
lea eax, [ebp - 0x218]
push eax
call fcn.004470fa
test eax, eax
je 0x447606
cmp dword [ebp - 0x2234], 0
je 0x447606
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.0041d573
mov ebx, dword [ebp - 0x2230]
jmp 0x447606
push ebx
call fcn.00447129
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x2224], ecx
test ebx, ebx
je 0x447aa5
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2224]
xor ebx, ebx
mov dword [ebp - 0x2230], ebx
and dword [ebp - 0x222c], 0
test eax, eax
jne 0x447a20
cmp dword [ebp - 0x2234], eax
je 0x447606
test ecx, ecx
jne 0x447606
mov eax, dword [ebp - 0x2220]
and dword [ebp - 0x2264], ecx
and dword [ebp - 0x2260], ecx
lea ecx, [ebp - 0x2268]
mov dword [ebp - 0x2268], eax
lea eax, [ebp - 0x218]
push eax
call fcn.0041d4fa
and dword [ebp - 0x2268], 0
test eax, eax
jne 0x447a20
cmp dword [ebp + 0x10], 0
je 0x447606
push 0x7b
pop eax
cmp word [edi], ax
jne 0x447606
push edi
call fcn.0059771b
pop ecx
cmp eax, 1
jne 0x447606
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp + 0x10]
push ebx
push edi
call fcn.00447595
mov esi, eax
test esi, esi
js 0x447b8c
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00446b6e
mov esi, eax
test esi, esi
js 0x447b8c
jmp 0x447606
mov ecx, eax
call fcn.00446321
cmp dword [ebp - 0x2240], 0
mov esi, eax
je 0x447b8c
push dword [ebp - 0x2240]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x447b8c
mov ecx, eax
call fcn.00446321
mov esi, eax
mov ebx, dword [ebp - 0x2230]
jmp 0x447b8c
mov esi, 0x80020009
test ebx, ebx
je 0x447b97
push ebx
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.0056e987
leave
ret 0x10