Function at 0x1000a1b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x218
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 0x1e8], ecx
test byte [0x1001c03c], 8
jne 0x1000a610
xor esi, esi
mov ecx, 0x1001e6f4
mov ebx, dword [ebp - 0x1e8]
mov eax, esi
mov dword [ebp - 0x1d0], 0x32
xor eax, 1
mov dword [ebx], eax
lea eax, [ebp - 0x1d4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
jne 0x1000a5d6
test esi, esi
je 0x1000a6b0
lea eax, [ebp - 0x1c0]
xor ebx, ebx
lea esi, [ebp - 0x1a5]
mov dword [ebp - 0x1e0], eax
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x1dc], eax
mov eax, dword [sym.imp.advapi32.dll_RegEnumKeyExA]
mov dword [ebp - 0x1d8], eax
jmp 0x1000a33d
lea eax, [ebp - 0x1c4]
lea edi, [ebp - 0x10c]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c8]
mov dword [esp + 0x10], edi
mov dword [ebp - 0x1e8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1001e773
mov eax, dword [ebp - 0x1cc]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x1000a448
lea edx, [ebp - 0x172]
mov dword [esp + 0x14], 0x33
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
lea edx, [ebp - 0x172]
lea eax, [ebp - 0x1b8]
sub esp, 0x18
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov ecx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x1b8]
mov edx, dword [ebp - 0x1b4]
sub esp, 8
xor eax, dword [ecx]
xor edx, dword [ecx + 4]
or eax, edx
je 0x1000a480
nop
mov dword [ebp - 0x1d0], 0x33
add ebx, 1
mov eax, dword [ebp - 0x1e0]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x1dc]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x1d4]
mov dword [esp], eax
mov eax, dword [ebp - 0x1d8]
call eax
sub esp, 0x20
cmp eax, 0x103
je 0x1000a603
mov dword [ebp - 0x1c4], 0xff
test byte [0x1001c03c], 8
jne 0x1000a418
lea eax, [ebp - 0x1cc]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x1d4]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x1000a270
test byte [0x1001c03c], 2
je 0x1000a330
mov dword [esp + 0xc], 0x1001e755
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a330
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x1001e73d
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1
jmp 0x1000a3a3
test byte [0x1001c03c], 2
je 0x1000a330
mov dword [esp + 0xc], 0x1001e778
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a330
mov eax, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x1ac]
xor eax, dword [ecx + 8]
xor edx, dword [ecx + 0xc]
or eax, edx
jne 0x1000a330
mov dword [ebp - 0x1c4], 0xff
lea eax, [ebp - 0x1c4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov eax, dword [ebp - 0x1e8]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.dwReserved1
mov eax, dword [ebp - 0x1cc]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x1000a5a0
mov dword [ebp - 0x1c4], 0xff
lea eax, [ebp - 0x1c4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov eax, dword [ebp - 0x1e8]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.dwReserved2
mov eax, dword [ebp - 0x1cc]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x1000a5a0
mov dword [ebp - 0x1c4], 0xff
lea eax, [ebp - 0x1c4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1001f015
mov eax, dword [ebp - 0x1cc]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x1000ab30
test byte [0x1001c03c], 8
jne 0x1000ab70
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LoadLibraryA]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x1001c03c], 2
je 0x1000a330
mov dword [esp + 0xc], str.:_missing_dwReserved1_registry_data_members_n
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a330
test byte [0x1001c03c], 2
je 0x1000a603
mov dword [esp + 0xc], 0x1001e724
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
shr eax, 0x10
je 0x1000aad9
mov edi, dword [ebp - 0x1e4]
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], 0x1001e31c
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], 0x1001c03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1
jmp 0x1000a1db
lea eax, [ebp - 0x1c0]
lea ebx, [ebp - 0x1a5]
mov dword [ebp - 0x1e0], eax
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x1dc], eax
mov eax, dword [sym.imp.advapi32.dll_RegEnumKeyExA]
mov dword [ebp - 0x1d8], eax
jmp 0x1000a6fa
test byte [0x1001c03c], 2
jne 0x1000aab0
mov dword [ebp - 0x1d0], 0x33
add esi, 1
mov eax, dword [ebp - 0x1e0]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x1dc]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x1d4]
mov dword [esp], eax
mov eax, dword [ebp - 0x1d8]
call eax
sub esp, 0x20
cmp eax, 0x103
je 0x1000aaa0
mov dword [ebp - 0x1c4], 0xff
test byte [0x1001c03c], 8
jne 0x1000a820
lea eax, [ebp - 0x1cc]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x1d4]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
jne 0x1000a6e0
lea eax, [ebp - 0x1c4]
lea edi, [ebp - 0x10c]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c8]
mov dword [esp + 0x10], edi
mov dword [ebp - 0x1f0], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1001e773
mov eax, dword [ebp - 0x1cc]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
je 0x1000a850
test byte [0x1001c03c], 2
je 0x1000a6ed
mov dword [esp + 0xc], 0x1001e778
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a6ed
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x1001e73d
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1
jmp 0x1000a764
lea edx, [ebp - 0x172]
mov dword [esp + 0x14], 0x33
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
lea edx, [ebp - 0x172]
lea eax, [ebp - 0x1b8]
sub esp, 0x18
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov ecx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x1b8]
mov edx, dword [ebp - 0x1b4]
sub esp, 8
xor eax, dword [ecx]
xor edx, dword [ecx + 4]
or eax, edx
jne 0x1000a6ed
mov eax, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x1ac]
xor eax, dword [ecx + 8]
xor edx, dword [ecx + 0xc]
or eax, edx
jne 0x1000a6ed
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
sub esp, 0x18
mov edx, eax
lea eax, [eax + eax]
mov dword [ebp - 0x1f4], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x1ec]
mov dword [edx + 8], eax
mov edx, dword [ebp - 0x1f4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x1c4], 0xff
sub esp, 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov eax, dword [ebp - 0x1f0]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.dwReserved1
mov eax, dword [ebp - 0x1cc]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x1000aaf4
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
mov dword [esp + 0x10], edi
mov eax, dword [ebp - 0x1f0]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.dwReserved2
mov eax, dword [ebp - 0x1cc]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x1000aaf4
mov eax, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1c4], 0xff
mov dword [edx + 0x14], eax
lea eax, [ebp - 0x1c4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1001f015
mov eax, dword [ebp - 0x1cc]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
je 0x1000a578
test byte [0x1001c03c], 2
je 0x1000a6ed
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], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a6ed
mov esi, 1
mov ecx, str.SOFTWAREMicrosoftDirectPlayLobby_Providers
jmp 0x1000a1e2
mov dword [esp + 0xc], 0x1001e755
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a6ed
mov eax, dword [ebp - 0x1e4]
mov dword [esp], 0x1001e30c
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
jmp 0x1000a681
test byte [0x1001c03c], 2
je 0x1000a6ed
mov dword [esp + 0xc], str.:_missing_dwReserved1_registry_data_members_n
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a6ed
test byte [0x1001c03c], 2
je 0x1000a330
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], 0x1001c03c
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000a330
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Loading__s_n
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.1
jmp 0x1000a585