Function at 0x180061130
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.18004f5c0
mov ecx, 0x120
call fcn.180061fa0
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 0x180061212
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 0x180061207
mov eax, dword [rsp + 0x38]
mov byte [rax + rbx], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18006121a
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x2e
mov word [rbx], ax
mov rcx, rbx
call fcn.180060f40
nop
mov qword [0x18009ce50], rbx
mov rax, qword [rbx + 0x108]
mov rcx, qword [rax]
test rcx, rcx
je 0x18006135f
lea rdx, str.CreateInterface
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18006135f
xor edx, edx
lea rcx, str.SteamClient012
call rax
mov rcx, rax
mov qword [0x18009ccd8], rax
test rax, rax
jne 0x180061279
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_client__Steam_functions_will_not_be_available.
jmp 0x180061366
mov rax, qword [rax]
call qword [rax]
mov edx, eax
mov dword [0x18009cc54], eax
mov rcx, qword [0x18009ccd8]
test eax, eax
mov rax, qword [rcx]
jne 0x1800612a6
call qword [rax + 0xb0]
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_pipe__Steam_functions_will_not_be_available.
jmp 0x180061366
call qword [rax + 0x10]
mov edx, eax
mov dword [0x18009ce48], eax
mov rcx, qword [0x18009ccd8]
test eax, eax
mov rax, qword [rcx]
jne 0x1800612e4
mov edx, dword [0x18009cc54]
call qword [rax + 8]
mov rcx, qword [0x18009ccd8]
mov rax, qword [rcx]
call qword [rax + 0xb0]
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_user__Steam_functions_will_not_be_available.
jmp 0x180061366
lea r9, str.SteamFriends014
mov r8d, dword [0x18009cc54]
call qword [rax + 0x40]
mov rcx, qword [0x18009ccd8]
mov rax, qword [rcx]
lea r8, str.SteamUtils007
mov edx, dword [0x18009cc54]
call qword [rax + 0x48]
mov rcx, qword [0x18009ccd8]
mov rax, qword [rcx]
lea r9, str.STEAMAPPS_INTERFACE_VERSION006
mov r8d, dword [0x18009cc54]
mov edx, dword [0x18009ce48]
call qword [rax + 0x78]
mov qword [0x18009ce40], rax
lea rdx, str.INFO:_Init_OK
lea rcx, str.SteamAPI_Initialize
call fcn.18004f5c0
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180061f80
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.18004f5c0
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180061f80
add rsp, 0x50
pop rbx
ret