Function at 0x481a3f
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e27be
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.005918e0
mov eax, dword [0x6c45ac]
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.004818e4
mov esi, eax
test esi, esi
js 0x482041
push 0x7d
pop eax
cmp word [edi], ax
je 0x482036
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 0x6304d8
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2224], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x481af4
test esi, esi
je 0x481baf
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004818e4
mov esi, eax
test esi, esi
js 0x482036
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x481bb1
push 0x5c
pop edx
mov ecx, edi
mov dword [ebp - 0x2250], esi
mov dword [ebp - 0x2248], esi
call fcn.00481255
test eax, eax
jne 0x482031
push edi
call fcn.00481872
test eax, eax
je 0x481b67
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2250]
push edi
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], esi
call fcn.00429dce
mov dword [ebp - 0x2250], esi
mov dword [ebp - 0x2248], esi
cmp dword [ebp - 0x2224], esi
je 0x481ba7
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004818e4
mov esi, eax
test esi, esi
js 0x482036
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0048180d
mov esi, eax
test esi, esi
js 0x482036
and dword [ebp - 0x224c], 0
jmp 0x481fab
mov dword [ebp - 0x224c], esi
jmp 0x481bb1
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x481bdd
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2234], esi
call fcn.004818e4
mov esi, eax
test esi, esi
js 0x482036
push 0x6304d0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x481d28
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.004818e4
mov esi, eax
test esi, esi
js 0x482036
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004818e4
mov esi, eax
test esi, esi
js 0x482036
push 0x3d
pop eax
cmp word [edi], ax
jne 0x482031
cmp dword [ebp + 0x10], 0
je 0x481c9b
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.004813dc
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 0x482036
mov byte [ebp - 4], al
mov dword [ebp - 0x2258], eax
jmp 0x481fab
cmp dword [ebp + 0x14], 0
jne 0x481d17
cmp dword [ebp - 0x2234], 0
je 0x481d17
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.0041298a
test eax, eax
jne 0x482000
mov esi, dword [ebp - 0x2240]
lea eax, [ebp - 0x2218]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x481cfe
cmp eax, 2
jne 0x482000
test esi, esi
je 0x481d10
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.0048180d
jmp 0x481ff5
push 0x5c
pop edx
mov ecx, edi
call fcn.00481255
test eax, eax
jne 0x482031
cmp dword [ebp + 0x10], eax
je 0x481dd3
mov ebx, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2230]
push 0x2001f
push edi
push ebx
call fcn.0041298a
test eax, eax
je 0x481d8d
push 0x20019
push edi
push ebx
lea ecx, [ebp - 0x2230]
call fcn.0041298a
test eax, eax
je 0x481d8d
sub esp, 0x14
lea ecx, [ebp - 0x2230]
push edi
push ebx
call fcn.00481302
test eax, eax
jne 0x482020
mov ebx, dword [ebp - 0x221c]
mov ecx, ebx
push edi
call fcn.004818e4
mov esi, eax
test esi, esi
js 0x482029
push 0x3d
pop eax
cmp word [edi], ax
jne 0x481dc8
push edi
push 0
lea eax, [ebp - 0x2230]
mov ecx, ebx
push eax
call fcn.004813dc
mov esi, eax
test esi, esi
js 0x482029
mov ebx, dword [ebp - 0x2230]
jmp 0x481fab
cmp dword [ebp + 0x14], 0
jne 0x481df8
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x2230]
call fcn.0041298a
mov ebx, dword [ebp - 0x2230]
jmp 0x481dfb
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.005baced
push eax
call fcn.00436618
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.004818e4
mov esi, eax
test esi, esi
js 0x482036
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.0048180d
mov esi, eax
test esi, esi
js 0x482036
push 0x7b
pop eax
cmp word [edi], ax
jne 0x481ead
push edi
call fcn.005b93d0
pop ecx
cmp eax, 1
jne 0x481ead
push dword [ebp - 0x2244]
mov ecx, dword [ebp - 0x221c]
push 0
push ebx
push edi
call fcn.00481a3f
mov esi, eax
test esi, esi
jns 0x481e97
cmp dword [ebp - 0x2244], 0
je 0x482036
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004818e4
mov esi, eax
test esi, esi
js 0x482036
mov eax, dword [ebp - 0x2224]
cmp eax, 2
je 0x481ab0
test eax, eax
je 0x481ed8
cmp dword [ebp + 0x14], 0
jne 0x481ab0
mov ecx, eax
call fcn.004818d6
mov esi, eax
jmp 0x482036
cmp dword [ebp + 0x14], 0
je 0x481f26
push ebx
call fcn.004818a1
test eax, eax
je 0x481f26
lea eax, [ebp - 0x218]
push eax
call fcn.00481872
test eax, eax
je 0x481ab0
cmp dword [ebp - 0x2234], 0
je 0x481ab0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.00429dce
mov ebx, dword [ebp - 0x2230]
jmp 0x481ab0
push ebx
call fcn.004818a1
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x2224], ecx
test ebx, ebx
je 0x481f4f
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 0x481eca
cmp dword [ebp - 0x2234], eax
je 0x481ab0
test ecx, ecx
jne 0x481ab0
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.00429d55
and dword [ebp - 0x2268], 0
test eax, eax
jne 0x481eca
cmp dword [ebp + 0x10], 0
je 0x481ab0
push 0x7b
pop eax
cmp word [edi], ax
jne 0x481ab0
push edi
call fcn.005b93d0
pop ecx
cmp eax, 1
jne 0x481ab0
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp + 0x10]
push ebx
push edi
call fcn.00481a3f
mov esi, eax
test esi, esi
js 0x482036
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.004818e4
mov esi, eax
test esi, esi
js 0x482036
jmp 0x481ab0
mov ecx, eax
call fcn.004818d6
cmp dword [ebp - 0x2240], 0
mov esi, eax
je 0x482036
push dword [ebp - 0x2240]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x482036
mov ecx, eax
call fcn.004818d6
mov esi, eax
mov ebx, dword [ebp - 0x2230]
jmp 0x482036
mov esi, 0x80020009
test ebx, ebx
je 0x482041
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.00590be8
leave
ret 0x10