Function at 0x516b10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x56e0a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x458
push ebx
push esi
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov al, byte [0x5cabc0]
mov ecx, 0x103
mov byte [esp + 0x54], al
xor eax, eax
lea edi, [esp + 0x55]
lea edx, [esp + 0x54]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x28]
xor ebx, ebx
stosb byte es:[edi], al
push ecx
lea eax, [esp + 0x34]
push edx
push eax
push str.uicmd
mov esi, 1
push str.SOFTWAREStorm
push SysReAllocStringLen
mov dword [esp + 0x484], ebx
mov dword [esp + 0x40], 0x410
mov dword [esp + 0x48], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_2
push ebx
push str.MEU_PLAYCONTROL:DISABLE
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Find
push ebx
push str.MEU_PLAYPAUSE:DISABLE
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Find
xor edx, edx
push ebx
test eax, eax
setl dl
push str.MEU_PLAYSTOP:DISABLE
lea ecx, [esp + 0x1c]
mov edi, edx
call sub.MFC42.DLL_CString::Find
mov eax, dword [0x5d2ac0]
mov ecx, 0x5d2ac0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0x5d2ac0
call dword [eax + 4]
mov eax, dword [0x5cb048]
mov byte [esp + 0x46c], 1
cmp eax, ebx
jne 0x516c56
cmp dword [0x5cb044], ebx
jne 0x516c56
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x46c], 2
je 0x516c2b
push ebx
mov ecx, eax
call fcn.00414150
jmp 0x516c2d
xor eax, eax
mov ecx, dword [0x5b4b90]
mov byte [esp + 0x46c], 1
push ecx
push 0x406940
mov ecx, 0x5d0190
mov dword [0x5cb044], eax
call fcn.00406500
mov dword [0x5cb048], esi
mov edx, dword [0x5d2ac0]
mov esi, dword [0x5cb044]
mov ecx, 0x5d2ac0
mov byte [esp + 0x46c], 0
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [eax + 0xac]
test eax, eax
jl 0x516cee
mov eax, dword [esp + 0x20]
cmp eax, 4
je 0x516cee
cmp eax, 5
je 0x516cee
cmp edi, ebx
je 0x516ce6
mov eax, dword [0x5cb0b8]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x516ce6
mov dword [esp + 0xc], ebx
mov edx, dword [eax]
lea ecx, [esp + 0xc]
push ecx
push eax
mov byte [esp + 0x474], 3
call dword [edx + 0xc0]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x516cd4
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [edx + 0x24]
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov byte [esp + 0x46c], 0
je 0x516ce6
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0xc], 3
mov edi, dword [esp + 0x474]
push ebp
mov ebp, dword [sym.imp.USER32.dll_EnableMenuItem]
mov dword [esp + 0x3c], 0x41c
mov dword [esp + 0x40], 0x41d
mov dword [esp + 0x44], 0x8007
mov dword [esp + 0x48], 0x41e
mov dword [esp + 0x4c], 0x41f
mov dword [esp + 0x50], 0xbc0
mov dword [esp + 0x54], 0x803b
lea esi, [esp + 0x3c]
mov ebx, 7
mov eax, dword [esp + 0x10]
mov ecx, dword [esi]
push eax
push ecx
push edi
call ebp
add esi, 4
dec ebx
jne 0x516d3d
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov edx, dword [0x5d2ac0]
mov ecx, 0x5d2ac0
mov byte [esp + 0x470], 4
mov dword [esp + 0x30], ecx
call dword [edx + 4]
mov eax, dword [0x5cb048]
mov byte [esp + 0x470], 5
cmp eax, ebx
jne 0x516de4
cmp dword [0x5cb044], ebx
jne 0x516de4
push 0x380
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0x470], 6
je 0x516db5
mov ecx, esi
call fcn.00472270
mov dword [esi], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x516db7
xor esi, esi
mov eax, dword [0x5b4b90]
mov ecx, 0x5d0190
push eax
push 0x406940
mov byte [esp + 0x478], 5
mov dword [0x5cb044], esi
call fcn.00406500
mov dword [0x5cb048], 1
mov edx, dword [0x5d2ac0]
mov esi, dword [0x5cb044]
mov ecx, 0x5d2ac0
mov byte [esp + 0x470], 4
call dword [edx + 8]
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.00473910
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x38]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x144]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
cmp ecx, 4
mov dword [0x5d02b4], eax
je 0x516e56
cmp ecx, 5
je 0x516e56
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
push eax
push 0x41b
push edi
call ebp
mov eax, dword [esp + 0x47c]
push 0x403
push eax
jmp 0x516e7f
push ebx
push 0x41b
push edi
call ebp
cmp dword [0x5d02b4], ebx
je 0x516e76
mov ecx, dword [esp + 0x47c]
push 0x403
push ecx
jmp 0x516e7f
mov edx, dword [esp + 0x47c]
push ebx
push edx
push edi
call ebp
push ebx
push 0x41a
push edi
call ebp
xor esi, esi
mov dword [esp + 0x1c], ebx
mov eax, dword [0x5cb0b8]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, dword [eax]
mov byte [esp + 0x478], 7
call dword [ecx + 0xc0]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0xffffffff
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
mov eax, dword [esp + 0x28]
cmp eax, 0xffffffff
je 0x516f2c
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x1c]
lea ebx, [esp + 0x10]
push ebx
push eax
mov edx, dword [ecx]
push ecx
mov byte [esp + 0x47c], 8
call dword [edx + 0x28]
test eax, eax
mov eax, dword [esp + 0x10]
jl 0x516f18
test eax, eax
je 0x516f18
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x3c]
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
sete al
mov esi, eax
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov byte [esp + 0x470], 7
cmp eax, ebx
je 0x516f2c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
neg esi
sbb esi, esi
and esi, 0xfffffffd
add esi, 3
push esi
push 0x8066
push edi
call ebp
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x470], 4
cmp eax, ebx
pop ebp
je 0x516f56
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
cmp eax, ebx
mov byte [esp + 0x464], 0
pop ebx
je 0x516f6f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 8]
mov dword [esp + 0x460], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
add esp, 0x464
ret