Function at 0x18005cb90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x180097010]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rdx, str.Init
lea rcx, str.SteamAPI_Initialize
call fcn.18004e880
mov ecx, 0x120
call fcn.18005d9e0
mov rbx, rax
mov qword [rsp + 0x30], rax
xor edx, edx
mov r8d, 0x120
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rbx + 0x118], 1
xor eax, eax
mov qword [rbx + 0x108], rax
mov qword [rbx + 0x110], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SoftwareValveSteam
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x18005cc72
mov dword [rsp + 0x38], 0x103
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.InstallPath
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18005cc67
mov eax, dword [rsp + 0x38]
mov byte [rax + rbx], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18005cc7a
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x2e
mov word [rbx], ax
mov rcx, rbx
call fcn.18005c9a0
nop
mov qword [0x180097e10], rbx
mov rax, qword [rbx + 0x108]
mov rcx, qword [rax]
test rcx, rcx
je 0x18005cdbf
lea rdx, str.CreateInterface
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18005cdbf
xor edx, edx
lea rcx, str.SteamClient012
call rax
mov rcx, rax
mov qword [0x180097cc8], rax
test rax, rax
jne 0x18005ccd9
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_client__Steam_functions_will_not_be_available.
jmp 0x18005cdc6
mov rax, qword [rax]
call qword [rax]
mov edx, eax
mov dword [0x180097c5c], eax
mov rcx, qword [0x180097cc8]
test eax, eax
mov rax, qword [rcx]
jne 0x18005cd06
call qword [rax + 0xb0]
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_pipe__Steam_functions_will_not_be_available.
jmp 0x18005cdc6
call qword [rax + 0x10]
mov edx, eax
mov dword [0x180097e08], eax
mov rcx, qword [0x180097cc8]
test eax, eax
mov rax, qword [rcx]
jne 0x18005cd44
mov edx, dword [0x180097c5c]
call qword [rax + 8]
mov rcx, qword [0x180097cc8]
mov rax, qword [rcx]
call qword [rax + 0xb0]
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_user__Steam_functions_will_not_be_available.
jmp 0x18005cdc6
lea r9, str.SteamFriends014
mov r8d, dword [0x180097c5c]
call qword [rax + 0x40]
mov rcx, qword [0x180097cc8]
mov rax, qword [rcx]
lea r8, str.SteamUtils007
mov edx, dword [0x180097c5c]
call qword [rax + 0x48]
mov rcx, qword [0x180097cc8]
mov rax, qword [rcx]
lea r9, str.STEAMAPPS_INTERFACE_VERSION006
mov r8d, dword [0x180097c5c]
mov edx, dword [0x180097e08]
call qword [rax + 0x78]
mov qword [0x180097e00], rax
lea rdx, str.INFO:_Init_OK
lea rcx, str.SteamAPI_Initialize
call fcn.18004e880
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18005d9c0
add rsp, 0x50
pop rbx
ret
lea rdx, str.ERROR:_Failed_to_find_SteamAPI_factory__Steam_functions_will_not_be_available.
lea rcx, str.SteamAPI_Initialize
call fcn.18004e880
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18005d9c0
add rsp, 0x50
pop rbx
ret