Function at 0x4825cb
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e4424
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.005933d0
mov eax, dword [0x6c75ac]
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.00482470
mov esi, eax
test esi, esi
js 0x482bcd
push 0x7d
pop eax
cmp word [edi], ax
je 0x482bc2
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 0x6324d0
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2224], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x482680
test esi, esi
je 0x48273b
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00482470
mov esi, eax
test esi, esi
js 0x482bc2
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x48273d
push 0x5c
pop edx
mov ecx, edi
mov dword [ebp - 0x2250], esi
mov dword [ebp - 0x2248], esi
call fcn.00481de1
test eax, eax
jne 0x482bbd
push edi
call fcn.004823fe
test eax, eax
je 0x4826f3
mov eax, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2250]
push edi
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], esi
call fcn.00429dd1
mov dword [ebp - 0x2250], esi
mov dword [ebp - 0x2248], esi
cmp dword [ebp - 0x2224], esi
je 0x482733
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00482470
mov esi, eax
test esi, esi
js 0x482bc2
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00482399
mov esi, eax
test esi, esi
js 0x482bc2
and dword [ebp - 0x224c], 0
jmp 0x482b37
mov dword [ebp - 0x224c], esi
jmp 0x48273d
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x482769
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2234], esi
call fcn.00482470
mov esi, eax
test esi, esi
js 0x482bc2
push 0x6324c8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4828b4
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.00482470
mov esi, eax
test esi, esi
js 0x482bc2
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00482470
mov esi, eax
test esi, esi
js 0x482bc2
push 0x3d
pop eax
cmp word [edi], ax
jne 0x482bbd
cmp dword [ebp + 0x10], 0
je 0x482827
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.00481f68
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 0x482bc2
mov byte [ebp - 4], al
mov dword [ebp - 0x2258], eax
jmp 0x482b37
cmp dword [ebp + 0x14], 0
jne 0x4828a3
cmp dword [ebp - 0x2234], 0
je 0x4828a3
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.0041298d
test eax, eax
jne 0x482b8c
mov esi, dword [ebp - 0x2240]
lea eax, [ebp - 0x2218]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x48288a
cmp eax, 2
jne 0x482b8c
test esi, esi
je 0x48289c
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.00482399
jmp 0x482b81
push 0x5c
pop edx
mov ecx, edi
call fcn.00481de1
test eax, eax
jne 0x482bbd
cmp dword [ebp + 0x10], eax
je 0x48295f
mov ebx, dword [ebp - 0x2220]
lea ecx, [ebp - 0x2230]
push 0x2001f
push edi
push ebx
call fcn.0041298d
test eax, eax
je 0x482919
push 0x20019
push edi
push ebx
lea ecx, [ebp - 0x2230]
call fcn.0041298d
test eax, eax
je 0x482919
sub esp, 0x14
lea ecx, [ebp - 0x2230]
push edi
push ebx
call fcn.00481e8e
test eax, eax
jne 0x482bac
mov ebx, dword [ebp - 0x221c]
mov ecx, ebx
push edi
call fcn.00482470
mov esi, eax
test esi, esi
js 0x482bb5
push 0x3d
pop eax
cmp word [edi], ax
jne 0x482954
push edi
push 0
lea eax, [ebp - 0x2230]
mov ecx, ebx
push eax
call fcn.00481f68
mov esi, eax
test esi, esi
js 0x482bb5
mov ebx, dword [ebp - 0x2230]
jmp 0x482b37
cmp dword [ebp + 0x14], 0
jne 0x482984
push 0x20019
push edi
push dword [ebp - 0x2220]
lea ecx, [ebp - 0x2230]
call fcn.0041298d
mov ebx, dword [ebp - 0x2230]
jmp 0x482987
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.005bc7dd
push eax
call fcn.0043661b
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.00482470
mov esi, eax
test esi, esi
js 0x482bc2
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00482399
mov esi, eax
test esi, esi
js 0x482bc2
push 0x7b
pop eax
cmp word [edi], ax
jne 0x482a39
push edi
call fcn.005baec0
pop ecx
cmp eax, 1
jne 0x482a39
push dword [ebp - 0x2244]
mov ecx, dword [ebp - 0x221c]
push 0
push ebx
push edi
call fcn.004825cb
mov esi, eax
test esi, esi
jns 0x482a23
cmp dword [ebp - 0x2244], 0
je 0x482bc2
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00482470
mov esi, eax
test esi, esi
js 0x482bc2
mov eax, dword [ebp - 0x2224]
cmp eax, 2
je 0x48263c
test eax, eax
je 0x482a64
cmp dword [ebp + 0x14], 0
jne 0x48263c
mov ecx, eax
call fcn.00482462
mov esi, eax
jmp 0x482bc2
cmp dword [ebp + 0x14], 0
je 0x482ab2
push ebx
call fcn.0048242d
test eax, eax
je 0x482ab2
lea eax, [ebp - 0x218]
push eax
call fcn.004823fe
test eax, eax
je 0x48263c
cmp dword [ebp - 0x2234], 0
je 0x48263c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.00429dd1
mov ebx, dword [ebp - 0x2230]
jmp 0x48263c
push ebx
call fcn.0048242d
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x2224], ecx
test ebx, ebx
je 0x482adb
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 0x482a56
cmp dword [ebp - 0x2234], eax
je 0x48263c
test ecx, ecx
jne 0x48263c
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.00429d58
and dword [ebp - 0x2268], 0
test eax, eax
jne 0x482a56
cmp dword [ebp + 0x10], 0
je 0x48263c
push 0x7b
pop eax
cmp word [edi], ax
jne 0x48263c
push edi
call fcn.005baec0
pop ecx
cmp eax, 1
jne 0x48263c
mov ecx, dword [ebp - 0x221c]
push 0
push dword [ebp + 0x10]
push ebx
push edi
call fcn.004825cb
mov esi, eax
test esi, esi
js 0x482bc2
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00482470
mov esi, eax
test esi, esi
js 0x482bc2
jmp 0x48263c
mov ecx, eax
call fcn.00482462
cmp dword [ebp - 0x2240], 0
mov esi, eax
je 0x482bc2
push dword [ebp - 0x2240]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x482bc2
mov ecx, eax
call fcn.00482462
mov esi, eax
mov ebx, dword [ebp - 0x2230]
jmp 0x482bc2
mov esi, 0x80020009
test ebx, ebx
je 0x482bcd
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.005926d8
leave
ret 0x10