Function at 0x4d8c6f
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2258
call fcn.004e4950
mov eax, dword [0x55e0a0]
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.004d842f
mov esi, eax
test esi, esi
js 0x4d91e6
push 0x7d
pop eax
cmp word [edi], ax
je 0x4d91e6
xor eax, eax
push 0x535c4c
inc eax
push edi
mov dword [ebp - 0x2230], eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x535c18
sbb esi, esi
inc esi
push edi
mov dword [ebp - 0x2210], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4d8d08
test esi, esi
je 0x4d8dd4
push edi
mov ecx, ebx
call fcn.004d842f
mov esi, eax
test esi, esi
js 0x4d91e6
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x4d8dd6
push 0x5c
push edi
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2224], esi
call fcn.004d9464
pop ecx
pop ecx
test eax, eax
jne 0x4d91d6
push edi
mov ecx, ebx
call fcn.004d7ebf
test eax, eax
je 0x4d8d8b
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.004d882c
mov dword [ebp - 0x222c], esi
mov dword [ebp - 0x2228], esi
mov dword [ebp - 0x2224], esi
cmp dword [ebp - 0x2210], esi
je 0x4d8dc7
push edi
mov ecx, ebx
call fcn.004d842f
mov esi, eax
test esi, esi
js 0x4d91ce
push edi
mov ecx, ebx
call fcn.004d93db
mov esi, eax
lea ecx, [ebp - 0x222c]
call fcn.004d7f8e
test esi, esi
js 0x4d91e6
jmp 0x4d9188
lea ecx, [ebp - 0x222c]
call fcn.004d7f8e
jmp 0x4d8dd6
xor esi, esi
push 0x535c34
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4d8dfe
push edi
mov ecx, ebx
mov dword [ebp - 0x2230], esi
call fcn.004d842f
mov esi, eax
test esi, esi
js 0x4d91e6
push 0x535c0c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4d8f19
lea eax, [ebp - 0x220c]
mov ecx, ebx
push eax
call fcn.004d842f
mov esi, eax
test esi, esi
js 0x4d91e6
push edi
mov ecx, ebx
call fcn.004d842f
mov esi, eax
test esi, esi
js 0x4d91e6
push 0x3d
pop eax
cmp word [edi], ax
jne 0x4d91e1
cmp dword [ebp + 0x10], 0
je 0x4d8e9f
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.004d7889
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 0x4d8db5
cmp dword [ebp + 0x14], 0
jne 0x4d8f0c
cmp dword [ebp - 0x2230], 0
je 0x4d8f0c
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.004d8572
test eax, eax
jne 0x4d9206
lea eax, [ebp - 0x220c]
push eax
push dword [ebp - 0x2254]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4d8f01
cmp eax, 2
jne 0x4d9206
lea ecx, [ebp - 0x2254]
call fcn.004d7f8e
push edi
mov ecx, ebx
call fcn.004d93db
jmp 0x4d8cba
push 0x5c
push edi
call fcn.004d9464
pop ecx
pop ecx
test eax, eax
jne 0x4d91e1
cmp dword [ebp + 0x10], eax
je 0x4d8fbc
mov esi, dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
push 0x2001f
push edi
push esi
call fcn.004d8572
test eax, eax
je 0x4d8f86
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2220]
call fcn.004d8572
test eax, eax
je 0x4d8f86
xor eax, eax
lea ecx, [ebp - 0x2220]
push eax
push eax
push 0x2001f
push eax
push eax
push edi
push esi
call fcn.004d7fa8
test eax, eax
jne 0x4d909e
push edi
mov ecx, ebx
call fcn.004d842f
mov esi, eax
test esi, esi
js 0x4d91e6
push 0x3d
pop eax
cmp word [edi], ax
jne 0x4d9188
push edi
push 0
lea eax, [ebp - 0x2220]
mov ecx, ebx
push eax
call fcn.004d7889
mov esi, eax
jmp 0x4d8dba
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x4d8fdc
push 0x20019
push edi
push dword [ebp - 0x2214]
lea ecx, [ebp - 0x2220]
call fcn.004d8572
jmp 0x4d8fdf
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.004e42af
push eax
call fcn.004af4b0
add esp, 0x14
mov ecx, ebx
push edi
call fcn.004d842f
mov esi, eax
test esi, esi
js 0x4d91e6
push edi
mov ecx, ebx
call fcn.004d93db
mov esi, eax
test esi, esi
js 0x4d91e6
push 0x7b
pop eax
cmp word [edi], ax
jne 0x4d907a
push edi
call fcn.004db28a
pop ecx
cmp eax, 1
jne 0x4d907a
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x2220]
push edi
call fcn.004d8c6f
mov esi, eax
test esi, esi
jns 0x4d9068
cmp dword [ebp + 0x14], 0
je 0x4d91e6
push edi
mov ecx, ebx
call fcn.004d842f
mov esi, eax
test esi, esi
js 0x4d91e6
mov eax, dword [ebp - 0x2210]
mov ecx, dword [ebp - 0x2258]
mov dword [ebp + 0x14], ecx
cmp eax, 2
je 0x4d8cc4
test eax, eax
je 0x4d90ac
test ecx, ecx
jne 0x4d8cc4
push eax
call fcn.004d7e6a
pop ecx
mov esi, eax
jmp 0x4d91e6
test ecx, ecx
je 0x4d90fb
push dword [ebp - 0x2220]
mov ecx, ebx
call fcn.004d8243
test eax, eax
je 0x4d90fb
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.004d7ebf
test eax, eax
je 0x4d8cc4
cmp dword [ebp - 0x2230], 0
je 0x4d8cc4
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x2220]
call fcn.004d882c
jmp 0x4d8cc4
push dword [ebp - 0x2220]
mov ecx, ebx
call fcn.004d8243
lea ecx, [ebp - 0x2220]
mov dword [ebp - 0x2210], eax
call fcn.004d7f8e
test eax, eax
jne 0x4d909e
cmp dword [ebp - 0x2230], eax
je 0x4d8cc4
cmp dword [ebp - 0x2210], eax
jne 0x4d8cc4
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.004d801f
xor ecx, ecx
mov dword [ebp - 0x223c], ecx
mov dword [ebp - 0x2238], ecx
mov dword [ebp - 0x2234], ecx
test eax, eax
jne 0x4d921c
lea ecx, [ebp - 0x223c]
call fcn.004d7f8e
cmp dword [ebp + 0x10], 0
je 0x4d8cc4
push 0x7b
pop eax
cmp word [edi], ax
jne 0x4d8cc4
push edi
call fcn.004db28a
pop ecx
cmp eax, 1
jne 0x4d8cc4
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2220]
push edi
call fcn.004d8c6f
mov esi, eax
test esi, esi
js 0x4d91e6
mov ecx, ebx
jmp 0x4d8cb4
lea ecx, [ebp - 0x222c]
jmp 0x4d9215
lea ecx, [ebp - 0x222c]
call fcn.004d7f8e
mov esi, 0x80020009
lea ecx, [ebp - 0x2220]
call fcn.004d7f8e
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dbbe3
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.004d7e6a
pop ecx
lea ecx, [ebp - 0x2254]
mov esi, eax
call fcn.004d7f8e
jmp 0x4d91e6
push eax
call fcn.004d7e6a
pop ecx
lea ecx, [ebp - 0x223c]
jmp 0x4d9213