Function at 0x4ecd3f
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2258
call fcn.004fc6b0
mov eax, dword [0x57a120]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x2214], eax
mov ebx, ecx
xor eax, eax
push esi
mov dword [ebp - 0x2220], eax
mov dword [ebp - 0x221c], eax
mov dword [ebp - 0x2218], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2258], eax
push edi
call fcn.004ec4ff
mov esi, eax
test esi, esi
js 0x4ed2b6
push 0x7d
pop eax
cmp word [edi], ax
je 0x4ed2b6
xor eax, eax
push str.Delete
inc eax
push edi
mov dword [ebp - 0x2230], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x54c6a8
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2210], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4ecdd8
test esi, esi
je 0x4ecea4
push edi
mov ecx, ebx
call fcn.004ec4ff
mov esi, eax
test esi, esi
js 0x4ed2b6
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x4ecea6
push 0x5c
push edi
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2224], esi
call fcn.004ed534
pop ecx
pop ecx
test eax, eax
jne 0x4ed2a6
push edi
mov ecx, ebx
call fcn.004ebecc
test eax, eax
je 0x4ece5b
mov eax, dword [ebp - 0x2214]
lea ecx, [ebp - 0x222c]
push edi
mov dword [ebp - 0x222c], eax
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2224], esi
call fcn.004ec8fc
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2224], esi
cmp dword [ebp - 0x2210], esi
je 0x4ece97
push edi
mov ecx, ebx
call fcn.004ec4ff
mov esi, eax
test esi, esi
js 0x4ed29e
push edi
mov ecx, ebx
call fcn.004ed4ab
mov esi, eax
lea ecx, [ebp - 0x222c]
call fcn.004ebf9b
test esi, esi
js 0x4ed2b6
jmp 0x4ed258
lea ecx, [ebp - 0x222c]
call fcn.004ebf9b
jmp 0x4ecea6
xor esi, esi
push 0x54c6c0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4ecece
push edi
mov ecx, ebx
mov dword [ebp - 0x2230], esi
call fcn.004ec4ff
mov esi, eax
test esi, esi
js 0x4ed2b6
push 0x54c6a0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4ecfe9
lea eax, [ebp - 0x220c]
mov ecx, ebx
push eax
call fcn.004ec4ff
mov esi, eax
test esi, esi
js 0x4ed2b6
push edi
mov ecx, ebx
call fcn.004ec4ff
mov esi, eax
test esi, esi
js 0x4ed2b6
push 0x3d
pop eax
cmp word [edi], ax
jne 0x4ed2b1
cmp dword [ebp + 0x10], 0
je 0x4ecf6f
mov eax, dword [ebp - 0x2214]
mov ecx, ebx
and dword [ebp - 0x2244], 0
and dword [ebp - 0x2240], 0
mov dword [ebp - 0x2248], eax
lea eax, [ebp - 0x220c]
push edi
push eax
lea eax, [ebp - 0x2248]
push eax
call fcn.004eb896
mov esi, eax
lea ecx, [ebp - 0x2248]
xor eax, eax
mov dword [ebp - 0x2248], eax
mov dword [ebp - 0x2244], eax
mov dword [ebp - 0x2240], eax
jmp 0x4ece85
cmp dword [ebp + 0x14], 0
jne 0x4ecfdc
cmp dword [ebp - 0x2230], 0
je 0x4ecfdc
xor eax, eax
lea ecx, [ebp - 0x2254]
push 0x20006
push eax
push dword [ebp - 0x2214]
mov dword [ebp - 0x2254], eax
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], eax
call fcn.004ec642
test eax, eax
jne 0x4ed2d6
lea eax, [ebp - 0x220c]
push eax
push dword [ebp - 0x2254]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4ecfd1
cmp eax, 2
jne 0x4ed2d6
lea ecx, [ebp - 0x2254]
call fcn.004ebf9b
push edi
mov ecx, ebx
call fcn.004ed4ab
jmp 0x4ecd8a
push 0x5c
push edi
call fcn.004ed534
pop ecx
pop ecx
test eax, eax
jne 0x4ed2b1
cmp dword [ebp + 0x10], eax
je 0x4ed08c
mov esi, dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
push 0x2001f
push edi
push esi
call fcn.004ec642
test eax, eax
je 0x4ed056
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2220]
call fcn.004ec642
test eax, eax
je 0x4ed056
xor eax, eax
lea ecx, [ebp - 0x2220]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.004ebfb5
test eax, eax
jne 0x4ed16e
push edi
mov ecx, ebx
call fcn.004ec4ff
mov esi, eax
test esi, esi
js 0x4ed2b6
push 0x3d
pop eax
cmp word [edi], ax
jne 0x4ed258
push edi
push 0
lea eax, [ebp - 0x2220]
mov ecx, ebx
push eax
call fcn.004eb896
mov esi, eax
jmp 0x4ece8a
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x4ed0ac
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.004ec642
jmp 0x4ed0af
push 2
pop eax
push 1
test eax, eax
mov dword [ebp - 0x2210], eax
pop eax
push 0xffffffffffffffff
cmovne esi, eax
lea eax, [ebp - 0x20c]
push edi
push 0x104
push eax
mov dword [ebp + 0x14], esi
call fcn.004fc07b
push eax
call fcn.004b2f20
add esp, 0x14
mov ecx, ebx
push edi
call fcn.004ec4ff
mov esi, eax
test esi, esi
js 0x4ed2b6
push edi
mov ecx, ebx
call fcn.004ed4ab
mov esi, eax
test esi, esi
js 0x4ed2b6
push 0x7b
pop eax
cmp word [edi], ax
jne 0x4ed14a
push edi
call fcn.004f353f
pop ecx
cmp eax, 1
jne 0x4ed14a
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x2220]
push edi
call fcn.004ecd3f
mov esi, eax
test esi, esi
jns 0x4ed138
cmp dword [ebp + 0x14], 0
je 0x4ed2b6
push edi
mov ecx, ebx
call fcn.004ec4ff
mov esi, eax
test esi, esi
js 0x4ed2b6
mov eax, dword [ebp - 0x2210]
mov ecx, dword [ebp - 0x2258]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x4ecd94
test eax, eax
je 0x4ed17c
test ecx, ecx
jne 0x4ecd94
push eax
call fcn.004ebe77
pop ecx
mov esi, eax
jmp 0x4ed2b6
test ecx, ecx
je 0x4ed1cb
push dword [ebp - 0x2220]
mov ecx, ebx
call fcn.004ec3fe
test eax, eax
je 0x4ed1cb
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.004ebecc
test eax, eax
je 0x4ecd94
cmp dword [ebp - 0x2230], 0
je 0x4ecd94
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2220]
call fcn.004ec8fc
jmp 0x4ecd94
push dword [ebp - 0x2220]
mov ecx, ebx
call fcn.004ec3fe
lea ecx, [ebp - 0x2220]
mov dword [ebp - 0x2210], eax
call fcn.004ebf9b
test eax, eax
jne 0x4ed16e
cmp dword [ebp - 0x2230], eax
je 0x4ecd94
cmp dword [ebp - 0x2210], eax
jne 0x4ecd94
mov eax, dword [ebp - 0x2214]
lea ecx, [ebp - 0x223c]
and dword [ebp - 0x2238], 0
and dword [ebp - 0x2234], 0
mov dword [ebp - 0x223c], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004ec14e
xor ecx, ecx
mov dword [ebp - 0x223c], ecx
mov dword [ebp - 0x2238], ecx
mov dword [ebp - 0x2234], ecx
test eax, eax
jne 0x4ed2ec
lea ecx, [ebp - 0x223c]
call fcn.004ebf9b
cmp dword [ebp + 0x10], 0
je 0x4ecd94
push 0x7b
pop eax
cmp word [edi], ax
jne 0x4ecd94
push edi
call fcn.004f353f
pop ecx
cmp eax, 1
jne 0x4ecd94
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2220]
push edi
call fcn.004ecd3f
mov esi, eax
test esi, esi
js 0x4ed2b6
mov ecx, ebx
jmp 0x4ecd84
lea ecx, [ebp - 0x222c]
jmp 0x4ed2e5
lea ecx, [ebp - 0x222c]
call fcn.004ebf9b
mov esi, 0x80020009
lea ecx, [ebp - 0x2220]
call fcn.004ebf9b
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f3b66
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.004ebe77
pop ecx
lea ecx, [ebp - 0x2254]
mov esi, eax
call fcn.004ebf9b
jmp 0x4ed2b6
push eax
call fcn.004ebe77
pop ecx
lea ecx, [ebp - 0x223c]
jmp 0x4ed2e3