Function at 0x43f1c6
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453b08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x450
mov dword [ebp - 0x448], ecx
mov ecx, dword [ebp - 0x448]
call fcn.0043ff04
cmp eax, 1
jne 0x43f1ff
jmp 0x43f562
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x42c]
call sub.MFC42u.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43f3c8
push 0
push 0x467dac
lea edx, [ebp - 0x43c]
push edx
mov ecx, dword [ebp - 0x448]
call fcn.0043fe33
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x44c]
mov dword [ebp - 0x450], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x450]
call fcn.00402b00
push eax
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x43c]
call sub.MFC42u.DLL_CString::CString
lea edx, [ebp - 0x424]
push edx
mov ecx, dword [ebp - 0x448]
call fcn.0043fde3
test eax, eax
je 0x43f359
push ecx
mov ecx, esp
mov dword [ebp - 0x440], esp
lea eax, [ebp - 0x424]
push eax
call fcn.00451084
mov dword [ebp - 0x454], eax
lea ecx, [ebp - 0x444]
push ecx
call fcn.0043fc0e
add esp, 8
mov dword [ebp - 0x458], eax
mov edx, dword [ebp - 0x458]
mov dword [ebp - 0x45c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x42c]
call sub.MFC42u.DLL_CString::operator_1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x444]
call sub.MFC42u.DLL_CString::CString
push 0x104
lea ecx, [ebp - 0x42c]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x42c]
call sub.MFC42u.DLL_CString::ReleaseBuffer
push str.DttrMgru.det
lea ecx, [ebp - 0x42c]
call fcn.004510de
push 0
lea ecx, [ebp - 0x42c]
call fcn.00402b00
push eax
mov ecx, dword [ebp - 0x448]
call fcn.0043fd4d
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
je 0x43f3b9
push str.IsAssociated
mov ecx, dword [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x434], eax
push str.RestoreAutoplayAudioPlayer
mov edx, dword [ebp - 0x428]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x434], 0
je 0x43f3ac
call dword [ebp - 0x434]
cmp eax, 1
jne 0x43f3ac
call dword [ebp - 0x438]
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x467e10
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov word [ebp - 0x424], 0x2e
mov word [ebp - 0x422], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x430]
push ecx
push 1
push 0
lea edx, [ebp - 0x424]
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43f423
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call sub.MFC42u.DLL_CString::CString
jmp 0x43f562
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push 0
mov eax, dword [ebp - 0x430]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43f47f
mov ecx, dword [ebp - 0x430]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call sub.MFC42u.DLL_CString::CString
jmp 0x43f562
push str.Media_Source_U
lea edx, [ebp - 0x218]
push edx
call fcn.00408640
add esp, 8
test eax, eax
je 0x43f543
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
push str.Media_Source_U.Bak
mov eax, dword [ebp - 0x430]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43f4df
mov word [ebp - 0x218], 0
mov ecx, dword [ebp - 0x430]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea edx, [ebp - 0x430]
push edx
push 0
push 2
push 0
push 0
push 0
lea eax, [ebp - 0x424]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 1
push 0
push 0
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x430]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8