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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x15c
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x138], 0x32
test byte [0x1001c08c], 8
jne 0x10016220
test ebx, ebx
jne 0x100163c6
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x100163c6
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100163d0
lea eax, [ebp - 0x13c]
mov dword [esp + 0xc], 0x20019
xor ebx, ebx
lea esi, [ebp - 0x10b]
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.advapi32.dll_RegOpenKeyExA]
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREMicrosoftDirectPlayService_Providers
mov dword [esp], 0x80000002
mov dword [ebp - 0x140], eax
call eax
sub esp, 0x14
test eax, eax
je 0x10015f5a
jmp 0x100161e8
test byte [0x1001c08c], 2
jne 0x100161b8
mov dword [ebp - 0x138], 0x32
add ebx, 1
lea eax, [ebp - 0x124]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x138]
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 - 0x13c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
sub esp, 0x20
cmp eax, 0x103
je 0x100161a8
mov dword [ebp - 0x128], 0x32
test byte [0x1001c08c], 8
jne 0x10016080
lea eax, [ebp - 0x134]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
call eax
sub esp, 0x14
test eax, eax
jne 0x10015f40
lea eax, [ebp - 0x128]
lea edx, [ebp - 0xa5]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x12c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.Guid
mov eax, dword [ebp - 0x134]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea edx, [ebp - 0xa5]
sub esp, 0x18
test eax, eax
je 0x100160b0
test byte [0x1001c08c], 2
je 0x10015f4d
mov dword [esp + 0xc], str.:_missing_GUID_registry_data_members_n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_EnumAddressTypes
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
jmp 0x10015f4d
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str._this_time_through:__s_n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_EnumAddressTypes
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1_3
jmp 0x10015fc2
lea edi, [ebp - 0x72]
mov dword [esp + 8], edx
mov dword [esp + 0x14], 0x33
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x11c]
sub esp, 0x18
mov dword [esp + 4], eax
mov eax, dword [sym.imp.ole32.dll_CLSIDFromString]
mov dword [esp], edi
mov dword [ebp - 0x144], eax
call eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
sub esp, 8
xor eax, dword [ecx]
xor edx, dword [ecx + 4]
or eax, edx
jne 0x10015f4d
mov eax, dword [ebp - 0x114]
mov edx, dword [ebp - 0x110]
xor eax, dword [ecx + 8]
xor edx, dword [ecx + 0xc]
or eax, edx
jne 0x10015f4d
lea eax, [ebp - 0x130]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.Address_Types
mov eax, dword [ebp - 0x134]
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
call eax
sub esp, 0x14
test eax, eax
je 0x10016270
test byte [0x1001c08c], 8
je 0x100161a8
mov dword [esp + 0xc], str.:_No_Address_Types_registry_data_sub_key_members_n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_EnumAddressTypes
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1_3
lea esi, [esi]
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov dword [esp + 0xc], str.:_what_the_heck_is_going_on__n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_EnumAddressTypes
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
jmp 0x10015f4d
test byte [0x1001c08c], 2
je 0x100161a8
mov dword [esp + 0xc], str.:_no_service_providers__n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_EnumAddressTypes
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_6
jmp 0x100161a8
mov dword [esp + 0x20], ebx
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], str.___p_____p__p__p_0x_08lx__n
sub eax, 0x14
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_EnumAddressTypes
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1_3
jmp 0x10015ed6
xor ebx, ebx
lea esi, [ebp - 0xd8]
jmp 0x100162fb
mov dword [esp + 0x14], 0x33
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x11c]
sub esp, 0x18
mov dword [esp + 4], eax
mov dword [esp], edi
mov eax, dword [ebp - 0x144]
call eax
sub esp, 8
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call dword [ebp + 0xc]
sub esp, 0xc
test eax, eax
je 0x10016390
mov dword [ebp - 0x138], 0x32
add ebx, 1
lea eax, [ebp - 0x124]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x138]
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 - 0x130]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
sub esp, 0x20
cmp eax, 0x103
je 0x100161a8
test byte [0x1001c08c], 8
je 0x10016280
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.Found_Address_Type_GUID__s_n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_EnumAddressTypes
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1_3
jmp 0x10016280
test byte [0x1001c08c], 4
je 0x100161a8
mov dword [esp + 0xc], str.lpEnumCallback_returning_FALSE_n
mov dword [esp + 8], str.IDirectPlayLobby3AImpl_EnumAddressTypes
mov dword [esp + 4], 0x1001c08c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.3_1
jmp 0x100161a8
mov eax, 0x80070057
jmp 0x100161aa
mov eax, 0x88770082
jmp 0x100161aa