Function at 0x41bae0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4323d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x20]
push eax
push str.SoftwareAnalog_DevicesSMax4PNPSettings
xor ebp, ebp
mov ebx, 4
push str._sPanel_d
push ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x20], ebx
mov dword [edi + 0x1c], ebp
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0x18]
lea ecx, [esp + 0x20]
push edx
push ebp
call sub.MFC42.DLL_CString::GetBuffer
push eax
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41bc53
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
push ebp
push str.NAME_IDX
push eax
mov dword [esp + 0x28], ebx
call esi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
mov dword [edi + 4], ecx
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
push ebp
push str.JACK_CNT
push edx
mov dword [esp + 0x28], ebx
call esi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov dword [edi + 0x1c], eax
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
push eax
push ebp
push str.CURR_SPKR_CFG
push ecx
mov dword [esp + 0x28], ebx
call esi
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
mov dword [edi + 8], edx
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
push ebp
push str.PREV_SPKR_CFG
push eax
mov dword [esp + 0x28], ebx
call esi
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
mov dword [edi + 0xc], ecx
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
push ebp
push str.BG_COLOR
push edx
mov dword [esp + 0x28], ebx
call esi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov dword [edi + 0x3c], eax
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
push eax
push ebp
mov dword [esp + 0x20], ebx
push str.BORDER
push ecx
call esi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov dword [edi + 0x48], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi + 0x1c]
cmp eax, ebp
jle 0x41bce0
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [edi + 0x38], eax
xor ebx, ebx
push 0x58
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x30], 1
je 0x41bc95
mov ecx, eax
call fcn.00418450
mov esi, eax
jmp 0x41bc97
xor esi, esi
mov edx, dword [esp + 0x38]
push ebp
push edx
mov ecx, esi
mov byte [esp + 0x38], 0
call fcn.00418530
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 0x28]
cmp ecx, eax
jne 0x41bcc0
mov ecx, dword [edi + 0x38]
add ebx, 4
mov dword [ebx + ecx - 4], esi
jmp 0x41bccc
test esi, esi
je 0x41bccc
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
inc ebp
cmp ebp, 0xa
jl 0x41bc73
mov ecx, edi
call fcn.0041b5c0
mov eax, dword [esp + 0x38]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x1c]
xor ecx, ecx
test eax, eax
setg cl
mov esi, ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4