Function at 0x100163e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
lea ecx, [ebp + 8]
sub esp, 0x140
mov eax, dword [ecx]
mov ebx, dword [ecx + 0xc]
mov dword [ebp - 0x11c], 0x32
mov dword [ebp - 0x124], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x128], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x130], eax
test byte [0x1001c08c], 8
jne 0x10016720
test ebx, ebx
jne 0x100167ae
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x100167ae
lea eax, [ebp - 0x120]
mov dword [esp + 0xc], 0x20019
mov edi, dword [sym.imp.advapi32.dll_RegOpenKeyExA]
xor ebx, ebx
mov dword [esp + 0x10], eax
lea esi, [ebp - 0xdc]
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREMicrosoftDirectPlayApplications
mov dword [esp], 0x80000002
call edi
sub esp, 0x14
test eax, eax
je 0x1001649a
jmp 0x10016700
test byte [0x1001c08c], 2
jne 0x100166d0
mov dword [ebp - 0x11c], 0x32
add ebx, 1
lea eax, [ebp - 0x10c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
sub esp, 0x20
cmp eax, 0x103
je 0x10016709
mov dword [ebp - 0x110], 0x32
test byte [0x1001c08c], 8
jne 0x100165c0
lea eax, [ebp - 0x118]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
call edi
sub esp, 0x14
test eax, eax
jne 0x10016480
lea eax, [ebp - 0x110]
lea edx, [ebp - 0xa9]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x114]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.Guid
mov eax, dword [ebp - 0x118]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea edx, [ebp - 0xa9]
sub esp, 0x18
test eax, eax
je 0x100165f0
test byte [0x1001c08c], 2
je 0x1001648d
mov dword [esp + 0xc], str.:_missing_GUID_registry_data_members_n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_EnumLocalApplications
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
jmp 0x1001648d
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str._this_time_through:__s_n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_EnumLocalApplications
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1_3
jmp 0x10016502
lea ecx, [ebp - 0x76]
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x33
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x76]
lea eax, [ebp - 0x104]
sub esp, 0x18
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov eax, dword [ebp - 0x124]
movdqu xmm0, xmmword [ebp - 0x104]
mov dword [ebp - 0xf4], 0x18
sub esp, 8
mov dword [ebp - 0xe0], esi
lea edx, [eax + 0x20]
movups xmmword [ebp - 0xf0], xmm0
mov dword [esp], edx
mov dword [ebp - 0x12c], edx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x124]
sub esp, 4
mov dword [ecx + 0x38], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x130]
mov dword [esp + 4], eax
lea eax, [ebp - 0xf4]
mov dword [esp], eax
mov eax, dword [ebp - 0x128]
call eax
mov edx, dword [ebp - 0x12c]
sub esp, 0xc
test eax, eax
mov dword [esp], edx
je 0x100167a0
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
jmp 0x1001648d
mov dword [esp + 0xc], str.:_what_the_heck_is_going_on__n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_EnumLocalApplications
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
jmp 0x1001648d
test byte [0x1001c08c], 2
jne 0x10016770
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x128]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x124]
mov dword [esp + 0xc], str.__p_____p__p_0x_08lx__n
sub eax, 0x14
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_EnumLocalApplications
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1_3
jmp 0x10016424
mov dword [esp + 0xc], str.:_no_service_providers__n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_EnumLocalApplications
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
jmp 0x10016709
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
jmp 0x10016709
mov eax, 0x80070057
jmp 0x1001670b