Function at 0x4993cb
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x601e15
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.004db570
mov eax, dword [0x667710]
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 - 0x2228], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x222c], ecx
xor ecx, ecx
mov ebx, ecx
mov dword [ebp - 0x2220], ecx
mov dword [ebp - 0x2224], ebx
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 4], ecx
mov ecx, eax
push edi
call fcn.00498ac8
mov esi, eax
test esi, esi
js 0x4999e1
push 0x7d
pop eax
cmp word [edi], ax
je 0x4999d0
push str.Delete
push edi
mov dword [ebp - 0x2234], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x634980
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2230], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x499481
test esi, esi
je 0x49953c
mov ecx, dword [ebp - 0x2228]
push edi
call fcn.00498ac8
mov esi, eax
test esi, esi
js 0x4999d0
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x49953e
push 0x5c
pop edx
mov ecx, edi
mov dword [ebp - 0x2244], esi
mov dword [ebp - 0x223c], esi
call fcn.00498a31
test eax, eax
jne 0x4999cb
push edi
call fcn.00498f68
test eax, eax
je 0x4994f4
mov eax, dword [ebp - 0x222c]
lea ecx, [ebp - 0x2244]
push edi
mov dword [ebp - 0x2244], eax
mov dword [ebp - 0x2240], esi
call fcn.00480573
mov dword [ebp - 0x2244], esi
mov dword [ebp - 0x223c], esi
cmp dword [ebp - 0x2230], esi
je 0x499534
mov ecx, dword [ebp - 0x2228]
push edi
call fcn.00498ac8
mov esi, eax
test esi, esi
js 0x4999d0
mov ecx, dword [ebp - 0x2228]
push edi
call fcn.00498fcc
mov esi, eax
test esi, esi
js 0x4999d0
and dword [ebp - 0x2240], 0
jmp 0x49976a
mov dword [ebp - 0x2240], esi
jmp 0x49953e
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x49956a
mov ecx, dword [ebp - 0x2228]
push edi
mov dword [ebp - 0x2234], esi
call fcn.00498ac8
mov esi, eax
test esi, esi
js 0x4999d0
push 0x634978
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4996c1
mov ecx, dword [ebp - 0x2228]
lea eax, [ebp - 0x2218]
push eax
call fcn.00498ac8
mov esi, eax
test esi, esi
js 0x4999d0
mov ecx, dword [ebp - 0x2228]
push edi
call fcn.00498ac8
mov esi, eax
test esi, esi
js 0x4999d0
push 0x3d
pop eax
cmp word [edi], ax
jne 0x4999cb
cmp dword [ebp + 0x10], 0
je 0x499626
mov eax, dword [ebp - 0x222c]
mov ecx, dword [ebp - 0x2228]
mov byte [ebp - 4], 1
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.00498bf5
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 0x4999d0
mov byte [ebp - 4], al
mov dword [ebp - 0x2258], eax
jmp 0x49976a
cmp dword [ebp + 0x14], 0
jne 0x4996a0
cmp dword [ebp - 0x2234], 0
je 0x4996a0
xor esi, esi
lea ecx, [ebp - 0x2250]
push 0x20006
push esi
push dword [ebp - 0x222c]
mov dword [ebp - 0x2250], esi
mov dword [ebp - 0x224c], esi
mov dword [ebp - 0x2248], esi
call fcn.00413668
test eax, eax
jne 0x4999a6
mov ebx, dword [ebp - 0x2250]
lea eax, [ebp - 0x2218]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x499689
cmp eax, 2
jne 0x499990
test ebx, ebx
je 0x49969a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2250], esi
mov dword [ebp - 0x224c], esi
mov ecx, dword [ebp - 0x2228]
push edi
call fcn.00498fcc
mov ebx, dword [ebp - 0x2224]
mov esi, eax
test esi, esi
js 0x4999d6
jmp 0x4998a8
push 0x5c
pop edx
mov ecx, edi
call fcn.00498a31
test eax, eax
jne 0x4999cb
cmp dword [ebp + 0x10], eax
je 0x4997b1
mov ebx, dword [ebp - 0x222c]
lea ecx, [ebp - 0x2224]
mov esi, 0x2001f
push esi
push edi
push ebx
call fcn.00413668
test eax, eax
je 0x499729
push 0x20019
push edi
push ebx
lea ecx, [ebp - 0x2224]
call fcn.00413668
test eax, eax
je 0x499729
push ecx
push ecx
push esi
push ecx
push ecx
push edi
push ebx
lea ecx, [ebp - 0x2224]
call fcn.0048047a
test eax, eax
jne 0x4999c0
mov ebx, dword [ebp - 0x2228]
mov ecx, ebx
push edi
call fcn.00498ac8
mov esi, eax
test esi, esi
js 0x4999d0
push 0x3d
pop eax
cmp word [edi], ax
jne 0x499764
push edi
push 0
lea eax, [ebp - 0x2224]
mov ecx, ebx
push eax
call fcn.00498bf5
mov esi, eax
test esi, esi
js 0x4999d0
mov ebx, dword [ebp - 0x2224]
push 0x7b
pop eax
cmp word [edi], ax
jne 0x4998a2
push edi
call fcn.00505bb3
pop ecx
cmp eax, 1
jne 0x4998a2
push 0
push dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp - 0x2228]
mov ecx, ebx
push edi
call fcn.004993cb
mov esi, eax
test esi, esi
js 0x4999d0
push edi
mov ecx, ebx
call fcn.00498ac8
jmp 0x4996ac
cmp dword [ebp + 0x14], 0
jne 0x4997d6
push 0x20019
push edi
push dword [ebp - 0x222c]
lea ecx, [ebp - 0x2224]
call fcn.00413668
mov ebx, dword [ebp - 0x2224]
jmp 0x4997d9
push 2
pop eax
xor ecx, ecx
mov dword [ebp - 0x2230], eax
push 0xffffffffffffffff
inc ecx
test eax, eax
push edi
cmove ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x218]
push 0x104
push eax
mov dword [ebp - 0x2238], ecx
call fcn.0051a5c9
push eax
call fcn.004021d1
mov ecx, dword [ebp - 0x2228]
add esp, 0x14
push edi
call fcn.00498ac8
mov esi, eax
test esi, esi
js 0x4999d0
mov ecx, dword [ebp - 0x2228]
push edi
call fcn.00498fcc
mov esi, eax
test esi, esi
js 0x4999d0
push 0x7b
pop eax
cmp word [edi], ax
jne 0x499889
push edi
call fcn.00505bb3
pop ecx
cmp eax, 1
jne 0x499889
push dword [ebp - 0x2238]
mov ecx, dword [ebp - 0x2228]
push 0
push ebx
push edi
call fcn.004993cb
mov esi, eax
test esi, esi
jns 0x499873
cmp dword [ebp - 0x2238], 0
je 0x4999d0
mov ecx, dword [ebp - 0x2228]
push edi
call fcn.00498ac8
mov esi, eax
test esi, esi
js 0x4999d0
mov eax, dword [ebp - 0x2230]
cmp eax, 2
je 0x4998a2
test eax, eax
je 0x4998bf
cmp dword [ebp + 0x14], 0
je 0x4999c0
mov ebx, dword [ebp - 0x2224]
push 0x7d
pop eax
cmp word [edi], ax
je 0x4999d6
mov ebx, dword [ebp - 0x2224]
jmp 0x499448
cmp dword [ebp + 0x14], 0
je 0x4998fc
push ebx
call fcn.00498f97
test eax, eax
je 0x4998fc
lea eax, [ebp - 0x218]
push eax
call fcn.00498f68
test eax, eax
je 0x4998a2
cmp dword [ebp - 0x2234], 0
je 0x4998a2
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2224]
call fcn.00480573
jmp 0x4998a2
push ebx
call fcn.00498f97
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x2230], ecx
test ebx, ebx
je 0x499927
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2230]
xor ebx, ebx
mov dword [ebp - 0x2224], ebx
jmp 0x49992d
mov ebx, dword [ebp - 0x2224]
and dword [ebp - 0x2220], 0
test eax, eax
jne 0x499985
cmp dword [ebp - 0x2234], eax
je 0x4998a8
test ecx, ecx
jne 0x4998a8
mov eax, dword [ebp - 0x222c]
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.004803ef
and dword [ebp - 0x2268], 0
test eax, eax
je 0x4998a8
mov ecx, eax
call fcn.0049805e
mov esi, eax
jmp 0x4999d6
mov ecx, eax
call fcn.0049805e
mov esi, eax
test ebx, ebx
je 0x4999d0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4999d0
mov ecx, eax
call fcn.0049805e
cmp dword [ebp - 0x2250], 0
mov esi, eax
je 0x4999d0
push dword [ebp - 0x2250]
jmp 0x49999e
mov ecx, eax
call fcn.0049805e
mov esi, eax
jmp 0x4999d0
mov esi, 0x80020009
mov ebx, dword [ebp - 0x2224]
test ebx, ebx
je 0x4999e1
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.004da623
leave
ret 0x10