Function at 0x5217e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5848a9
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 [0x5e5830]
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 [0x5ed920]
mov ecx, 0x5ed920
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 0x5ed920
call dword [eax + 4]
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x46c], 1
cmp eax, ebx
jne 0x521926
cmp dword [0x5e5cb4], ebx
jne 0x521926
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov byte [esp + 0x46c], 2
je 0x5218fb
push ebx
mov ecx, eax
call fcn.00414650
jmp 0x5218fd
xor eax, eax
mov ecx, dword [0x5cebb0]
mov byte [esp + 0x46c], 1
push ecx
push 0x406a50
mov ecx, 0x5eafa0
mov dword [0x5e5cb4], eax
call fcn.00406600
mov dword [0x5e5cb8], esi
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, 0x5ed920
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 0x5219be
mov eax, dword [esp + 0x20]
cmp eax, 4
je 0x5219be
cmp eax, 5
je 0x5219be
cmp edi, ebx
je 0x5219b6
mov eax, dword [0x5e5d28]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x5219b6
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 0x5219a4
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 0x5219b6
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 0x521a0d
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov edx, dword [0x5ed920]
mov ecx, 0x5ed920
mov byte [esp + 0x470], 4
mov dword [esp + 0x30], ecx
call dword [edx + 4]
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x470], 5
cmp eax, ebx
jne 0x521ab4
cmp dword [0x5e5cb4], ebx
jne 0x521ab4
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 0x521a85
mov ecx, esi
call fcn.00478dc0
mov dword [esi], vtable.CComObjectNoRef_class_CKMPPlayer_.0
jmp 0x521a87
xor esi, esi
mov eax, dword [0x5cebb0]
mov ecx, 0x5eafa0
push eax
push 0x406a50
mov byte [esp + 0x478], 5
mov dword [0x5e5cb4], esi
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, 0x5ed920
mov byte [esp + 0x470], 4
call dword [edx + 8]
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.0047a470
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 [0x5eb0c4], eax
je 0x521b26
cmp ecx, 5
je 0x521b26
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 0x521b4f
push ebx
push 0x41b
push edi
call ebp
cmp dword [0x5eb0c4], ebx
je 0x521b46
mov ecx, dword [esp + 0x47c]
push 0x403
push ecx
jmp 0x521b4f
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 [0x5e5d28]
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 0x521bfc
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 0x521be8
test eax, eax
je 0x521be8
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 0x521bfc
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 0x521c26
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 0x521c3f
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