Function at 0x18005eb60
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x180099010]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rdx, str.Init
lea rcx, str.SteamAPI_Initialize
call fcn.18004e560
mov ecx, 0x120
call fcn.18005f9d0
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 0x18005ec42
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 0x18005ec37
mov eax, dword [rsp + 0x38]
mov byte [rax + rbx], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x18005ec4a
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x2e
mov word [rbx], ax
mov rcx, rbx
call fcn.18005e970
nop
mov qword [0x180099e38], rbx
mov rax, qword [rbx + 0x108]
mov rcx, qword [rax]
test rcx, rcx
je 0x18005ed8f
lea rdx, str.CreateInterface
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18005ed8f
xor edx, edx
lea rcx, str.SteamClient012
call rax
mov rcx, rax
mov qword [0x180099e20], rax
test rax, rax
jne 0x18005eca9
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_client__Steam_functions_will_not_be_available.
jmp 0x18005ed96
mov rax, qword [rax]
call qword [rax]
mov edx, eax
mov dword [0x180099c54], eax
mov rcx, qword [0x180099e20]
test eax, eax
mov rax, qword [rcx]
jne 0x18005ecd6
call qword [rax + 0xb0]
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_pipe__Steam_functions_will_not_be_available.
jmp 0x18005ed96
call qword [rax + 0x10]
mov edx, eax
mov dword [0x180099e30], eax
mov rcx, qword [0x180099e20]
test eax, eax
mov rax, qword [rcx]
jne 0x18005ed14
mov edx, dword [0x180099c54]
call qword [rax + 8]
mov rcx, qword [0x180099e20]
mov rax, qword [rcx]
call qword [rax + 0xb0]
lea rdx, str.ERROR:_Failed_to_create_SteamAPI_user__Steam_functions_will_not_be_available.
jmp 0x18005ed96
lea r9, str.SteamFriends014
mov r8d, dword [0x180099c54]
call qword [rax + 0x40]
mov rcx, qword [0x180099e20]
mov rax, qword [rcx]
lea r8, str.SteamUtils007
mov edx, dword [0x180099c54]
call qword [rax + 0x48]
mov rcx, qword [0x180099e20]
mov rax, qword [rcx]
lea r9, str.STEAMAPPS_INTERFACE_VERSION006
mov r8d, dword [0x180099c54]
mov edx, dword [0x180099e30]
call qword [rax + 0x78]
mov qword [0x180099e28], rax
lea rdx, str.INFO:_Init_OK
lea rcx, str.SteamAPI_Initialize
call fcn.18004e560
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18005f9b0
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.18004e560
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18005f9b0
add rsp, 0x50
pop rbx
ret