Function at 0x10004e80
Capabilities:
Query or enumerate registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x16c
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x148], edi
mov ebx, dword [ecx + 0x10]
mov dword [ebp - 0x154], esi
test byte [0x1001c03c], 8
jne 0x100050c8
test ebx, ebx
mov eax, 1
cmovne eax, ebx
mov dword [ebp - 0x150], eax
test al, 3
je 0x100057f8
mov edx, dword [ebp - 0x148]
test edx, edx
je 0x10005802
test al, 1
jne 0x10005110
test byte [ebp - 0x150], 2
jne 0x10004f10
xor edx, edx
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [ebp - 0x134], 0x32
lea eax, [ebp - 0x138]
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.advapi32.dll_RegOpenKeyExA]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREMicrosoftDirectPlayLobby_Providers
mov dword [esp], 0x80000002
mov dword [ebp - 0x144], eax
call eax
sub esp, 0x14
test eax, eax
jne 0x10005450
lea eax, [ebp - 0x120]
lea edi, [ebp - 0xdc]
xor esi, esi
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x134]
mov dword [ebp - 0x140], eax
mov eax, dword [sym.imp.advapi32.dll_RegEnumKeyExA]
mov dword [ebp - 0x13c], eax
mov eax, edi
mov edi, esi
mov esi, eax
jmp 0x10004faa
test byte [0x1001c03c], 2
jne 0x10005650
mov dword [ebp - 0x134], 0x33
add edi, 1
mov eax, dword [ebp - 0x14c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x140]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x138]
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
call eax
sub esp, 0x20
cmp eax, 0x103
je 0x10004ef5
mov dword [ebp - 0x128], 0x32
mov dword [ebp - 0x124], 0
test byte [0x1001c03c], 8
jne 0x10005490
lea eax, [ebp - 0x130]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x138]
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
call eax
sub esp, 0x14
test eax, eax
jne 0x10004f90
lea eax, [ebp - 0x128]
lea ebx, [ebp - 0xa9]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x12c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x1001e773
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
je 0x100054c0
test byte [0x1001c03c], 2
jne 0x10005680
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x10004f9d
mov dword [esp + 0x20], ebx
sub eax, 0x14
mov dword [esp + 0x1c], esi
mov esi, dword [ebp - 0x148]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__p_____p__p__p_0x_08lx__n
mov dword [esp + 8], str.IDirectPlay4AImpl_EnumConnections
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1
jmp 0x10004ebe
mov dword [ebp - 0x134], 0x32
lea eax, [ebp - 0x138]
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.advapi32.dll_RegOpenKeyExA]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1001e6f4
mov dword [esp], 0x80000002
mov dword [ebp - 0x144], eax
call eax
sub esp, 0x14
test eax, eax
jne 0x100056b0
lea eax, [ebp - 0x134]
xor ebx, ebx
lea edi, [ebp - 0xdc]
mov dword [ebp - 0x140], eax
mov eax, dword [sym.imp.advapi32.dll_RegEnumKeyExA]
mov dword [ebp - 0x13c], eax
jmp 0x1000519a
test byte [0x1001c03c], 2
jne 0x100053f0
mov dword [ebp - 0x134], 0x33
add ebx, 1
lea eax, [ebp - 0x118]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x140]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x138]
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
call eax
sub esp, 0x20
cmp eax, 0x103
je 0x10004eec
mov dword [ebp - 0x128], 0x32
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
test byte [0x1001c03c], 8
jne 0x100052c0
lea eax, [ebp - 0x130]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov eax, dword [ebp - 0x138]
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
call eax
sub esp, 0x14
test eax, eax
jne 0x10005180
lea eax, [ebp - 0x128]
lea esi, [ebp - 0xa9]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x12c]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x1001e773
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
je 0x100052f0
test byte [0x1001c03c], 2
jne 0x10005420
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
jmp 0x1000518d
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x1001e73d
mov dword [esp + 8], str.IDirectPlay4AImpl_EnumConnections
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1
jmp 0x10005218
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea edx, [ebp - 0x76]
sub esp, 4
mov dword [esp + 0x10], edx
mov dword [esp + 8], esi
lea esi, [ebp - 0xf4]
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 edx, [ebp - 0x76]
sub esp, 0x18
mov dword [esp], edx
mov dword [esp + 4], esi
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea ecx, [ebp - 0x120]
mov eax, esi
movq xmm0, qword [0x10020de8]
sub esp, 8
lea edx, [ebp - 0x124]
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xfc], 0
movq qword [ebp - 0x108], xmm0
call sym._DP_BuildSPCompoundAddr
test eax, eax
je 0x1000570c
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x124]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x150]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x108]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x120]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [ebp - 0x14c], ecx
mov dword [esp], esi
mov eax, dword [ebp - 0x148]
call eax
mov ecx, dword [ebp - 0x14c]
sub esp, 0x18
test eax, eax
je 0x100056f0
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x1000518d
mov dword [esp + 0xc], 0x1001e755
mov dword [esp + 8], str.IDirectPlay4AImpl_EnumConnections
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000518d
mov dword [esp + 0xc], 0x1001e778
mov dword [esp + 8], str.IDirectPlay4AImpl_EnumConnections
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x100052a3
test byte [0x1001c03c], 8
je 0x10004ef5
mov dword [esp + 0xc], str.No_Lobby_Providers_have_been_registered._n
mov dword [esp + 8], str.IDirectPlay4AImpl_EnumConnections
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1
jmp 0x10004ef5
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x1001e73d
mov dword [esp + 8], str.IDirectPlay4AImpl_EnumConnections
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1
jmp 0x1000501e
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea edx, [ebp - 0x76]
sub esp, 4
mov dword [esp + 0x10], edx
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x108]
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 edx, [ebp - 0x76]
sub esp, 0x18
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea eax, [ebp - 0x124]
movq xmm1, qword [0x10020de8]
movdqu xmm2, xmmword [0x100244f0]
sub esp, 8
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0xe4], 0x10
mov dword [ebp - 0xe0], ebx
movq qword [ebp - 0x118], xmm1
movups xmmword [ebp - 0xf4], xmm2
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xf4]
mov dword [esp + 0x10], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._DPL_CreateCompoundAddress
cmp eax, 0x8877001e
jne 0x10005723
mov eax, dword [ebp - 0x124]
mov dword [esp], 1
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_calloc]
mov dword [esp + 0x10], 1
mov ecx, eax
lea eax, [ebp - 0x124]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xf4]
mov dword [esp + 8], ecx
mov dword [ebp - 0x158], ecx
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._DPL_CreateCompoundAddress
mov ecx, dword [ebp - 0x158]
test eax, eax
jne 0x10005773
mov eax, dword [ebp - 0x154]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x150]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x118]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x124]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [ebp - 0x158], ecx
mov dword [esp], ebx
mov eax, dword [ebp - 0x148]
call eax
mov ecx, dword [ebp - 0x158]
sub esp, 0x18
test eax, eax
je 0x100056f0
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x10004f9d
mov dword [esp + 0xc], 0x1001e755
mov dword [esp + 8], str.IDirectPlay4AImpl_EnumConnections
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x10004f9d
mov dword [esp + 0xc], 0x1001e778
mov dword [esp + 8], str.IDirectPlay4AImpl_EnumConnections
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x100050ad
test byte [0x1001c03c], 2
je 0x10004ef5
mov dword [esp + 0xc], 0x1001e724
mov dword [esp + 8], str.IDirectPlay4AImpl_EnumConnections
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x10004ef5
mov edx, eax
mov dword [ebp - 0x13c], edx
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [ebp - 0x13c]
jmp 0x10004ef7
test byte [0x1001c03c], 2
jne 0x100057cf
mov edx, 0x80004005
jmp 0x10004ef7
mov edx, eax
test byte [0x1001c03c], 2
je 0x10004ef7
mov dword [esp], eax
mov dword [ebp - 0x13c], eax
call sym._DPLAYX_HresultToString
mov dword [esp + 0xc], str.cant_get_buffer_size:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.IDirectPlay4AImpl_EnumConnections
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [ebp - 0x13c]
jmp 0x10004ef7
mov edx, eax
test byte [0x1001c03c], 2
je 0x100056f2
mov dword [ebp - 0x140], ecx
mov dword [esp], eax
mov dword [ebp - 0x13c], eax
call sym._DPLAYX_HresultToString
mov dword [esp + 0xc], str.cant_create_address:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.IDirectPlay4AImpl_EnumConnections
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
mov ecx, dword [ebp - 0x140]
mov edx, dword [ebp - 0x13c]
jmp 0x100056f2
mov dword [esp + 0xc], str.Cant_build_compound_addr_n
mov dword [esp + 8], str.IDirectPlay4AImpl_EnumConnections
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x10005719
mov edx, 0x88770078
jmp 0x10004ef7
mov edx, 0x80070057
jmp 0x10004ef7