Function at 0x4b458b
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xa98
mov eax, 0x5117ae
call fcn.004f41e2
lea eax, [ebp - 0xa7c]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwareClassesLibraryFolder_shell
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b47fd
movaps xmm0, xmmword [0x5237f0]
mov dword [ebp - 0xa88], esi
mov dword [ebp - 0xa94], esi
movups xmmword [ebp - 0xaa4], xmm0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, esi
mov dword [ebp - 4], esi
push 0x248
lea eax, [ebp - 0x258]
push esi
push eax
call fcn.004f5a90
add esp, 0xc
mov dword [ebp - 0xa90], 0x104
lea eax, [ebp - 0xa90]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x258]
push eax
push edi
push dword [ebp - 0xa7c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4b4740
lea esi, [ebp - 0x258]
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x4b4637
push str.command
push 0x124
lea eax, [ebp - 0x258]
sub esi, ecx
push eax
sar esi, 1
call fcn.004019cd
lea eax, [ebp - 0xa84]
xor ecx, ecx
push eax
push 0x20019
push ecx
lea eax, [ebp - 0x258]
mov dword [ebp - 0xa84], ecx
push eax
push dword [ebp - 0xa7c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b4730
lea eax, [ebp - 0xa8c]
mov dword [ebp - 0xa8c], 0x81e
push eax
lea eax, [ebp - 0xa78]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0xa84]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b4728
mov eax, dword [ebp - 0xa8c]
and eax, 0xfffffffe
cmp eax, 0x820
jae 0x4b4803
xor ecx, ecx
mov word [ebp + eax - 0xa78], cx
xor eax, eax
mov word [ebp + esi*2 - 0x258], ax
lea eax, [ebp - 0xa78]
push str.conemu
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4b4722
xor edx, edx
lea eax, [ebp - 0x258]
push edx
push eax
call fcn.004e230a
pop ecx
pop ecx
mov dword [ebp - 0xa80], eax
lea ecx, [ebp - 0xaa4]
lea eax, [ebp - 0xa80]
push eax
call fcn.00407941
jmp 0x4b4728
inc dword [ebp - 0xa88]
push dword [ebp - 0xa84]
call ebx
inc edi
cmp edi, 0x200
jae 0x4b4740
xor esi, esi
jmp 0x4b45e6
push dword [ebp - 0xa7c]
call ebx
lea eax, [ebp - 0xa80]
push eax
lea ecx, [ebp - 0xaa4]
call fcn.0041f2be
test al, al
je 0x4b47a6
xor ebx, ebx
mov esi, dword [ebp - 0xa80]
push esi
push str.SoftwareClassesLibraryFolder_shell
push SysReAllocString
call fcn.004eed81
add esp, 0xc
test esi, esi
je 0x4b478a
push esi
call fcn.004e1bea
pop ecx
mov dword [ebp - 0xa80], ebx
lea eax, [ebp - 0xa80]
push eax
lea ecx, [ebp - 0xaa4]
call fcn.0041f2be
test al, al
jne 0x4b4760
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xa88], 0
jne 0x4b47eb
lea eax, [ebp - 0xa7c]
push eax
push 0xf003f
xor eax, eax
push eax
push str.SoftwareClassesLibraryFolder
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b47eb
push str.shell
push dword [ebp - 0xa7c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0xa7c]
call ebx
lea ecx, [ebp - 0xaa4]
mov dword [ebp - 4], 1
call fcn.0040635a
call fcn.004f418c
ret
call fcn.004f4963
int3