Function at 0x4b9eaa
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x2d8
mov eax, 0x5041d7
call fcn.004ec62d
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x2e4], esi
xor eax, eax
mov dword [ebp - 0x2e0], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
mov word [esi], ax
xor ebx, ebx
mov dword [ebp - 4], edi
inc ebx
mov dword [ebp - 0x2d4], edi
push str._shellexContextMenuHandlers_
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2e0], ebx
call fcn.00408ef0
push str.WinRAR
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 4], ebx
call fcn.00408ef0
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x2b8]
lea ecx, [ebp - 0x228]
call fcn.0041cc42
pop ecx
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push ecx
cmovae eax, dword [ebp - 0x228]
push ebx
push edi
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4ba1b9
mov eax, 0x200
mov dword [ebp - 0x2d8], 3
push eax
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.004ccc90
add esp, 0xc
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x2d8]
push eax
push edi
push edi
push dword [ebp - 0x2d4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call edi
test eax, eax
jne 0x4ba1b9
cmp dword [ebp - 0x2d8], 1
jne 0x4ba1b9
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x240]
call fcn.00408ef0
mov byte [ebp - 4], 4
push dword [ebp - 0x2d4]
call ebx
test eax, eax
jne 0x4ba1ae
and dword [ebp - 0x2d4], eax
lea ecx, [ebp - 0x228]
push str.CLSID_
call fcn.00408e00
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x228]
call fcn.00408de0
push str.InProcServer32
lea ecx, [ebp - 0x228]
call fcn.00408db0
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x2d4]
push ecx
push 1
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push 0
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4ba089
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x2d4]
push ecx
push 0x101
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push 0
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4ba1ae
mov eax, 0x200
mov dword [ebp - 0x2d8], 3
push eax
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004ccc90
add esp, 0xc
lea eax, [ebp - 0x2dc]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x2d8]
push eax
push 0
push 0
push dword [ebp - 0x2d4]
call edi
test eax, eax
jne 0x4ba1ae
cmp dword [ebp - 0x2d8], 1
jne 0x4ba1ae
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x288]
call fcn.00408ef0
and dword [ebp - 0x248], 0
xor eax, eax
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
lea edx, [ebp - 0x258]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x288]
call fcn.00438aa0
push str.rar.exe
lea ecx, [ebp - 0x270]
call fcn.00408ef0
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.0042beb0
add esp, 0xc
mov ecx, esi
push eax
call fcn.00408e70
lea ecx, [ebp - 0x2d0]
call fcn.00409610
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 6
call fcn.00409610
mov ecx, esi
call fcn.00427f70
test al, al
jne 0x4ba198
and dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4ba193
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x258]
call fcn.00409610
lea ecx, [ebp - 0x288]
call fcn.00409610
lea ecx, [ebp - 0x240]
call fcn.00409610
lea ecx, [ebp - 0x228]
call fcn.00409610
cmp dword [ebp - 0x2d4], 0
je 0x4ba1d5
push dword [ebp - 0x2d4]
call ebx
lea ecx, [ebp - 0x2a0]
call fcn.00409610
lea ecx, [ebp - 0x2b8]
call fcn.00409610
mov eax, esi
call fcn.004ec5e8
ret 4