Function at 0x1000b7d0
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, 0x20c
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1e0], ecx
test byte [0x1001903c], 8
jne 0x1000bbe8
mov dword [ebp - 0x1dc], 0
mov eax, 0x1001b68c
mov dword [ebp - 0x1d0], 0x32
mov edx, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0x1e0]
xor edx, 1
mov dword [ecx], edx
lea ecx, [ebp - 0x1d4]
mov dword [esp + 0x10], ecx
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 0x1000bc88
lea esi, [ebp - 0x1a5]
xor ebx, ebx
jmp 0x1000b882
test byte [0x1001903c], 2
jne 0x1000bb90
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 + 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 - 0x1d4]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
sub esp, 0x20
cmp eax, 0x103
je 0x1000bbc0
mov dword [ebp - 0x1c4], 0xff
test byte [0x1001903c], 8
jne 0x1000b9a0
mov dword [esp + 0xc], 0x20019
lea eax, [ebp - 0x1cc]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
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
jne 0x1000b868
lea eax, [ebp - 0x1c4]
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
lea edi, [ebp - 0x10c]
lea eax, [ebp - 0x1c8]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x1001b70b
mov eax, dword [ebp - 0x1cc]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
je 0x1000b9d0
test byte [0x1001903c], 2
je 0x1000b875
mov dword [esp + 0xc], 0x1001b710
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001903c
mov dword [esp], 1
call fcn.10003740
jmp 0x1000b875
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x1001b6d5
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001903c
mov dword [esp], 3
call fcn.10003740
jmp 0x1000b8ea
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 eax, [ebp - 0x1b8]
lea edx, [ebp - 0x172]
sub esp, 0x18
mov dword [esp + 4], eax
mov dword [esp], edx
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov eax, dword [ebp - 0x1d8]
sub esp, 8
mov eax, dword [eax]
cmp dword [ebp - 0x1b8], eax
jne 0x1000b875
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 4]
cmp dword [ebp - 0x1b4], eax
jne 0x1000b875
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 8]
cmp dword [ebp - 0x1b0], eax
jne 0x1000b875
mov eax, dword [ebp - 0x1d8]
mov eax, dword [eax + 0xc]
cmp dword [ebp - 0x1ac], eax
jne 0x1000b875
mov eax, dword [ebp - 0x1dc]
test eax, eax
je 0x1000bd16
mov dword [ebp - 0x1c4], 0xff
lea eax, [ebp - 0x1c4]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c8]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
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 0x1000bce0
mov dword [ebp - 0x1c4], 0xff
lea eax, [ebp - 0x1c4]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c8]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
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 0x1000bce0
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], 0x1001c69d
mov eax, dword [ebp - 0x1cc]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x1000be58
test byte [0x1001903c], 8
jne 0x1000be98
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
mov dword [esp + 0xc], 0x1001b6ed
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001903c
mov dword [esp], 1
call fcn.10003740
jmp 0x1000b875
cmp dword [ebp - 0x1dc], 1
mov eax, str.SOFTWAREMicrosoftDirectPlayLobby_Providers
je 0x1000bcb5
mov dword [ebp - 0x1dc], 1
jmp 0x1000b80a
shr eax, 0x10
test eax, eax
je 0x1000bcbf
mov ecx, dword [ebp - 0x1d8]
movzx eax, byte [ecx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ecx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ecx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ecx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ecx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ecx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ecx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ecx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ecx + 4]
mov dword [esp + 8], eax
mov eax, dword [ecx]
mov dword [esp], 0x1001b5b8
mov dword [esp + 4], eax
call fcn.100031c0
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], 0x1001903c
mov dword [esp], 3
call fcn.10003740
jmp 0x1000b7fb
test byte [0x1001903c], 2
je 0x1000bcb5
mov dword [esp + 0xc], 0x1001b6bc
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001903c
mov dword [esp], 1
call fcn.10003740
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x1d8]
mov dword [esp], 0x1001b5a6
mov dword [esp + 4], eax
call fcn.100031c0
jmp 0x1000bc5b
test byte [0x1001903c], 2
je 0x1000b875
mov dword [esp + 0xc], str.:_missing_dwReserved1_registry_data_members_n
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001903c
mov dword [esp], 1
call fcn.10003740
jmp 0x1000b875
mov dword [esp + 0x14], 0
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 dword [sym.imp.kernel32.dll_MultiByteToWideChar]
sub esp, 0x18
mov edx, eax
lea eax, [eax + eax]
mov dword [ebp - 0x1e8], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp - 0x1e4]
mov edx, dword [ebp - 0x1e8]
mov dword [ecx + 8], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
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 - 0x1c4]
mov dword [ebp - 0x1c4], 0xff
sub esp, 0x18
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c8]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
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 0x1000bce0
mov dword [ebp - 0x1c4], 0xff
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x1e4]
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x1c4]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1c8]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
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 0x1000bce0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x1e4]
mov dword [ecx + 0x14], eax
jmp 0x1000bb1b
test byte [0x1001903c], 2
je 0x1000b875
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], 0x1001903c
mov dword [esp], 1
call fcn.10003740
jmp 0x1000b875
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Loading__s_n
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001903c
mov dword [esp], 3
call fcn.10003740
jmp 0x1000bb72