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

Disassembly:
sub esp, 0xc20
mov eax, dword [0x58cb30]
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.004c1bf0
test eax, eax
jne 0x4d06ba
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 0x4d06ba
push ebx
push 0x100000
call fcn.005398b8
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4d0493
mov ecx, 0x5d381c
call fcn.00487da0
xor al, al
pop ebx
mov ecx, dword [esp + 0xc24]
pop edi
pop esi
xor ecx, esp
call fcn.00530218
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 0x4d0618
lea eax, [edi + 0x1e]
mov dword [esp + 0x20], eax
mov edi, eax
cmp word [edi], 0x5c
jne 0x4d04e1
add edi, 2
mov eax, dword [esp + 0x14]
cmp eax, 3
jne 0x4d04ff
push dword [esp + 0x1c]
lea eax, [esp + 0x30]
push ebx
push eax
push edi
push esi
call fcn.004ceac0
mov eax, dword [esp + 0x14]
cmp eax, 4
jne 0x4d0518
push 0
push dword [ebx]
lea eax, [esp + 0x34]
push eax
push edi
push esi
call fcn.004cebf0
mov eax, dword [esp + 0x14]
cmp eax, 0xb
jne 0x4d0532
push dword [ebx + 4]
lea eax, [esp + 0x30]
push dword [ebx]
push eax
push edi
push esi
call fcn.004cebf0
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x4d05d9
call fcn.004ce5a0
cmp byte [0x5dfbc9], 0
je 0x4d05d9
test esi, esi
je 0x4d0561
cmp esi, 0x80000001
je 0x4d0561
cmp esi, reloc.OLEAUT32.dll_SysReAllocString
jne 0x4d05d9
cmp word [edi], 0x5c
je 0x4d05d9
test esi, esi
jne 0x4d0572
mov eax, 0x558718
jmp 0x4d0584
mov eax, 0x568eb0
cmp esi, 0x80000001
je 0x4d0584
mov eax, str.HKLM_
push 0x400
push eax
lea eax, [esp + 0x434]
push eax
call fcn.004bdae0
push 0x400
push edi
lea eax, [esp + 0x434]
push eax
call fcn.004bda80
push 0x400
lea eax, [esp + 0x430]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x438]
push eax
call fcn.004a2fb0
push 1
push ebx
lea eax, [esp + 0x434]
push eax
call fcn.004cdbe0
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 0x4d04d6
push ebx
call fcn.0053867f
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 0x4d06a4
mov ebx, dword [esp + 0x24]
push 0x200
lea eax, [esp + 0x42c]
push eax
lea eax, [esp + 0x30]
push eax
push ebx
call fcn.004a2fb0
lea eax, [esp + 0x428]
push eax
push esi
call fcn.004d0400
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 0x4d0651
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d06b3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x4d0479
xor al, al
jmp 0x4d047a