Function at 0x1000a530
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, 0x214
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 0x1e8], ecx
test byte [0x1001a03c], 8
jne 0x1000a960
mov dword [ebp - 0x1e4], 0
mov ecx, dword [ebp - 0x1e4]
mov edx, str.SOFTWAREMicrosoftDirectPlayLobby_Providers
mov eax, 0x1001c3e4
mov dword [ebp - 0x1d0], 0x32
test ecx, ecx
cmovne eax, edx
xor ecx, 1
xor ebx, ebx
mov edx, ecx
mov ecx, dword [ebp - 0x1e8]
mov dword [ecx], edx
lea edx, [ebp - 0x1d4]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
jne 0x1000ac0d
lea esi, [ebp - 0x1a5]
jmp 0x1000a5f2
test byte [0x1001a03c], 2
jne 0x1000a910
mov dword [ebp - 0x1d0], 0x33
add ebx, 1
lea eax, [ebp - 0x1c0]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
lea eax, [ebp - 0x1d0]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1d4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
sub esp, 0x20
cmp eax, 0x103
je 0x1000a940
mov dword [ebp - 0x1c4], 0xff
test byte [0x1001a03c], 8
jne 0x1000a718
lea eax, [ebp - 0x1cc]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1d4]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
jne 0x1000a5d8
lea eax, [ebp - 0x1c4]
lea edi, [ebp - 0x10c]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov dword [esp + 4], 0x1001c463
mov dword [ebp - 0x1d8], eax
call eax
sub esp, 0x18
test eax, eax
je 0x1000a748
test byte [0x1001a03c], 2
je 0x1000a5e5
mov dword [esp + 0xc], 0x1001c468
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001a03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a5e5
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x1001c42d
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001a03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a65a
mov eax, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
lea edx, [ebp - 0x172]
mov dword [esp + 8], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x33
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x1e0], eax
call eax
lea ecx, [ebp - 0x1b8]
lea edx, [ebp - 0x172]
sub esp, 0x18
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov eax, dword [ebp - 0x1dc]
sub esp, 8
mov eax, dword [eax]
cmp dword [ebp - 0x1b8], eax
jne 0x1000a5e5
mov eax, dword [ebp - 0x1dc]
mov eax, dword [eax + 4]
cmp dword [ebp - 0x1b4], eax
jne 0x1000a5e5
mov eax, dword [ebp - 0x1dc]
mov eax, dword [eax + 8]
cmp dword [ebp - 0x1b0], eax
jne 0x1000a5e5
mov eax, dword [ebp - 0x1dc]
mov eax, dword [eax + 0xc]
cmp dword [ebp - 0x1ac], eax
jne 0x1000a5e5
mov eax, dword [ebp - 0x1e4]
test eax, eax
je 0x1000aa56
lea eax, [ebp - 0x1c4]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1c4], 0xff
mov dword [esp], eax
mov eax, dword [ebp - 0x1d8]
mov dword [esp + 8], 0
mov dword [esp + 4], str.dwReserved1
call eax
sub esp, 0x18
test eax, eax
jne 0x1000aa20
lea eax, [ebp - 0x1c4]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1c4], 0xff
mov dword [esp], eax
mov eax, dword [ebp - 0x1d8]
mov dword [esp + 8], 0
mov dword [esp + 4], str.dwReserved2
call eax
sub esp, 0x18
test eax, eax
jne 0x1000aa20
lea eax, [ebp - 0x1c4]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1c4], 0xff
mov dword [esp], eax
mov eax, dword [ebp - 0x1d8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1001d005
call eax
sub esp, 0x18
test eax, eax
jne 0x1000aba0
test byte [0x1001a03c], 8
jne 0x1000abe0
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov ebx, eax
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], 0x1001c445
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001a03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a5e5
cmp dword [ebp - 0x1e4], 1
jne 0x1000ac43
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
shr eax, 0x10
je 0x1000a9fe
mov edi, dword [ebp - 0x1dc]
movzx eax, byte [edi + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [edi + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [edi + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [edi + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [edi + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [edi + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [edi + 8]
mov dword [esp + 0x10], eax
movzx eax, word [edi + 6]
mov dword [esp + 0xc], eax
movzx eax, word [edi + 4]
mov dword [esp + 8], eax
mov eax, dword [edi]
mov dword [esp], 0x1001c310
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._request_to_load__s_n
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001a03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a55b
movzx eax, word [ebp - 0x1dc]
mov dword [esp], 0x1001c2ff
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
jmp 0x1000a9d1
test byte [0x1001a03c], 2
je 0x1000a5e5
mov dword [esp + 0xc], str.:_missing_dwReserved1_registry_data_members_n
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001a03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a5e5
mov dword [esp + 0x14], 0
mov eax, dword [ebp - 0x1e0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
sub esp, 0x18
mov edx, eax
lea eax, [eax + eax]
mov dword [ebp - 0x1f0], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp - 0x1ec]
mov edx, dword [ebp - 0x1f0]
mov dword [ecx + 8], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1e0]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x1c4], 0xff
sub esp, 0x18
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x1d8]
mov dword [esp + 8], 0
mov dword [esp + 4], str.dwReserved1
call eax
sub esp, 0x18
test eax, eax
jne 0x1000aa20
mov eax, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1c4], 0xff
mov dword [edx + 0x10], eax
lea eax, [ebp - 0x1c4]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov eax, dword [ebp - 0x1d8]
mov dword [esp + 8], 0
mov dword [esp + 4], str.dwReserved2
call eax
sub esp, 0x18
test eax, eax
jne 0x1000aa20
mov eax, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x1ec]
mov dword [edx + 0x14], eax
jmp 0x1000a89e
test byte [0x1001a03c], 2
je 0x1000a5e5
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.:_missing_PATH_registry_data_members:_0x_08lx_n
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001a03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a5e5
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Loading__s_n
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001a03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a8f7
test byte [0x1001a03c], 2
je 0x1000a94f
mov dword [esp + 0xc], 0x1001c414
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001a03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a94f
mov dword [ebp - 0x1e4], 1
jmp 0x1000a565