Function at 0x180061570
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x18009d010]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rdx, str.Init
lea rcx, str.SteamAPI_Initialize
call fcn.18004f5e0
mov ecx, 0x120
call fcn.1800623e0
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 0x180061652
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 0x180061647
mov eax, dword [rsp + 0x38]
mov byte [rax + rbx], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18006165a
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x2e
mov word [rbx], ax
mov rcx, rbx
call fcn.180061380
nop
mov qword [0x18009de60], rbx
mov rax, qword [rbx + 0x108]
mov rcx, qword [rax]
test rcx, rcx
je 0x18006179f
lea rdx, str.CreateInterface
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18006179f
xor edx, edx
lea rcx, str.SteamClient012
call rax
mov rcx, rax
mov qword [0x18009de48], rax
test rax, rax
jne 0x1800616b9
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_client__Steam_functions_will_not_be_available.
jmp 0x1800617a6
mov rax, qword [rax]
call qword [rax]
mov edx, eax
mov dword [0x18009dc54], eax
mov rcx, qword [0x18009de48]
test eax, eax
mov rax, qword [rcx]
jne 0x1800616e6
call qword [rax + 0xb0]
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_pipe__Steam_functions_will_not_be_available.
jmp 0x1800617a6
call qword [rax + 0x10]
mov edx, eax
mov dword [0x18009de58], eax
mov rcx, qword [0x18009de48]
test eax, eax
mov rax, qword [rcx]
jne 0x180061724
mov edx, dword [0x18009dc54]
call qword [rax + 8]
mov rcx, qword [0x18009de48]
mov rax, qword [rcx]
call qword [rax + 0xb0]
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_user__Steam_functions_will_not_be_available.
jmp 0x1800617a6
lea r9, str.SteamFriends014
mov r8d, dword [0x18009dc54]
call qword [rax + 0x40]
mov rcx, qword [0x18009de48]
mov rax, qword [rcx]
lea r8, str.SteamUtils007
mov edx, dword [0x18009dc54]
call qword [rax + 0x48]
mov rcx, qword [0x18009de48]
mov rax, qword [rcx]
lea r9, str.STEAMAPPS_INTERFACE_VERSION006
mov r8d, dword [0x18009dc54]
mov edx, dword [0x18009de58]
call qword [rax + 0x78]
mov qword [0x18009de50], rax
lea rdx, str.INFO:_Init_OK
lea rcx, str.SteamAPI_Initialize
call fcn.18004f5e0
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800623c0
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.18004f5e0
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800623c0
add rsp, 0x50
pop rbx
ret