Function at 0x4ec2e0
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.005916f0
push 0xffffffffffffffff
push 0x5e9e3d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x69001c]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x2218]
mov edi, dword [ebp + 0x2214]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov ecx, eax
push edi
call fcn.004ec130
mov esi, eax
test esi, esi
js 0x4ec9e5
cmp word [edi], 0x7d
je 0x4ec9e5
nop dword [eax]
push str.Delete
push edi
mov dword [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x623cf4
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4ec3a0
test ebx, ebx
je 0x4ec4a0
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004ec130
mov esi, eax
test esi, esi
js 0x4ec9e5
cmp dword [ebp + 0x221c], 0
je 0x4ec4a0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 1
mov ecx, edi
movzx eax, word [edi]
test ax, ax
je 0x4ec408
mov edx, eax
cmp dx, 0x5c
je 0x4ec400
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x4ec3e5
jmp 0x4ec408
test ecx, ecx
jne 0x4ec944
mov esi, 0x62b1e0
nop dword [eax]
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4ec45a
add esi, 4
cmp esi, 0x62b210
jl 0x4ec410
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
push edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.004ebea0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
test ebx, ebx
je 0x4ec495
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
push edi
call fcn.004ec130
mov esi, eax
test esi, esi
js 0x4ec959
push edi
mov ecx, ebx
call fcn.004ebe20
mov esi, eax
test esi, esi
js 0x4ec959
mov byte [ebp - 4], 0
mov dword [ebp - 0x30], 0
jmp 0x4ec6c8
mov byte [ebp - 4], 0
mov dword [ebp - 0x30], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x10]
test eax, eax
jne 0x4ec4c8
push edi
mov ecx, ebx
mov dword [ebp - 0x28], eax
call fcn.004ec130
mov esi, eax
test esi, esi
js 0x4ec9e5
push 0x623cec
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4ec616
lea eax, [ebp]
mov ecx, ebx
push eax
call fcn.004ec130
mov esi, eax
test esi, esi
js 0x4ec9e5
push edi
mov ecx, ebx
call fcn.004ec130
mov esi, eax
test esi, esi
js 0x4ec9e5
cmp word [edi], 0x3d
jne 0x4ec94f
cmp dword [ebp + 0x221c], 0
je 0x4ec582
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 2
mov ecx, ebx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp]
push edi
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3c], 0
push eax
mov dword [ebp - 0x38], 0
call fcn.004eb950
mov esi, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
test esi, esi
js 0x4ec966
mov byte [ebp - 4], 0
mov dword [ebp - 0x3c], 0
jmp 0x4ec6c8
cmp dword [ebp + 0x2220], 0
jne 0x4ec5ff
cmp dword [ebp - 0x28], 0
je 0x4ec5ff
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
push 0x20006
push 0
push dword [ebp - 0x18]
call fcn.004c9f50
test eax, eax
jne 0x4ec99b
mov ebx, dword [ebp - 0x4c]
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4ec5df
cmp eax, 2
jne 0x4ec973
mov byte [ebp - 4], 0
test ebx, ebx
je 0x4ec5f5
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x4c], 0
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x48], 0
push edi
mov ecx, ebx
call fcn.004ebe20
mov esi, eax
test esi, esi
js 0x4ec9e5
jmp 0x4ec935
movzx eax, word [edi]
mov ecx, edi
test ax, ax
je 0x4ec645
mov edx, eax
cmp dx, 0x5c
je 0x4ec63d
push ecx
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x4ec622
jmp 0x4ec645
test ecx, ecx
jne 0x4ec94f
cmp dword [ebp + 0x221c], 0
je 0x4ec723
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
push 0x2001f
push edi
push esi
call fcn.004c9f50
test eax, eax
je 0x4ec698
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x24]
call fcn.004c9f50
test eax, eax
je 0x4ec698
sub esp, 8
lea ecx, [ebp - 0x24]
push 0x2001f
sub esp, 8
push edi
push esi
call fcn.004eb7b0
test eax, eax
jne 0x4ec9dc
push edi
mov ecx, ebx
call fcn.004ec130
mov esi, eax
test esi, esi
js 0x4ec9e5
cmp word [edi], 0x3d
jne 0x4ec6c8
push edi
push 0
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.004eb950
mov esi, eax
test esi, esi
js 0x4ec9e5
cmp word [edi], 0x7b
jne 0x4ec935
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ec6d7
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x4ec935
push 0
push dword [ebp + 0x221c]
mov ecx, ebx
push dword [ebp - 0x24]
push edi
call fcn.004ec2e0
mov esi, eax
test esi, esi
js 0x4ec9e5
push edi
mov ecx, ebx
call fcn.004ec130
mov esi, eax
test esi, esi
js 0x4ec9e5
jmp 0x4ec935
mov esi, dword [ebp + 0x2220]
test esi, esi
jne 0x4ec742
push 0x20019
push edi
push dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.004c9f50
mov ebx, eax
jmp 0x4ec747
mov ebx, 2
test ebx, ebx
mov eax, 1
push 0xffffffffffffffff
cmove eax, esi
push edi
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x2000]
push 0x104
push eax
call fcn.0059991c
push eax
call fcn.00409100
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.004ec130
mov esi, eax
test esi, esi
js 0x4ec9e5
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004ebe20
mov esi, eax
test esi, esi
js 0x4ec9e5
cmp word [edi], 0x7b
jne 0x4ec7ea
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ec7a2
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x4ec7ea
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x24]
push edi
call fcn.004ec2e0
mov esi, eax
test esi, esi
jns 0x4ec7d7
cmp dword [ebp - 0x14], 0
je 0x4ec9e5
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004ec130
mov esi, eax
test esi, esi
js 0x4ec9e5
cmp ebx, 2
je 0x4ec935
test ebx, ebx
je 0x4ec80b
cmp dword [ebp + 0x2220], 0
jne 0x4ec935
mov ecx, ebx
jmp 0x4ec9de
cmp dword [ebp + 0x2220], 0
je 0x4ec890
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4ec890
cmp dword [ebp - 0x14], eax
jbe 0x4ec890
mov ebx, 0x62b1e0
nop word [eax + eax]
push dword [ebx]
lea eax, [ebp + 0x2000]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4ec935
add ebx, 4
cmp ebx, 0x62b210
jl 0x4ec850
cmp dword [ebp - 0x28], 0
je 0x4ec935
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x24]
call fcn.004ebea0
jmp 0x4ec935
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x4ec8c0
xor ebx, ebx
jmp 0x4ec8c9
xor eax, eax
cmp eax, dword [ebp - 0x14]
sbb ebx, ebx
neg ebx
mov ecx, dword [ebp - 0x24]
xor eax, eax
test ecx, ecx
je 0x4ec8de
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0
test eax, eax
jne 0x4ec9dc
cmp dword [ebp - 0x28], eax
je 0x4ec935
test ebx, ebx
jne 0x4ec935
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x2000]
push eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call fcn.004ebff0
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
test eax, eax
jne 0x4ec9c6
mov byte [ebp - 4], al
mov dword [ebp - 0x54], eax
cmp word [edi], 0x7d
jne 0x4ec370
jmp 0x4ec9e5
mov byte [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov esi, 0x80020009
jmp 0x4ec9e5
mov byte [ebp - 4], 0
mov dword [ebp - 0x30], 0
jmp 0x4ec9e5
mov byte [ebp - 4], 0
mov dword [ebp - 0x3c], 0
jmp 0x4ec9e5
mov ecx, eax
call fcn.004ec120
mov esi, eax
mov byte [ebp - 4], 0
test ebx, ebx
je 0x4ec9bd
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
jmp 0x4ec9e5
mov ecx, eax
call fcn.004ec120
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x4ec9bd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
jmp 0x4ec9e5
mov ecx, eax
call fcn.004ec120
mov esi, eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x54], 0
jmp 0x4ec9e5
mov ecx, eax
call fcn.004ec120
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4eca01
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x24], 0
mov eax, esi
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2208]
xor ecx, ebp
call fcn.0059046a
lea esp, [ebp + 0x220c]
pop ebp
ret 0x10