Function at 0x4d6ce3
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2258
call fcn.004e29b0
mov eax, dword [0x55b0a0]
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.004d64a3
mov esi, eax
test esi, esi
js 0x4d725a
push 0x7d
pop eax
cmp word [edi], ax
je 0x4d725a
xor eax, eax
push 0x533c3c
inc eax
push edi
mov dword [ebp - 0x2230], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x533c08
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2210], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4d6d7c
test esi, esi
je 0x4d6e48
push edi
mov ecx, ebx
call fcn.004d64a3
mov esi, eax
test esi, esi
js 0x4d725a
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x4d6e4a
push 0x5c
push edi
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2224], esi
call fcn.004d74d8
pop ecx
pop ecx
test eax, eax
jne 0x4d724a
push edi
mov ecx, ebx
call fcn.004d5f33
test eax, eax
je 0x4d6dff
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.004d68a0
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2224], esi
cmp dword [ebp - 0x2210], esi
je 0x4d6e3b
push edi
mov ecx, ebx
call fcn.004d64a3
mov esi, eax
test esi, esi
js 0x4d7242
push edi
mov ecx, ebx
call fcn.004d744f
mov esi, eax
lea ecx, [ebp - 0x222c]
call fcn.004d6002
test esi, esi
js 0x4d725a
jmp 0x4d71fc
lea ecx, [ebp - 0x222c]
call fcn.004d6002
jmp 0x4d6e4a
xor esi, esi
push 0x533c24
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4d6e72
push edi
mov ecx, ebx
mov dword [ebp - 0x2230], esi
call fcn.004d64a3
mov esi, eax
test esi, esi
js 0x4d725a
push 0x533bfc
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4d6f8d
lea eax, [ebp - 0x220c]
mov ecx, ebx
push eax
call fcn.004d64a3
mov esi, eax
test esi, esi
js 0x4d725a
push edi
mov ecx, ebx
call fcn.004d64a3
mov esi, eax
test esi, esi
js 0x4d725a
push 0x3d
pop eax
cmp word [edi], ax
jne 0x4d7255
cmp dword [ebp + 0x10], 0
je 0x4d6f13
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.004d58fd
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 0x4d6e29
cmp dword [ebp + 0x14], 0
jne 0x4d6f80
cmp dword [ebp - 0x2230], 0
je 0x4d6f80
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.004d65e6
test eax, eax
jne 0x4d727a
lea eax, [ebp - 0x220c]
push eax
push dword [ebp - 0x2254]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4d6f75
cmp eax, 2
jne 0x4d727a
lea ecx, [ebp - 0x2254]
call fcn.004d6002
push edi
mov ecx, ebx
call fcn.004d744f
jmp 0x4d6d2e
push 0x5c
push edi
call fcn.004d74d8
pop ecx
pop ecx
test eax, eax
jne 0x4d7255
cmp dword [ebp + 0x10], eax
je 0x4d7030
mov esi, dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
push 0x2001f
push edi
push esi
call fcn.004d65e6
test eax, eax
je 0x4d6ffa
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2220]
call fcn.004d65e6
test eax, eax
je 0x4d6ffa
xor eax, eax
lea ecx, [ebp - 0x2220]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.004d601c
test eax, eax
jne 0x4d7112
push edi
mov ecx, ebx
call fcn.004d64a3
mov esi, eax
test esi, esi
js 0x4d725a
push 0x3d
pop eax
cmp word [edi], ax
jne 0x4d71fc
push edi
push 0
lea eax, [ebp - 0x2220]
mov ecx, ebx
push eax
call fcn.004d58fd
mov esi, eax
jmp 0x4d6e2e
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x4d7050
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.004d65e6
jmp 0x4d7053
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.004e230f
push eax
call fcn.004af3d0
add esp, 0x14
mov ecx, ebx
push edi
call fcn.004d64a3
mov esi, eax
test esi, esi
js 0x4d725a
push edi
mov ecx, ebx
call fcn.004d744f
mov esi, eax
test esi, esi
js 0x4d725a
push 0x7b
pop eax
cmp word [edi], ax
jne 0x4d70ee
push edi
call fcn.004d92ea
pop ecx
cmp eax, 1
jne 0x4d70ee
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x2220]
push edi
call fcn.004d6ce3
mov esi, eax
test esi, esi
jns 0x4d70dc
cmp dword [ebp + 0x14], 0
je 0x4d725a
push edi
mov ecx, ebx
call fcn.004d64a3
mov esi, eax
test esi, esi
js 0x4d725a
mov eax, dword [ebp - 0x2210]
mov ecx, dword [ebp - 0x2258]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x4d6d38
test eax, eax
je 0x4d7120
test ecx, ecx
jne 0x4d6d38
push eax
call fcn.004d5ede
pop ecx
mov esi, eax
jmp 0x4d725a
test ecx, ecx
je 0x4d716f
push dword [ebp - 0x2220]
mov ecx, ebx
call fcn.004d62b7
test eax, eax
je 0x4d716f
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.004d5f33
test eax, eax
je 0x4d6d38
cmp dword [ebp - 0x2230], 0
je 0x4d6d38
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2220]
call fcn.004d68a0
jmp 0x4d6d38
push dword [ebp - 0x2220]
mov ecx, ebx
call fcn.004d62b7
lea ecx, [ebp - 0x2220]
mov dword [ebp - 0x2210], eax
call fcn.004d6002
test eax, eax
jne 0x4d7112
cmp dword [ebp - 0x2230], eax
je 0x4d6d38
cmp dword [ebp - 0x2210], eax
jne 0x4d6d38
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.004d6093
xor ecx, ecx
mov dword [ebp - 0x223c], ecx
mov dword [ebp - 0x2238], ecx
mov dword [ebp - 0x2234], ecx
test eax, eax
jne 0x4d7290
lea ecx, [ebp - 0x223c]
call fcn.004d6002
cmp dword [ebp + 0x10], 0
je 0x4d6d38
push 0x7b
pop eax
cmp word [edi], ax
jne 0x4d6d38
push edi
call fcn.004d92ea
pop ecx
cmp eax, 1
jne 0x4d6d38
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2220]
push edi
call fcn.004d6ce3
mov esi, eax
test esi, esi
js 0x4d725a
mov ecx, ebx
jmp 0x4d6d28
lea ecx, [ebp - 0x222c]
jmp 0x4d7289
lea ecx, [ebp - 0x222c]
call fcn.004d6002
mov esi, 0x80020009
lea ecx, [ebp - 0x2220]
call fcn.004d6002
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d9c43
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.004d5ede
pop ecx
lea ecx, [ebp - 0x2254]
mov esi, eax
call fcn.004d6002
jmp 0x4d725a
push eax
call fcn.004d5ede
pop ecx
lea ecx, [ebp - 0x223c]
jmp 0x4d7287