Function at 0x4c3380
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc20
mov eax, dword [0x572844]
xor eax, esp
mov dword [esp + 0xc1c], eax
push esi
mov esi, dword [esp + 0xc28]
push edi
mov edi, dword [esp + 0xc30]
push 0xf
push str.SoftwareWinRAR
push edi
mov dword [esp + 0x2c], edi
call fcn.004b4460
test eax, eax
jne 0x4c363a
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c363a
push ebx
push 0x100000
call fcn.00525bb0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4c3413
mov ecx, 0x5b68fc
call fcn.0047b030
xor al, al
pop ebx
mov ecx, dword [esp + 0xc24]
pop edi
pop esi
xor ecx, esp
call fcn.0051dca8
add esp, 0xc20
ret 8
push ebp
lea eax, [esp + 0x1c]
mov dword [esp + 0x10], 0x200
push eax
push ebx
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], 0x100000
push eax
xor ebp, ebp
lea eax, [esp + 0x1c]
push ebp
push eax
lea eax, [esp + 0x40]
push eax
push ebp
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4c3598
lea eax, [edi + 0x1e]
mov dword [esp + 0x20], eax
mov edi, eax
cmp word [edi], 0x5c
jne 0x4c3461
add edi, 2
mov eax, dword [esp + 0x14]
cmp eax, 3
jne 0x4c347f
push dword [esp + 0x1c]
lea eax, [esp + 0x30]
push ebx
push eax
push edi
push esi
call fcn.004c1ab0
mov eax, dword [esp + 0x14]
cmp eax, 4
jne 0x4c3498
push 0
push dword [ebx]
lea eax, [esp + 0x34]
push eax
push edi
push esi
call fcn.004c1be0
mov eax, dword [esp + 0x14]
cmp eax, 0xb
jne 0x4c34b2
push dword [ebx + 4]
lea eax, [esp + 0x30]
push dword [ebx]
push eax
push edi
push esi
call fcn.004c1be0
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x4c3559
call fcn.004c1570
cmp byte [0x5c2ca9], 0
je 0x4c3559
test esi, esi
je 0x4c34e1
cmp esi, 0x80000001
je 0x4c34e1
cmp esi, reloc.OLEAUT32.dll_SysReAllocString
jne 0x4c3559
cmp word [edi], 0x5c
je 0x4c3559
test esi, esi
jne 0x4c34f2
mov eax, 0x54266c
jmp 0x4c3504
mov eax, 0x552a20
cmp esi, 0x80000001
je 0x4c3504
mov eax, str.HKLM_
push 0x400
push eax
lea eax, [esp + 0x434]
push eax
call fcn.004b0360
push 0x400
push edi
lea eax, [esp + 0x434]
push eax
call fcn.004b0300
push 0x400
lea eax, [esp + 0x430]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x438]
push eax
call fcn.00495090
push 1
push ebx
lea eax, [esp + 0x434]
push eax
call fcn.004c0bb0
lea eax, [esp + 0x1c]
mov dword [esp + 0x10], 0x200
push eax
push ebx
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], 0x100000
push eax
push 0
lea eax, [esp + 0x20]
inc ebp
push eax
lea eax, [esp + 0x40]
push eax
push ebp
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
mov eax, dword [esp + 0x20]
je 0x4c3456
push ebx
call fcn.00525b95
add esp, 4
mov dword [esp + 0x10], 0xc8
xor edi, edi
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x40]
push eax
push edi
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
pop ebp
test eax, eax
jne 0x4c3624
mov ebx, dword [esp + 0x24]
push 0x200
lea eax, [esp + 0x42c]
push eax
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.00495090
lea eax, [esp + 0x428]
push eax
push esi
call fcn.004c3380
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], 0xc8
push eax
push 0
push 0
push 0
lea eax, [esp + 0x1c]
inc edi
push eax
lea eax, [esp + 0x3c]
push eax
push edi
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4c35d1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c3633
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x4c33f9
xor al, al
jmp 0x4c33fa