Function at 0x180060660
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x18009c010]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rdx, str.Init
lea rcx, str.SteamAPI_Initialize
call fcn.18004f4a0
mov ecx, 0x120
call fcn.1800614d0
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 0x180060742
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 0x180060737
mov eax, dword [rsp + 0x38]
mov byte [rax + rbx], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18006074a
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x2e
mov word [rbx], ax
mov rcx, rbx
call fcn.180060470
nop
mov qword [0x18009ce48], rbx
mov rax, qword [rbx + 0x108]
mov rcx, qword [rax]
test rcx, rcx
je 0x18006088f
lea rdx, str.CreateInterface
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18006088f
xor edx, edx
lea rcx, str.SteamClient012
call rax
mov rcx, rax
mov qword [0x18009ce30], rax
test rax, rax
jne 0x1800607a9
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_client__Steam_functions_will_not_be_available.
jmp 0x180060896
mov rax, qword [rax]
call qword [rax]
mov edx, eax
mov dword [0x18009cc54], eax
mov rcx, qword [0x18009ce30]
test eax, eax
mov rax, qword [rcx]
jne 0x1800607d6
call qword [rax + 0xb0]
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_pipe__Steam_functions_will_not_be_available.
jmp 0x180060896
call qword [rax + 0x10]
mov edx, eax
mov dword [0x18009ce40], eax
mov rcx, qword [0x18009ce30]
test eax, eax
mov rax, qword [rcx]
jne 0x180060814
mov edx, dword [0x18009cc54]
call qword [rax + 8]
mov rcx, qword [0x18009ce30]
mov rax, qword [rcx]
call qword [rax + 0xb0]
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_user__Steam_functions_will_not_be_available.
jmp 0x180060896
lea r9, str.SteamFriends014
mov r8d, dword [0x18009cc54]
call qword [rax + 0x40]
mov rcx, qword [0x18009ce30]
mov rax, qword [rcx]
lea r8, str.SteamUtils007
mov edx, dword [0x18009cc54]
call qword [rax + 0x48]
mov rcx, qword [0x18009ce30]
mov rax, qword [rcx]
lea r9, str.STEAMAPPS_INTERFACE_VERSION006
mov r8d, dword [0x18009cc54]
mov edx, dword [0x18009ce40]
call qword [rax + 0x78]
mov qword [0x18009ce38], rax
lea rdx, str.INFO:_Init_OK
lea rcx, str.SteamAPI_Initialize
call fcn.18004f4a0
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800614b0
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.18004f4a0
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800614b0
add rsp, 0x50
pop rbx
ret