Function at 0x4d506f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xbc], eax
je 0x4d51c7
call fcn.00403a64
push eax
lea ecx, [ebp - 0xb8]
call fcn.00402a6b
sub esp, 0x18
mov ecx, esp
push str.Title
call fcn.004108e3
mov ecx, dword [0x5740b0]
push esi
cmp esi, 0x2710
jbe 0x4d5123
lea eax, [ebp - 0x9c]
push eax
call fcn.0045e23f
mov ebx, eax
cmp dword [ebx + 0x14], 8
jb 0x4d50e3
mov ebx, dword [ebx]
lea eax, [ebp - 0xb4]
push esi
push eax
call fcn.004dfc0a
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x4d50fa
mov eax, dword [eax]
push ebx
push eax
lea eax, [ebp - 0xb8]
push 0x546d40
push eax
call fcn.0041b953
add esp, 0x10
lea ecx, [ebp - 0xb4]
call fcn.00410d88
lea ecx, [ebp - 0x9c]
jmp 0x4d5152
lea eax, [ebp - 0xb4]
push eax
call fcn.0045e23f
cmp dword [eax + 0x14], 8
jb 0x4d5137
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xb8]
push 0x546d78
push eax
call fcn.0041b953
add esp, 0xc
lea ecx, [ebp - 0xb4]
call fcn.00410d88
cmp edi, 1
je 0x4d5166
cmp edi, 4
mov edi, 0x546dc4
jne 0x4d516b
mov edi, 0x546da4
push edi
call sub.msvcrt.dll_wcslen
pop ecx
push eax
push edi
lea ecx, [ebp - 0xb8]
call fcn.00402d75
push esi
lea eax, [ebp - 0xb8]
push 0x546de0
push eax
call fcn.0041b953
mov esi, dword [ebp - 0xb8]
lea eax, [ebp - 0x90]
mov edi, dword [ebp - 0xbc]
xor ebx, ebx
push eax
push esi
push edi
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
call fcn.004d4d90
add esp, 0x18
jmp 0x4d5354
mov ecx, dword [0x5740b0]
push esi
call fcn.0045e6f0
test eax, eax
je 0x4d52a2
mov ecx, dword [0x5740b0]
lea eax, [ebp - 0xb4]
push edi
push esi
push eax
call fcn.0045e47a
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 4
push eax
lea eax, [ebp - 0xb8]
xor ebx, ebx
push eax
push ebx
push str.FixItemTime
push 0x52a258
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xb8], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0xa4], ebx
je 0x4d528f
push ebx
call sub.msvcrt.dll_time
sub eax, dword [ebp - 0xb8]
pop ecx
cmp eax, 0x708
jg 0x4d528f
cmp dword [ebp - 0xa0], 8
lea edi, [ebp - 0xb4]
jb 0x4d5256
mov edi, dword [ebp - 0xb4]
lea eax, [ebp - 0x90]
push esi
push eax
call fcn.004d4f46
push eax
push edi
mov edi, dword [ebp - 0xbc]
push edi
call fcn.004d4d90
add esp, 0x14
lea ecx, [ebp - 0x90]
call fcn.0042ef97
lea ecx, [ebp - 0xb4]
call fcn.00410d88
jmp 0x4d5367
push esi
push edi
mov edi, dword [ebp - 0xbc]
push edi
call fcn.004d4e83
add esp, 0xc
jmp 0x4d527f
call fcn.00403a64
push eax
lea ecx, [ebp - 0xb8]
call fcn.00402a6b
cmp edi, 1
je 0x4d52bd
cmp edi, 4
jne 0x4d52d6
mov edi, 0x546e68
push edi
call sub.msvcrt.dll_wcslen
pop ecx
push eax
push edi
lea ecx, [ebp - 0xb8]
call fcn.00402d75
mov edi, 0x80
lea eax, [ebp - 0x84]
push edi
xor ebx, ebx
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0xc0], edi
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
push str.NewTitle
push 0x52a258
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xb8]
push 0x546e80
push eax
call fcn.0041b953
lea eax, [ebp - 0x90]
push esi
push eax
call fcn.004d4f46
mov esi, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xbc]
push eax
push esi
push edi
call fcn.004d4d90
add esp, 0x20
lea ecx, [ebp - 0x90]
call fcn.0042ef97
lea ecx, [esi - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret