Function at 0x418530
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x431ea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push str.SoftwareAnalog_DevicesSMax4PNPSettings
lea edx, [esp + 0x24]
mov ebx, 4
push str._sPanel_dJack_d
push edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], ebx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4187cb
lea ecx, [esp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.CODEC_ID
push ecx
mov dword [esp + 0x24], ebx
call edi
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
mov dword [esi + 0x10], edx
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0x43fc58
push eax
mov dword [esp + 0x24], ebx
call edi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esi + 0xc], ecx
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push str.PRIMARY_FC
push edx
mov dword [esp + 0x24], ebx
call edi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
mov dword [esi + 0x38], eax
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.CURRENT_FC
push ecx
mov dword [esp + 0x24], ebx
call edi
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
mov dword [esi + 0x14], edx
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.CURRENT_DID
push eax
mov dword [esp + 0x24], ebx
call edi
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004187f0
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x14], ebx
push ecx
mov edx, dword [esp + 0x20]
push 0
push str.FC_BITS
push edx
call edi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
mov dword [esi + 0x18], eax
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.INHIBIT
push ecx
mov dword [esp + 0x24], ebx
call edi
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.VREF_KEY
push eax
mov dword [esp + 0x24], ebx
call edi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esi + 0x24], ecx
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push str.GROUP_IDX
push edx
mov dword [esp + 0x24], ebx
call edi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
mov dword [esi + 0x28], eax
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.JACK_CFG
push ecx
mov dword [esp + 0x24], ebx
call edi
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
mov dword [esi + 0x20], edx
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.COLOR
push eax
mov dword [esp + 0x24], ebx
call edi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
mov dword [esi + 0x2c], ecx
mov dword [esp + 0xc], ebx
push edx
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push str.XPOS
push edx
call edi
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
mov dword [esi + 0x30], eax
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.YPOS
push ecx
mov dword [esp + 0x24], ebx
call edi
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov dword [esi + 0x34], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8