Function at 0x4fe240
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2258
call fcn.0053e900
mov eax, dword [0x5c0290]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2214], ecx
xor ecx, ecx
mov dword [ebp - 0x2220], ecx
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2218], ecx
push esi
mov dword [ebp - 0x2220], ecx
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2218], ecx
mov ecx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2258], ecx
mov ecx, eax
push edi
mov dword [ebp - 0x2210], eax
call fcn.004ec0f0
mov esi, eax
test esi, esi
js 0x4fe967
cmp word [edi], 0x7d
push ebx
je 0x4fe953
lea esp, [esp]
push str.Delete
push edi
mov dword [ebp - 0x2230], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x5823c0
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4fe2f3
test ebx, ebx
je 0x4fe419
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.004ec0f0
mov esi, eax
test esi, esi
js 0x4fe953
cmp dword [ebp + 0x10], 0
je 0x4fe419
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], eax
mov dword [ebp - 0x2224], eax
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], eax
mov dword [ebp - 0x2224], eax
movzx eax, word [edi]
test ax, ax
je 0x4fe364
cmp ax, 0x5c
je 0x4fe35c
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x4fe343
jmp 0x4fe364
test ecx, ecx
jne 0x4fe8ec
mov esi, 0x5823fc
lea esp, [esp]
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4fe3d2
add esi, 4
cmp esi, 0x58242c
jl 0x4fe370
mov eax, dword [ebp - 0x2214]
lea ecx, [ebp - 0x222c]
push edi
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], 0
mov dword [ebp - 0x2224], 0
call fcn.004fcb80
mov dword [ebp - 0x222c], 0
mov dword [ebp - 0x2228], 0
mov dword [ebp - 0x2224], 0
test ebx, ebx
je 0x4fe40f
mov ebx, dword [ebp - 0x2210]
mov ecx, ebx
push edi
call fcn.004ec0f0
mov esi, eax
test esi, esi
js 0x4fe8fe
push edi
mov ecx, ebx
call fcn.0050a120
mov esi, eax
test esi, esi
js 0x4fe8fe
mov dword [ebp - 0x2228], 0
jmp 0x4fe689
mov dword [ebp - 0x2228], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x2210]
test eax, eax
jne 0x4fe447
push edi
mov ecx, ebx
mov dword [ebp - 0x2230], eax
call fcn.004ec0f0
mov esi, eax
test esi, esi
js 0x4fe953
push 0x5823b8
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4fe5cd
lea eax, [ebp - 0x220c]
mov ecx, ebx
push eax
call fcn.004ec0f0
mov esi, eax
test esi, esi
js 0x4fe953
push edi
mov ecx, ebx
call fcn.004ec0f0
mov esi, eax
test esi, esi
js 0x4fe953
cmp word [edi], 0x3d
jne 0x4fe8f7
cmp dword [ebp + 0x10], 0
je 0x4fe51a
xor eax, eax
mov ecx, ebx
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], eax
mov eax, dword [ebp - 0x2214]
mov dword [ebp - 0x2254], eax
lea eax, [ebp - 0x220c]
push edi
push eax
lea eax, [ebp - 0x2254]
mov dword [ebp - 0x2250], 0
push eax
mov dword [ebp - 0x224c], 0
call fcn.004bdf70
mov esi, eax
mov dword [ebp - 0x2254], 0
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 0
test esi, esi
js 0x4fe90b
mov dword [ebp - 0x2250], 0
jmp 0x4fe689
cmp dword [ebp + 0x14], 0
jne 0x4fe5b6
cmp dword [ebp - 0x2230], 0
je 0x4fe5b6
xor eax, eax
lea ecx, [ebp - 0x2248]
push 0x20006
push eax
push dword [ebp - 0x2214]
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
mov dword [ebp - 0x2240], eax
call fcn.004f0cd0
test eax, eax
jne 0x4fe918
mov esi, dword [ebp - 0x2248]
lea eax, [ebp - 0x220c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4fe597
cmp eax, 2
jne 0x4fe918
test esi, esi
je 0x4fe5ac
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2248], 0
mov dword [ebp - 0x2244], 0
push edi
mov ecx, ebx
call fcn.0050a120
mov esi, eax
test esi, esi
js 0x4fe953
jmp 0x4fe8e0
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x4fe5f8
cmp ax, 0x5c
je 0x4fe5f0
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
test ax, ax
jne 0x4fe5d7
jmp 0x4fe5f8
test ecx, ecx
jne 0x4fe8f7
cmp dword [ebp + 0x10], 0
je 0x4fe6ec
mov esi, dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
push 0x2001f
push edi
push esi
call fcn.004f0cd0
test eax, eax
je 0x4fe656
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2220]
call fcn.004f0cd0
test eax, eax
je 0x4fe656
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x2220]
call fcn.004c3440
test eax, eax
jne 0x4fe948
push edi
mov ecx, ebx
call fcn.004ec0f0
mov esi, eax
test esi, esi
js 0x4fe953
cmp word [edi], 0x3d
jne 0x4fe689
push edi
push 0
lea eax, [ebp - 0x2220]
mov ecx, ebx
push eax
call fcn.004bdf70
mov esi, eax
test esi, esi
js 0x4fe953
cmp word [edi], 0x7b
jne 0x4fe8e0
mov ecx, edi
lea edx, [ecx + 2]
jmp 0x4fe6a0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fe6a0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x4fe8e0
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2220]
push edi
call fcn.004fe240
mov esi, eax
test esi, esi
js 0x4fe953
push edi
mov ecx, ebx
call fcn.004ec0f0
mov esi, eax
test esi, esi
js 0x4fe953
jmp 0x4fe8e0
cmp dword [ebp + 0x14], 0
jne 0x4fe711
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.004f0cd0
mov ebx, eax
test ebx, ebx
jne 0x4fe716
jmp 0x4fe71d
mov ebx, 2
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0053e297
push eax
call fcn.00468850
mov ecx, dword [ebp - 0x2210]
add esp, 0x14
push edi
call fcn.004ec0f0
mov esi, eax
test esi, esi
js 0x4fe953
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.0050a120
mov esi, eax
test esi, esi
js 0x4fe953
cmp word [edi], 0x7b
jne 0x4fe7c2
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fe771
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x4fe7c2
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2210]
push 0
push dword [ebp - 0x2220]
push edi
call fcn.004fe240
mov esi, eax
test esi, esi
jns 0x4fe7ac
cmp dword [ebp + 0x14], 0
je 0x4fe953
mov ecx, dword [ebp - 0x2210]
push edi
call fcn.004ec0f0
mov esi, eax
test esi, esi
js 0x4fe953
mov eax, dword [ebp - 0x2258]
mov dword [ebp + 0x14], eax
cmp ebx, 2
je 0x4fe8e0
test ebx, ebx
je 0x4fe7e6
test eax, eax
jne 0x4fe8e0
push ebx
jmp 0x4fe949
mov ebx, dword [ebp - 0x2210]
test eax, eax
je 0x4fe83b
push dword [ebp - 0x2220]
mov ecx, ebx
call fcn.004e2320
test eax, eax
je 0x4fe83b
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.004bea50
test eax, eax
je 0x4fe8e0
cmp dword [ebp - 0x2230], 0
je 0x4fe8e0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2220]
call fcn.004fcb80
jmp 0x4fe8e0
push dword [ebp - 0x2220]
mov ecx, ebx
call fcn.004e2320
mov ecx, dword [ebp - 0x2220]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x4fe865
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x2220], ecx
mov dword [ebp - 0x221c], 0
test eax, eax
jne 0x4fe948
cmp dword [ebp - 0x2230], eax
je 0x4fe8e0
test ebx, ebx
jne 0x4fe8e0
mov dword [ebp - 0x223c], eax
lea ecx, [ebp - 0x223c]
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], eax
mov eax, dword [ebp - 0x2214]
mov dword [ebp - 0x223c], eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
call fcn.004c3550
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov dword [ebp - 0x2234], ebx
test eax, eax
jne 0x4fe930
lea ecx, [ebp - 0x223c]
call fcn.004b5bc0
cmp word [edi], 0x7d
jne 0x4fe2c0
jmp 0x4fe953
lea ecx, [ebp - 0x222c]
call fcn.004b5bc0
mov esi, 0x80020009
jmp 0x4fe953
lea ecx, [ebp - 0x222c]
call fcn.004b5bc0
jmp 0x4fe953
lea ecx, [ebp - 0x2254]
call fcn.004b5bc0
jmp 0x4fe953
push eax
call fcn.004be930
add esp, 4
lea ecx, [ebp - 0x2248]
mov esi, eax
call fcn.004b5bc0
jmp 0x4fe953
push eax
call fcn.004be930
add esp, 4
lea ecx, [ebp - 0x223c]
mov esi, eax
call fcn.004b5bc0
jmp 0x4fe953
push eax
call fcn.004be930
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2220]
pop ebx
test eax, eax
je 0x4fe965
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0053d3a0
mov esp, ebp
pop ebp
ret 0x10