Function at 0x4b1b4a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x2d8
mov eax, 0x4fe2a7
call fcn.004e624d
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.00403020
push str.WinRAR
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 4], ebx
call fcn.00403020
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x2b8]
lea ecx, [ebp - 0x228]
call fcn.0040ebe4
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 SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4b1e4d
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.004c67e0
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 0x4b1e4d
cmp dword [ebp - 0x2d8], 1
jne 0x4b1e4d
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x240]
call fcn.00403020
mov byte [ebp - 4], 4
push dword [ebp - 0x2d4]
call ebx
test eax, eax
jne 0x4b1e42
and dword [ebp - 0x2d4], eax
lea ecx, [ebp - 0x228]
push str.CLSID_
call fcn.00402f80
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x228]
call fcn.00407ff0
push str.InProcServer32
lea ecx, [ebp - 0x228]
call fcn.00407fc0
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 SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4b1d29
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 SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b1e42
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.004c67e0
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 0x4b1e42
cmp dword [ebp - 0x2d8], 1
jne 0x4b1e42
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x288]
call fcn.00403020
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.00422370
push str.rar.exe
lea ecx, [ebp - 0x270]
call fcn.00403020
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.004231f0
add esp, 0xc
mov ecx, esi
push eax
call fcn.00403de0
lea ecx, [ebp - 0x2d0]
call fcn.004032d0
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 6
call fcn.004032d0
mov ecx, esi
call fcn.004216a0
test al, al
jne 0x4b1e2c
mov ecx, esi
call fcn.00402f60
lea ecx, [ebp - 0x258]
call fcn.004032d0
lea ecx, [ebp - 0x288]
call fcn.004032d0
lea ecx, [ebp - 0x240]
call fcn.004032d0
lea ecx, [ebp - 0x228]
call fcn.004032d0
cmp dword [ebp - 0x2d4], 0
je 0x4b1e69
push dword [ebp - 0x2d4]
call ebx
lea ecx, [ebp - 0x2a0]
call fcn.004032d0
lea ecx, [ebp - 0x2b8]
call fcn.004032d0
mov eax, esi
call fcn.004e6208
ret 4