Function at 0x420a10
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x60a117
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x7161c0]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x138], ebx
push str.CLSIDE436EBB5_524F_11CE_9F53_0020AF0BA770InprocServer32
lea ecx, [esp + 0x24]
call fcn.00401eb0
mov byte [esp + 0x138], 1
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push ecx
push DirectSoundCreate
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x420c2c
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push ebx
lea ecx, [esp + 0x1c]
push ecx
push ebx
mov edi, eax
push ebx
mov dword [esp + 0x30], edi
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x420c2c
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x420ad2
cmp eax, 2
jne 0x420c2c
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], esi
call fcn.004019e0
mov byte [esp + 0x138], 2
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x420b0e
push esi
lea ecx, [esp + 0x14]
call fcn.00401990
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push edx
push ebx
lea ecx, [esp + 0x28]
call fcn.0041adb0
test eax, eax
jne 0x420c1b
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.004027b0
lea ecx, [esp + 0x10]
call fcn.00407e30
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], ebx
jl 0x420c1b
push str.shared_filesource.ax
push ecx
call fcn.005d9339
mov ecx, dword [esp + 0x18]
add esp, 8
cmp eax, ebx
je 0x420b64
sub eax, ecx
jns 0x420b8d
cmp dword [ecx - 0xc], ebx
jl 0x420c1b
push str.shared1.ax
push ecx
call fcn.005d9339
add esp, 8
cmp eax, ebx
je 0x420c1b
sub eax, dword [esp + 0x10]
js 0x420c1b
push ebx
push 0x34
push str.Warning:_Player_has_detected_that_DirectShows__File_Source__async___filter_nwas_replaced_by_shared_filesource.ax._Please_run__regsvr32.exe_quartz.dll__nin_your_system_folder_to_restore_it._If_you_are_a_user_with_administrator_nrights__BLC_can_also_do_this_for_you._Do_you_want_to_re_register_quartz.dll_now_
call fcn.005bdbc4
cmp eax, 6
jne 0x420c1b
push 0x105
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401eb0
mov byte [esp + 0x138], 3
push str.quartz.dll
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403170
add esp, 0xc
mov byte [esp + 0x138], 5
lea ecx, [esp + 0x18]
call fcn.00401a50
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
je 0x420c0a
push str.DllRegisterServer
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x420c0a
call eax
mov byte [esp + 0x138], 2
lea ecx, [esp + 0x14]
call fcn.00401a50
mov byte [esp + 0x138], 1
lea ecx, [esp + 0x10]
call fcn.00401a50
mov byte [esp + 0x138], bl
lea ecx, [esp + 0x20]
call fcn.00401a50
mov dword [esp + 0x138], 0xffffffff
cmp edi, ebx
je 0x420c56
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.005d8d34
add esp, 0x12c
ret