Function at 0x1000b840
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 [0x1001903c], 8
jne 0x1000bc70
mov dword [ebp - 0x1e4], 0
mov ecx, dword [ebp - 0x1e4]
mov edx, str.SOFTWAREMicrosoftDirectPlayLobby_Providers
mov eax, 0x1001b6a8
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 0x1000bf1d
lea esi, [ebp - 0x1a5]
jmp 0x1000b902
test byte [0x1001903c], 2
jne 0x1000bc20
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 0x1000bc50
mov dword [ebp - 0x1c4], 0xff
test byte [0x1001903c], 8
jne 0x1000ba28
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 0x1000b8e8
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], 0x1001b727
mov dword [ebp - 0x1d8], eax
call eax
sub esp, 0x18
test eax, eax
je 0x1000ba58
test byte [0x1001903c], 2
je 0x1000b8f5
mov dword [esp + 0xc], 0x1001b72c
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001903c
mov dword [esp], 1
call fcn.100037f0
jmp 0x1000b8f5
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x1001b6f1
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001903c
mov dword [esp], 3
call fcn.100037f0
jmp 0x1000b96a
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 0x1000b8f5
mov eax, dword [ebp - 0x1dc]
mov eax, dword [eax + 4]
cmp dword [ebp - 0x1b4], eax
jne 0x1000b8f5
mov eax, dword [ebp - 0x1dc]
mov eax, dword [eax + 8]
cmp dword [ebp - 0x1b0], eax
jne 0x1000b8f5
mov eax, dword [ebp - 0x1dc]
mov eax, dword [eax + 0xc]
cmp dword [ebp - 0x1ac], eax
jne 0x1000b8f5
mov eax, dword [ebp - 0x1e4]
test eax, eax
je 0x1000bd66
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 0x1000bd30
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 0x1000bd30
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], 0x1001c69d
call eax
sub esp, 0x18
test eax, eax
jne 0x1000beb0
test byte [0x1001903c], 8
jne 0x1000bef0
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], 0x1001b709
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001903c
mov dword [esp], 1
call fcn.100037f0
jmp 0x1000b8f5
cmp dword [ebp - 0x1e4], 1
jne 0x1000bf53
xor ebx, ebx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
shr eax, 0x10
je 0x1000bd0e
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], 0x1001b5d4
mov dword [esp + 4], eax
call fcn.10003200
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.100037f0
jmp 0x1000b86b
movzx eax, word [ebp - 0x1dc]
mov dword [esp], 0x1001b5c2
mov dword [esp + 4], eax
call fcn.10003200
jmp 0x1000bce1
test byte [0x1001903c], 2
je 0x1000b8f5
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.100037f0
jmp 0x1000b8f5
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
add 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 0x1000bd30
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 0x1000bd30
mov eax, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x1ec]
mov dword [edx + 0x14], eax
jmp 0x1000bbae
test byte [0x1001903c], 2
je 0x1000b8f5
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.100037f0
jmp 0x1000b8f5
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.100037f0
jmp 0x1000bc07
test byte [0x1001903c], 2
je 0x1000bc5f
mov dword [esp + 0xc], 0x1001b6d8
mov dword [esp + 8], str.DP_LoadSP
mov dword [esp + 4], 0x1001903c
mov dword [esp], 1
call fcn.100037f0
jmp 0x1000bc5f
mov dword [ebp - 0x1e4], 1
jmp 0x1000b875