Function at 0x458ab0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8506
mov eax, dword fs:[0]
push eax
mov eax, 0x2254
call fcn.004a87d0
mov eax, dword [0x4ea688]
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 edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x2224], ecx
mov dword [ebp - 0x221c], edi
mov dword [ebp - 0x2230], eax
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
mov edx, dword [ebp + 0x14]
mov eax, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x225c], edx
call fcn.00458930
mov ebx, eax
cmp ebx, esi
jl 0x459213
cmp word [edi], 0x7d
je 0x459211
nop
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x223c], 1
call ebx
mov esi, eax
neg esi
push str.ForceRemove
sbb esi, esi
push edi
inc esi
call ebx
test eax, eax
je 0x458b63
test esi, esi
je 0x458c82
mov ecx, dword [ebp - 0x2224]
mov eax, edi
call fcn.00458930
mov ebx, eax
test ebx, ebx
jl 0x459200
mov edi, dword [ebp - 0x221c]
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x458c82
push 0x5c
mov eax, edi
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
call fcn.00457fa0
add esp, 4
test eax, eax
jne 0x459175
push edi
call fcn.00458650
test eax, eax
je 0x458bdf
mov eax, dword [ebp - 0x2230]
push edi
lea ecx, [ebp - 0x2238]
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], ebx
call fcn.00458690
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
cmp esi, ebx
je 0x458c7c
mov esi, dword [ebp - 0x2224]
mov eax, edi
mov ecx, esi
call fcn.00458930
mov ebx, eax
test ebx, ebx
jl 0x459195
mov ecx, esi
call fcn.004585f0
mov ebx, eax
test ebx, ebx
jl 0x459195
mov dword [ebp - 0x2234], 0
mov edi, dword [ebp - 0x221c]
cmp word [edi], 0x7b
jne 0x458c6d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x458c6d
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x222c]
push 0
push ecx
mov ecx, dword [ebp - 0x2224]
push edx
push edi
call fcn.00458ab0
mov ebx, eax
test ebx, ebx
jl 0x459200
mov ecx, dword [ebp - 0x2224]
mov eax, edi
call fcn.00458930
mov ebx, eax
test ebx, ebx
jl 0x459200
cmp word [edi], 0x7d
jne 0x458b30
jmp 0x459200
mov dword [ebp - 0x2234], ebx
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x458cb5
mov ecx, dword [ebp - 0x2224]
mov dword [ebp - 0x223c], eax
mov eax, edi
call fcn.00458930
mov ebx, eax
test ebx, ebx
jl 0x459200
mov edi, dword [ebp - 0x221c]
mov ebx, dword [ebp - 0x222c]
push 0x4cfa64
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x458e0b
mov ecx, dword [ebp - 0x2224]
lea eax, [ebp - 0x2218]
call fcn.00458930
mov ebx, eax
cmp ebx, esi
jl 0x459200
mov eax, dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2224]
call fcn.00458930
mov ebx, eax
test ebx, ebx
jl 0x459200
mov edi, dword [ebp - 0x221c]
cmp word [edi], 0x3d
jne 0x459180
cmp dword [ebp + 0x10], esi
je 0x458d70
mov ecx, dword [ebp - 0x2230]
mov byte [ebp - 4], 1
push edi
lea edx, [ebp - 0x224c]
mov dword [ebp - 0x224c], ecx
mov ecx, dword [ebp - 0x2224]
push edx
lea edx, [ebp - 0x2218]
mov dword [ebp - 0x2248], esi
call fcn.00458240
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x224c], esi
mov dword [ebp - 0x2248], esi
jl 0x45919d
mov byte [ebp - 4], 0
mov dword [ebp - 0x2248], esi
jmp 0x458c1b
cmp dword [ebp + 0x14], esi
jne 0x458deb
cmp dword [ebp - 0x223c], esi
je 0x458deb
mov edx, dword [ebp - 0x2230]
xor edi, edi
push 0x20006
xor ecx, ecx
lea esi, [ebp - 0x2244]
mov dword [ebp - 0x2244], edi
mov dword [ebp - 0x2240], edi
call fcn.00425330
cmp eax, edi
jne 0x4591b5
mov esi, dword [ebp - 0x2244]
lea eax, [ebp - 0x2218]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, edi
je 0x458dcc
cmp eax, 2
jne 0x4591b5
cmp esi, edi
je 0x458ddd
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2244], edi
mov dword [ebp - 0x2240], edi
mov edi, dword [ebp - 0x221c]
xor esi, esi
mov ecx, dword [ebp - 0x2224]
call fcn.004585f0
mov ebx, eax
cmp ebx, esi
jl 0x459200
mov edi, dword [ebp - 0x221c]
jmp 0x458c6d
push 0x5c
mov eax, edi
call fcn.00457fa0
add esp, 4
test eax, eax
jne 0x459180
cmp dword [ebp + 0x10], esi
je 0x458f36
mov edx, dword [ebp - 0x2230]
lea ecx, [ebp - 0x2220]
push ecx
push 0x2001f
push esi
push edi
push edx
mov dword [ebp - 0x2220], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x458e7a
xor eax, eax
cmp ebx, esi
je 0x458e5a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2220]
mov dword [ebp - 0x222c], ecx
mov dword [ebp - 0x2228], esi
cmp eax, esi
je 0x458ee9
mov edi, dword [ebp - 0x221c]
xor esi, esi
mov ebx, ecx
mov eax, dword [ebp - 0x2230]
lea edx, [ebp - 0x2220]
push edx
push 0x20019
push esi
push edi
push eax
mov dword [ebp - 0x2220], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x458ec2
xor eax, eax
cmp ebx, esi
je 0x458eac
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2220]
mov dword [ebp - 0x222c], ecx
mov dword [ebp - 0x2228], esi
cmp eax, esi
je 0x458ee9
mov edx, dword [ebp - 0x2230]
push edx
mov edx, dword [ebp - 0x221c]
mov eax, 0x2001f
lea esi, [ebp - 0x222c]
call fcn.004240d0
mov edi, eax
test edi, edi
jne 0x4591c2
mov esi, dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2224]
mov eax, esi
call fcn.00458930
mov ebx, eax
test ebx, ebx
jl 0x459200
cmp word [esi], 0x3d
jne 0x458c1b
mov eax, esi
push eax
lea ecx, [ebp - 0x222c]
push ecx
mov ecx, dword [ebp - 0x2224]
xor edx, edx
call fcn.00458240
mov ebx, eax
test ebx, ebx
jl 0x459200
jmp 0x458c1b
cmp dword [ebp + 0x14], esi
jne 0x459069
mov eax, dword [ebp - 0x2230]
lea edx, [ebp - 0x2220]
push edx
push 0x20019
push esi
push edi
push eax
mov dword [ebp - 0x2220], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x458f83
xor eax, eax
cmp ebx, esi
je 0x458f71
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2220]
mov dword [ebp - 0x222c], ecx
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2220], eax
cmp eax, esi
je 0x458f94
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.004942f0
push eax
call fcn.004255e0
mov ecx, dword [ebp - 0x2224]
add esp, 0x14
mov eax, edi
call fcn.00458930
mov ebx, eax
cmp ebx, esi
jl 0x459200
mov edi, dword [ebp - 0x221c]
mov ecx, dword [ebp - 0x2224]
call fcn.004585f0
mov ebx, eax
test ebx, ebx
jl 0x459200
cmp word [edi], 0x7b
jne 0x459039
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x459039
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x2224]
push esi
push 0
push eax
push edi
call fcn.00458ab0
mov ebx, eax
test ebx, ebx
jge 0x45901c
test esi, esi
je 0x459200
mov ecx, dword [ebp - 0x2224]
mov eax, edi
call fcn.00458930
mov ebx, eax
test ebx, ebx
jl 0x459200
mov edi, dword [ebp - 0x221c]
mov eax, dword [ebp - 0x2220]
mov ecx, dword [ebp - 0x225c]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x458c6d
test eax, eax
je 0x459078
test ecx, ecx
jne 0x458c6d
call fcn.004588f0
mov ebx, eax
jmp 0x459200
mov dword [ebp - 0x2220], 2
jmp 0x458f8d
mov esi, dword [ebp - 0x222c]
test ecx, ecx
je 0x4590c5
mov ecx, esi
call fcn.00458840
test eax, eax
je 0x4590c5
lea ecx, [ebp - 0x218]
push ecx
call fcn.00458650
test eax, eax
je 0x458c6d
cmp dword [ebp - 0x223c], 0
je 0x458c6d
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x222c]
call fcn.00458690
jmp 0x458c6d
mov ecx, esi
call fcn.00458840
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2220], 0
test esi, esi
je 0x4590f7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2220], eax
mov dword [ebp - 0x222c], 0
cmp dword [ebp - 0x2220], 0
mov dword [ebp - 0x2228], 0
jne 0x4591d6
cmp dword [ebp - 0x223c], 0
je 0x458c6d
cmp dword [ebp - 0x2258], 0
jne 0x458c6d
mov eax, dword [ebp - 0x2230]
lea edi, [ebp - 0x218]
lea esi, [ebp - 0x2254]
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2250], 0
call fcn.00458890
xor ecx, ecx
mov dword [ebp - 0x2254], ecx
mov dword [ebp - 0x2250], ecx
cmp eax, ecx
jne 0x4591ee
call fcn.00401a30
mov edi, dword [ebp - 0x221c]
jmp 0x458c6d
lea esi, [ebp - 0x2238]
call fcn.00401a30
lea esi, [ebp - 0x222c]
call fcn.00401a30
mov eax, 0x80020009
jmp 0x459213
lea esi, [ebp - 0x2238]
jmp 0x4591fb
lea esi, [ebp - 0x224c]
call fcn.00401a30
lea esi, [ebp - 0x222c]
call fcn.00401a30
jmp 0x459211
call fcn.004588f0
lea esi, [ebp - 0x2244]
jmp 0x4591f9
lea esi, [ebp - 0x222c]
call fcn.00401a30
mov eax, edi
call fcn.004588f0
jmp 0x459213
lea esi, [ebp - 0x222c]
call fcn.00401a30
mov eax, dword [ebp - 0x2220]
call fcn.004588f0
jmp 0x459213
call fcn.004588f0
lea esi, [ebp - 0x2254]
mov ebx, eax
call fcn.00401a30
mov eax, dword [ebp - 0x222c]
test eax, eax
je 0x459211
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
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.00491db1
mov esp, ebp
pop ebp
ret 0x10